List construct causing Invalid Opcode errors?
Posted: Wed Jul 19, 2006 10:14 am
I recently had to reinstall everything on my machine due to a drive crash, and now that I've reinstalled, the code I was developing started crashing with an Invalid Opcode error at every point where I used the the command:
List($var1, $var2) = "";
I quickly found that if I split it into individual commands, e.g.:
$var1 = "";
$var2 = "";
everything works fine. But I am curious why this error is happening? I am running Win2K with Apache/2.0.55 (Win32) PHP/5.1.2
Can anyone inform me?
Thanks!
David
List($var1, $var2) = "";
I quickly found that if I split it into individual commands, e.g.:
$var1 = "";
$var2 = "";
everything works fine. But I am curious why this error is happening? I am running Win2K with Apache/2.0.55 (Win32) PHP/5.1.2
Can anyone inform me?
Thanks!
David