Re: Array_Pop fatal error?

From: Date: Tue, 12 Dec 2000 18:57:28 +0000
Subject: Re: Array_Pop fatal error?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29937@lists.php.net to get a copy of this message
Compare the version of PHP you are using <?php phpinfo();?> with the version in which array_pop() first appeared http://php.net/array_php I believe you will find that you need to upgrade to get array_pop() ----- Original Message ----- From: Brandon Orther <brandon@webintellects.com> Newsgroups: php.general Sent: Tuesday, December 12, 2000 10:14 AM Subject: [PHP] Array_Pop fatal error? > I was using an example that was posted for stings yesterday and when I try > it I get this error: > > Fatal error: Call to unsupported or undefined function array_pop() in > /home/sites/site31/web/ht/login.php on line 221 > > What I am using is: > > $check = count($Tmp); > array_pop($Tmp); > $phpftp_dir = implode( '/', $Tmp ); > > Can anyone see anything wrong with that? > > Thank you, > > -------------- > Brandon Orther > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#29937) next »