From: Antony Dovgal Date: Fri, 14 Apr 2006 20:30:11 +0000 (+0000) Subject: ok, let's make this test to work on all systems X-Git-Tag: php-5.1.3RC3~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=522a5e128f21fe69c4071d6ce0bd6a3d983db533;p=php ok, let's make this test to work on all systems currently it fails at least on Linux PPC and Solaris, probably because of different strncmp/strncasecmp implementations. --- diff --git a/ext/standard/tests/strings/bug36944.phpt b/ext/standard/tests/strings/bug36944.phpt index efe419a6a3..2a43d060e2 100644 --- a/ext/standard/tests/strings/bug36944.phpt +++ b/ext/standard/tests/strings/bug36944.phpt @@ -16,11 +16,11 @@ echo "Done\n"; --EXPECTF-- Warning: Length must be greater than or equal to 0 in %s on line %d bool(false) -int(1) +int(%d) int(0) Warning: Length must be greater than or equal to 0 in %s on line %d bool(false) -int(15) +int(%d) int(0) Done