ID:               22145
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Zend Engine 2 problem
 Operating System: Linux
 PHP Version:      5CVS-2003-02-10 (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.

should be fixed now.


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

[2003-02-10 04:16:35] [EMAIL PROTECTED]

Note that this code works: 
 
<?PHP 
 
class test2 { 
 public static $foo = 'ok'; 
} 
 
test2::$foo = array(); 
 
echo "test2::\$foo ? "; 
print_r(test2::$foo); 
echo "\n"; 
 
?>

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

[2003-02-10 04:14:25] [EMAIL PROTECTED]

here is a script that reproduce the problem (tested with 
2002/02/10 cvs): 
 
<?PHP 
 
class test { 
  public static $foo = 'ok!'; 
} 
 
echo "test::\$foo ? "; 
print_r(test::$foo); 
echo "\n"; 
 
class test2 { 
 public static $foo = array(); 
} 
 
echo "test2::\$foo ? "; 
print_r(test2::$foo); 
echo "\n"; 
 
?> 
 
 
that outputs: 
test::$foo ? ok! 
test2::$foo ? Segmentation fault 
 
PHP configure line: 
./configure --prefix=/usr/local/php2 
--with-apxs=/usr/local/apache_php2/bin/apxs 
--with-mysql=/usr/local/mysql 
 
tested with PHP CLI. 

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


-- 
Edit this bug report at http://bugs.php.net/?id=22145&edit=1

Reply via email to