mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
b964d007e3
This will cause a compile error later, but the expression is printed first. Fixes oss-fuzz #37473.
11 lines
165 B
PHP
11 lines
165 B
PHP
--TEST--
|
|
new class(...) in assert
|
|
--FILE--
|
|
<?php
|
|
|
|
assert(new class(...) {});
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot create Closure for new expression in %s on line %d
|