diff options
Diffstat (limited to 'tests/lang/bug24926.phpt')
-rw-r--r-- | tests/lang/bug24926.phpt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/lang/bug24926.phpt b/tests/lang/bug24926.phpt deleted file mode 100644 index 3d2cc7008b..0000000000 --- a/tests/lang/bug24926.phpt +++ /dev/null @@ -1,28 +0,0 @@ ---TEST-- -Bug #24926 (lambda function (create_function()) cannot be stored in a class property) ---FILE-- -<?php - -error_reporting (E_ALL); - -class foo { - - public $functions = array(); - - function foo() - { - $function = create_function('', 'return "FOO\n";'); - print($function()); - - $this->functions['test'] = $function; - print($this->functions['test']()); // werkt al niet meer - - } -} - -$a = new foo (); - -?> ---EXPECT-- -FOO -FOO |