ID:               21909
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ulf dot wendel at phpdoc dot de
-Status:           Verified
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: Windows XP Professional
 PHP Version:      5CVS-2003-01-27 (dev)
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2003-03-10 06:42:07] [EMAIL PROTECTED]

Verified on WinXP with latest snap.

~ Andrew Heebner

------------------------------------------------------------------------

[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

Reply via email to