summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug39576.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/bug39576.phpt')
-rw-r--r--ext/standard/tests/array/bug39576.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/standard/tests/array/bug39576.phpt b/ext/standard/tests/array/bug39576.phpt
index bb58e79183..3ac9756941 100644
--- a/ext/standard/tests/array/bug39576.phpt
+++ b/ext/standard/tests/array/bug39576.phpt
@@ -5,9 +5,9 @@ Bug #39576 (array_walk() doesn't separate userdata zval)
class Test {
- public $_table = '';
- public $_columns = array ();
- public $_primary = array ();
+ public $_table = '';
+ public $_columns = array ();
+ public $_primary = array ();
}
@@ -18,16 +18,16 @@ $test->_columns['name'] = new stdClass;
function test ($value, $column, &$columns) {}
array_walk (
- get_object_vars ($test),
- 'test',
- $test->_columns
+ get_object_vars ($test),
+ 'test',
+ $test->_columns
);
var_dump($test);
array_intersect_key (
- get_object_vars ($test),
- $test->_primary
+ get_object_vars ($test),
+ $test->_primary
);
echo "Done\n";