PHP 4.0 Bug #8268: type casting problem

From: Date: Fri, 15 Dec 2000 02:48:48 +0000
Subject: PHP 4.0 Bug #8268: type casting problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-41426@lists.php.net to get a copy of this message
From: h.radi@nmeat Operating system: win 2k PHP version: 4.0.3pl1 PHP Bug Type: Feature/Change Request Bug description: type casting problem when i cast a string to an integer i have the following problem: $foo = "0x1234"; $bar = (int)$foo; echo $bar; // $bar contains 0 so numbers in an string with an other radix then 10 are not casted correctly. -- Edit Bug report at: http://bugs.php.net/?id=8268&edit=1

« previous php.dev (#41426) next »