Home
last modified time | relevance | path

Searched refs:n (Results 151 – 175 of 9309) sorted by relevance

12345678910>>...373

/php-src/ext/zip/tests/
H A Doo_extract.phpt12 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-src/ext/reflection/tests/
H A D009.phpt18 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 D025.phpt18 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-src/ext/standard/tests/dir/
H A Dchdir_variation2.phpt9 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-src/ext/readline/tests/
H A Dbug77812-libedit.phpt17 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-src/Zend/tests/numeric_strings/
H A Dtrailling_whitespaces.phpt9 "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-src/ext/sodium/tests/
H A Dcrypto_scalarmult_ristretto255.phpt12 $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-src/Zend/tests/try/
H A Dtry_finally_020.phpt6 public $n = 0;
7 function __construct($n) {
8 $this->n = $n;
11 echo "destruct" . $this->n . "\n";
26 echo "finally1\n";
30 echo "catch\n";
32 echo "finally2\n";
/php-src/ext/date/tests/
H A Dbug43452.phpt9 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 Dgh11281.phpt6 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-src/ext/mbstring/tests/
H A Dmb_stripos_empty_needle.phpt14 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 Dmb_strpos_empty_needle.phpt14 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 Dmb_strripos_empty_needle.phpt14 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 Dmb_strrpos_empty_needle.phpt14 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-src/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_no_alias.phpt14 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-src/tests/func/
H A D003.phpt8 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-src/ext/intl/tests/
H A Ddateformat_is_set_lenient.phpt25 $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-src/ext/standard/tests/file/
H A Dfiletype_variation.phpt22 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 …]
H A Dfile_variation9.phpt7 echo "*** Testing file() : variation ***\n";
12 "File ends on a new line\n",
13 "File ends on multiple newlines\n\n\n\n",
14 "File has\n\nmultiple lines and newlines\n\n",
15 "File has\r\nmultiple crlfs\n\r\n"
26 echo "\n*** Done ***\n";
/php-src/tests/lang/
H A Dstatic_basic_001.phpt6 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-src/ext/spl/tests/
H A Diterator_028.phpt10 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 Diterator_013.phpt6 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-src/ext/standard/tests/strings/
H A Dprintf_basic1.phpt5 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-src/ext/json/tests/
H A Dbug73254.phpt6 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-src/Zend/tests/fibers/
H A Dunfinished-fiber-with-nested-try-catch.phpt10 echo "fiber\n";
12 echo "after await\n";
14 echo "inner exit exception caught!\n";
17 echo "exit exception caught!\n";
19 echo "inner finally\n";
22 echo "outer finally\n";
25 echo "unreached\n";
30 echo "unreached\n";
33 echo "end of fiber should not be reached\n";
40 echo "done\n";

Completed in 34 milliseconds

12345678910>>...373