ID: 21909 Updated by: [EMAIL PROTECTED] Reported By: ulf dot wendel at phpdoc dot de -Status: Open +Status: Verified Bug Type: Zend Engine 2 problem Operating System: Windows XP Professional PHP Version: 5CVS-2003-01-27 (dev) New Comment:
Verified on WinXP with latest snap. ~ Andrew Heebner Previous Comments: ------------------------------------------------------------------------ [2003-01-27 13:09:14] ulf dot wendel at phpdoc dot de Try this, it simply let's my PHP crash: class foo { public $newfunc; public function __construct() { $this->newfunc = create_function('$a,$b','print "ln($a) + ln($b) = ".log($a * $b);'); call_user_func(array($this, $this->newfunc), 1, 2); //$this->$newfunc(1, 2); } } $f = new foo(); Ok, ok - this is really, well, weird code, however... PHP: PHP Version 5.0.0-dev System Windows NT localhost 5.1 build 2600 Build Date Jan 26 2003 16:10:39 Server API CGI/FastCGI Virtual Directory Support enabled Configuration File (php.ini) Path E:\php\php.ini PHP API 20020918 PHP Extension 20020429 Zend Extension 90021012 Debug Build no Thread Safety enabled Registered PHP Streams php, http, ftp, compress.zlib Zend Engine v2.0.0-dev, ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21909&edit=1