xref: /PHP-8.2/ext/filter/tests/bug53037.phpt (revision 74859783)
1--TEST--
2Bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented)
3--EXTENSIONS--
4filter
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