PHP  
 PHP_7_1
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Expected Test Failure Report for ext/filter/tests/bug67167.02.phpt ('Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null')

Script

1: <?php
2: var_dump
(filter_var(
3:     
null,
4:     
FILTER_VALIDATE_BOOLEAN,
5:     
FILTER_NULL_ON_FAILURE
6:
));
7:
8:

Expected

NULL

Output

bool(false)

Diff

001+ bool(false)
001- NULL

 

Generated at Fri, 01 Dec 2017 18:56:15 +0000 (9 days ago)

Copyright © 2005-2017 The PHP Group
All rights reserved.