ID: 32852
Updated by: [EMAIL PROTECTED]
Reported By: cox at idecnet dot com
-Status: Assigned
+Status: Closed
Bug Type: Zend Engine 2 problem
Operating System: *
PHP Version: 5CVS-2005-04-29
Assigned To: dmitry
New Comment:
Fixed in CVS HEAD and PHP_5_0.
Previous Comments:
------------------------------------------------------------------------
[2005-04-29 03:29:29] [EMAIL PROTECTED]
Dmitry, if you have time, can you look into these reports with problems
with zend.ze1_compatibility_mode?
Some of them happen with only PHP_5_0 and some with both it and HEAD.
Here's list (this bug excluded):
bug #30332
bug #31828
bug #32080
------------------------------------------------------------------------
[2005-04-28 16:03:57] cox at idecnet dot com
Not using my php.ini doesn't crash in 5.0.4, 5.0.5dev or 5.1cvs and the
output match the expected.
So investigating my modified settings from the original php.ini-dist,
I've found that ze1_compat generates the problem:
zend.ze1_compatibility_mode = On
(turning it Off does not crash, well, afterall it's php5 only syntax).
The other requested data:
gcc-3.4.1
bison-1.875
glibc-2.3.3
------------------------------------------------------------------------
[2005-04-28 13:52:55] [EMAIL PROTECTED]
I still can't reproduce this. I get same result with both HEAD and
PHP_5_0 branches and also with the snapshot.
Does it give same result if you make sure you don't load any php.ini:
sapi/cli/php -n file.php
What bison version do you have installed?
What compiler (and version) ?
------------------------------------------------------------------------
[2005-04-28 10:53:13] cox at idecnet dot com
With today's CVS (5.1), it does not crash. But the output is:
Output:
i'm called
i'm called
i'm called
i'm called
The __destruct() function is called 4 times.
With php5-STABLE-200504271035 (5.0.5dev):
$ make distclean
$ ./configure \
--prefix=/usr \
--with-config-file-path=/etc/php5 \
--enable-cli \
--disable-cgi \
--disable-pear \
--enable-debug
Still the same output and same crash.
------------------------------------------------------------------------
[2005-04-28 00:25:57] [EMAIL PROTECTED]
If you configure with --enable-debug (rm config.cache && ./configure +
your options + --enable-debug && make clean && make) does it still
crash? Are you sure you ARE using the latest CVS? (the snapshots might
not be updated again..)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32852
--
Edit this bug report at http://bugs.php.net/?id=32852&edit=1