Date: 07/18/02
- Next message: goba <email protected>: "[PHP-DOC] Bug #18411 Updated: print_r(FALSE) not consistant with print_r(TRUE)"
- Previous message: Gabor Hojtsy: "Re: [PHP-DOC] what was the errors in http://www.php.net/manual/zh/build.log.gz"
- Next in thread: goba <email protected>: "[PHP-DOC] Bug #18411 Updated: print_r(FALSE) not consistant with print_r(TRUE)"
- Maybe reply: goba <email protected>: "[PHP-DOC] Bug #18411 Updated: print_r(FALSE) not consistant with print_r(TRUE)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 18411
Updated by: derick <email protected>
Reported By: peter.farr <email protected>
Status: Open
-Bug Type: *General Issues
+Bug Type: Documentation problem
Operating System: W2K Professional
PHP Version: 4.2.1
New Comment:
This is expected behavior, but I can not find this in the manual either
(atleast not on
http://www.php.net/manual/en/language.types.boolean.php).
Making it a documentation problem.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-07-18 09:09:10] peter.farr <email protected>
No doubt there is a reason for:
print_r(TRUE) displays 1
print_r(FALSE) displays nothing
But too me, it just seems inconsistant, bad practise and very
confusing.
I can find nothing in the documentation I have on, why it is like this,
as the text indicates 0 is to FALSE as 1 is to TRUE.
It is also obvious from your bug list, that the area of TRUE/FALSE and
1/0 has its problems.
------------------------------------------------------------------------
-- Edit this bug report at http://bugs.php.net/?id=18411&edit=1-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: goba <email protected>: "[PHP-DOC] Bug #18411 Updated: print_r(FALSE) not consistant with print_r(TRUE)"
- Previous message: Gabor Hojtsy: "Re: [PHP-DOC] what was the errors in http://www.php.net/manual/zh/build.log.gz"
- Next in thread: goba <email protected>: "[PHP-DOC] Bug #18411 Updated: print_r(FALSE) not consistant with print_r(TRUE)"
- Maybe reply: goba <email protected>: "[PHP-DOC] Bug #18411 Updated: print_r(FALSE) not consistant with print_r(TRUE)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

