mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Fixed test if PATH is not set
This commit is contained in:
parent
3427c122bf
commit
c47b49c9b5
@ -1,7 +1,9 @@
|
||||
--TEST--
|
||||
Bug #71063 filter_input(INPUT_ENV, ..) does not work
|
||||
Bug #71063 (filter_input(INPUT_ENV, ..) does not work)
|
||||
--SKIPIF--
|
||||
<?php if (!extension_loaded("filter")) die("skip"); ?>
|
||||
--ENV--
|
||||
PATH=/
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(count($_ENV['PATH']) > 0);
|
||||
@ -9,4 +11,4 @@ var_dump(count(filter_input(INPUT_ENV, 'PATH')) > 0);
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(true)
|
||||
bool(true)
|
||||
bool(true)
|
||||
|
Loading…
Reference in New Issue
Block a user