From: ludvig dot ericson at gmail dot com Operating system: Gentoo Linux 2.6 PHP version: 5.1.0RC1 PHP Bug Type: Reproducible crash Bug description: Seg Fault when variables_order is empty
Description: ------------ If the php.ini directive variables_order is set to "" PHP will crash when run i CLI mode (don't know about apache handler). It appears that it doesn't affect it when using -d variables_order="" at the command line, though. I am also using the disable_functions directive to disallow session_* related functions Reproduce code: --------------- $ php -c php.ini -r "echo 'hello world';" Expected result: ---------------- hello world$ Actual result: -------------- Segmentation fault $ -- Edit bug report at http://bugs.php.net/?id=34331&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34331&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34331&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34331&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34331&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34331&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34331&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34331&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34331&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34331&r=support Expected behavior: http://bugs.php.net/fix.php?id=34331&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34331&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34331&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34331&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34331&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34331&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34331&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34331&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34331&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34331&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34331&r=mysqlcfg