- skip on win

This commit is contained in:
Pierre Joye 2011-12-12 13:49:21 +00:00
parent c0aca2f440
commit 275dc66774

View file

@ -1,5 +1,10 @@
--TEST-- --TEST--
Test krsort() function : usage variations - sort strings Test krsort() function : usage variations - sort strings
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die("skip Output tested contains chars that are not shown the same on windows concole (ESC and co)");
}
--FILE-- --FILE--
<?php <?php
/* Prototype : bool krsort ( array &$array [, int $sort_flags] ) /* Prototype : bool krsort ( array &$array [, int $sort_flags] )
@ -76,8 +81,10 @@ array(11) {
string(2) "\a" string(2) "\a"
[""]=> [""]=>
string(1) "" string(1) ""
[" "]=> ["
string(1) " " "]=>
string(1) "
"
[" "]=> [" "]=>
string(1) " " string(1) " "
[" "]=> [" "]=>
@ -104,8 +111,10 @@ array(11) {
string(2) "\a" string(2) "\a"
[""]=> [""]=>
string(1) "" string(1) ""
[" "]=> ["
string(1) " " "]=>
string(1) "
"
[" "]=> [" "]=>
string(1) " " string(1) " "
[" "]=> [" "]=>
@ -132,8 +141,10 @@ array(11) {
string(2) "\a" string(2) "\a"
[""]=> [""]=>
string(1) "" string(1) ""
[" "]=> ["
string(1) " " "]=>
string(1) "
"
[" "]=> [" "]=>
string(1) " " string(1) " "
[" "]=> [" "]=>