#36552 [NEW]: Setting multiple variables to "" with list results in " Invalid opcode 98/1/1"
| From: | stitched at mindspring dot com | Date: | Mon, 27 Feb 2006 21:11:28 +0000 |
| Subject: | #36552 [NEW]: Setting multiple variables to "" with list results in " Invalid opcode 98/1/1" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-93734@lists.php.net to get a copy of this message | ||
From: stitched at mindspring dot com
Operating system: Windows 2000
PHP version: 5.1.2
PHP Bug Type: Reproducible crash
Bug description: Setting multiple variables to "" with list results in " Invalid
opcode 98/1/1"
Description:
------------
Setting multiple variables to an empty string "" using list results in the
error below and PHP terminates:
Fatal error: Invalid opcode 98/1/1. in phpfail.php on line 1
I tested with the latest build available for Windows which is PHP
5.1.3-dev (cli) (built: Feb 20 2006 00:29:25). phpinfo reports that the
build command was:
cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Reproduce code:
---------------
<?php list($Var1,$Var2) = ""; ?>
Expected result:
----------------
I expected both $Var1 and $Var2 to be set to an empty string. Setting
them individually works as expected.
Actual result:
--------------
Fatal error: Invalid opcode 98/1/1. in phpfail.php on line 1
--
Edit bug report at http://bugs.php.net/?id=36552&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36552&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36552&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36552&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36552&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36552&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36552&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36552&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36552&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36552&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36552&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36552&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36552&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36552&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36552&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36552&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36552&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36552&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36552&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36552&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36552&r=mysqlcfg