From: SVN Migration Date: Sat, 29 Nov 2003 02:28:50 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.5RC1~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=188d80b7cf04d299d3a1d59825bd1635d2da308f;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/tests/lang/bug24926.phpt b/tests/lang/bug24926.phpt new file mode 100644 index 0000000000..3d2cc7008b --- /dev/null +++ b/tests/lang/bug24926.phpt @@ -0,0 +1,28 @@ +--TEST-- +Bug #24926 (lambda function (create_function()) cannot be stored in a class property) +--FILE-- +functions['test'] = $function; + print($this->functions['test']()); // werkt al niet meer + + } +} + +$a = new foo (); + +?> +--EXPECT-- +FOO +FOO