Re: [PHP-DEV] print_r outputs nothing for "false"

2007-04-30 Thread Stefan Walk
Hi, for debugging i'd use var_dump, which doesn't output ambiguous things. Regards, Stefan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] print_r outputs nothing for "false"

2007-04-29 Thread Robert Deaton
http://www.php.net/manual/en/language.types.string.php#language.types.string.casting -- --Robert Deaton -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] print_r outputs nothing for "false"

2007-04-29 Thread Rasmus Lerdorf
Jakob Buchgraber wrote: Hello! While debuging I recognized that print_r does not output anything for bool(false) (PHP 5.2.1). e.g. Expected result: Array ( [0] => 1 [1] => 0 [2] => String ) Actual result: Array ( [0] => 1 [1] => [2] => String ) I was not quite sur

[PHP-DEV] print_r outputs nothing for "false"

2007-04-29 Thread Jakob Buchgraber
Hello! While debuging I recognized that print_r does not output anything for bool(false) (PHP 5.2.1). e.g. Expected result: Array ( [0] => 1 [1] => 0 [2] => String ) Actual result: Array ( [0] => 1 [1] => [2] => String ) I was not quite sure whether this is expecte