import zend standard tests
[hiphop-php.git] / hphp / test / zend / good / ext-standard-strings / strcoll_error.php
blob8ff893b04e36dc38269eca2d9dd5c574dee9584c
1 <?php
2 /* Prototype: int strcoll ( string $str1 , string $str2 )
3 Description: Locale based string comparison
4 */
6 echo "*** Testing strcoll() : error conditions ***\n";
8 echo "\n-- Testing strcoll() function with no arguments --\n";
9 var_dump( strcoll() );
10 var_dump( strcoll("") );
12 echo "\n-- Testing strcoll() function with one argument --\n";
13 var_dump( strcoll("Hello World") );
15 echo "\n-- Testing strcoll() function with more than expected no. of arguments --\n";
16 $extra_arg = 10;
17 var_dump( strcoll("Hello World", "World", $extra_arg) );
20 ===Done===