xref: /PHP-5.4/ext/filter/tests/bug53037.phpt (revision 47012ccd)
1--TEST--
2Bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented)
3--SKIPIF--
4<?php if (!extension_loaded("filter")) die("skip"); ?>
5--FILE--
6<?php
7var_dump(
8	filter_var("", FILTER_DEFAULT),
9    filter_var("", FILTER_DEFAULT, array('flags' => FILTER_FLAG_EMPTY_STRING_NULL))
10);
11?>
12--EXPECT--
13string(0) ""
14NULL
15