--TEST--
-Test gmstrftime() function : usage variation - Checking week related formats which was not supported on Windows before vc14.
+Test gmstrftime() function : usage variation - Checking week related formats which was not supported on Windows before vc14.
--SKIPIF--
<?php
if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
- die("skip Test is not valid for Windows");
+ die("skip Test is only valid for Windows");
}
?>
--FILE--
<?php
/* Prototype : string gmstrftime(string format [, int timestamp])
- * Description: Format a GMT/UCT time/date according to locale settings
+ * Description: Format a GMT/UCT time/date according to locale settings
* Source code: ext/date/php_date.c
- * Alias to functions:
+ * Alias to functions:
*/
echo "*** Testing gmstrftime() : usage variation ***\n";
Bug #52209 (INPUT_ENV returns NULL for set variables (CLI))
--SKIPIF--
<?php
-/* This test makes no sense on windows as an empty variable
- would never show up in the "set" list. Which means, it's
+/* This test makes no sense on windows as an empty variable
+ would never show up in the "set" list. Which means, it's
always undefined in PHP. */
if(substr(PHP_OS, 0, 3) == "WIN") die("skip Not for Windows");
-if (!extension_loaded("filter") || !empty($_ENV['PWD'])) die("skip");
+if (!extension_loaded("filter")) die ('skip filter extension not loaded');
+if (empty($_ENV['PWD'])) die('skip PWD is empty');
?>
--INI--
variables_order=GPCSE
<?php
var_dump(filter_input(INPUT_ENV, 'PWD'));
?>
---EXPECTF--
+--EXPECTF--
string(%d) "%s"
--TEST--
Bug #34657 (If you get a communication problem when loading the WSDL, it fatal's)
--SKIPIF--
-<?php
-require_once('skipif.inc');
-if (extension_loaded("openssl")) {
- /*
- when openssl loaded, tcp stream is less verbose, so some error messages are missing
- so let's skip the test in this case
- */
- die("skip OpenSSL extension required");
-}
+<?php
+require_once('skipif.inc');
?>
--FILE--
<?php