mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
a4a3ed44bb
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
13 lines
217 B
PHP
Executable File
13 lines
217 B
PHP
Executable File
--TEST--
|
|
Closure 022: Closure properties
|
|
--FILE--
|
|
<?php
|
|
$a = 0;
|
|
$foo = function() use ($a) {
|
|
};
|
|
$foo->a = 1;
|
|
?>
|
|
--EXPECTF--
|
|
Catchable fatal error: Closure object cannot have properties in %sclosure_022.php on line 5
|
|
|