Edit report at https://bugs.php.net/bug.php?id=60169&edit=1
ID: 60169
Updated by: laruence@php.net
Reported by: thekid@php.net
Summary: Conjunction of ternary and list crashes PHP
-Status: Assigned
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: Windows Vista
PHP Version: 5.4.0beta2
Assigned To: lbarnaud
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
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/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-11-03 03:59:36] laruence@php.net
Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=318716
Log: Fix bug #60169 Conjunction of ternary and list crashes PHP
------------------------------------------------------------------------
[2011-10-31 06:50:03] laruence@php.net
I have submitted a new patch. lbarnaud, plz review it , thanks
------------------------------------------------------------------------
[2011-10-31 06:48:56] laruence@php.net
The following patch has been added/updated:
Patch Name: bug60169.diff
Revision: 1320043736
URL: https://bugs.php.net/patch-display.php?bug=60169&patch=bug60169.diff&revision=1320043736
------------------------------------------------------------------------
[2011-10-31 03:24:05] laruence@php.net
The following patch has been added/updated:
Patch Name: invalid.patch
Revision: 1320031445
URL: https://bugs.php.net/patch-display.php?bug=60169&patch=invalid.patch&revision=1320031445
------------------------------------------------------------------------
[2011-10-31 03:21:58] laruence@php.net
there is also segfault in (***)?:value notation.
like:
<?php
$str = array('test');
list($a, $b) = is_array($str)?:$str;
and this make *the patch doesn't work* (a memory leak)
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=60169--
Edit this bug report at https://bugs.php.net/bug.php?id=60169&edit=1