|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-11-03 05:33 UTC] moriyoshi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 01:00:01 2025 UTC |
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