diff options
Diffstat (limited to 'Zend/tests/bug30080.phpt')
-rw-r--r-- | Zend/tests/bug30080.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zend/tests/bug30080.phpt b/Zend/tests/bug30080.phpt index ff4a82b21f..d1d6302e85 100644 --- a/Zend/tests/bug30080.phpt +++ b/Zend/tests/bug30080.phpt @@ -2,13 +2,13 @@ Bug #30080 (Passing array or non array of objects) --FILE-- <?php -class foo { - function __construct($arrayobj) { +class foo { + function __construct($arrayobj) { var_dump($arrayobj); - } -} + } +} -new foo(array(new stdClass)); +new foo(array(new stdClass)); ?> --EXPECTF-- array(1) { |