/hphp/test/slow/parser/empty-construct/empty-new.php
PHP | 8 lines | 6 code | 2 blank | 0 comment | 0 complexity | a9e29fe285318402181cb814796b3bed MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?php
- error_reporting(-1);
- class A {
- public $x;
- }
- var_dump(empty(new A()));