php-src/Zend/tests/new_args_without_ctor.phpt

11 lines
138 B
PHP

--TEST--
Argument of new on class without constructor are evaluated
--FILE--
<?php
new stdClass(print 'a', print 'b');
?>
--EXPECT--
ab