/php-src/ext/mbstring/ |
H A D | mb_gpc.c | 200 n = 0; in _php_mb_encoding_handler_ex() 207 n++; in _php_mb_encoding_handler_ex() 215 n++; in _php_mb_encoding_handler_ex() 218 len_list[n] = 0; in _php_mb_encoding_handler_ex() 220 n++; in _php_mb_encoding_handler_ex() 248 n = 0; in _php_mb_encoding_handler_ex() 249 while (n < num) { in _php_mb_encoding_handler_ex() 254 n++; in _php_mb_encoding_handler_ex() 259 n++; in _php_mb_encoding_handler_ex() 271 val = estrndup(val_list[n], len_list[n]); in _php_mb_encoding_handler_ex() [all …]
|
/php-src/ext/calendar/tests/ |
H A D | jdtofrench.phpt | 7 echo jdtofrench(0). "\n"; 8 echo jdtofrench(2375840). "\n"; 9 echo jdtofrench(2375850). "\n"; 10 echo jdtofrench(2375940). "\n"; 11 echo jdtofrench(2376345). "\n"; 12 echo jdtofrench(2385940). "\n";
|
H A D | jdtogregorian.phpt | 7 echo jdtogregorian(0). "\n"; 8 echo jdtogregorian(1). "\n"; 9 echo jdtogregorian(2298874). "\n"; 10 echo jdtogregorian(2299151). "\n"; 11 echo jdtogregorian(2440588). "\n"; 12 echo jdtogregorian(2816423). "\n";
|
H A D | jdtojulian.phpt | 7 echo jdtojulian(0). "\n"; 8 echo jdtojulian(1). "\n"; 9 echo jdtojulian(2298874). "\n"; 10 echo jdtojulian(2299151). "\n"; 11 echo jdtojulian(2440588). "\n"; 12 echo jdtojulian(2816423). "\n";
|
H A D | juliantojd.phpt | 7 echo juliantojd( 0, 0, 0). "\n"; 8 echo juliantojd( 1, 1, 1582). "\n"; 9 echo juliantojd(10, 5, 1582). "\n"; 10 echo juliantojd( 1, 1, 1970). "\n"; 11 echo juliantojd( 1, 1, 2999). "\n"; 12 echo juliantojd( 1, 1, -4713). "\n";
|
/php-src/ext/standard/tests/math/ |
H A D | base_convert_improvements.phpt | 5 echo base_convert('FF', 16, 10) . "\n"; 6 echo base_convert('20', 8, 10) . "\n"; 7 echo base_convert('0xFf', 16, 10) . "\n"; 8 echo base_convert('0FF', 16, 10) . "\n"; 9 echo base_convert(" 0xFF\t\n" , 16, 10) . "\n"; 10 echo base_convert(" 0xFF\t\n" , 16, 10) . "\n"; 11 echo base_convert("\r\nFF\t\n" , 16, 10) . "\n"; 12 echo base_convert("0o7" , 8, 10) . "\n"; 13 echo base_convert("0b1010" , 2, 10) . "\n"; 23 echo base_convert("0 0" , 9, 10) . "\n";
|
H A D | cos_basic.phpt | 28 echo "Pass\n"; 31 echo "Fail\n"; 37 echo "Pass\n"; 40 echo "Fail\n"; 46 echo "Pass\n"; 49 echo "Fail\n"; 55 echo "Pass\n"; 58 echo "Fail\n"; 64 echo "Pass\n"; 67 echo "Fail\n"; [all …]
|
H A D | sin_basic.phpt | 28 echo "Pass\n"; 31 echo "Fail\n"; 37 echo "Pass\n"; 40 echo "Fail\n"; 46 echo "Pass\n"; 49 echo "Fail\n"; 55 echo "Pass\n"; 58 echo "Fail\n"; 64 echo "Pass\n"; 67 echo "Fail\n"; [all …]
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_autocommit.phpt | 30 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 33 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 38 printf("[008] Cannot turn off autocommit\n"); 41 printf("[009] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 48 printf("[011] Cannot turn on autocommit\n"); 51 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 58 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 83 printf("[021] Cannot turn on autocommit\n"); 86 printf("[022] Expecting true, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_class_mysqli_driver_interface.phpt | 10 printf("Parent class:\n"); 13 printf("\nMethods:\n"); 23 printf("Dumping list of missing methods.\n"); 27 printf("Dumping list of unexpected methods.\n"); 31 printf("ok\n"); 34 printf("\nClass variables:\n"); 38 printf("%s\n", $var); 41 printf("\nObject variables:\n"); 44 printf("%s\n", $var); 47 printf("\nMagic, magic properties:\n"); [all …]
|
/php-src/ext/dom/tests/delayed_freeing/ |
H A D | direct_construction.phpt | 12 echo $e->getMessage(), "\n"; 26 echo $e->getMessage(), "\n"; 31 echo $e->getMessage(), "\n"; 39 echo "-- Test DOMText --\n"; 45 echo $e->getMessage(), "\n"; 50 echo $e->getMessage(), "\n"; 53 echo "-- Test DOMComment --\n"; 59 echo "-- Test DOMElement --\n"; 69 echo "-- Test DOMNode --\n"; 78 echo "-- Test DOMEntity --\n"; [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | str_getcsv_001.phpt | 8 print "-----\n"; 10 print "-----\n"; 12 print "-----\n"; 14 print "-----\n"; 16 print "-----\n"; 18 print "-----\n"; 20 print "-----\n"; 22 print "-----\n"; 24 print "-----\n"; 26 print "-----\n"; [all …]
|
H A D | substr_count_variation_001.phpt | 6 echo "\n*** Testing possible variations ***\n"; 7 echo "-- 3rd or 4th arg as string --\n"; 12 echo "\n-- overlapped substrings --\n"; 16 echo "\n-- complex strings containing other than 7-bit chars --\n"; 22 echo "\n-- heredoc string --\n"; 36 echo "\n-- heredoc null string --\n"; 43 echo "Done\n";
|
/php-src/ext/dba/tests/ |
H A D | dba009.phpt | 15 echo "database handler: $handler\n"; 16 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) { 17 echo "Opened\n"; 19 echo dba_fetch("a", $db)."\n"; 21 echo "Closed\n"; 23 echo "Error creating database\n"; 25 if (($db=dba_popen($db_file, "n", $handler))!==FALSE) { 26 echo "Opened\n"; 28 echo dba_fetch("a", $db)."\n";
|
/php-src/tests/classes/ |
H A D | tostring_001.phpt | 15 return "Converted\n"; 27 echo "====test1====\n"; 37 echo "====test2====\n"; 42 echo "====test3====\n"; 45 echo "====test4====\n"; 48 echo "====test5====\n"; 52 echo "====test6====\n"; 56 echo "====test7====\n"; 65 echo "====test8====\n"; 69 echo "====test9====\n"; [all …]
|
/php-src/tests/lang/ |
H A D | 021.phpt | 8 echo "i=$i\n"; 12 echo "In branch 0\n"; 15 echo "In branch 1\n"; 18 echo "In branch 2\n"; 21 echo "In branch 3\n"; 24 echo "In branch 4\n"; 27 echo "In default\n"; 31 echo "hi\n";
|
/php-src/Zend/tests/try/ |
H A D | try_finally_019.phpt | 6 public $n = 0; 7 function __construct($n) { 8 $this->n = $n; 11 echo "destruct" . $this->n . "\n"; 26 echo "finally1\n"; 31 echo "finally2\n";
|
/php-src/ext/simplexml/tests/ |
H A D | 011.phpt | 19 echo "===BAR===\n"; 21 echo "\n"; 23 echo "===BAZ===\n"; 25 echo "\n"; 27 echo "===BAZ0===\n"; 29 echo "\n"; 31 echo "===BAZ1===\n"; 33 echo "\n";
|
/php-src/Zend/tests/ |
H A D | falsetoarray.phpt | 17 print "[001]\n"; 21 print "[002]\n"; 26 echo "\nFunction\n"; 28 print "[003]\n"; 69 print "[014]\n"; 73 print "[015]\n"; 77 print "[016]\n"; 81 print "[017]\n"; 107 print "[021]\n"; 110 print "[022]\n"; [all …]
|
/php-src/ext/hash/tests/ |
H A D | md2.phpt | 5 echo hash('md2', '') . "\n"; 6 echo hash('md2', 'a') . "\n"; 7 echo hash('md2', 'abc') . "\n"; 8 echo hash('md2', 'message digest') . "\n"; 9 echo hash('md2', 'abcdefghijklmnopqrstuvwxyz') . "\n"; 10 echo hash('md2', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n"; 11 …('md2', '12345678901234567890123456789012345678901234567890123456789012345678901234567890') . "\n";
|
/php-src/ext/gmp/tests/ |
H A D | cast.phpt | 8 $n = gmp_init(42); 9 echo $n, "\n"; 10 var_dump((string) $n); 11 var_dump((int) $n); 12 var_dump((float) $n); 13 var_dump((bool) $n);
|
/php-src/ext/standard/tests/array/ |
H A D | array_map_object2.phpt | 10 echo "*** Testing array_map() : with non-existent class and method ***\n"; 15 public function square($n) { 16 return $n * $n; 18 public static function cube($n) { 19 return $n * $n * $n; 23 echo "-- with non-existent class --\n"; 27 echo $e->getMessage(), "\n"; 30 echo "-- with existent class and non-existent method --\n"; 34 echo $e->getMessage(), "\n";
|
/php-src/ext/readline/tests/ |
H A D | bug77812-readline.phpt | 16 fwrite($pipes[0], "echo <<<FOO\n bar\n FOO;\n"); 17 fwrite($pipes[0], "print(<<<FOO\nxx\nFOO);\n"); 18 fwrite($pipes[0], "echo <<<FOO\n xxx\n FOO;\nFOO\n;\n"); 19 fwrite($pipes[0], "echo <<<FOO\nFOOL\nFOO\n,1;\n"); 20 fwrite($pipes[0], "echo <<<FOO\nFOO4\nFOO\n,2;\n");
|
/php-src/ext/phar/tests/tar/ |
H A D | phar_setdefaultstub.phpt | 13 $phar['a.php'] = '<php echo "this is a\n"; ?>'; 14 $phar['b.php'] = '<php echo "this is b\n"; ?>'; 15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>'); 19 echo "============================================================================\n"; 20 echo "============================================================================\n"; 26 echo $e->getMessage(). "\n"; 37 echo $e->getMessage(). "\n"; 43 echo $e->getMessage(). "\n"; 54 echo $e->getMessage(). "\n"; 60 echo $e->getMessage(). "\n"; [all …]
|
/php-src/ext/phar/tests/zip/ |
H A D | phar_setdefaultstub.phpt | 13 $phar['a.php'] = '<php echo "this is a\n"; ?>'; 14 $phar['b.php'] = '<php echo "this is b\n"; ?>'; 15 $phar->setStub('<?php echo "Hello World\n"; __HALT_COMPILER(); ?>'); 19 echo "============================================================================\n"; 20 echo "============================================================================\n"; 26 echo $e->getMessage(). "\n"; 37 echo $e->getMessage(). "\n"; 43 echo $e->getMessage(). "\n"; 54 echo $e->getMessage(). "\n"; 60 echo $e->getMessage(). "\n"; [all …]
|