From:             [EMAIL PROTECTED]
Operating system: Linux GNU/Debian
PHP version:      4.2.3
PHP Bug Type:     Feature/Change Request
Bug description:  print_r() handling of BOOLs

Recently print_r() does not fully works as documented "Prints
human-readable information about a variable". If there's a BOOL variable,
no human readable output appears. I suggest to change this and make
print_r() output "(BOOL) TRUE" or "(BOOL) FALSE)" depending on the value
of BOOL variable (the "(BOOL)" prefix is to differ these from strings
"TRUE/FALSE" (just-in-case ;). Since print_r() is often used for debugging
purpose, such fix could simplify it.
-- 
Edit bug report at http://bugs.php.net/?id=20305&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20305&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20305&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20305&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20305&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20305&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20305&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20305&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20305&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20305&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20305&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20305&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20305&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20305&r=isapi

Reply via email to