|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-12 10:49 UTC] cataphract@php.net
-Status: Open
+Status: Bogus
[2010-12-12 10:49 UTC] cataphract@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 22 19:00:01 2025 UTC |
Description: ------------ $b = array(1, 2, 3); function b(&$array) { $array[0] = 1000; unset($array); // <===== $array = array(); $array[1] = 2000; } b($b); print_r($b); Test script: --------------- Array ( [0] => 1000 [1] => 2 [2] => 3 )