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

 ID:                 53037
 Updated by:         il...@php.net
 Reported by:        jinmoku at hotmail dot com
 Summary:            activate FILTER_FLAG_EMPTY_STRING_NULL
-Status:             Open
+Status:             Closed
 Type:               Feature/Change Request
 Package:            Filter related
 PHP Version:        5.3.6
-Assigned To:        
+Assigned To:        iliaa
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

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:
------------------------------------------------------------------------
[2011-04-03 18:30:34] il...@php.net

Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=309920
Log: Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not
implemented).

------------------------------------------------------------------------
[2011-03-29 00:21:22] jinmoku at hotmail dot com

Added patch

------------------------------------------------------------------------
[2010-10-10 18:13:04] jinmoku at hotmail dot com

Description:
------------
Hi, there are any plan for FILTER_FLAG_EMPTY_STRING_NULL ?



And why 'NULL' insteed 'FALSE' ?



;)

Test script:
---------------
$str = '';

$filter = filter_var($str, FILTER_DEFAULT,
FILTER_FLAG_EMPTY_STRING_NULL);    

var_dump($filter);

Expected result:
----------------
NULL

Actual result:
--------------
string(0) ""


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



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

Reply via email to