PHP 4.0 Bug #6340 Updated: ord() function causes php to crash

From: Date: Thu, 24 Aug 2000 23:04:24 +0000
Subject: PHP 4.0 Bug #6340 Updated: ord() function causes php to crash
Groups: php.dev 
Request: Send a blank email to php-dev+get-30572@lists.php.net to get a copy of this message
ID: 6340 User Update by: aaron@meta.lo-res.org Status: Open Bug Type: Reproduceable crash Description: ord() function causes php to crash correction: the following code caused PHP to crash (for obvious reasons): <? $str = "foobar"; $hash = ord($str[0]); /* .. rest of has value computation code ... */ ?> Well, I guess PHP could say something like: "dont use the variable name "hash" please... use your imagination to find another one :) " Full Bug description available at: http://bugs.php.net/?id=6340

« previous php.dev (#30572) next »