Re: #13347 and bad pw

From: Date: Mon, 17 Sep 2001 15:14:00 +0000
Subject: Re: #13347 and bad pw
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66122@lists.php.net to get a copy of this message
ALester@flr.follett.com wrote: > > I'm not able to add a bugnote, since the bug tracker says I gave it a wrong > password. I didn't enter any password when I created the bug. I had it > mail me the password, and it just sent me a "the password is ." message, > with no password. > > Anyway, the bummer on #13347: The following gives me identical results: > > #!/usr/local/bin/php -q > <?php > > error_reporting(15); you should use the symbolic constant E_ALL in php 4 15 was the combined bitmask of all error levels in php 3, but php 4 has added quite a few of these so you'll mask out a lot of error conditions by using 15 > $foo = Array( "This", "That", "The other" ); > > print "Before the implode\n"; > > print implode( ",", $foo[] ); > print "\n"; > > print "After the implode\n"; > > ?> > > No error about not being able to use it for input. display_error in php.ini and the rest of the error settings there might be worth a check, too -- Hartmut Holzgraefe hartmut@six.de http://www.six.de +49-711-99091-77

« previous php.dev (#66122) next »