array_shift and php 4.0.4

From: Date: Thu, 10 Jan 2002 03:00:49 +0000
Subject: array_shift and php 4.0.4
Groups: php.general 
Request: Send a blank email to php-general+get-79984@lists.php.net to get a copy of this message
Hey all. Im putting together a script and Im having a couple people test it out. Here is a bit of code... $c = explode ('/', dirname($PHP_SELF)); array_shift($c); It runs fine on my box, php 4.0.6, apache 1.3.22. On a box with php 4.0.4pl1, apache 1.3.20 it spits an error. Fatal error: Call to unsupported or undefined function array_shift() in file.php on line 15 Where/Is there anything wrong with 4.0.4??

« previous php.general (#79984) next »