php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60169
Patch bug60169.diff revision 2011-10-31 06:48 UTC by laruence@php.net
revision 2011-10-30 02:03 UTC by laruence@php.net
Patch invalid.patch revision 2011-10-31 03:24 UTC by laruence@php.net
Patch bug60169.phpt revision 2011-10-30 02:08 UTC by laruence@php.net

Patch bug60169.phpt for Scripting Engine problem Bug #60169

Patch version 2011-10-30 02:08 UTC

Return to Bug #60169 | Download this patch
Patch Revisions:

Developer: laruence@php.net

--TEST--
Bug #60169 (Conjunction of ternary and list crashes PHP)
--FILE--
<?php
error_reporting(0);
$arr  = array("test");
list($a,$b)= is_array($arr)? $arr : $arr;
echo "ok\n";
--EXPECT--
ok
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 23:01:58 2014 UTC