/PHP-8.1/ext/opcache/jit/dynasm/ |
H A D | dasm_ppc.lua | 1670 local vs = parse_vs(params[n]); n = n + 1; rs = rs - 5 1674 local vs = parse_vs(params[n]); n = n + 1 1685 op = op + parse_disp(params[n]); n = n + 1 1687 op = op + parse_u5disp(params[n], 1); n = n + 1 1689 op = op + parse_u5disp(params[n], 2); n = n + 1 1691 op = op + parse_u5disp(params[n], 3); n = n + 1 1717 op = op + parse_cr(params[n]); n = n + 1 1721 op = op + parse_shiftmask(params[n], true); n = n + 1 1723 op = op + parse_shiftmask(params[n], false); n = n + 1 1728 n = n + 1 [all …]
|
/PHP-8.1/ext/sodium/tests/ |
H A D | crypto_scalarmult_ristretto255.phpt | 12 $n = str_repeat("\0", SODIUM_CRYPTO_SCALARMULT_RISTRETTO255_SCALARBYTES); 15 $p = sodium_crypto_scalarmult_ristretto255_base($n); 17 echo $ex->getMessage(), "\n"; 20 $p2 = sodium_crypto_scalarmult_ristretto255($n, $b); 22 echo $ex->getMessage(), "\n"; 26 sodium_increment($n); 27 $p = sodium_crypto_scalarmult_ristretto255_base($n); 28 $p2 = sodium_crypto_scalarmult_ristretto255($n, $b); 34 sodium_crypto_scalarmult(substr($n, 1), $p); 36 echo $ex->getMessage(), "\n"; [all …]
|
/PHP-8.1/ext/readline/tests/ |
H A D | bug77812-libedit.phpt | 17 fwrite($pipes[0], "echo <<<FOO\n bar\n FOO;\n"); 18 fwrite($pipes[0], "print(<<<FOO\nxx\nFOO);\n"); 19 fwrite($pipes[0], "echo <<<FOO\n xxx\n FOO;\nFOO\n;\n"); 20 fwrite($pipes[0], "echo <<<FOO\nFOOL\nFOO\n,1;\n"); 21 fwrite($pipes[0], "echo <<<FOO\nFOO4\nFOO\n,2;\n");
|
/PHP-8.1/Zend/tests/numeric_strings/ |
H A D | trailling_whitespaces.phpt | 9 "123 \t\n\r\v\f", 11 " \t\n\r\v\f123", 13 " \t\n\r\v\f123 \t\n\r\v\f", 16 "123.0 \t\n\r\v\f", 18 " \t\n\r\v\f123.0", 20 " \t\n\r\v\f123 \t\n\r\v\f", 23 "123e0 \t\n\r\v\f", 25 " \t\n\r\v\f123e0", 27 " \t\n\r\v\f123e0 \t\n\r\v\f"
|
/PHP-8.1/ext/standard/tests/dir/ |
H A D | chdir_variation2.phpt | 9 echo "*** Testing chdir() : usage variations ***\n"; 23 echo "\n-- \$directory = './level2_one': --\n"; 28 echo "\n-- \$directory = 'level2_one/level2_two': --\n"; 33 echo "\n-- \$directory = '..': --\n"; 37 echo "\n-- \$directory = 'level2_two', '.': --\n"; 42 echo "\n-- \$directory = '../': --\n"; 46 echo "\n-- \$directory = './': --\n"; 51 echo "\n-- \$directory = '../../'level2_one': --\n";
|
/PHP-8.1/ext/zip/tests/ |
H A D | oo_extract.phpt | 12 echo "open failed.\n"; 18 echo "failed. mkdir\n"; 22 echo "failed. mkdir foobar\n"; 26 echo "failed. extract foobar/baz\n"; 32 echo "failed. bar file\n"; 34 echo file_get_contents($dirname . '__oo_extract_tmp/bar') . "\n"; 38 echo "failed. foo file\n"; 40 echo file_get_contents($dirname . '__oo_extract_tmp/foo') . "\n"; 47 echo "failed. extract bar file\n"; 55 echo "failed. extract bar file\n"; [all …]
|
/PHP-8.1/ext/reflection/tests/ |
H A D | 009.phpt | 18 echo "--getName--\n"; 20 echo "--isInternal--\n"; 22 echo "--isUserDefined--\n"; 24 echo "--getFilename--\n"; 26 echo "--getStartline--\n"; 28 echo "--getEndline--\n"; 30 echo "--getDocComment--\n"; 34 echo "--invoke--\n"; 36 echo "--invokeArgs--\n"; 40 echo "--getParameters--\n"; [all …]
|
H A D | 025.phpt | 18 echo "--getName--\n"; 20 echo "--isInternal--\n"; 22 echo "--isUserDefined--\n"; 24 echo "--getFilename--\n"; 26 echo "--getStartline--\n"; 28 echo "--getEndline--\n"; 30 echo "--getDocComment--\n"; 34 echo "--invoke--\n"; 36 echo "--invokeArgs--\n"; 40 echo "--getParameters--\n"; [all …]
|
/PHP-8.1/ext/mbstring/tests/ |
H A D | mb_strpos_empty_needle.phpt | 14 echo "\n-- ASCII string without offset --\n"; 17 echo "\n-- ASCII string with in range positive offset --\n"; 20 echo "\n-- ASCII string with in range negative offset --\n"; 23 echo "\n-- ASCII string with out of bound positive offset --\n"; 30 echo "\n-- ASCII string with out of bound negative offset --\n"; 37 echo "\n-- Multi-byte string without offset --\n"; 40 echo "\n-- Multi-byte string with in range positive offset --\n"; 43 echo "\n-- Multi-byte string with in range negative offset --\n"; 46 echo "\n-- Multi-byte string with out of bound positive offset --\n"; 53 echo "\n-- Multi-byte string with out of bound negative offset --\n";
|
H A D | mb_strripos_empty_needle.phpt | 14 echo "\n-- ASCII string without offset --\n"; 17 echo "\n-- ASCII string with in range positive offset --\n"; 20 echo "\n-- ASCII string with in range negative offset --\n"; 23 echo "\n-- ASCII string with out of bound positive offset --\n"; 30 echo "\n-- ASCII string with out of bound negative offset --\n"; 38 echo "\n-- Multi-byte string without offset --\n"; 41 echo "\n-- Multi-byte string with in range positive offset --\n"; 44 echo "\n-- Multi-byte string with in range negative offset --\n"; 47 echo "\n-- Multi-byte string with out of bound positive offset --\n"; 54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
|
H A D | mb_stripos_empty_needle.phpt | 14 echo "\n-- ASCII string without offset --\n"; 17 echo "\n-- ASCII string with in range positive offset --\n"; 20 echo "\n-- ASCII string with in range negative offset --\n"; 23 echo "\n-- ASCII string with out of bound positive offset --\n"; 30 echo "\n-- ASCII string with out of bound negative offset --\n"; 38 echo "\n-- Multi-byte string without offset --\n"; 41 echo "\n-- Multi-byte string with in range positive offset --\n"; 44 echo "\n-- Multi-byte string with in range negative offset --\n"; 47 echo "\n-- Multi-byte string with out of bound positive offset --\n"; 54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
|
H A D | mb_strrpos_empty_needle.phpt | 14 echo "\n-- ASCII string without offset --\n"; 17 echo "\n-- ASCII string with in range positive offset --\n"; 20 echo "\n-- ASCII string with in range negative offset --\n"; 23 echo "\n-- ASCII string with out of bound positive offset --\n"; 30 echo "\n-- ASCII string with out of bound negative offset --\n"; 38 echo "\n-- Multi-byte string without offset --\n"; 41 echo "\n-- Multi-byte string with in range positive offset --\n"; 44 echo "\n-- Multi-byte string with in range negative offset --\n"; 47 echo "\n-- Multi-byte string with out of bound positive offset --\n"; 54 echo "\n-- Multi-byte string with out of bound negative offset --\n";
|
/PHP-8.1/ext/mysqli/tests/ |
H A D | mysqli_fetch_assoc_no_alias.phpt | 14 printf("[001] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 16 print "[002]\n"; 21 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 23 print "[004]\n"; 28 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link)); 30 print "[006]\n"; 37 print "[008]\n"; 48 print "[011]\n"; 58 print "[014]\n"; 68 print "[017]\n"; [all …]
|
/PHP-8.1/ext/date/tests/ |
H A D | bug43452.phpt | 9 echo date( DateTime::ISO8601, $day ), "\n"; 11 echo date( DateTime::ISO8601, $day ), "\n"; 13 echo date( DateTime::ISO8601, $day ), "\n"; 15 echo date( DateTime::ISO8601, $day ), "\n\n"; 19 echo date( DateTime::ISO8601, $day ), "\n"; 21 echo date( DateTime::ISO8601, $day ), "\n"; 23 echo date( DateTime::ISO8601, $day ), "\n"; 25 echo date( DateTime::ISO8601, $day ), "\n\n"; 31 echo date( DateTime::ISO8601, $day ), "\n"; 37 echo date( DateTime::ISO8601, $day ), "\n\n"; [all …]
|
H A D | gh11281.phpt | 6 echo $tz->getName(), "\n"; 8 echo $tz->getName(), "\n"; 10 echo $tz->getName(), "\n"; 12 echo $tz->getName(), "\n"; 14 echo $tz->getName(), "\n"; 16 echo $tz->getName(), "\n"; 18 echo $tz->getName(), "\n"; 20 echo $tz->getName(), "\n"; 22 echo $tz->getName(), "\n";
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | filetype_variation.phpt | 22 echo "-- Checking with files --\n"; 23 print( filetype($file1) )."\n"; 24 print( filetype($file2) )."\n"; 27 echo "-- Checking with links: hardlink --\n"; 29 print( filetype($link1 ) )."\n"; 31 echo "-- Checking with links: symlink --\n"; 33 print( filetype($link2) )."\n"; 40 echo "-- Checking with directory --\n"; 45 echo "-- Checking with fifo --\n"; 47 print( filetype( $file3) )."\n"; [all …]
|
/PHP-8.1/ext/intl/tests/ |
H A D | dateformat_is_set_lenient.phpt | 25 $res_str .= "TRUE\n"; 27 $res_str .= "FALSE\n"; 31 $res_str .= "--------------------\n"; 35 $res_str .= "TRUE\n"; 37 $res_str .= "FALSE\n"; 43 $res_str .= "TRUE\n"; 45 $res_str .= "FALSE\n"; 54 $res_str .= "TRUE\n"; 56 $res_str .= "FALSE\n"; 62 $res_str .= "TRUE\n"; [all …]
|
/PHP-8.1/tests/func/ |
H A D | 003.phpt | 8 echo "hey\n"; 13 echo "$i\n"; 21 echo "$k\n"; 38 if ($n==0 || $n==1) { 41 return factorial($n-1)*$n; 48 if ($n<=$start) { 51 return factorial2($start,$n-1)*$n; 59 echo "factorial($i) = $n\n"; 72 echo "factorial($i) = $n\n"; 83 echo "------\n"; [all …]
|
/PHP-8.1/tests/lang/ |
H A D | static_basic_001.phpt | 6 echo "\nSame variable used as static and non static.\n"; 8 echo "---------\n"; 10 echo "$a\n"; 12 echo "$a\n"; 24 echo "Uninitialized : $a\n"; 25 echo "Initialized to 10: $b\n"; 26 echo "Initialized to 20: $c\n"; 27 echo "Uninitialized : $d\n"; 28 echo "Initialized to 30: $e\n"; 40 echo "\nUsing static keyword at global scope\n"; [all …]
|
/PHP-8.1/ext/spl/tests/ |
H A D | iterator_028.phpt | 10 echo "===?===\n"; 12 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 14 echo "===2===\n"; 17 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 19 echo "===X===\n"; 22 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 24 echo "===3===\n"; 27 foreach($it as $v) echo $it->getDepth() . ": $v\n"; 29 echo "===5===\n"; 34 echo "===0===\n"; [all …]
|
H A D | iterator_013.phpt | 6 echo "===Empty===\n"; 12 echo "$key=>$val\n"; 15 echo "===Append===\n"; 21 echo "$key=>$val\n"; 24 echo "===Rewind===\n"; 28 echo "$key=>$val\n"; 31 echo "===Append===\n"; 37 echo "$key=>$val\n"; 40 echo "===Rewind===\n"; 44 echo "$key=>$val\n";
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | printf_basic1.phpt | 5 echo "*** Testing printf() : basic functionality - using string format ***\n"; 16 echo "\n-- Calling printf() with no arguments --\n"; 18 echo "\n"; 21 echo "\n-- Calling printf() with one arguments --\n"; 23 echo "\n"; 26 echo "\n-- Calling printf() with two arguments --\n"; 28 echo "\n"; 32 echo "\n-- Calling printf() with string three arguments --\n"; 34 echo "\n";
|
/PHP-8.1/ext/json/tests/ |
H A D | bug73254.phpt | 6 echo json_encode([json_encode([1], JSON_PRETTY_PRINT)]), "\n"; 10 echo json_encode($data), "\n"; 11 echo json_encode([json_encode([1], JSON_PRETTY_PRINT)]), "\n"; 15 ["[\n 1\n]"] 17 ["[\n 1\n]"]
|
/PHP-8.1/ext/dba/tests/ |
H A D | dba_db4_018.phpt | 16 echo "database handler: $handler\n"; 18 echo "Test 1\n"; 21 echo dba_fetch("key1", $db_file1), "\n"; 24 echo "Test 2\n"; 27 echo "resources are the same\n"; 29 echo "resources are different\n"; 35 echo dba_fetch("key1", $db_file2), "\n"; 36 echo dba_fetch("key2", $db_file2), "\n"; 40 echo dba_fetch("key1", $db_file1), "\n"; 41 echo dba_fetch("key2", $db_file1), "\n"; [all …]
|
/PHP-8.1/ext/standard/tests/assert/ |
H A D | assert_variation.phpt | 13 echo "f1 called\n"; 17 echo "f2 called\n"; 21 echo "f3 called\n"; 33 echo"\n"; 40 echo"\n"; 47 echo"\n"; 55 echo"\n"; 60 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n"; 62 echo"\n"; 68 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n"; [all …]
|