Call to undefined function

From: Date: Tue, 14 Nov 2006 09:36:52 +0000
Subject: Call to undefined function
Groups: php.general 
Request: Send a blank email to php-general+get-244588@lists.php.net to get a copy of this message
I have just encountered a fatal error using file_put_contents() on a PHP4 box. After a bit of research I found a simple function within the php.net user comments. I just wanted to know what happens if I then tried to run this script on a PHP 5 box, whereby I'd be defining a function that already exists. Should I be changing the name of the function just in case it moves to PHP5 in the future? Thanks, Tom

« previous php.general (#244588) next »