diff options
Diffstat (limited to 'ext/spl/tests/arrayObject_magicMethods6.phpt')
-rw-r--r-- | ext/spl/tests/arrayObject_magicMethods6.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/spl/tests/arrayObject_magicMethods6.phpt b/ext/spl/tests/arrayObject_magicMethods6.phpt index b43f56c2b0..243e0f53a8 100644 --- a/ext/spl/tests/arrayObject_magicMethods6.phpt +++ b/ext/spl/tests/arrayObject_magicMethods6.phpt @@ -11,26 +11,26 @@ class C { } class UsesMagic extends ArrayObject { - + public $b = "This should never appear in storage"; - function __get($name) { + function __get($name) { $args = func_get_args(); echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; } - function __set($name, $value) { + function __set($name, $value) { $args = func_get_args(); echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; } - function __isset($name) { + function __isset($name) { $args = func_get_args(); echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; } - function __unset($name) { + function __unset($name) { $args = func_get_args(); echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; } - + } $obj = new C; $ao = new UsesMagic($obj, ArrayObject::ARRAY_AS_PROPS); |