Edit report at https://bugs.php.net/bug.php?id=60169&edit=1
ID: 60169 Updated by: [email protected] Reported by: [email protected] Summary: Conjunction of ternary and list crashes PHP -Status: Open +Status: Feedback Type: Bug Package: Scripting Engine problem Operating System: Windows Vista PHP Version: 5.4.0beta2 Block user comment: N Private report: N New Comment: I can't reproduce it. Please provide a script without external data (arg). Previous Comments: ------------------------------------------------------------------------ [2011-10-29 13:40:32] [email protected] Description: ------------ This code makes PHP exit with exit code #127: list($a, $b)= is_array($argv) ? $argv : explode("@", $argv[1]); Test script: --------------- $ php.exe -r 'list($a, $b)= is_array($argv) ? $argv : explode("@", $argv[1]);' ; echo $? Expected result: ---------------- 0 Actual result: -------------- 127 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60169&edit=1
