/PHP-5.3/ext/standard/tests/filters/ |
H A D | chunked_001.phpt | 13 "data://text/plain,0\r\n", 14 "data://text/plain,2\r\nte\r\n2\r\nst\r\n0\r\n", 15 "data://text/plain,2\nte\n2\nst\n0\n", 16 "data://text/plain,2;a=1\nte\n2;a=2;b=3\r\nst\n0\n", 17 "data://text/plain,2\nte\n2\nst\n0\na=b\r\nc=d\n\r\n", 18 "data://text/plain,1f\n0123456789abcdef0123456789abcde\n1\nf\n0\n", 19 "data://text/plain,1E\n0123456789abcdef0123456789abcd\n2\nef\n0\n",
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | acos_basic.phpt | 22 echo "Pass\n"; 25 echo "Fail\n"; 32 echo "Pass\n"; 35 echo "Fail\n"; 43 echo "Pass\n"; 46 echo "Fail\n"; 54 echo "Pass\n"; 57 echo "Fail\n";
|
H A D | asin_basic.phpt | 22 echo "Pass\n"; 25 echo "Fail\n"; 32 echo "Pass\n"; 35 echo "Fail\n"; 42 echo "Pass\n"; 45 echo "Fail\n"; 53 echo "Pass\n"; 56 echo "Fail\n";
|
H A D | deg2rad_basic.phpt | 25 echo "Pass\n"; 28 echo "Fail\n"; 35 echo "Pass\n"; 38 echo "Fail\n"; 44 echo "Pass\n"; 47 echo "Fail\n"; 53 echo "Pass\n"; 56 echo "Fail\n";
|
H A D | rad2deg_basic.phpt | 24 echo "Pass\n"; 27 echo "Fail\n"; 33 echo "Pass\n"; 36 echo "Fail\n"; 42 echo "Pass\n"; 45 echo "Fail\n"; 51 echo "Pass\n"; 54 echo "Fail\n";
|
/PHP-5.3/ext/spl/tests/ |
H A D | arrayObject_getIteratorClass_basic1.phpt | 9 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 14 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 20 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 26 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 32 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 38 echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; 45 echo "--> Access using MyIterator:\n"; 49 echo " $key=>$value\n"; 52 echo "\n\n--> Access using ArrayIterator:\n"; 57 echo "$key=>$value\n";
|
H A D | iterator_034.phpt | 12 echo __METHOD__ . "() = false\n"; 23 echo __METHOD__ . "()\n"; 29 echo __METHOD__ . "()\n"; 54 echo __METHOD__ . "()\n"; 60 echo __METHOD__ . "()\n"; 66 echo __METHOD__ . "()\n"; 72 echo __METHOD__ . "()\n"; 102 echo "$k=>$v\n"; 105 echo "===BREAK===\n"; 110 echo "===FOREND===\n"; [all …]
|
H A D | bug45614.phpt | 15 "\n"; 18 "\n"; 24 echo "--> Show the first two items:\n"; 27 echo "\n--> Rewind and show the first two items:\n"; 31 echo "\n--> Invalidate current position and show the first two items:\n"; 36 echo "\n--> Rewind, seek and show the first two items:\n";
|
/PHP-5.3/tests/lang/ |
H A D | engine_assignExecutionOrder_008.phpt | 11 echo "\n" . '$i=f(): '; 15 echo "\n" . '$$x=f(): '; 20 echo "\n" . '${\'i\'}=f(): '; 24 echo "\n" . '$i[0]=f(): '; 28 echo "\n" . '$i[0][0]=f(): '; 32 echo "\n" . '$i->p=f(): '; 36 echo "\n" . '$i->p->q=f(): '; 40 echo "\n" . '$i->p[0]=f(): '; 52 echo "\n" . 'C::$p=f(): '; 55 echo "\n" . 'C::$p[0]=f(): '; [all …]
|
/PHP-5.3/ext/reflection/tests/ |
H A D | ReflectionMethod_basic1.phpt | 9 echo "Reflecting on method $class::$method()\n\n"; 10 echo "\nisFinal():\n"; 12 echo "\nisAbstract():\n"; 14 echo "\nisPublic():\n"; 16 echo "\nisPrivate():\n"; 18 echo "\nisProtected():\n"; 20 echo "\nisStatic():\n"; 22 echo "\nisConstructor():\n"; 24 echo "\nisDestructor():\n"; 26 echo "\n**********************************\n"; [all …]
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_get_result2.phpt | 24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 32 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 35 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 44 printf("[007] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 53 printf("[008] boolean/false got %s/%s, [%d] %s\n", 59 printf("[009] Expecting object/mysqli_result got %s/%s, [%d] %s\n", 82 printf("[013] boolean/false got %s/%s, [%d] %s\n", 123 printf("[021] Bound variables should not have been set\n"); 138 printf("[024] Unknown result set type %s\n", $res->type); [all …]
|
H A D | mysqli_stmt_fetch.phpt | 22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 30 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 34 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 47 printf("[008] NULL, got %s/%s\n", gettype($tmp), $tmp); 51 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 62 printf("[012] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp); 65 printf("[013] Expecting boolean/true, got %s/%s, [%d] %s\n", 69 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 77 printf("[016] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); [all …]
|
H A D | mysqli_stmt_get_warnings.phpt | 18 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 33 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 36 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 41 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 44 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 69 printf("[012] Object mysqli_warning seems to lack method next()\n"); 75 printf("[013 - %d] Message should not be empty\n", $i); 78 printf("[014 - %d] SQL State should not be empty\n", $i); 81 printf("[015 - %d] Error number should not be zero\n", $i); 88 printf("[016] Expected 2 warnings, got %d warnings\n", $i); [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | convert_cyr_string_error.phpt | 16 echo "*** Testing convert_cyr_string() : error conditions ***\n"; 18 echo "\n-- Testing convert_cyr_string() function with no arguments --\n"; 21 echo "\n-- Testing convert_cyr_string() function with no 'to' character set --\n"; 24 echo "\n-- Testing convert_cyr_string() function with more than expected no. of arguments --\n"; 27 echo "\n-- Testing convert_cyr_string() function with invalid 'from' character set --\n"; 30 echo "\n-- Testing convert_cyr_string() function with invalid 'to' character set --\n"; 33 echo "\n-- Testing convert_cyr_string() function with invalid 'from' and 'to' character set --\n";
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | closures_002.phpt | 11 echo "Test\n"; 12 echo "$i\n"; 13 echo "$i\n"; 15 echo "$i\n"; 16 echo "Done\n";
|
H A D | get_included_files.phpt | 12 echo "*** Testing get_included_files()\n"; 14 echo "\n-- List included files at start --\n"; 18 echo "\n-- List included files atfter including inc1 -\n"; 22 echo "\n-- List included files atfter including inc2 which will include inc3 which includes inc1 --… 25 echo "\n-- Error cases --\n";
|
H A D | isset_basic2.phpt | 11 echo "*** Testing isset() : basic functionality ***\n"; 17 $n = NULL; 19 echo "Test multiple scalar variables in a group\n"; 21 var_dump(isset($i, $f, $s, $b, $n)); 23 echo "Unset a few\n"; 26 echo "Test again\n"; 29 echo "\n\nArray test:\n"; 34 echo "..now set\n";
|
H A D | var_export_basic8.phpt | 11 echo "\n\n-- Var export on a simple object --\n"; 20 echo "\n\n-- Var export on an simple array --\n"; 24 echo "\n\n-- Var export on an nested array --\n";
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_ereg_match_basic.phpt | 22 echo "*** Testing mb_ereg_match() : basic functionality ***\n"; 27 echo "\n-- ASCII string 1 --\n"; 31 echo "\n-- ASCII string 2 --\n"; 34 echo "\n-- Multibyte string 1 --\n"; 38 echo "\n-- Multibyte string 2 --\n";
|
H A D | mb_ereg_replace_basic.phpt | 20 echo "*** Testing mb_ereg_replace() : basic functionality ***\n"; 28 echo "\n-- ASCII string 1 --\n"; 32 echo "\n-- ASCII string 2 --\n"; 36 echo "\n-- Multibyte string 1 --\n"; 41 echo "\n-- Multibyte string 2 --\n";
|
/PHP-5.3/ext/iconv/tests/ |
H A D | iconv_substr_basic.phpt | 23 echo "*** Testing iconv_substr() : basic functionality ***\n"; 29 echo "\n-- ASCII string 1 --\n"; 32 echo "\n-- ASCII string 2 --\n"; 35 echo "\n-- Multibyte string 1 --\n"; 39 echo "\n-- Multibyte string 2 --\n";
|
H A D | iconv_strpos_basic.phpt | 19 echo "*** Testing iconv_strpos() : basic functionality***\n"; 27 echo "\n-- ASCII string 1 --\n"; 30 echo "\n-- ASCII string 2 --\n"; 33 echo "\n-- Multibyte string 1 --\n"; 37 echo "\n-- Multibyte string 2 --\n";
|
/PHP-5.3/ext/zip/tests/ |
H A D | oo_delete.phpt | 26 echo "ok\n"; 29 echo "failed\n"; 37 echo "ok\n"; 41 echo "ok\n"; 43 echo "failed 3\n"; 47 echo "ok\n"; 49 echo "failed 3\n"; 53 echo "ok\n"; 56 echo "failed\n";
|
/PHP-5.3/ext/date/tests/ |
H A D | bug40743.phpt | 6 echo $dt->format(DATE_RFC822), "\n"; 7 echo $dt->format('T e Z'), "\n"; 8 echo "-----\n"; 13 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 16 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 20 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 23 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 26 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 29 echo $dt->format(DATE_RFC822 . " e T O U"), "\n";
|
/PHP-5.3/ext/mysql/tests/ |
H A D | mysql_query_load_data_openbasedir.phpt | 69 printf("[003] Cannot open CSV file\n"); 72 if (!fwrite($fp, (binary)"'97';'x';\n") || 73 !fwrite($fp, (binary)"'98';'y';\n") || 74 !fwrite($fp, (binary)"99;'z';\n")) { 75 printf("[004] Cannot write CVS file '%s'\n", $file); 78 if (!fwrite($fp, "97;'x';\n") || 79 !fwrite($fp, "98;'y';\n") || 80 !fwrite($fp, "99;'z';\n")) { 89 LINES TERMINATED BY '\n'", 101 printf("[008] LOAD DATA not run?\n"); [all …]
|