diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 15:37:22 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:43:12 +0200 |
commit | 7af945e271d042a4991c9510f78b6ff7ac43ac34 (patch) | |
tree | 31d3b7a69f017cd532c5fe31ce1664d426384f82 /ext/spl/tests/array_017.phpt | |
parent | afd534f1634e9a5d631afac39a9c9b09b1ba8b33 (diff) | |
download | php-git-7af945e271d042a4991c9510f78b6ff7ac43ac34.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/spl/tests/array_017.phpt')
-rw-r--r-- | ext/spl/tests/array_017.phpt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/spl/tests/array_017.phpt b/ext/spl/tests/array_017.phpt index 8f3d345438..327e214a2c 100644 --- a/ext/spl/tests/array_017.phpt +++ b/ext/spl/tests/array_017.phpt @@ -36,7 +36,7 @@ class ArrayObjectEx extends ArrayObject public $pub1 = 1; protected $pro1 = 2; private $pri1 = 3; - + function __construct($ar = array(), $flags = 0) { echo __METHOD__ . "()\n"; @@ -66,13 +66,13 @@ class ArrayObjectEx extends ArrayObject var_dump(array($n => $v)); } } - + function setFlags($flags) { echo __METHOD__ . "($flags)\n"; ArrayObject::setFlags($flags); } - + function getIterator() { echo __METHOD__ . "()\n"; @@ -92,21 +92,21 @@ function check($obj, $flags) $obj->show(); echo "===FOREACH===\n"; - + $it = $obj->getIterator(); foreach($it as $n => $v) { var_dump(array($n => $v)); } - + echo "===PROPERTY===\n"; - + var_dump($obj->pub1); var_dump(isset($obj->a)); $obj->setFlags($flags | 2); var_dump($obj->pub1); var_dump(isset($obj->a)); - + var_dump($it->pub2); var_dump(isset($it->pub1)); $it->setFlags($flags | 2); |