Ask a Question related to PHP Bugs, Design and Development.
-
mike@php.net #1
#40591 [NEW]: list()="string"; gives invalid opcode
From: [email]mike@php.net[/email]
Operating system:
PHP version: 5CVS-2007-02-22 (snap)
PHP Bug Type: Scripting Engine problem
Bug description: list()="string"; gives invalid opcode
Description:
------------
..
Reproduce code:
---------------
list($a,$b,$c)="abc";
--
Edit bug report at [url]http://bugs.php.net/?id=40591&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40591&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40591&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40591&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40591&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40591&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40591&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40591&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40591&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40591&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40591&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40591&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40591&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40591&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40591&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40591&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40591&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40591&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40591&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40591&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40591&r=mysqlcfg[/url]
mike@php.net Guest
-
cfqueryparam ignores null="yes" when list="yes"
I get an unexpected result when using cfqueryparam with list="yes" and null="yes" using CF 7.0.1 and MSSQL 2000. When i run this code: <cfset... -
"Error Creating Control" and "Cast from String"
I'm creating a custom date control. In appearance, it's just a textbox and a button. It has three custom properties: CalDate, CalDateType and... -
#26292 [Opn->Bgs]: substr returns "0" for any offset on the string "0"
ID: 26292 Updated by: sniper@php.net Reported By: ravacholp at hotmail dot com -Status: Open +Status: ... -
convert visual basic "string" data type to DB2 "blob"
Does anyone know if a visual basic string data type can be converted to DB2 blob datatype? I have all data in XML files and I use Visual Basic to... -
"Start" "Program" "Menu" list is empty
For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your... -
tony2001@php.net #2
#40591 [Opn->Asn]: list()="string"; gives invalid opcode
ID: 40591
Updated by: [email]tony2001@php.net[/email]
Reported By: [email]mike@php.net[/email]
-Status: Open
+Status: Assigned
Bug Type: Scripting Engine problem
PHP Version: 5CVS-2007-02-22 (snap)
-Assigned To:
+Assigned To: dmitry
Previous Comments:
------------------------------------------------------------------------
[2007-02-22 15:13:32] [email]mike@php.net[/email]
Description:
------------
..
Reproduce code:
---------------
list($a,$b,$c)="abc";
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40591&edit=1[/url]
tony2001@php.net Guest
-
dmitry@php.net #3
#40591 [Asn->Csd]: list()="string"; gives invalid opcode
ID: 40591
Updated by: [email]dmitry@php.net[/email]
Reported By: [email]mike@php.net[/email]
-Status: Assigned
+Status: Closed
Bug Type: Scripting Engine problem
PHP Version: 5CVS-2007-02-22 (snap)
Assigned To: dmitry
New Comment:
The bug is fixed in CVS HEAD and PHP_5_2.
But the behavoirs of the following scripts are still different:
1) list($a, $b) = "ab"; // $a = $b = NULL;
2) list($a, $b) = "a"."b"; // $a = $b = NULL;
3) $s = "ab"; list($a, $b) = $s; // $a = "a"; $b = "b";
4) list($a, $b) = foo(); // $a = "a"; $b = "b";
Previous Comments:
------------------------------------------------------------------------
[2007-02-22 15:13:32] [email]mike@php.net[/email]
Description:
------------
..
Reproduce code:
---------------
list($a,$b,$c)="abc";
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40591&edit=1[/url]
dmitry@php.net Guest



Reply With Quote

