com php-src: Fixed test if PATH is not set: ext/filter/tests/bug71063.phpt

From: Date: Tue, 08 Dec 2015 16:26:04 +0000
Subject: com php-src: Fixed test if PATH is not set: ext/filter/tests/bug71063.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90137@lists.php.net to get a copy of this message
Commit: c47b49c9b599c197230b9d5469395d37379b6ba5 Author: Xinchen Hui <laruence@gmail.com> Tue, 8 Dec 2015 08:26:04 -0800 Parents: 3427c122bf02488559ef5fdf0e9403396c30a5f1 Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c47b49c9b599c197230b9d5469395d37379b6ba5 Log: Fixed test if PATH is not set Changed paths: M ext/filter/tests/bug71063.phpt Diff: diff --git a/ext/filter/tests/bug71063.phpt b/ext/filter/tests/bug71063.phpt index 36807aac..c399817 100644 --- a/ext/filter/tests/bug71063.phpt +++ b/ext/filter/tests/bug71063.phpt @@ -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) \ No newline at end of file +bool(true)

« previous php.cvs (#90137) next »