Fix tests: don't count non-countables

This commit is contained in:
Christoph M. Becker 2016-11-13 18:16:17 +01:00
parent 5a4bad7b5f
commit 1ccada35c0
5 changed files with 12 additions and 20 deletions

View file

@ -8,9 +8,9 @@ PATH=/
variables_order=E
--FILE--
<?php
var_dump(count($_ENV['PATH']) > 0);
var_dump(count(filter_input(INPUT_ENV, 'PATH')) > 0);
var_dump($_ENV['PATH']);
var_dump(filter_input(INPUT_ENV, 'PATH'));
?>
--EXPECT--
bool(true)
bool(true)
string(1) "/"
string(1) "/"