We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a601605 commit 8249581Copy full SHA for 8249581
ext/filter/tests/bug52209.phpt
@@ -1,7 +1,13 @@
1
--TEST--
2
Bug #52209 (INPUT_ENV returns NULL for set variables (CLI))
3
--SKIPIF--
4
-<?php if (!extension_loaded("filter") || !empty($_ENV['PWD'])) die("skip"); ?>
+<?php
5
+/* This test makes no sense on windows as an empty variable
6
+ would never show up in the "set" list. Which means, it's
7
+ always undefined in PHP. */
8
+if(substr(PHP_OS, 0, 3) == "WIN") die("skip Not for Windows");
9
+if (!extension_loaded("filter") || !empty($_ENV['PWD'])) die("skip");
10
+?>
11
--INI--
12
variables_order=GPCSE
13
--FILE--
0 commit comments