/PHP-5.6/ext/spl/tests/ |
H A D | heap_004.phpt | 15 echo "inserted 1\n"; 17 echo "inserted 2\n"; 19 echo "inserted 3\n"; 21 echo "Exception: ".$e->getMessage()."\n"; 26 echo "inserted 4\n"; 28 echo "Exception: ".$e->getMessage()."\n"; 34 echo "Exception: ".$e->getMessage()."\n"; 39 echo "Exception: ".$e->getMessage()."\n"; 42 echo "Recovering..\n"; 48 echo "Exception: ".$e->getMessage()."\n"; [all …]
|
H A D | pqueue_002.phpt | 15 echo "inserted 1\n"; 17 echo "inserted 2\n"; 19 echo "inserted 3\n"; 21 echo "Exception: ".$e->getMessage()."\n"; 26 echo "inserted 4\n"; 28 echo "Exception: ".$e->getMessage()."\n"; 34 echo "Exception: ".$e->getMessage()."\n"; 39 echo "Exception: ".$e->getMessage()."\n"; 42 echo "Recovering..\n"; 48 echo "Exception: ".$e->getMessage()."\n"; [all …]
|
H A D | iterator_007.phpt | 10 echo __METHOD__ . "\n"; 15 echo __METHOD__ . "\n"; 20 echo __METHOD__ . "\n"; 25 echo __METHOD__ . "\n"; 30 echo __METHOD__ . "\n"; 39 echo __METHOD__ . "\n"; 66 echo "===0===\n"; 71 echo "===1===\n"; 80 echo "===2===\n"; 88 echo "===3===\n"; [all …]
|
/PHP-5.6/ext/pgsql/tests/ |
H A D | 28large_object_import_oid.phpt | 7 if (version_compare("8.4devel", $v["client"]) > 0) die("skip - requires pg client >= 8.4\n"); 8 if (version_compare("8.4devel", $v["server"]) > 0) die("skip - requires pg server >= 8.4\n"); 17 echo "import LO from int\n"; 20 if (!$oid) echo ("pg_lo_import() error\n"); 21 if ($oid != 21003) echo ("pg_lo_import() wrong id\n"); 25 echo "import LO from string\n"; 28 if (!$oid) echo ("pg_lo_import() error\n"); 29 if ($oid != 21004) echo ("pg_lo_import() wrong id\n"); 33 echo "import LO using default connection\n"; 36 if (!$oid) echo ("pg_lo_import() error\n"); [all …]
|
/PHP-5.6/ext/reflection/tests/ |
H A D | ReflectionParameter_001.phpt | 18 echo "No arg function\n"; 26 echo "Parameters from twoArgMethod:\n\n"; 30 echo "\n"; 35 echo "Parameters from oneArgNonStatic:\n\n"; 39 echo "\n"; 45 echo "Parameters from noArgs:\n\n"; 50 echo "\n"; 53 echo "done\n";
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | set_magic_quotes_runtime_basic.phpt | 11 echo "Simple testcase for set_magic_quotes_runtime() function - basic test\n"; 14 echo "\n-- magic quotes runtime set in INI file: " . $g . "--\n"; 16 echo "\n-- Set magic quotes runtime to 0: --\n"; 19 echo "\n-- magic quotes runtime after set: " . $g . " --\n"; 21 echo "\n-- Set magic quotes runtime to 1: --\n"; 24 echo "\n-- magic quotes runtime after set: " . $g . " --\n";
|
/PHP-5.6/ext/sysvsem/tests/ |
H A D | nowait.phpt | 16 echo "Parent.\n"; 26 echo "P: got semaphore $sem_id.\n"; 29 echo "P: cleanup.\n"; 35 echo "P: fail to acquire semaphore $sem_id.\n"; 39 echo "P: success acquire semaphore $sem_id.\n"; 43 echo "P: releases.\n"; 50 echo "P: fail to acquire semaphore $sem_id.\n"; 54 echo "P: success acquire semaphore $sem_id.\n"; 61 echo "Child.\n"; 69 echo "C: got semaphore $sem_id.\n"; [all …]
|
/PHP-5.6/ext/mysqli/tests/ |
H A D | mysqli_stmt_affected_rows.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 39 printf("[005] Expecting int/0, got %s/'%s'\n", gettype($tmp), $tmp); 56 printf("[008] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 68 printf("[010] Expecting int/0, got %s/%s\n", gettype($tmp), $tmp); 78 printf("[012] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 88 printf("[014] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 98 printf("[016] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); 124 printf("[021] Expecting int/2, got %s/%s\n", gettype($tmp), $tmp); 134 printf("[023] Expecting int/1, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | bug_mysql_49406.phpt | 19 printf("[002] [%d] %s\n", $link->errno, $link->error); 67 printf("Field : %d\n", $field_idx); 68 printf("Name : %s\n", $field->name); 69 printf("Orgname : %s\n", $field->orgname); 70 printf("Table : %s\n", $field->table); 71 printf("Orgtable : %s\n", $field->orgtable); 72 printf("Maxlength : %d\n", $field->max_length); 73 printf("Length : %d\n", $field->length); 74 printf("Charsetnr : %d\n", $field->charsetnr); 75 printf("Flags : %d\n", $field->flags); [all …]
|
H A D | mysqli_class_mysqli_stmt_interface.phpt | 17 printf("Parent class:\n"); 20 printf("\nMethods:\n"); 69 printf("ok\n"); 71 printf("\nClass variables:\n"); 75 printf("%s\n", $var); 77 printf("\nObject variables:\n"); 80 printf("%s\n", $var); 82 printf("\nMagic, magic properties:\n"); 95 printf("stmt->errno = '%s'\n", $stmt->errno); 98 printf("stmt->error = '%s'\n", $stmt->error); [all …]
|
H A D | mysqli_prepare.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[003] Expecting boolean/false, got %s\n", gettype($tmp)); 36 printf("[006][%d] %s\n", mysqli_errno($link), mysqli_error($link)); 41 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 44 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 49 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 53 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 101 printf("[022] Expecting 'testvar'/1, got %s/%s. [%d] %s\n", 110 printf("[023] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_change_user.phpt | 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 29 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[007] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 43 printf("[009] Expecting false, got %s/%s\n", gettype($tmp), $tmp); 58 printf("[012] Cannot set test variable\n"); 61 printf("[013] Expecting true, got %s/%s\n", gettype($tmp), $tmp); 123 printf("[022] Cannot set test variable\n"); [all …]
|
H A D | mysqli_get_warnings.phpt | 20 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 23 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 26 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 37 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 40 printf("[006] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 43 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 50 printf("[009] Borked object, method next is missing\n"); 69 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 91 printf("[022] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 94 printf("[023] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); [all …]
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | 008.phpt | 10 echo '$a='.var_export($a,TRUE).";\n"; 11 echo '$b='.var_export($b,TRUE).";\n"; 12 echo '$c='.var_export($c,TRUE).";\n"; 14 echo 'array_intersect($a,$b,$c);'."\n"; 20 echo 'array_intersect($a,$b);'."\n"; 67 echo '$a='.var_export($a,TRUE).";\n"; 68 echo '$b='.var_export($b,TRUE).";\n"; 69 echo '$c='.var_export($c,TRUE).";\n"; 70 echo "\n\nResults:\n\n"; 72 echo 'array_intersect($a,$b,$c);'."\n"; [all …]
|
H A D | key_basic.phpt | 14 echo "*** Testing key() : basic functionality ***\n"; 17 echo "\n-- Initial Position: --\n"; 20 echo "\n-- Next Position: --\n"; 24 echo "\n-- End Position: --\n"; 28 echo "\n-- Past end of the array --\n";
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | rename_variation5.phpt | 26 echo "\n-- Renaming link to same link name --\n"; 29 echo "\n-- Renaming file to same file name --\n"; 32 echo "\n-- Renaming directory to same directory name --\n"; 35 echo "\n-- Renaming existing link to existing directory name --\n"; 37 echo "\n-- Renaming existing link to existing file name --\n"; 40 echo "\n-- Renaming existing file to existing directory name --\n"; 42 echo "\n-- Renaming existing file to existing link name --\n"; 45 echo "\n-- Renaming existing directory to existing file name --\n"; 49 echo "\n-- Renaming existing directory to existing link name --\n"; 52 echo "Done\n";
|
/PHP-5.6/ext/oci8/tests/ |
H A D | bind_char_1.phpt | 49 echo "Test 1.3: Type: AFC: Length: 0\n"; 54 echo "Test 1.4: Type: AFC: Length: strlen\n"; 69 echo "\n\n*** NULL data tests against CHAR ***\n"; 84 echo "Test 2.3: Type: AFC: Length: 0\n"; 105 echo "\n\n*** Non-null Data Tests against VARCHAR2***\n"; 120 echo "Test 3.3: Type: AFC: Length: 0\n"; 141 echo "\n\n*** NULL data tests against VARCHAR2 ***\n"; 156 echo "Test 4.3: Type: AFC: Length: 0\n"; 180 echo " Querying:\n"; 190 echo " :" . $item . ":\n"; [all …]
|
/PHP-5.6/ext/date/tests/ |
H A D | rfc-datetime_and_daylight_saving_time-type1.phpt | 51 echo "\n"; 93 echo "\n"; 103 . $end->sub($interval)->format($date_format) . "\n"; 109 . $end->sub($interval)->format($date_format) . "\n"; 115 . $end->sub($interval)->format($date_format) . "\n"; 121 . $end->sub($interval)->format($date_format) . "\n"; 127 . $end->sub($interval)->format($date_format) . "\n"; 133 . $end->sub($interval)->format($date_format) . "\n"; 141 echo "\n"; 187 echo "\n"; [all …]
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | bug20261.phpt | 9 echo "1: ".$first."\n"; 10 echo "2: ".$second."\n"; 11 echo "3: ".$rot."\n"; 15 echo "1: ".$first."\n"; 16 echo "2: ".$second."\n"; 17 echo "3: ".$rot."\n";
|
H A D | substr_count_variation_002.phpt | 6 echo "\n*** Testing possible variations ***\n"; 7 echo "\n-- complex strings containing other than 7-bit chars --\n"; 13 echo "\n-- heredoc string --\n"; 27 echo "\n-- heredoc null string --\n"; 34 echo "Done\n";
|
/PHP-5.6/ext/interbase/tests/ |
H A D | 004.phpt | 26 echo "import blob 1\n"; 35 echo "test blob 1\n"; 45 echo " BLOB 1 fail (1)\n"; 54 echo " BLOB 1 fail (2)\n"; 59 echo "create blob 2\n"; 63 echo "test blob 2\n"; 69 echo " BLOB 2 fail\n"; 74 echo "create blob 3\n"; 105 echo "echo blob 3\n"; 116 echo "fetch blob 3\n"; [all …]
|
/PHP-5.6/ext/gd/tests/ |
H A D | types.phpt | 5 if (!function_exists('imagetypes')) die("skip gd extension not available\n"); 12 echo "gif failed\n"; 16 echo "jpeg failed\n"; 20 echo "png failed\n"; 24 echo "wbmp failed\n"; 28 echo "xom failed\n"; 30 echo "ok\n";
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | mb_strwidth.phpt | 15 print "1: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n"; 18 print "2: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n"; 19 print "3: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n"; 21 print "4: ". mb_strwidth($euc_jp, 'EUC-JP') . "\n"; 24 ($str === "") ? print "5 OK\n" : print "NG: $str\n"; 27 ($str !== "") ? print "6 OK: $str\n" : print "NG: $str\n";
|
H A D | mb_strimwidth.phpt | 17 print "1: ". mb_strimwidth($euc_jp, 0, 15,'...','EUC-JP') . "\n"; 18 print "2: ". mb_strimwidth($euc_jp, 0, 100,'...','EUC-JP') . "\n"; 19 print "3: ". mb_strimwidth($euc_jp, 15, 100,'...','EUC-JP') . "\n"; 22 ($str === FALSE) ? print "4 OK\n" : print "NG: $str\n"; 25 ($str === FALSE) ? print "5 OK\n" : print "NG: $str\n"; 28 ($str === FALSE) ? print "6 OK\n" : print "NG: $str\n";
|
/PHP-5.6/tests/classes/ |
H A D | iterators_004.phpt | 8 echo "1st try\n"; 15 echo "object:$w\n"; 18 echo "2nd try\n"; 26 echo __METHOD__ . "\n"; 30 echo __METHOD__ . "\n"; 34 echo __METHOD__ . "\n"; 38 echo __METHOD__ . "\n"; 51 echo "object:$v=>$w\n"; 54 print "Done\n";
|