Home
last modified time | relevance | path

Searched refs:n (Results 76 – 100 of 8297) sorted by relevance

12345678910>>...332

/PHP-8.1/tests/classes/
H A Dtostring_004.phpt14 echo "Try 1:\n";
18 echo $e->getMessage(), "\n";
20 printf("\n");
22 echo "\nTry 2:\n";
24 printf($obj . "\n");
26 echo $e->getMessage(), "\n";
29 echo "\n\nObject with bad __toString():\n";
37 echo "Try 1:\n";
43 printf("\n");
45 echo "\nTry 2:\n";
[all …]
/PHP-8.1/Zend/tests/
H A Dbug79934.phpt9 eval("\$s1 = <<<HEREDOC\r\n a\r\n\r\n b\r\n HEREDOC;");
10 var_dump(addcslashes($s1, "\r\n"));
13 eval("\$s2 = <<<HEREDOC\n a\n\n b\n HEREDOC;");
14 var_dump(addcslashes($s2, "\n"));
21 eval("\$s4 = <<<HEREDOC\r a\r\n \r\n b\r HEREDOC;");
22 var_dump(addcslashes($s4, "\n\r"));
26 string(10) "a\r\n\r\nb"
27 string(6) "a\n\nb"
29 string(10) "a\r\n\r\nb"
H A Dbug69957.phpt11 echo "Variable div\n";
12 printf("Type: %s\n", get_class($t));
21 echo "\nVariable mod\n";
22 printf("Type: %s\n", get_class($t));
30 echo "\nLiteral div\n";
31 printf("Type: %s\n", get_class($t));
39 echo "\nLiteral mod\n";
40 printf("Type: %s\n", get_class($t));
48 echo "\nDouble div\n";
49 printf("Type: %s\n", get_class($t));
[all …]
H A Dbug44660.phpt11 echo "\n--> direct assignment:\n";
15 echo $e->getMessage(), "\n";
18 echo "\n--> increment:\n";
22 echo $e->getMessage(), "\n";
25 echo "\n--> reference assignment:\n";
29 echo $e->getMessage(), "\n";
32 echo "\n--> reference assignment:\n";
36 echo $e->getMessage(), "\n";
39 echo "\n--> indexed assignment:\n";
43 echo $e->getMessage(), "\n";
[all …]
/PHP-8.1/ext/standard/tests/general_functions/
H A D001.phpt10 echo("passed\n");
12 echo("failed!\n");
18 echo("passed\n");
20 echo("failed!\n");
26 echo("passed\n");
28 echo("failed!\n");
34 echo("passed\n");
36 echo("failed!\n");
42 echo("passed\n");
44 echo("failed!\n");
[all …]
/PHP-8.1/ext/hash/tests/
H A Dhash_hmac_basic.phpt6 echo "*** Testing hash_hmac() : basic functionality ***\n";
11 echo "gost: " . hash_hmac('gost', $content, $key) . "\n";
12 echo "haval128,3: " . hash_hmac('haval128,3', $content, $key) . "\n";
13 echo "md2: " . hash_hmac('md2', $content, $key) . "\n";
14 echo "md4: " . hash_hmac('md4', $content, $key) . "\n";
15 echo "md5: " . hash_hmac('md5', $content, $key) . "\n";
20 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n";
21 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n";
22 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n";
23 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n";
[all …]
/PHP-8.1/tests/lang/
H A Dexecution_order.phpt18 echo "\r\n";
25 echo "\r\n";
32 echo "\r\n";
39 echo "\r\n";
44 echo "\r\n";
51 echo "\r\n";
64 echo "\r\n";
69 echo "\r\n";
77 echo "\r\n";
83 echo "\r\n";
[all …]
H A DpassByReference_010.phpt11 echo "\n\n---> Pass constant assignment by reference:\n";
16 echo "Exception: " . $e->getMessage() ."\n";
19 echo "\n\n---> Pass variable assignment by reference:\n";
26 echo "Exception: " . $e->getMessage() ."\n";
29 echo "\n\n---> Pass reference assignment by reference:\n";
36 echo "Exception: " . $e->getMessage() ."\n";
39 echo "\n\n---> Pass concat assignment by reference:\n";
47 echo "Exception: " . $e->getMessage() ."\n";
/PHP-8.1/ext/standard/tests/file/
H A D001-win32-mb.phpt19 echo "$fname exists\n";
21 echo "$fname does not exist\n";
26 echo "$fname exists\n";
28 echo "$fname does not exist\n";
31 echo "$fname is a symlink\n";
33 echo "$fname is not a symlink\n";
36 echo "$fname exists\n";
38 echo "$fname does not exist\n";
51 echo "$fname is writeable\n";
56 echo "$fname is readable\n";
[all …]
H A D001.phpt16 echo "test.file exists\n";
18 echo "test.file does not exist\n";
23 echo "test.file exists\n";
25 echo "test.file does not exist\n";
30 echo "test.link exists\n";
32 echo "test.link does not exist\n";
35 echo "test.file is a symlink\n";
40 echo "test.link is a symlink\n";
45 echo "test.file exists\n";
73 echo "test.file is readable\n";
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dhtml_entity_decode2.phpt6 echo "*** HTML 4.01 implicit (shouldn't decode) ***\n";
7 echo html_entity_decode("&apos;", ENT_QUOTES, "UTF-8"), "\n";
9 echo "*** HTML 4.01 (shouldn't decode) ***\n";
10 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_HTML401, "UTF-8"), "\n";
12 echo "*** HTML 5 ***\n";
13 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_HTML5, "UTF-8"), "\n";
15 echo "*** XHTML 1.0 ***\n";
16 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_XHTML, "UTF-8"), "\n";
18 echo "*** XML 1.0 ***\n";
19 echo html_entity_decode("&apos;", ENT_QUOTES | ENT_XML1, "UTF-8"), "\n";
[all …]
H A Dprintf_basic3.phpt22 echo "\n-- Calling printf() with no arguments--\n";
24 echo "\n";
27 echo "\n-- Calling printf() with one arguments--\n";
29 echo "\n";
32 echo "\n";
35 echo "\n-- Calling printf() with two arguments--\n";
37 echo "\n";
40 echo "\n";
43 echo "\n-- Calling printf() with three arguments--\n";
45 echo "\n";
[all …]
H A Dnl2br_variation3.phpt9 echo "*** Testing nl2br() : usage variations ***\n";
10 //heredoc string containing new line chars(\n, \r and combinations of \r & \n) and new lines
12 \n
14 \r\n
15 \nnn\n\n\nn
17 \n\r\n\r\r\n\nr\rn
23 This is \tes\t for \n \new lines
24 like \n \r\n \r \n\r and etc
45 n<br />
58 n"
/PHP-8.1/ext/opcache/jit/dynasm/
H A Ddasm_x86.h226 n = *p++; pl = D->lglabels + n; in dasm_put()
235 n = *pl; in dasm_put()
237 b[pos] = -n; in dasm_put()
255 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; } in dasm_put()
267 n = *p; CK(n < D->maxsection, RANGE_SEC); D->section = &D->sections[n]; in dasm_put()
301 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
436 n &= 7; in dasm_encode()
444 n &= 7; in dasm_encode()
453 b++; n = (int)(ptrdiff_t)D->globals[-n]; in dasm_encode()
467 if (n < 0) { dasma((ptrdiff_t)D->globals[-n]); break; } in dasm_encode()
[all …]
/PHP-8.1/tests/strings/
H A D001.phpt14 echo("failed 1\n");
16 echo("failed 2\n");
18 echo("failed 3\n");
20 echo("failed 4\n");
22 echo("passed\n");
30 echo("failed 1\n");
32 echo("failed 2\n");
34 echo("passed\n");
47 echo("passed\n");
54 echo("passed\n");
[all …]
/PHP-8.1/ext/spl/tests/
H A Dheap_001.phpt11 echo "Exception: ".$e->getMessage()."\n";
21 echo $h->count()."\n";
22 echo $h->extract()."\n";
23 echo $h->extract()."\n";
24 echo $h->extract()."\n";
25 echo $h->extract()."\n";
26 echo $h->extract()."\n";
27 echo $h->count()."\n";
29 echo "--\n";
36 echo $h->extract()."\n";
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Dreset_basic.phpt9 echo "*** Testing reset() : basic functionality ***\n";
13 echo "\n-- Initial Position: --\n";
14 echo key($array) . " => " . current($array) . "\n";
16 echo "\n-- Call to next() --\n";
19 echo "\n-- Current Position: --\n";
20 echo key($array) . " => " . current($array) . "\n";
22 echo "\n-- Call to reset() --\n";
H A Dend_basic.phpt9 echo "*** Testing end() : basic functionality ***\n";
13 echo "\n-- Initial Position: --\n";
14 echo key($array) . " => " . current($array) . "\n";
16 echo "\n-- Call to end() --\n";
19 echo "\n-- Current Position: --\n";
20 echo key($array) . " => " . current($array) . "\n";
22 echo "\n-- Add a new element to array --\n";
/PHP-8.1/ext/standard/tests/http/
H A Dbug80256.phpt12 "data://text/plain,HTTP/1.1 302 Moved Temporarily\r\n"
13 . "Location: /try-again\r\n"
14 . "Transfer-Encoding: chunked\r\n\r\n"
15 . "0\r\n\r\n",
16 "data://text/plain,HTTP/1.1 200 Ok\r\n"
17 . "Transfer-Encoding: chunked\r\n\r\n"
18 . "4\r\n1234\r\n0\r\n\r\n",
/PHP-8.1/ext/tokenizer/tests/
H A Dbug76991.phpt20 echo token_name($token[0]) . ": " .str_replace("\n", '\n', $token[1]);
24 echo "\n";
29 T_OPEN_TAG: <?php\n
30 T_START_HEREDOC: <<<TEST\n
32 T_ENCAPSED_AND_WHITESPACE: \n
35 T_WHITESPACE: \n\n
36 T_START_HEREDOC: <<<END\n
38 T_ENCAPSED_AND_WHITESPACE: \n
/PHP-8.1/ext/gmp/tests/
H A Dgmp_gcd.phpt16 $n = gmp_init("8127346234");
17 var_dump(gmp_strval(gmp_gcd($n,"12372341234")));
18 $n = gmp_init("8127346234");
19 var_dump(gmp_strval(gmp_gcd("7623456735",$n)));
20 $n = gmp_init("8127346234");
21 var_dump(gmp_strval(gmp_gcd($n,$n)));
22 $n = gmp_init("8127346234");
23 var_dump(gmp_strval(gmp_gcd($n,0)));
25 echo "Done\n";
/PHP-8.1/ext/standard/tests/serialize/
H A D001.phpt42 echo serialize(NULL)."\n";
45 echo serialize(1)."\n";
46 echo serialize(0)."\n";
47 echo serialize(-1)."\n";
51 echo serialize(1.0)."\n";
52 echo serialize(0.0)."\n";
53 echo serialize(-1.0)."\n";
55 echo serialize("hallo")."\n";
60 echo "$data\n";
66 echo "$data\n";
[all …]
/PHP-8.1/ext/soap/
H A Dphp_xml.h44 #define FOREACHATTRNODE(n,c,i) FOREACHATTRNODEEX(n,c,NULL,i) argument
47 if (n == NULL) { \
53 i = n; \
56 n = i;
58 #define FOREACHNODE(n,c,i) FOREACHNODEEX(n,c,NULL,i) argument
61 if (n == NULL) { \
65 i = get_node_ex(n,c,NULL); \
67 i = n; \
70 n = i;
72 #define ENDFOREACH(n) \ argument
[all …]
/PHP-8.1/ext/date/tests/
H A Dbug75851.phpt9 echo date(DATE_ATOM."\n".DATE_RFC2822."\nc\nr\no\ny\nY\nU\n\n", PHP_INT_MIN);
10 echo date(DATE_ATOM."\n".DATE_RFC2822."\nc\nr\no\ny\nY\nU\n\n", 67767976233532799);
11 echo date(DATE_ATOM."\n".DATE_RFC2822."\nc\nr\no\ny\nY\nU\n\n", 67767976233532800);
12 echo date(DATE_ATOM."\n".DATE_RFC2822."\nc\nr\no\ny\nY\nU\n\n", PHP_INT_MAX);
/PHP-8.1/ext/intl/tests/
H A Dbug68447.phpt8 echo grapheme_extract($katsushikaku, 1) . "\n";
11 echo grapheme_extract($haiyore, 1, GRAPHEME_EXTR_COUNT) . "\n";
12 echo grapheme_extract($haiyore, 2, GRAPHEME_EXTR_COUNT) . "\n";
13 echo grapheme_extract($haiyore, 6, GRAPHEME_EXTR_MAXBYTES) . "\n";
14 echo grapheme_extract($haiyore, 9, GRAPHEME_EXTR_MAXBYTES) . "\n";
15 echo grapheme_extract($haiyore, 12, GRAPHEME_EXTR_MAXBYTES) . "\n";
16 echo grapheme_extract($haiyore, 1, GRAPHEME_EXTR_MAXCHARS) . "\n";
17 echo grapheme_extract($haiyore, 2, GRAPHEME_EXTR_MAXCHARS) . "\n";
18 echo grapheme_extract($haiyore, 3, GRAPHEME_EXTR_MAXCHARS) . "\n";

Completed in 33 milliseconds

12345678910>>...332