mirror of
https://github.com/php/php-src.git
synced 2024-10-18 06:52:34 +00:00
13 lines
207 B
Plaintext
13 lines
207 B
Plaintext
|
--TEST--
|
||
|
Closure 017: Trying to destroy an active lambda function
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$a = function(&$a) { $a = 1; };
|
||
|
|
||
|
$a($a);
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot destroy active lambda function in %s on line %d
|