cvs: php-src /ext/standard/tests/strings strcasecmp.phpt strcmp.phpt

From: Date: Fri, 16 Mar 2007 13:35:47 +0000
Subject: cvs: php-src /ext/standard/tests/strings strcasecmp.phpt strcmp.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-43557@lists.php.net to get a copy of this message
zoe Fri Mar 16 13:35:47 2007 UTC Modified files: /php-src/ext/standard/tests/strings strcmp.phpt strcasecmp.phpt Log: Changed %d to %i in EXPECTF

http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strcmp.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/strings/strcmp.phpt diff -u php-src/ext/standard/tests/strings/strcmp.phpt:1.1 php-src/ext/standard/tests/strings/strcmp.phpt:1.2 --- php-src/ext/standard/tests/strings/strcmp.phpt:1.1 Fri Mar 16 12:55:38 2007 +++ php-src/ext/standard/tests/strings/strcmp.phpt Fri Mar 16 13:35:47 2007 @@ -161,65 +161,65 @@ Iteration 0 - strcmp of 'a' and 'a' is => int(0) -- strcmp of 'a' and 'A' is => int(%d) +- strcmp of 'a' and 'A' is => int(%i) - strcmp of 'a' and 'a' is => int(0) -- strcmp of 'a' and 'A' is => int(%d) -- strcmp of 'a' and '€' is => int(-%d) -- strcmp of 'a' and 'ÿ' is => int(-%d) -- strcmp of 'a' and '+- strcmp of 'a' and 'A' is => int(%i) +- strcmp of 'a' and '€' is => int(%i) +- strcmp of 'a' and 'ÿ' is => int(%i) +- strcmp of 'a' and ' Iteration 1 -- strcmp of 'A' and 'a' is => int(-%d) +- strcmp of 'A' and 'a' is => int(%i) - strcmp of 'A' and 'A' is => int(0) -- strcmp of 'A' and 'a' is => int(-%d) +- strcmp of 'A' and 'a' is => int(%i) - strcmp of 'A' and 'A' is => int(0) -- strcmp of 'A' and '€' is => int(-%d) -- strcmp of 'A' and 'ÿ' is => int(-%d) -- strcmp of 'A' and '+- strcmp of 'A' and '€' is => int(%i) +- strcmp of 'A' and 'ÿ' is => int(%i) +- strcmp of 'A' and ' Iteration 2 - strcmp of 'a' and 'a' is => int(0) -- strcmp of 'a' and 'A' is => int(%d) +- strcmp of 'a' and 'A' is => int(%i) - strcmp of 'a' and 'a' is => int(0) -- strcmp of 'a' and 'A' is => int(%d) -- strcmp of 'a' and '€' is => int(-%d) -- strcmp of 'a' and 'ÿ' is => int(-%d) -- strcmp of 'a' and '+- strcmp of 'a' and 'A' is => int(%i) +- strcmp of 'a' and '€' is => int(%i) +- strcmp of 'a' and 'ÿ' is => int(%i) +- strcmp of 'a' and ' Iteration 3 -- strcmp of 'A' and 'a' is => int(-%d) +- strcmp of 'A' and 'a' is => int(%i) - strcmp of 'A' and 'A' is => int(0) -- strcmp of 'A' and 'a' is => int(-%d) +- strcmp of 'A' and 'a' is => int(%i) - strcmp of 'A' and 'A' is => int(0) -- strcmp of 'A' and '€' is => int(-%d) -- strcmp of 'A' and 'ÿ' is => int(-%d) -- strcmp of 'A' and '+- strcmp of 'A' and '€' is => int(%i) +- strcmp of 'A' and 'ÿ' is => int(%i) +- strcmp of 'A' and ' Iteration 4 -- strcmp of '€' and 'a' is => int(%d) -- strcmp of '€' and 'A' is => int(%d) -- strcmp of '€' and 'a' is => int(%d) -- strcmp of '€' and 'A' is => int(%d) +- strcmp of '€' and 'a' is => int(%i) +- strcmp of '€' and 'A' is => int(%i) +- strcmp of '€' and 'a' is => int(%i) +- strcmp of '€' and 'A' is => int(%i) - strcmp of '€' and '€' is => int(0) -- strcmp of '€' and 'ÿ' is => int(-%d) -- strcmp of '€' and '+- strcmp of '€' and 'ÿ' is => int(%i) +- strcmp of '€' and ' Iteration 5 -- strcmp of 'ÿ' and 'a' is => int(%d) -- strcmp of 'ÿ' and 'A' is => int(%d) -- strcmp of 'ÿ' and 'a' is => int(%d) -- strcmp of 'ÿ' and 'A' is => int(%d) -- strcmp of 'ÿ' and '€' is => int(%d) +- strcmp of 'ÿ' and 'a' is => int(%i) +- strcmp of 'ÿ' and 'A' is => int(%i) +- strcmp of 'ÿ' and 'a' is => int(%i) +- strcmp of 'ÿ' and 'A' is => int(%i) +- strcmp of 'ÿ' and '€' is => int(%i) - strcmp of 'ÿ' and 'ÿ' is => int(0) -- strcmp of 'ÿ' and '+- strcmp of 'ÿ' and ' Iteration 6 -- strcmp of '-- strcmp of '-- strcmp of '-- strcmp of '-- strcmp of '-- strcmp of '+- strcmp of '+- strcmp of '+- strcmp of '+- strcmp of '+- strcmp of '+- strcmp of ' - strcmp of ' *** comparing the strings in an @@ -238,101 +238,101 @@ Iteration 0 - strcmp of 'acc' and 'acc' is => int(0) -- strcmp of 'acc' and 'Acc' is => int(%d) -- strcmp of 'acc' and 'ac' is => int(%d) -- strcmp of 'acc' and 'accc' is => int(-%d) -- strcmp of 'acc' and 'acd' is => int(-%d) -- strcmp of 'acc' and '?acc' is => int(%d) -- strcmp of 'acc' and 'acc!' is => int(-%d) -- strcmp of 'acc' and '$!acc' is => int(%d) -- strcmp of 'acc' and ';acc' is => int(%d) +- strcmp of 'acc' and 'Acc' is => int(%i) +- strcmp of 'acc' and 'ac' is => int(%i) +- strcmp of 'acc' and 'accc' is => int(%i) +- strcmp of 'acc' and 'acd' is => int(%i) +- strcmp of 'acc' and '?acc' is => int(%i) +- strcmp of 'acc' and 'acc!' is => int(%i) +- strcmp of 'acc' and '$!acc' is => int(%i) +- strcmp of 'acc' and ';acc' is => int(%i) Iteration 1 -- strcmp of 'Acc' and 'acc' is => int(-%d) +- strcmp of 'Acc' and 'acc' is => int(%i) - strcmp of 'Acc' and 'Acc' is => int(0) -- strcmp of 'Acc' and 'ac' is => int(-%d) -- strcmp of 'Acc' and 'accc' is => int(-%d) -- strcmp of 'Acc' and 'acd' is => int(-%d) -- strcmp of 'Acc' and '?acc' is => int(%d) -- strcmp of 'Acc' and 'acc!' is => int(-%d) -- strcmp of 'Acc' and '$!acc' is => int(%d) -- strcmp of 'Acc' and ';acc' is => int(%d) +- strcmp of 'Acc' and 'ac' is => int(%i) +- strcmp of 'Acc' and 'accc' is => int(%i) +- strcmp of 'Acc' and 'acd' is => int(%i) +- strcmp of 'Acc' and '?acc' is => int(%i) +- strcmp of 'Acc' and 'acc!' is => int(%i) +- strcmp of 'Acc' and '$!acc' is => int(%i) +- strcmp of 'Acc' and ';acc' is => int(%i) Iteration 2 -- strcmp of 'ac' and 'acc' is => int(-%d) -- strcmp of 'ac' and 'Acc' is => int(%d) +- strcmp of 'ac' and 'acc' is => int(%i) +- strcmp of 'ac' and 'Acc' is => int(%i) - strcmp of 'ac' and 'ac' is => int(0) -- strcmp of 'ac' and 'accc' is => int(-%d) -- strcmp of 'ac' and 'acd' is => int(-%d) -- strcmp of 'ac' and '?acc' is => int(%d) -- strcmp of 'ac' and 'acc!' is => int(-%d) -- strcmp of 'ac' and '$!acc' is => int(%d) -- strcmp of 'ac' and ';acc' is => int(%d) +- strcmp of 'ac' and 'accc' is => int(%i) +- strcmp of 'ac' and 'acd' is => int(%i) +- strcmp of 'ac' and '?acc' is => int(%i) +- strcmp of 'ac' and 'acc!' is => int(%i) +- strcmp of 'ac' and '$!acc' is => int(%i) +- strcmp of 'ac' and ';acc' is => int(%i) Iteration 3 -- strcmp of 'accc' and 'acc' is => int(%d) -- strcmp of 'accc' and 'Acc' is => int(%d) -- strcmp of 'accc' and 'ac' is => int(%d) +- strcmp of 'accc' and 'acc' is => int(%i) +- strcmp of 'accc' and 'Acc' is => int(%i) +- strcmp of 'accc' and 'ac' is => int(%i) - strcmp of 'accc' and 'accc' is => int(0) -- strcmp of 'accc' and 'acd' is => int(-%d) -- strcmp of 'accc' and '?acc' is => int(%d) -- strcmp of 'accc' and 'acc!' is => int(%d) -- strcmp of 'accc' and '$!acc' is => int(%d) -- strcmp of 'accc' and ';acc' is => int(%d) +- strcmp of 'accc' and 'acd' is => int(%i) +- strcmp of 'accc' and '?acc' is => int(%i) +- strcmp of 'accc' and 'acc!' is => int(%i) +- strcmp of 'accc' and '$!acc' is => int(%i) +- strcmp of 'accc' and ';acc' is => int(%i) Iteration 4 -- strcmp of 'acd' and 'acc' is => int(%d) -- strcmp of 'acd' and 'Acc' is => int(%d) -- strcmp of 'acd' and 'ac' is => int(%d) -- strcmp of 'acd' and 'accc' is => int(%d) +- strcmp of 'acd' and 'acc' is => int(%i) +- strcmp of 'acd' and 'Acc' is => int(%i) +- strcmp of 'acd' and 'ac' is => int(%i) +- strcmp of 'acd' and 'accc' is => int(%i) - strcmp of 'acd' and 'acd' is => int(0) -- strcmp of 'acd' and '?acc' is => int(%d) -- strcmp of 'acd' and 'acc!' is => int(%d) -- strcmp of 'acd' and '$!acc' is => int(%d) -- strcmp of 'acd' and ';acc' is => int(%d) +- strcmp of 'acd' and '?acc' is => int(%i) +- strcmp of 'acd' and 'acc!' is => int(%i) +- strcmp of 'acd' and '$!acc' is => int(%i) +- strcmp of 'acd' and ';acc' is => int(%i) Iteration 5 -- strcmp of '?acc' and 'acc' is => int(-%d) -- strcmp of '?acc' and 'Acc' is => int(-%d) -- strcmp of '?acc' and 'ac' is => int(-%d) -- strcmp of '?acc' and 'accc' is => int(-%d) -- strcmp of '?acc' and 'acd' is => int(-%d) +- strcmp of '?acc' and 'acc' is => int(%i) +- strcmp of '?acc' and 'Acc' is => int(%i) +- strcmp of '?acc' and 'ac' is => int(%i) +- strcmp of '?acc' and 'accc' is => int(%i) +- strcmp of '?acc' and 'acd' is => int(%i) - strcmp of '?acc' and '?acc' is => int(0) -- strcmp of '?acc' and 'acc!' is => int(-%d) -- strcmp of '?acc' and '$!acc' is => int(%d) -- strcmp of '?acc' and ';acc' is => int(%d) +- strcmp of '?acc' and 'acc!' is => int(%i) +- strcmp of '?acc' and '$!acc' is => int(%i) +- strcmp of '?acc' and ';acc' is => int(%i) Iteration 6 -- strcmp of 'acc!' and 'acc' is => int(%d) -- strcmp of 'acc!' and 'Acc' is => int(%d) -- strcmp of 'acc!' and 'ac' is => int(%d) -- strcmp of 'acc!' and 'accc' is => int(-%d) -- strcmp of 'acc!' and 'acd' is => int(-%d) -- strcmp of 'acc!' and '?acc' is => int(%d) +- strcmp of 'acc!' and 'acc' is => int(%i) +- strcmp of 'acc!' and 'Acc' is => int(%i) +- strcmp of 'acc!' and 'ac' is => int(%i) +- strcmp of 'acc!' and 'accc' is => int(%i) +- strcmp of 'acc!' and 'acd' is => int(%i) +- strcmp of 'acc!' and '?acc' is => int(%i) - strcmp of 'acc!' and 'acc!' is => int(0) -- strcmp of 'acc!' and '$!acc' is => int(%d) -- strcmp of 'acc!' and ';acc' is => int(%d) +- strcmp of 'acc!' and '$!acc' is => int(%i) +- strcmp of 'acc!' and ';acc' is => int(%i) Iteration 7 -- strcmp of '$!acc' and 'acc' is => int(-%d) -- strcmp of '$!acc' and 'Acc' is => int(-%d) -- strcmp of '$!acc' and 'ac' is => int(-%d) -- strcmp of '$!acc' and 'accc' is => int(-%d) -- strcmp of '$!acc' and 'acd' is => int(-%d) -- strcmp of '$!acc' and '?acc' is => int(-%d) -- strcmp of '$!acc' and 'acc!' is => int(-%d) +- strcmp of '$!acc' and 'acc' is => int(%i) +- strcmp of '$!acc' and 'Acc' is => int(%i) +- strcmp of '$!acc' and 'ac' is => int(%i) +- strcmp of '$!acc' and 'accc' is => int(%i) +- strcmp of '$!acc' and 'acd' is => int(%i) +- strcmp of '$!acc' and '?acc' is => int(%i) +- strcmp of '$!acc' and 'acc!' is => int(%i) - strcmp of '$!acc' and '$!acc' is => int(0) -- strcmp of '$!acc' and ';acc' is => int(-%d) +- strcmp of '$!acc' and ';acc' is => int(%i) Iteration 8 -- strcmp of ';acc' and 'acc' is => int(-%d) -- strcmp of ';acc' and 'Acc' is => int(-%d) -- strcmp of ';acc' and 'ac' is => int(-%d) -- strcmp of ';acc' and 'accc' is => int(-%d) -- strcmp of ';acc' and 'acd' is => int(-%d) -- strcmp of ';acc' and '?acc' is => int(-%d) -- strcmp of ';acc' and 'acc!' is => int(-%d) -- strcmp of ';acc' and '$!acc' is => int(%d) +- strcmp of ';acc' and 'acc' is => int(%i) +- strcmp of ';acc' and 'Acc' is => int(%i) +- strcmp of ';acc' and 'ac' is => int(%i) +- strcmp of ';acc' and 'accc' is => int(%i) +- strcmp of ';acc' and 'acd' is => int(%i) +- strcmp of ';acc' and '?acc' is => int(%i) +- strcmp of ';acc' and 'acc!' is => int(%i) +- strcmp of ';acc' and '$!acc' is => int(%i) - strcmp of ';acc' and ';acc' is => int(0) *** comparing the strings in an @@ -352,122 +352,122 @@ Iteration 0 - strcmp of '1' and '1' is => int(0) -- strcmp of '1' and '0' is => int(%d) -- strcmp of '1' and '0' is => int(%d) -- strcmp of '1' and '-1' is => int(%d) -- strcmp of '1' and '-1' is => int(%d) -- strcmp of '1' and '' is => int(%d) -- strcmp of '1' and '' is => int(%d) +- strcmp of '1' and '0' is => int(%i) +- strcmp of '1' and '0' is => int(%i) +- strcmp of '1' and '-1' is => int(%i) +- strcmp of '1' and '-1' is => int(%i) +- strcmp of '1' and '' is => int(%i) +- strcmp of '1' and '' is => int(%i) - strcmp of '1' and '1' is => int(0) -- strcmp of '1' and '' is => int(%d) -- strcmp of '1' and 'string' is => int(-%d) +- strcmp of '1' and '' is => int(%i) +- strcmp of '1' and 'string' is => int(%i) Iteration 1 -- strcmp of '0' and '1' is => int(-%d) +- strcmp of '0' and '1' is => int(%i) - strcmp of '0' and '0' is => int(0) - strcmp of '0' and '0' is => int(0) -- strcmp of '0' and '-1' is => int(%d) -- strcmp of '0' and '-1' is => int(%d) -- strcmp of '0' and '' is => int(%d) -- strcmp of '0' and '' is => int(%d) -- strcmp of '0' and '1' is => int(-%d) -- strcmp of '0' and '' is => int(%d) -- strcmp of '0' and 'string' is => int(-%d) +- strcmp of '0' and '-1' is => int(%i) +- strcmp of '0' and '-1' is => int(%i) +- strcmp of '0' and '' is => int(%i) +- strcmp of '0' and '' is => int(%i) +- strcmp of '0' and '1' is => int(%i) +- strcmp of '0' and '' is => int(%i) +- strcmp of '0' and 'string' is => int(%i) Iteration 2 -- strcmp of '0' and '1' is => int(-%d) +- strcmp of '0' and '1' is => int(%i) - strcmp of '0' and '0' is => int(0) - strcmp of '0' and '0' is => int(0) -- strcmp of '0' and '-1' is => int(%d) -- strcmp of '0' and '-1' is => int(%d) -- strcmp of '0' and '' is => int(%d) -- strcmp of '0' and '' is => int(%d) -- strcmp of '0' and '1' is => int(-%d) -- strcmp of '0' and '' is => int(%d) -- strcmp of '0' and 'string' is => int(-%d) +- strcmp of '0' and '-1' is => int(%i) +- strcmp of '0' and '-1' is => int(%i) +- strcmp of '0' and '' is => int(%i) +- strcmp of '0' and '' is => int(%i) +- strcmp of '0' and '1' is => int(%i) +- strcmp of '0' and '' is => int(%i) +- strcmp of '0' and 'string' is => int(%i) Iteration 3 -- strcmp of '-1' and '1' is => int(-%d) -- strcmp of '-1' and '0' is => int(-%d) -- strcmp of '-1' and '0' is => int(-%d) +- strcmp of '-1' and '1' is => int(%i) +- strcmp of '-1' and '0' is => int(%i) +- strcmp of '-1' and '0' is => int(%i) - strcmp of '-1' and '-1' is => int(0) - strcmp of '-1' and '-1' is => int(0) -- strcmp of '-1' and '' is => int(%d) -- strcmp of '-1' and '' is => int(%d) -- strcmp of '-1' and '1' is => int(-%d) -- strcmp of '-1' and '' is => int(%d) -- strcmp of '-1' and 'string' is => int(-%d) +- strcmp of '-1' and '' is => int(%i) +- strcmp of '-1' and '' is => int(%i) +- strcmp of '-1' and '1' is => int(%i) +- strcmp of '-1' and '' is => int(%i) +- strcmp of '-1' and 'string' is => int(%i) Iteration 4 -- strcmp of '-1' and '1' is => int(-%d) -- strcmp of '-1' and '0' is => int(-%d) -- strcmp of '-1' and '0' is => int(-%d) +- strcmp of '-1' and '1' is => int(%i) +- strcmp of '-1' and '0' is => int(%i) +- strcmp of '-1' and '0' is => int(%i) - strcmp of '-1' and '-1' is => int(0) - strcmp of '-1' and '-1' is => int(0) -- strcmp of '-1' and '' is => int(%d) -- strcmp of '-1' and '' is => int(%d) -- strcmp of '-1' and '1' is => int(-%d) -- strcmp of '-1' and '' is => int(%d) -- strcmp of '-1' and 'string' is => int(-%d) +- strcmp of '-1' and '' is => int(%i) +- strcmp of '-1' and '' is => int(%i) +- strcmp of '-1' and '1' is => int(%i) +- strcmp of '-1' and '' is => int(%i) +- strcmp of '-1' and 'string' is => int(%i) Iteration 5 -- strcmp of '' and '1' is => int(-%d) -- strcmp of '' and '0' is => int(-%d) -- strcmp of '' and '0' is => int(-%d) -- strcmp of '' and '-1' is => int(-%d) -- strcmp of '' and '-1' is => int(-%d) +- strcmp of '' and '1' is => int(%i) +- strcmp of '' and '0' is => int(%i) +- strcmp of '' and '0' is => int(%i) +- strcmp of '' and '-1' is => int(%i) +- strcmp of '' and '-1' is => int(%i) - strcmp of '' and '' is => int(0) - strcmp of '' and '' is => int(0) -- strcmp of '' and '1' is => int(-%d) +- strcmp of '' and '1' is => int(%i) - strcmp of '' and '' is => int(0) -- strcmp of '' and 'string' is => int(-%d) +- strcmp of '' and 'string' is => int(%i) Iteration 6 -- strcmp of '' and '1' is => int(-%d) -- strcmp of '' and '0' is => int(-%d) -- strcmp of '' and '0' is => int(-%d) -- strcmp of '' and '-1' is => int(-%d) -- strcmp of '' and '-1' is => int(-%d) +- strcmp of '' and '1' is => int(%i) +- strcmp of '' and '0' is => int(%i) +- strcmp of '' and '0' is => int(%i) +- strcmp of '' and '-1' is => int(%i) +- strcmp of '' and '-1' is => int(%i) - strcmp of '' and '' is => int(0) - strcmp of '' and '' is => int(0) -- strcmp of '' and '1' is => int(-%d) +- strcmp of '' and '1' is => int(%i) - strcmp of '' and '' is => int(0) -- strcmp of '' and 'string' is => int(-%d) +- strcmp of '' and 'string' is => int(%i) Iteration 7 - strcmp of '1' and '1' is => int(0) -- strcmp of '1' and '0' is => int(%d) -- strcmp of '1' and '0' is => int(%d) -- strcmp of '1' and '-1' is => int(%d) -- strcmp of '1' and '-1' is => int(%d) -- strcmp of '1' and '' is => int(%d) -- strcmp of '1' and '' is => int(%d) +- strcmp of '1' and '0' is => int(%i) +- strcmp of '1' and '0' is => int(%i) +- strcmp of '1' and '-1' is => int(%i) +- strcmp of '1' and '-1' is => int(%i) +- strcmp of '1' and '' is => int(%i) +- strcmp of '1' and '' is => int(%i) - strcmp of '1' and '1' is => int(0) -- strcmp of '1' and '' is => int(%d) -- strcmp of '1' and 'string' is => int(-%d) +- strcmp of '1' and '' is => int(%i) +- strcmp of '1' and 'string' is => int(%i) Iteration 8 -- strcmp of '' and '1' is => int(-%d) -- strcmp of '' and '0' is => int(-%d) -- strcmp of '' and '0' is => int(-%d) -- strcmp of '' and '-1' is => int(-%d) -- strcmp of '' and '-1' is => int(-%d) +- strcmp of '' and '1' is => int(%i) +- strcmp of '' and '0' is => int(%i) +- strcmp of '' and '0' is => int(%i) +- strcmp of '' and '-1' is => int(%i) +- strcmp of '' and '-1' is => int(%i) - strcmp of '' and '' is => int(0) - strcmp of '' and '' is => int(0) -- strcmp of '' and '1' is => int(-%d) +- strcmp of '' and '1' is => int(%i) - strcmp of '' and '' is => int(0) -- strcmp of '' and 'string' is => int(-%d) +- strcmp of '' and 'string' is => int(%i) Iteration 9 -- strcmp of 'string' and '1' is => int(%d) -- strcmp of 'string' and '0' is => int(%d) -- strcmp of 'string' and '0' is => int(%d) -- strcmp of 'string' and '-1' is => int(%d) -- strcmp of 'string' and '-1' is => int(%d) -- strcmp of 'string' and '' is => int(%d) -- strcmp of 'string' and '' is => int(%d) -- strcmp of 'string' and '1' is => int(%d) -- strcmp of 'string' and '' is => int(%d) +- strcmp of 'string' and '1' is => int(%i) +- strcmp of 'string' and '0' is => int(%i) +- strcmp of 'string' and '0' is => int(%i) +- strcmp of 'string' and '-1' is => int(%i) +- strcmp of 'string' and '-1' is => int(%i) +- strcmp of 'string' and '' is => int(%i) +- strcmp of 'string' and '' is => int(%i) +- strcmp of 'string' and '1' is => int(%i) +- strcmp of 'string' and '' is => int(%i) - strcmp of 'string' and 'string' is => int(0) *** comparing the strings in an @@ -486,149 +486,149 @@ Iteration 0 - strcmp of '10.5' and '10.5' is => int(0) -- strcmp of '10.5' and '1.5' is => int(%d) -- strcmp of '10.5' and '9.5' is => int(-%d) -- strcmp of '10.5' and '11.5' is => int(-%d) -- strcmp of '10.5' and '100.5' is => int(-%d) -- strcmp of '10.5' and '105' is => int(-%d) -- strcmp of '10.5' and '-10.5' is => int(%d) -- strcmp of '10.5' and '10' is => int(%d) -- strcmp of '10.5' and '0.5' is => int(%d) +- strcmp of '10.5' and '1.5' is => int(%i) +- strcmp of '10.5' and '9.5' is => int(%i) +- strcmp of '10.5' and '11.5' is => int(%i) +- strcmp of '10.5' and '100.5' is => int(%i) +- strcmp of '10.5' and '105' is => int(%i) +- strcmp of '10.5' and '-10.5' is => int(%i) +- strcmp of '10.5' and '10' is => int(%i) +- strcmp of '10.5' and '0.5' is => int(%i) Iteration 1 -- strcmp of '1.5' and '10.5' is => int(-%d) +- strcmp of '1.5' and '10.5' is => int(%i) - strcmp of '1.5' and '1.5' is => int(0) -- strcmp of '1.5' and '9.5' is => int(-%d) -- strcmp of '1.5' and '11.5' is => int(-%d) -- strcmp of '1.5' and '100.5' is => int(-%d) -- strcmp of '1.5' and '105' is => int(-%d) -- strcmp of '1.5' and '-10.5' is => int(%d) -- strcmp of '1.5' and '10' is => int(-%d) -- strcmp of '1.5' and '0.5' is => int(%d) +- strcmp of '1.5' and '9.5' is => int(%i) +- strcmp of '1.5' and '11.5' is => int(%i) +- strcmp of '1.5' and '100.5' is => int(%i) +- strcmp of '1.5' and '105' is => int(%i) +- strcmp of '1.5' and '-10.5' is => int(%i) +- strcmp of '1.5' and '10' is => int(%i) +- strcmp of '1.5' and '0.5' is => int(%i) Iteration 2 -- strcmp of '9.5' and '10.5' is => int(%d) -- strcmp of '9.5' and '1.5' is => int(%d) +- strcmp of '9.5' and '10.5' is => int(%i) +- strcmp of '9.5' and '1.5' is => int(%i) - strcmp of '9.5' and '9.5' is => int(0) -- strcmp of '9.5' and '11.5' is => int(%d) -- strcmp of '9.5' and '100.5' is => int(%d) -- strcmp of '9.5' and '105' is => int(%d) -- strcmp of '9.5' and '-10.5' is => int(%d) -- strcmp of '9.5' and '10' is => int(%d) -- strcmp of '9.5' and '0.5' is => int(%d) +- strcmp of '9.5' and '11.5' is => int(%i) +- strcmp of '9.5' and '100.5' is => int(%i) +- strcmp of '9.5' and '105' is => int(%i) +- strcmp of '9.5' and '-10.5' is => int(%i) +- strcmp of '9.5' and '10' is => int(%i) +- strcmp of '9.5' and '0.5' is => int(%i) Iteration 3 -- strcmp of '11.5' and '10.5' is => int(%d) -- strcmp of '11.5' and '1.5' is => int(%d) -- strcmp of '11.5' and '9.5' is => int(-%d) +- strcmp of '11.5' and '10.5' is => int(%i) +- strcmp of '11.5' and '1.5' is => int(%i) +- strcmp of '11.5' and '9.5' is => int(%i) - strcmp of '11.5' and '11.5' is => int(0) -- strcmp of '11.5' and '100.5' is => int(%d) -- strcmp of '11.5' and '105' is => int(%d) -- strcmp of '11.5' and '-10.5' is => int(%d) -- strcmp of '11.5' and '10' is => int(%d) -- strcmp of '11.5' and '0.5' is => int(%d) +- strcmp of '11.5' and '100.5' is => int(%i) +- strcmp of '11.5' and '105' is => int(%i) +- strcmp of '11.5' and '-10.5' is => int(%i) +- strcmp of '11.5' and '10' is => int(%i) +- strcmp of '11.5' and '0.5' is => int(%i) Iteration 4 -- strcmp of '100.5' and '10.5' is => int(%d) -- strcmp of '100.5' and '1.5' is => int(%d) -- strcmp of '100.5' and '9.5' is => int(-%d) -- strcmp of '100.5' and '11.5' is => int(-%d) +- strcmp of '100.5' and '10.5' is => int(%i) +- strcmp of '100.5' and '1.5' is => int(%i) +- strcmp of '100.5' and '9.5' is => int(%i) +- strcmp of '100.5' and '11.5' is => int(%i) - strcmp of '100.5' and '100.5' is => int(0) -- strcmp of '100.5' and '105' is => int(-%d) -- strcmp of '100.5' and '-10.5' is => int(%d) -- strcmp of '100.5' and '10' is => int(%d) -- strcmp of '100.5' and '0.5' is => int(%d) +- strcmp of '100.5' and '105' is => int(%i) +- strcmp of '100.5' and '-10.5' is => int(%i) +- strcmp of '100.5' and '10' is => int(%i) +- strcmp of '100.5' and '0.5' is => int(%i) Iteration 5 -- strcmp of '105' and '10.5' is => int(%d) -- strcmp of '105' and '1.5' is => int(%d) -- strcmp of '105' and '9.5' is => int(-%d) -- strcmp of '105' and '11.5' is => int(-%d) -- strcmp of '105' and '100.5' is => int(%d) +- strcmp of '105' and '10.5' is => int(%i) +- strcmp of '105' and '1.5' is => int(%i) +- strcmp of '105' and '9.5' is => int(%i) +- strcmp of '105' and '11.5' is => int(%i) +- strcmp of '105' and '100.5' is => int(%i) - strcmp of '105' and '105' is => int(0) -- strcmp of '105' and '-10.5' is => int(%d) -- strcmp of '105' and '10' is => int(%d) -- strcmp of '105' and '0.5' is => int(%d) +- strcmp of '105' and '-10.5' is => int(%i) +- strcmp of '105' and '10' is => int(%i) +- strcmp of '105' and '0.5' is => int(%i) Iteration 6 -- strcmp of '-10.5' and '10.5' is => int(-%d) -- strcmp of '-10.5' and '1.5' is => int(-%d) -- strcmp of '-10.5' and '9.5' is => int(-%d) -- strcmp of '-10.5' and '11.5' is => int(-%d) -- strcmp of '-10.5' and '100.5' is => int(-%d) -- strcmp of '-10.5' and '105' is => int(-%d) +- strcmp of '-10.5' and '10.5' is => int(%i) +- strcmp of '-10.5' and '1.5' is => int(%i) +- strcmp of '-10.5' and '9.5' is => int(%i) +- strcmp of '-10.5' and '11.5' is => int(%i) +- strcmp of '-10.5' and '100.5' is => int(%i) +- strcmp of '-10.5' and '105' is => int(%i) - strcmp of '-10.5' and '-10.5' is => int(0) -- strcmp of '-10.5' and '10' is => int(-%d) -- strcmp of '-10.5' and '0.5' is => int(-%d) +- strcmp of '-10.5' and '10' is => int(%i) +- strcmp of '-10.5' and '0.5' is => int(%i) Iteration 7 -- strcmp of '10' and '10.5' is => int(-%d) -- strcmp of '10' and '1.5' is => int(%d) -- strcmp of '10' and '9.5' is => int(-%d) -- strcmp of '10' and '11.5' is => int(-%d) -- strcmp of '10' and '100.5' is => int(-%d) -- strcmp of '10' and '105' is => int(-%d) -- strcmp of '10' and '-10.5' is => int(%d) +- strcmp of '10' and '10.5' is => int(%i) +- strcmp of '10' and '1.5' is => int(%i) +- strcmp of '10' and '9.5' is => int(%i) +- strcmp of '10' and '11.5' is => int(%i) +- strcmp of '10' and '100.5' is => int(%i) +- strcmp of '10' and '105' is => int(%i) +- strcmp of '10' and '-10.5' is => int(%i) - strcmp of '10' and '10' is => int(0) -- strcmp of '10' and '0.5' is => int(%d) +- strcmp of '10' and '0.5' is => int(%i) Iteration 8 -- strcmp of '0.5' and '10.5' is => int(-%d) -- strcmp of '0.5' and '1.5' is => int(-%d) -- strcmp of '0.5' and '9.5' is => int(-%d) -- strcmp of '0.5' and '11.5' is => int(-%d) -- strcmp of '0.5' and '100.5' is => int(-%d) -- strcmp of '0.5' and '105' is => int(-%d) -- strcmp of '0.5' and '-10.5' is => int(%d) -- strcmp of '0.5' and '10' is => int(-%d) +- strcmp of '0.5' and '10.5' is => int(%i) +- strcmp of '0.5' and '1.5' is => int(%i) +- strcmp of '0.5' and '9.5' is => int(%i) +- strcmp of '0.5' and '11.5' is => int(%i) +- strcmp of '0.5' and '100.5' is => int(%i) +- strcmp of '0.5' and '105' is => int(%i) +- strcmp of '0.5' and '-10.5' is => int(%i) +- strcmp of '0.5' and '10' is => int(%i) - strcmp of '0.5' and '0.5' is => int(0) #### Testing Miscelleneous inputs #### --- Testing objects --- -int(-%d) +int(%i) --- Testing arrays --- Warning: strcmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d NULL -int(%d) -int(%d) +int(%i) +int(%i) --- Testing Resources --- int(0) -int(%d) +int(%i) --- Testing a longer and heredoc string --- int(0) -int(-%d) -int(%d) +int(%i) +int(%i) --- Testing a heredoc null string --- -int(-%d) +int(%i) int(0) -int(-%d) +int(%i) --- Testing simple and complex syntax strings --- -int(-%d) -int(-%d) +int(%i) +int(%i) Notice: Undefined variable: strS in %s on line %d -int(%d) -int(-%d) -int(-%d) +int(%i) +int(%i) +int(%i) --- Testing binary safe and binary chars --- -int(%d) -int(-%d) +int(%i) +int(%i) int(0) int(0) -int(%d) -int(%d) -int(%d) +int(%i) +int(%i) +int(%i) --- Comparing long float values --- int(0) -int(-%d) +int(%i) int(0) #### checking error conditions #### http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strcasecmp.phpt?r1=1.1&r2=1.2&diff_format=u Index: php-src/ext/standard/tests/strings/strcasecmp.phpt diff -u php-src/ext/standard/tests/strings/strcasecmp.phpt:1.1 php-src/ext/standard/tests/strings/strcasecmp.phpt:1.2 --- php-src/ext/standard/tests/strings/strcasecmp.phpt:1.1 Fri Mar 16 12:55:38 2007 +++ php-src/ext/standard/tests/strings/strcasecmp.phpt Fri Mar 16 13:35:47 2007 @@ -159,36 +159,36 @@ Iteration 0 - strcasecmp of 'a' and 'a' is => int(0) - strcasecmp of 'a' and 'A' is => int(0) -- strcasecmp of 'a' and '€' is => int(-%d) -- strcasecmp of 'a' and 'ÿ' is => int(-%d) -- strcasecmp of 'a' and '+- strcasecmp of 'a' and '€' is => int(%i) +- strcasecmp of 'a' and 'ÿ' is => int(%i) +- strcasecmp of 'a' and ' Iteration 1 - strcasecmp of 'A' and 'a' is => int(0) - strcasecmp of 'A' and 'A' is => int(0) -- strcasecmp of 'A' and '€' is => int(-%d) -- strcasecmp of 'A' and 'ÿ' is => int(-%d) -- strcasecmp of 'A' and '+- strcasecmp of 'A' and '€' is => int(%i) +- strcasecmp of 'A' and 'ÿ' is => int(%i) +- strcasecmp of 'A' and ' Iteration 2 -- strcasecmp of '€' and 'a' is => int(%d) -- strcasecmp of '€' and 'A' is => int(%d) +- strcasecmp of '€' and 'a' is => int(%i) +- strcasecmp of '€' and 'A' is => int(%i) - strcasecmp of '€' and '€' is => int(0) -- strcasecmp of '€' and 'ÿ' is => int(-%d) -- strcasecmp of '€' and '+- strcasecmp of '€' and 'ÿ' is => int(%i) +- strcasecmp of '€' and ' Iteration 3 -- strcasecmp of 'ÿ' and 'a' is => int(%d) -- strcasecmp of 'ÿ' and 'A' is => int(%d) -- strcasecmp of 'ÿ' and '€' is => int(%d) +- strcasecmp of 'ÿ' and 'a' is => int(%i) +- strcasecmp of 'ÿ' and 'A' is => int(%i) +- strcasecmp of 'ÿ' and '€' is => int(%i) - strcasecmp of 'ÿ' and 'ÿ' is => int(0) -- strcasecmp of 'ÿ' and '+- strcasecmp of 'ÿ' and ' Iteration 4 -- strcasecmp of '-- strcasecmp of '-- strcasecmp of '-- strcasecmp of '+- strcasecmp of '+- strcasecmp of '+- strcasecmp of '+- strcasecmp of ' - strcasecmp of ' *** comparing the strings in an @@ -208,100 +208,100 @@ Iteration 0 - strcasecmp of 'acc' and 'acc' is => int(0) - strcasecmp of 'acc' and 'Acc' is => int(0) -- strcasecmp of 'acc' and 'aC' is => int(%d) -- strcasecmp of 'acc' and 'acCc' is => int(-%d) -- strcasecmp of 'acc' and 'acd' is => int(-%d) -- strcasecmp of 'acc' and '?acc' is => int(%d) -- strcasecmp of 'acc' and 'Acc!' is => int(-%d) -- strcasecmp of 'acc' and '$!acc' is => int(%d) -- strcasecmp of 'acc' and ';acc' is => int(%d) +- strcasecmp of 'acc' and 'aC' is => int(%i) +- strcasecmp of 'acc' and 'acCc' is => int(%i) +- strcasecmp of 'acc' and 'acd' is => int(%i) +- strcasecmp of 'acc' and '?acc' is => int(%i) +- strcasecmp of 'acc' and 'Acc!' is => int(%i) +- strcasecmp of 'acc' and '$!acc' is => int(%i) +- strcasecmp of 'acc' and ';acc' is => int(%i) Iteration 1 - strcasecmp of 'Acc' and 'acc' is => int(0) - strcasecmp of 'Acc' and 'Acc' is => int(0) -- strcasecmp of 'Acc' and 'aC' is => int(%d) -- strcasecmp of 'Acc' and 'acCc' is => int(-%d) -- strcasecmp of 'Acc' and 'acd' is => int(-%d) -- strcasecmp of 'Acc' and '?acc' is => int(%d) -- strcasecmp of 'Acc' and 'Acc!' is => int(-%d) -- strcasecmp of 'Acc' and '$!acc' is => int(%d) -- strcasecmp of 'Acc' and ';acc' is => int(%d) +- strcasecmp of 'Acc' and 'aC' is => int(%i) +- strcasecmp of 'Acc' and 'acCc' is => int(%i) +- strcasecmp of 'Acc' and 'acd' is => int(%i) +- strcasecmp of 'Acc' and '?acc' is => int(%i) +- strcasecmp of 'Acc' and 'Acc!' is => int(%i) +- strcasecmp of 'Acc' and '$!acc' is => int(%i) +- strcasecmp of 'Acc' and ';acc' is => int(%i) Iteration 2 -- strcasecmp of 'aC' and 'acc' is => int(-%d) -- strcasecmp of 'aC' and 'Acc' is => int(-%d) +- strcasecmp of 'aC' and 'acc' is => int(%i) +- strcasecmp of 'aC' and 'Acc' is => int(%i) - strcasecmp of 'aC' and 'aC' is => int(0) -- strcasecmp of 'aC' and 'acCc' is => int(-%d) -- strcasecmp of 'aC' and 'acd' is => int(-%d) -- strcasecmp of 'aC' and '?acc' is => int(%d) -- strcasecmp of 'aC' and 'Acc!' is => int(-%d) -- strcasecmp of 'aC' and '$!acc' is => int(%d) -- strcasecmp of 'aC' and ';acc' is => int(%d) +- strcasecmp of 'aC' and 'acCc' is => int(%i) +- strcasecmp of 'aC' and 'acd' is => int(%i) +- strcasecmp of 'aC' and '?acc' is => int(%i) +- strcasecmp of 'aC' and 'Acc!' is => int(%i) +- strcasecmp of 'aC' and '$!acc' is => int(%i) +- strcasecmp of 'aC' and ';acc' is => int(%i) Iteration 3 -- strcasecmp of 'acCc' and 'acc' is => int(%d) -- strcasecmp of 'acCc' and 'Acc' is => int(%d) -- strcasecmp of 'acCc' and 'aC' is => int(%d) +- strcasecmp of 'acCc' and 'acc' is => int(%i) +- strcasecmp of 'acCc' and 'Acc' is => int(%i) +- strcasecmp of 'acCc' and 'aC' is => int(%i) - strcasecmp of 'acCc' and 'acCc' is => int(0) -- strcasecmp of 'acCc' and 'acd' is => int(-%d) -- strcasecmp of 'acCc' and '?acc' is => int(%d) -- strcasecmp of 'acCc' and 'Acc!' is => int(%d) -- strcasecmp of 'acCc' and '$!acc' is => int(%d) -- strcasecmp of 'acCc' and ';acc' is => int(%d) +- strcasecmp of 'acCc' and 'acd' is => int(%i) +- strcasecmp of 'acCc' and '?acc' is => int(%i) +- strcasecmp of 'acCc' and 'Acc!' is => int(%i) +- strcasecmp of 'acCc' and '$!acc' is => int(%i) +- strcasecmp of 'acCc' and ';acc' is => int(%i) Iteration 4 -- strcasecmp of 'acd' and 'acc' is => int(%d) -- strcasecmp of 'acd' and 'Acc' is => int(%d) -- strcasecmp of 'acd' and 'aC' is => int(%d) -- strcasecmp of 'acd' and 'acCc' is => int(%d) +- strcasecmp of 'acd' and 'acc' is => int(%i) +- strcasecmp of 'acd' and 'Acc' is => int(%i) +- strcasecmp of 'acd' and 'aC' is => int(%i) +- strcasecmp of 'acd' and 'acCc' is => int(%i) - strcasecmp of 'acd' and 'acd' is => int(0) -- strcasecmp of 'acd' and '?acc' is => int(%d) -- strcasecmp of 'acd' and 'Acc!' is => int(%d) -- strcasecmp of 'acd' and '$!acc' is => int(%d) -- strcasecmp of 'acd' and ';acc' is => int(%d) +- strcasecmp of 'acd' and '?acc' is => int(%i) +- strcasecmp of 'acd' and 'Acc!' is => int(%i) +- strcasecmp of 'acd' and '$!acc' is => int(%i) +- strcasecmp of 'acd' and ';acc' is => int(%i) Iteration 5 -- strcasecmp of '?acc' and 'acc' is => int(-%d) -- strcasecmp of '?acc' and 'Acc' is => int(-%d) -- strcasecmp of '?acc' and 'aC' is => int(-%d) -- strcasecmp of '?acc' and 'acCc' is => int(-%d) -- strcasecmp of '?acc' and 'acd' is => int(-%d) +- strcasecmp of '?acc' and 'acc' is => int(%i) +- strcasecmp of '?acc' and 'Acc' is => int(%i) +- strcasecmp of '?acc' and 'aC' is => int(%i) +- strcasecmp of '?acc' and 'acCc' is => int(%i) +- strcasecmp of '?acc' and 'acd' is => int(%i) - strcasecmp of '?acc' and '?acc' is => int(0) -- strcasecmp of '?acc' and 'Acc!' is => int(-%d) -- strcasecmp of '?acc' and '$!acc' is => int(%d) -- strcasecmp of '?acc' and ';acc' is => int(%d) +- strcasecmp of '?acc' and 'Acc!' is => int(%i) +- strcasecmp of '?acc' and '$!acc' is => int(%i) +- strcasecmp of '?acc' and ';acc' is => int(%i) Iteration 6 -- strcasecmp of 'Acc!' and 'acc' is => int(%d) -- strcasecmp of 'Acc!' and 'Acc' is => int(%d) -- strcasecmp of 'Acc!' and 'aC' is => int(%d) -- strcasecmp of 'Acc!' and 'acCc' is => int(-%d) -- strcasecmp of 'Acc!' and 'acd' is => int(-%d) -- strcasecmp of 'Acc!' and '?acc' is => int(%d) +- strcasecmp of 'Acc!' and 'acc' is => int(%i) +- strcasecmp of 'Acc!' and 'Acc' is => int(%i) +- strcasecmp of 'Acc!' and 'aC' is => int(%i) +- strcasecmp of 'Acc!' and 'acCc' is => int(%i) +- strcasecmp of 'Acc!' and 'acd' is => int(%i) +- strcasecmp of 'Acc!' and '?acc' is => int(%i) - strcasecmp of 'Acc!' and 'Acc!' is => int(0) -- strcasecmp of 'Acc!' and '$!acc' is => int(%d) -- strcasecmp of 'Acc!' and ';acc' is => int(%d) +- strcasecmp of 'Acc!' and '$!acc' is => int(%i) +- strcasecmp of 'Acc!' and ';acc' is => int(%i) Iteration 7 -- strcasecmp of '$!acc' and 'acc' is => int(-%d) -- strcasecmp of '$!acc' and 'Acc' is => int(-%d) -- strcasecmp of '$!acc' and 'aC' is => int(-%d) -- strcasecmp of '$!acc' and 'acCc' is => int(-%d) -- strcasecmp of '$!acc' and 'acd' is => int(-%d) -- strcasecmp of '$!acc' and '?acc' is => int(-%d) -- strcasecmp of '$!acc' and 'Acc!' is => int(-%d) +- strcasecmp of '$!acc' and 'acc' is => int(%i) +- strcasecmp of '$!acc' and 'Acc' is => int(%i) +- strcasecmp of '$!acc' and 'aC' is => int(%i) +- strcasecmp of '$!acc' and 'acCc' is => int(%i) +- strcasecmp of '$!acc' and 'acd' is => int(%i) +- strcasecmp of '$!acc' and '?acc' is => int(%i) +- strcasecmp of '$!acc' and 'Acc!' is => int(%i) - strcasecmp of '$!acc' and '$!acc' is => int(0) -- strcasecmp of '$!acc' and ';acc' is => int(-%d) +- strcasecmp of '$!acc' and ';acc' is => int(%i) Iteration 8 -- strcasecmp of ';acc' and 'acc' is => int(-%d) -- strcasecmp of ';acc' and 'Acc' is => int(-%d) -- strcasecmp of ';acc' and 'aC' is => int(-%d) -- strcasecmp of ';acc' and 'acCc' is => int(-%d) -- strcasecmp of ';acc' and 'acd' is => int(-%d) -- strcasecmp of ';acc' and '?acc' is => int(-%d) -- strcasecmp of ';acc' and 'Acc!' is => int(-%d) -- strcasecmp of ';acc' and '$!acc' is => int(%d) +- strcasecmp of ';acc' and 'acc' is => int(%i) +- strcasecmp of ';acc' and 'Acc' is => int(%i) +- strcasecmp of ';acc' and 'aC' is => int(%i) +- strcasecmp of ';acc' and 'acCc' is => int(%i) +- strcasecmp of ';acc' and 'acd' is => int(%i) +- strcasecmp of ';acc' and '?acc' is => int(%i) +- strcasecmp of ';acc' and 'Acc!' is => int(%i) +- strcasecmp of ';acc' and '$!acc' is => int(%i) - strcasecmp of ';acc' and ';acc' is => int(0) *** comparing the strings in an @@ -323,170 +323,170 @@ Iteration 0 - strcasecmp of '1' and '1' is => int(0) -- strcasecmp of '1' and '0' is => int(%d) -- strcasecmp of '1' and '0' is => int(%d) -- strcasecmp of '1' and '-1' is => int(%d) -- strcasecmp of '1' and '-1' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) +- strcasecmp of '1' and '0' is => int(%i) +- strcasecmp of '1' and '0' is => int(%i) +- strcasecmp of '1' and '-1' is => int(%i) +- strcasecmp of '1' and '-1' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) - strcasecmp of '1' and '1' is => int(0) - strcasecmp of '1' and '1' is => int(0) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and 'string' is => int(-%d) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and 'string' is => int(%i) Iteration 1 -- strcasecmp of '0' and '1' is => int(-%d) +- strcasecmp of '0' and '1' is => int(%i) - strcasecmp of '0' and '0' is => int(0) - strcasecmp of '0' and '0' is => int(0) -- strcasecmp of '0' and '-1' is => int(%d) -- strcasecmp of '0' and '-1' is => int(%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and '1' is => int(-%d) -- strcasecmp of '0' and '1' is => int(-%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and 'string' is => int(-%d) +- strcasecmp of '0' and '-1' is => int(%i) +- strcasecmp of '0' and '-1' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and '1' is => int(%i) +- strcasecmp of '0' and '1' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and 'string' is => int(%i) Iteration 2 -- strcasecmp of '0' and '1' is => int(-%d) +- strcasecmp of '0' and '1' is => int(%i) - strcasecmp of '0' and '0' is => int(0) - strcasecmp of '0' and '0' is => int(0) -- strcasecmp of '0' and '-1' is => int(%d) -- strcasecmp of '0' and '-1' is => int(%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and '1' is => int(-%d) -- strcasecmp of '0' and '1' is => int(-%d) -- strcasecmp of '0' and '' is => int(%d) -- strcasecmp of '0' and 'string' is => int(-%d) +- strcasecmp of '0' and '-1' is => int(%i) +- strcasecmp of '0' and '-1' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and '1' is => int(%i) +- strcasecmp of '0' and '1' is => int(%i) +- strcasecmp of '0' and '' is => int(%i) +- strcasecmp of '0' and 'string' is => int(%i) Iteration 3 -- strcasecmp of '-1' and '1' is => int(-%d) -- strcasecmp of '-1' and '0' is => int(-%d) -- strcasecmp of '-1' and '0' is => int(-%d) +- strcasecmp of '-1' and '1' is => int(%i) +- strcasecmp of '-1' and '0' is => int(%i) +- strcasecmp of '-1' and '0' is => int(%i) - strcasecmp of '-1' and '-1' is => int(0) - strcasecmp of '-1' and '-1' is => int(0) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and '1' is => int(-%d) -- strcasecmp of '-1' and '1' is => int(-%d) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and 'string' is => int(-%d) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and '1' is => int(%i) +- strcasecmp of '-1' and '1' is => int(%i) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and 'string' is => int(%i) Iteration 4 -- strcasecmp of '-1' and '1' is => int(-%d) -- strcasecmp of '-1' and '0' is => int(-%d) -- strcasecmp of '-1' and '0' is => int(-%d) +- strcasecmp of '-1' and '1' is => int(%i) +- strcasecmp of '-1' and '0' is => int(%i) +- strcasecmp of '-1' and '0' is => int(%i) - strcasecmp of '-1' and '-1' is => int(0) - strcasecmp of '-1' and '-1' is => int(0) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and '1' is => int(-%d) -- strcasecmp of '-1' and '1' is => int(-%d) -- strcasecmp of '-1' and '' is => int(%d) -- strcasecmp of '-1' and 'string' is => int(-%d) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and '1' is => int(%i) +- strcasecmp of '-1' and '1' is => int(%i) +- strcasecmp of '-1' and '' is => int(%i) +- strcasecmp of '-1' and 'string' is => int(%i) Iteration 5 -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '1' is => int(%i) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and 'string' is => int(-%d) +- strcasecmp of '' and 'string' is => int(%i) Iteration 6 -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '1' is => int(%i) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and 'string' is => int(-%d) +- strcasecmp of '' and 'string' is => int(%i) Iteration 7 -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '1' is => int(%i) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and 'string' is => int(-%d) +- strcasecmp of '' and 'string' is => int(%i) Iteration 8 - strcasecmp of '1' and '1' is => int(0) -- strcasecmp of '1' and '0' is => int(%d) -- strcasecmp of '1' and '0' is => int(%d) -- strcasecmp of '1' and '-1' is => int(%d) -- strcasecmp of '1' and '-1' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) +- strcasecmp of '1' and '0' is => int(%i) +- strcasecmp of '1' and '0' is => int(%i) +- strcasecmp of '1' and '-1' is => int(%i) +- strcasecmp of '1' and '-1' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) - strcasecmp of '1' and '1' is => int(0) - strcasecmp of '1' and '1' is => int(0) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and 'string' is => int(-%d) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and 'string' is => int(%i) Iteration 9 - strcasecmp of '1' and '1' is => int(0) -- strcasecmp of '1' and '0' is => int(%d) -- strcasecmp of '1' and '0' is => int(%d) -- strcasecmp of '1' and '-1' is => int(%d) -- strcasecmp of '1' and '-1' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and '' is => int(%d) +- strcasecmp of '1' and '0' is => int(%i) +- strcasecmp of '1' and '0' is => int(%i) +- strcasecmp of '1' and '-1' is => int(%i) +- strcasecmp of '1' and '-1' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and '' is => int(%i) - strcasecmp of '1' and '1' is => int(0) - strcasecmp of '1' and '1' is => int(0) -- strcasecmp of '1' and '' is => int(%d) -- strcasecmp of '1' and 'string' is => int(-%d) +- strcasecmp of '1' and '' is => int(%i) +- strcasecmp of '1' and 'string' is => int(%i) Iteration 10 -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '0' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) -- strcasecmp of '' and '-1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '0' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) +- strcasecmp of '' and '-1' is => int(%i) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and '1' is => int(-%d) -- strcasecmp of '' and '1' is => int(-%d) +- strcasecmp of '' and '1' is => int(%i) +- strcasecmp of '' and '1' is => int(%i) - strcasecmp of '' and '' is => int(0) -- strcasecmp of '' and 'string' is => int(-%d) +- strcasecmp of '' and 'string' is => int(%i) Iteration 11 -- strcasecmp of 'string' and '1' is => int(%d) -- strcasecmp of 'string' and '0' is => int(%d) -- strcasecmp of 'string' and '0' is => int(%d) -- strcasecmp of 'string' and '-1' is => int(%d) -- strcasecmp of 'string' and '-1' is => int(%d) -- strcasecmp of 'string' and '' is => int(%d) -- strcasecmp of 'string' and '' is => int(%d) -- strcasecmp of 'string' and '' is => int(%d) -- strcasecmp of 'string' and '1' is => int(%d) -- strcasecmp of 'string' and '1' is => int(%d) -- strcasecmp of 'string' and '' is => int(%d) +- strcasecmp of 'string' and '1' is => int(%i) +- strcasecmp of 'string' and '0' is => int(%i) +- strcasecmp of 'string' and '0' is => int(%i) +- strcasecmp of 'string' and '-1' is => int(%i) +- strcasecmp of 'string' and '-1' is => int(%i) +- strcasecmp of 'string' and '' is => int(%i) +- strcasecmp of 'string' and '' is => int(%i) +- strcasecmp of 'string' and '' is => int(%i) +- strcasecmp of 'string' and '1' is => int(%i) +- strcasecmp of 'string' and '1' is => int(%i) +- strcasecmp of 'string' and '' is => int(%i) - strcasecmp of 'string' and 'string' is => int(0) *** comparing the strings in an @@ -505,149 +505,149 @@ Iteration 0 - strcasecmp of '10.5' and '10.5' is => int(0) -- strcasecmp of '10.5' and '1.5' is => int(%d) -- strcasecmp of '10.5' and '9.5' is => int(-%d) -- strcasecmp of '10.5' and '11.5' is => int(-%d) -- strcasecmp of '10.5' and '100.5' is => int(-%d) -- strcasecmp of '10.5' and '105' is => int(-%d) -- strcasecmp of '10.5' and '-10.5' is => int(%d) -- strcasecmp of '10.5' and '10' is => int(%d) -- strcasecmp of '10.5' and '0.5' is => int(%d) +- strcasecmp of '10.5' and '1.5' is => int(%i) +- strcasecmp of '10.5' and '9.5' is => int(%i) +- strcasecmp of '10.5' and '11.5' is => int(%i) +- strcasecmp of '10.5' and '100.5' is => int(%i) +- strcasecmp of '10.5' and '105' is => int(%i) +- strcasecmp of '10.5' and '-10.5' is => int(%i) +- strcasecmp of '10.5' and '10' is => int(%i) +- strcasecmp of '10.5' and '0.5' is => int(%i) Iteration 1 -- strcasecmp of '1.5' and '10.5' is => int(-%d) +- strcasecmp of '1.5' and '10.5' is => int(%i) - strcasecmp of '1.5' and '1.5' is => int(0) -- strcasecmp of '1.5' and '9.5' is => int(-%d) -- strcasecmp of '1.5' and '11.5' is => int(-%d) -- strcasecmp of '1.5' and '100.5' is => int(-%d) -- strcasecmp of '1.5' and '105' is => int(-%d) -- strcasecmp of '1.5' and '-10.5' is => int(%d) -- strcasecmp of '1.5' and '10' is => int(-%d) -- strcasecmp of '1.5' and '0.5' is => int(%d) +- strcasecmp of '1.5' and '9.5' is => int(%i) +- strcasecmp of '1.5' and '11.5' is => int(%i) +- strcasecmp of '1.5' and '100.5' is => int(%i) +- strcasecmp of '1.5' and '105' is => int(%i) +- strcasecmp of '1.5' and '-10.5' is => int(%i) +- strcasecmp of '1.5' and '10' is => int(%i) +- strcasecmp of '1.5' and '0.5' is => int(%i) Iteration 2 -- strcasecmp of '9.5' and '10.5' is => int(%d) -- strcasecmp of '9.5' and '1.5' is => int(%d) +- strcasecmp of '9.5' and '10.5' is => int(%i) +- strcasecmp of '9.5' and '1.5' is => int(%i) - strcasecmp of '9.5' and '9.5' is => int(0) -- strcasecmp of '9.5' and '11.5' is => int(%d) -- strcasecmp of '9.5' and '100.5' is => int(%d) -- strcasecmp of '9.5' and '105' is => int(%d) -- strcasecmp of '9.5' and '-10.5' is => int(%d) -- strcasecmp of '9.5' and '10' is => int(%d) -- strcasecmp of '9.5' and '0.5' is => int(%d) +- strcasecmp of '9.5' and '11.5' is => int(%i) +- strcasecmp of '9.5' and '100.5' is => int(%i) +- strcasecmp of '9.5' and '105' is => int(%i) +- strcasecmp of '9.5' and '-10.5' is => int(%i) +- strcasecmp of '9.5' and '10' is => int(%i) +- strcasecmp of '9.5' and '0.5' is => int(%i) Iteration 3 -- strcasecmp of '11.5' and '10.5' is => int(%d) -- strcasecmp of '11.5' and '1.5' is => int(%d) -- strcasecmp of '11.5' and '9.5' is => int(-%d) +- strcasecmp of '11.5' and '10.5' is => int(%i) +- strcasecmp of '11.5' and '1.5' is => int(%i) +- strcasecmp of '11.5' and '9.5' is => int(%i) - strcasecmp of '11.5' and '11.5' is => int(0) -- strcasecmp of '11.5' and '100.5' is => int(%d) -- strcasecmp of '11.5' and '105' is => int(%d) -- strcasecmp of '11.5' and '-10.5' is => int(%d) -- strcasecmp of '11.5' and '10' is => int(%d) -- strcasecmp of '11.5' and '0.5' is => int(%d) +- strcasecmp of '11.5' and '100.5' is => int(%i) +- strcasecmp of '11.5' and '105' is => int(%i) +- strcasecmp of '11.5' and '-10.5' is => int(%i) +- strcasecmp of '11.5' and '10' is => int(%i) +- strcasecmp of '11.5' and '0.5' is => int(%i) Iteration 4 -- strcasecmp of '100.5' and '10.5' is => int(%d) -- strcasecmp of '100.5' and '1.5' is => int(%d) -- strcasecmp of '100.5' and '9.5' is => int(-%d) -- strcasecmp of '100.5' and '11.5' is => int(-%d) +- strcasecmp of '100.5' and '10.5' is => int(%i) +- strcasecmp of '100.5' and '1.5' is => int(%i) +- strcasecmp of '100.5' and '9.5' is => int(%i) +- strcasecmp of '100.5' and '11.5' is => int(%i) - strcasecmp of '100.5' and '100.5' is => int(0) -- strcasecmp of '100.5' and '105' is => int(-%d) -- strcasecmp of '100.5' and '-10.5' is => int(%d) -- strcasecmp of '100.5' and '10' is => int(%d) -- strcasecmp of '100.5' and '0.5' is => int(%d) +- strcasecmp of '100.5' and '105' is => int(%i) +- strcasecmp of '100.5' and '-10.5' is => int(%i) +- strcasecmp of '100.5' and '10' is => int(%i) +- strcasecmp of '100.5' and '0.5' is => int(%i) Iteration 5 -- strcasecmp of '105' and '10.5' is => int(%d) -- strcasecmp of '105' and '1.5' is => int(%d) -- strcasecmp of '105' and '9.5' is => int(-%d) -- strcasecmp of '105' and '11.5' is => int(-%d) -- strcasecmp of '105' and '100.5' is => int(%d) +- strcasecmp of '105' and '10.5' is => int(%i) +- strcasecmp of '105' and '1.5' is => int(%i) +- strcasecmp of '105' and '9.5' is => int(%i) +- strcasecmp of '105' and '11.5' is => int(%i) +- strcasecmp of '105' and '100.5' is => int(%i) - strcasecmp of '105' and '105' is => int(0) -- strcasecmp of '105' and '-10.5' is => int(%d) -- strcasecmp of '105' and '10' is => int(%d) -- strcasecmp of '105' and '0.5' is => int(%d) +- strcasecmp of '105' and '-10.5' is => int(%i) +- strcasecmp of '105' and '10' is => int(%i) +- strcasecmp of '105' and '0.5' is => int(%i) Iteration 6 -- strcasecmp of '-10.5' and '10.5' is => int(-%d) -- strcasecmp of '-10.5' and '1.5' is => int(-%d) -- strcasecmp of '-10.5' and '9.5' is => int(-%d) -- strcasecmp of '-10.5' and '11.5' is => int(-%d) -- strcasecmp of '-10.5' and '100.5' is => int(-%d) -- strcasecmp of '-10.5' and '105' is => int(-%d) +- strcasecmp of '-10.5' and '10.5' is => int(%i) +- strcasecmp of '-10.5' and '1.5' is => int(%i) +- strcasecmp of '-10.5' and '9.5' is => int(%i) +- strcasecmp of '-10.5' and '11.5' is => int(%i) +- strcasecmp of '-10.5' and '100.5' is => int(%i) +- strcasecmp of '-10.5' and '105' is => int(%i) - strcasecmp of '-10.5' and '-10.5' is => int(0) -- strcasecmp of '-10.5' and '10' is => int(-%d) -- strcasecmp of '-10.5' and '0.5' is => int(-%d) +- strcasecmp of '-10.5' and '10' is => int(%i) +- strcasecmp of '-10.5' and '0.5' is => int(%i) Iteration 7 -- strcasecmp of '10' and '10.5' is => int(-%d) -- strcasecmp of '10' and '1.5' is => int(%d) -- strcasecmp of '10' and '9.5' is => int(-%d) -- strcasecmp of '10' and '11.5' is => int(-%d) -- strcasecmp of '10' and '100.5' is => int(-%d) -- strcasecmp of '10' and '105' is => int(-%d) -- strcasecmp of '10' and '-10.5' is => int(%d) +- strcasecmp of '10' and '10.5' is => int(%i) +- strcasecmp of '10' and '1.5' is => int(%i) +- strcasecmp of '10' and '9.5' is => int(%i) +- strcasecmp of '10' and '11.5' is => int(%i) +- strcasecmp of '10' and '100.5' is => int(%i) +- strcasecmp of '10' and '105' is => int(%i) +- strcasecmp of '10' and '-10.5' is => int(%i) - strcasecmp of '10' and '10' is => int(0) -- strcasecmp of '10' and '0.5' is => int(%d) +- strcasecmp of '10' and '0.5' is => int(%i) Iteration 8 -- strcasecmp of '0.5' and '10.5' is => int(-%d) -- strcasecmp of '0.5' and '1.5' is => int(-%d) -- strcasecmp of '0.5' and '9.5' is => int(-%d) -- strcasecmp of '0.5' and '11.5' is => int(-%d) -- strcasecmp of '0.5' and '100.5' is => int(-%d) -- strcasecmp of '0.5' and '105' is => int(-%d) -- strcasecmp of '0.5' and '-10.5' is => int(%d) -- strcasecmp of '0.5' and '10' is => int(-%d) +- strcasecmp of '0.5' and '10.5' is => int(%i) +- strcasecmp of '0.5' and '1.5' is => int(%i) +- strcasecmp of '0.5' and '9.5' is => int(%i) +- strcasecmp of '0.5' and '11.5' is => int(%i) +- strcasecmp of '0.5' and '100.5' is => int(%i) +- strcasecmp of '0.5' and '105' is => int(%i) +- strcasecmp of '0.5' and '-10.5' is => int(%i) +- strcasecmp of '0.5' and '10' is => int(%i) - strcasecmp of '0.5' and '0.5' is => int(0) #### Testing Miscelleneous inputs #### --- Testing objects --- -int(-%d) +int(%i) --- Testing arrays --- Warning: strcasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d NULL -int(%d) -int(%d) +int(%i) +int(%i) --- Testing Resources --- int(0) -int(%d) +int(%i) --- Testing a longer and heredoc string --- int(0) -int(-%d) -int(%d) +int(%i) +int(%i) --- Testing a heredoc null string --- -int(-%d) +int(%i) int(0) -int(-%d) +int(%i) --- Testing simple and complex syntax strings --- -int(-%d) -int(-%d) +int(%i) +int(%i) Notice: Undefined variable: strS in %s on line %d -int(%d) -int(-%d) -int(-%d) +int(%i) +int(%i) +int(%i) --- Testing binary safe and binary chars --- -int(%d) -int(-%d) +int(%i) +int(%i) int(0) int(0) -int(%d) -int(%d) -int(%d) +int(%i) +int(%i) +int(%i) --- Comparing long float values --- int(0) -int(-%d) +int(%i) int(0) --- checking error conditions ---
« previous php.cvs (#43557) next »