File tree Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 1
1
--TEST--
2
- Test gmstrftime() function : usage variation - Checking week related formats which was not supported on Windows before vc14.
2
+ Test gmstrftime() function : usage variation - Checking week related formats which was not supported on Windows before vc14.
3
3
--SKIPIF--
4
4
<?php
5
5
if (strtoupper (substr (PHP_OS , 0 , 3 )) != 'WIN ' ) {
6
- die ("skip Test is not valid for Windows " );
6
+ die ("skip Test is only valid for Windows " );
7
7
}
8
8
?>
9
9
--FILE--
10
10
<?php
11
11
/* Prototype : string gmstrftime(string format [, int timestamp])
12
- * Description: Format a GMT/UCT time/date according to locale settings
12
+ * Description: Format a GMT/UCT time/date according to locale settings
13
13
* Source code: ext/date/php_date.c
14
- * Alias to functions:
14
+ * Alias to functions:
15
15
*/
16
16
17
17
echo "*** Testing gmstrftime() : usage variation *** \n" ;
Original file line number Diff line number Diff line change 2
2
Bug #52209 (INPUT_ENV returns NULL for set variables (CLI))
3
3
--SKIPIF--
4
4
<?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
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
7
always undefined in PHP. */
8
8
if (substr (PHP_OS , 0 , 3 ) == "WIN " ) die ("skip Not for Windows " );
9
- if (!extension_loaded ("filter " ) || !empty ($ _ENV ['PWD ' ])) die ("skip " );
9
+ if (!extension_loaded ("filter " )) die ('skip filter extension not loaded ' );
10
+ if (empty ($ _ENV ['PWD ' ])) die ('skip PWD is empty ' );
10
11
?>
11
12
--INI--
12
13
variables_order=GPCSE
13
14
--FILE--
14
15
<?php
15
16
var_dump (filter_input (INPUT_ENV , 'PWD ' ));
16
17
?>
17
- --EXPECTF--
18
+ --EXPECTF--
18
19
string(%d) "%s"
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Bug #34657 (If you get a communication problem when loading the WSDL, it fatal's)
3
3
--SKIPIF--
4
- <?php
5
- require_once ('skipif.inc ' );
6
- if (extension_loaded ("openssl " )) {
7
- /*
8
- when openssl loaded, tcp stream is less verbose, so some error messages are missing
9
- so let's skip the test in this case
10
- */
11
- die ("skip OpenSSL extension required " );
12
- }
4
+ <?php
5
+ require_once ('skipif.inc ' );
13
6
?>
14
7
--FILE--
15
8
<?php
You can’t perform that action at this time.
0 commit comments