ID:               38351
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kevin at oceania dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Filter related
 Operating System: Linux
 PHP Version:      5.2.0RC1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

Seems to work in latest CVS.


Previous Comments:
------------------------------------------------------------------------

[2006-08-05 21:38:25] kevin at oceania dot net

Description:
------------
In correct return value for OCTAL representations
Also the ext/filter/tests/013.phpt file has an EXPECT of int(438) for
this test.

Reproduce code:
---------------
var_dump(filter_data("0666", FILTER_VALIDATE_INT,
array("flags"=>FILTER_FLAG_ALLOW_OCTAL)));

Expected result:
----------------
int(666)

Actual result:
--------------
bool(false)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38351&edit=1

Reply via email to