1--TEST-- 2Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null 3 4--SKIPIF-- 5<?php if (!extension_loaded("filter")) die("skip"); ?> 6 7--FILE-- 8<?php 9var_dump(filter_var( 10 null, 11 FILTER_VALIDATE_BOOLEAN, 12 FILTER_NULL_ON_FAILURE 13)); 14 15--XFAIL-- 16Requires php_zval_filter to not use convert_to_string for all filters. 17 18--EXPECTF-- 19NULL 20 21