ID: 47322 Updated by: fel...@php.net Reported By: sh_tanaka at mail dot goo dot ne dot jp -Status: Open +Status: Assigned Bug Type: Strings related PHP Version: 5.2.9RC1 -Assigned To: +Assigned To: felipe
Previous Comments: ------------------------------------------------------------------------ [2009-02-06 03:45:36] sh_tanaka at mail dot goo dot ne dot jp Description: ------------ sscanf does't work on PHP 5.2.9RC1. I tried freebsd 7.1stable and fedora core4. It works on PHP 5.2.8 and PHP4.4.7. Reproduce code: --------------- <?php sscanf("15:59:58","%d:%d:%d",$hour,$minute,$second); echo "[$hour][$minute][$second]"; ?> Expected result: ---------------- [15][59][58] Actual result: -------------- [][][] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47322&edit=1