From: bruno dot faust at ig dot com dot br
Operating system: XP SP1 latest
PHP version: 4.3.3
PHP Bug Type: Reproducible crash
Bug description: access variable cause access violation
Description:
------------
when y execute the php code i get "PHP has encountered an Access Violation
at 010E28D2"
when y modify "=&" - second "=&" - to "=", thats all ok.
Reproduce code:
---------------
class name
{
function load($name)
{
$file = "./name/" . $name . ".srlz";
return unserialize(file_get_contents($file));
}
}
$class_name =& new name;
$arr_estado =& $class_name->load("pais_estado");
$arr_estado =& $arr_estado[$_POST["usr_endereco"][$x]["pais_id"]];
print_r($arr_estado);
short example.
this example has not crash.
my pages is very longer....
Expected result:
----------------
Array
(
[1] => Acre
[2] => Alagoas
...
[24] => Santa Catarina
[25] => S�o Paulo
[26] => Sergipe
[27] => Tocantins
)
Actual result:
--------------
PHP has encountered an Access Violation at 010E28D2
--
Edit bug report at http://bugs.php.net/?id=26093&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26093&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26093&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26093&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26093&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26093&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26093&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26093&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26093&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26093&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26093&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26093&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26093&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26093&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26093&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26093&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26093&r=float