ID: 47322 Updated by: fel...@php.net Reported By: sh_tanaka at mail dot goo dot ne dot jp -Status: Assigned +Status: Closed Bug Type: Strings related PHP Version: 5.2.9RC1 Assigned To: felipe 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: ------------------------------------------------------------------------ [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