ID: 20305 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Linux GNU/Debian PHP Version: 4.2.3 New Comment:
Use var_dump() instead. Previous Comments: ------------------------------------------------------------------------ [2002-11-07 18:03:30] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=20305&edit=1