[PHP-DEV] Re: #13347 and bad pw From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 09/17/01

ALester <email protected> 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 <email protected>  http://www.six.de  +49-711-99091-77

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>