note 110526 deleted from function.array-splice by aharvey

From: Date: Fri, 02 Nov 2012 05:17:55 +0000
Subject: note 110526 deleted from function.array-splice by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191633@lists.php.net to get a copy of this message
Note Submitter: Peter ---- This may not be a surprise to anybody (it was to me) you can not use a string with array_slice, array_push, array_pop, etc. Much like you have the ability to do the following: <?php $str = "PHP is cool"; echo $str[2]; // Returns P ?> You can't use strings with array_slice.

« previous php.notes (#191633) next »