Annotation of embedaddon/php/ext/filter/tests/bug53037.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented)
! 3: --SKIPIF--
! 4: <?php if (!extension_loaded("filter")) die("skip"); ?>
! 5: --FILE--
! 6: <?php
! 7: var_dump(
! 8: filter_var("", FILTER_DEFAULT),
! 9: filter_var("", FILTER_DEFAULT, array('flags' => FILTER_FLAG_EMPTY_STRING_NULL))
! 10: );
! 11: ?>
! 12: --EXPECT--
! 13: string(0) ""
! 14: NULL
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>