# ceo@xxxxxxxxx / 2007-04-19 17:57:25 -0500: > On Thu, April 19, 2007 5:47 pm, Roman Neuhauser wrote: > > # ceo@xxxxxxxxx / 2007-04-19 17:28:42 -0500: > >> On Thu, April 19, 2007 2:27 am, Roman Neuhauser wrote: > >> > No, I've been using php-recommended.ini for the last several > >> years. > >> > It has that error_reporting = E_ALL by default, and that's one of > >> the > >> > reasons I've been using it. > >> > >> I don't think your PHP CLI is using the php.ini that you think it's > >> using... > >> > >> Here's what happens without E_NOTICE: > >> > >> lynch@localhost ~ $ php -r 'var_dump($foo);' > >> > >> Notice: Undefined variable: foo in Command line code on line 1 > > Sorry. > > I meant *with* E_NOTICE Yeah, that's what I had posted. I think you have mistaken me with "Tijnema !": On Thu, April 19, 2007 2:27 am, Roman Neuhauser wrote: : # ceo@xxxxxxxxx / 2007-04-18 23:03:08 -0500: : > On Wed, April 18, 2007 2:21 am, Tijnema ! wrote: : > > Hmm, this is what i get: : > > ~# php -r 'var_dump($foo);' : > > NULL : > > ~# php -r 'var_dump(@$foo);' : > > NULL : > > : > > : > > PHP6 snapshot from a month ago. : > : > Your php.ini doesn't have error_reporting cranked up to include E_NOTICE. : > : > That's your first mistake. :-) :-) :-) : > : > [Roman's does have that setting changed.] : : No, I've been using php-recommended.ini for the last several years. : It has that error_reporting = E_ALL by default, and that's one of the : reasons I've been using it. IOW, I don't have error_reporting changed, to the contrary: I use the the default value from php.ini-recommended unchanged. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php