Re: variable probe revision

From: Date: Mon, 12 Jan 2009 22:06:54 +0000
Subject: Re: variable probe revision
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-286180@lists.php.net to get a copy of this message
"Chris" <dmagick@gmail.com> wrote in message news:496BBD52.2080701@gmail.com... > Frank Stanovcak wrote: >> I posted this once before, and then tried to use it multiple times in a >> script. As you can guess I got a bunch of func already defined errors. >> >> Here is a revision incase anyone decided to use it that will work >> multiple times in the same script for variable watching. >> >> -------Code follows------- >> <?php >> if(!function_exists(breakarray)){ > > that needs to be quoted: > > if (!function_exists('breakarray')) { > > otherwise php will generate an E_NOTICE (I think) looking for a constant > called breakarray. > > You do have error_reporting(E_ALL); set yeh? > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > Yep, and thanks!

« previous php.general (#286180) next »