note 55250 deleted from function.array-pop by jacques

From: Date: Thu, 28 Jul 2005 15:02:42 +0000
Subject: note 55250 deleted from function.array-pop by jacques
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92652@lists.php.net to get a copy of this message
Note Submitter: Chris Hester ---- If you put array_pop inside a function, it gives an error that the argument should be an array - even when it is. Try this test: <?php $x = array(1,2,3); function test() { array_pop($x); } test(); ?>

« previous php.notes (#92652) next »