ID: 36185 Updated by: [EMAIL PROTECTED] Reported By: gmilicevic at gmail dot com -Status: Open +Status: Closed Bug Type: Strings related Operating System: Win XP SP1 PHP Version: 5CVS-2006-01-28 (snap) -Assigned To: +Assigned To: pajoye New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-01-28 00:37:23] gmilicevic at gmail dot com Description: ------------ Hello, For my article : 'php - string manipulation' i'm tested the various results of must php functions. For the functions str_rot13() i have tested with NULL in the single argument, the result of this test is: crash. I have tested with PHP 5.1.2 (win 32 packtage), PHP 5 cvs of today (win 32 packtage), and with PHP 4.3.10-16 (cli) (Linux Debian). (Sorry for my english.) Reproduce code: --------------- <?php echo str_rot13(NULL); ?> Expected result: ---------------- no result ? Actual result: -------------- crash ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36185&edit=1