Home
last modified time | relevance | path

Searched refs:n (Results 126 – 150 of 8937) sorted by relevance

12345678910>>...358

/PHP-8.1/ext/ffi/tests/
H A D027.phpt11 echo "ok\n";
13 echo get_class($e) . ": " . $e->getMessage()."\n";
17 echo "ok\n";
19 echo get_class($e) . ": " . $e->getMessage()."\n";
23 echo "ok\n";
29 echo "ok\n";
50 echo "ok\n";
56 echo "ok\n";
62 echo "ok\n";
68 echo "ok\n";
[all …]
H A D015.phpt11 echo "ok\n";
13 echo get_class($e) . ": " . $e->getMessage()."\n";
17 echo "ok\n";
19 echo get_class($e) . ": " . $e->getMessage()."\n";
23 echo "ok\n";
25 echo get_class($e) . ": " . $e->getMessage()."\n";
29 echo "ok\n";
35 echo "ok\n";
41 echo "ok\n";
47 echo "ok\n";
[all …]
/PHP-8.1/ext/json/tests/
H A Dbug41067.phpt7 print bin2hex($single_barline) . "\n";
8 // print $single_barline . "\n\n";
10 print $json . "\n\n";
12 // print $json_decoded[0] . "\n";
13 print bin2hex($json_decoded[0]) . "\n";
14 print "END\n";
/PHP-8.1/ext/spl/tests/
H A Dbug45622b.phpt6 function __get($n) { echo "In " . __METHOD__ . "!\n"; }
7 function __set($n, $v) { echo "In " . __METHOD__ . "!\n"; }
8 function __isset($n) { echo "In " . __METHOD__ . "!\n"; }
9 function __unset($n) { echo "In " . __METHOD__ . "!\n"; }
13 echo "Doesn't trigger __get.\n";
16 echo "Doesn't trigger __set.\n";
19 echo "Doesn't trigger __unset.\n";
22 echo "Shouldn't trigger __isset.\n";
/PHP-8.1/ext/hash/tests/
H A Dgost.phpt5 echo hash('gost', ''), "\n";
6 echo hash('gost', 'The quick brown fox jumps over the lazy dog'), "\n";
7 echo hash('gost', 'The quick brown fox jumps over the lazy cog'), "\n";
8 echo hash('gost', str_repeat('a', 31)), "\n";
9 echo hash('gost', str_repeat('a', 32)), "\n";
10 echo hash('gost', str_repeat('a', 33)), "\n";
12 echo hash('gost-crypto', ''), "\n";
13 echo hash('gost-crypto', 'The quick brown fox jumps over the lazy dog'), "\n";
15 echo hash('gost-crypto', str_repeat('a', 31)), "\n";
16 echo hash('gost-crypto', str_repeat('a', 32)), "\n";
[all …]
H A Dhash_hmac_file_basic.phpt7 echo "*** Testing hash_hmac_file() : basic functionality ***\n";
31 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
33 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
34 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
35 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
36 echo "ripemd128: " . hash_hmac_file('ripemd128', $file, $key) . "\n";
40 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
41 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n";
42 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n";
43 echo "sha512: " . hash_hmac_file('sha512', $file, $key) . "\n";
[all …]
/PHP-8.1/ext/opcache/jit/dynasm/
H A Ddasm_mips.h198 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put()
204 n = (ins & 2047) - 10; pl = D->lglabels + n; in dasm_put()
213 n = *pl; in dasm_put()
229 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; in dasm_put()
245 b[pos++] = n; in dasm_put()
279 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
353 n = (int)((ptrdiff_t)D->globals[-n] - (ptrdiff_t)cp); in dasm_encode()
359 n = *DASM_POS2PTR(D, n); in dasm_encode()
361 n = (n + (int)(size_t)base) & 0x0fffffff; in dasm_encode()
363 n = n - (int)((char *)cp - base); in dasm_encode()
[all …]
H A Ddasm_ppc.h198 n = (ins & 255); CK(n < D->maxsection, RANGE_SEC); in dasm_put()
204 n = (ins & 2047) - 10; pl = D->lglabels + n; in dasm_put()
213 n = *pl; in dasm_put()
215 b[pos] = -n; in dasm_put()
229 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = pos; in dasm_put()
245 b[pos++] = n; in dasm_put()
249 b[pos++] = n; in dasm_put()
283 while (n > 0) { int *pb = DASM_POS2PTR(D, n); n = *pb; *pb = -idx; } in dasm_link()
357 n = (int)((ptrdiff_t)D->globals[-n] - (ptrdiff_t)cp); in dasm_encode()
363 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base); in dasm_encode()
[all …]
/PHP-8.1/ext/date/tests/
H A DDateTime_extends_basic1.phpt9 echo "*** Testing basic DateTime inheritance() ***\n";
22 echo "\n-- Create an instance of DateTimeExt --\n";
25 echo "\n-- Invoke __toString --\n";
26 echo $d . "\n";
28 echo "\n -- modify date and time --\n";
32 echo "\n-- Invoke __toString again --\n";
33 echo $d . "\n";
/PHP-8.1/ext/standard/tests/strings/
H A Dprintf_error.phpt8 echo "\n-- Testing printf() function with Zero arguments --\n";
12 echo $e->getMessage(), "\n";
15 echo "\n-- Testing printf() function with less than expected no. of arguments --\n";
22 echo "\n-- Call printf with one argument less than expected --\n";
26 echo $e->getMessage(), "\n";
31 echo $e->getMessage(), "\n";
36 echo $e->getMessage(), "\n";
39 echo "\n-- Call printf with two argument less than expected --\n";
43 echo $e->getMessage(), "\n";
48 echo $e->getMessage(), "\n";
[all …]
H A Dsprintf_variation52.phpt5 echo "*** Testing sprintf() : with typical format strings ***\n";
11 echo"\n-- Testing for '%%%.2f' as the format parameter --\n";
14 echo"\n-- Testing for '%%' as the format parameter --\n";
17 echo"\n-- Testing for precision value more than maximum --\n";
20 echo"\n-- Testing for invalid width(-15) specifier --\n";
24 echo $e->getMessage(), "\n";
27 echo"\n-- Testing for '%X' as the format parameter --\n";
30 echo"\n-- Testing for multiple format parameters --\n";
31 var_dump(sprintf("%d %s %d\n", $tempnum, $tempstring, $tempnum));
33 echo"\n-- Testing for excess of mixed type arguments --\n";
H A Dprintf_basic8.phpt11 echo "*** Testing printf() : basic functionality - using octal format ***\n";
22 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-- Calling printf() with two arguments --\n";
34 echo "\n";
37 echo "\n-- Calling printf() with three arguments --\n";
39 echo "\n";
H A Dexplode_variation6.phpt6 echo "*** Testing explode() function: misc tests ***\n";
10 echo "\n-- positive limit with null separator --\n";
13 echo "\n-- negative limit (since PHP 5.1) with null separator --\n";
16 echo "\n-- unknown string --\n";
19 echo "\n-- limit = 0 --\n";
22 echo "\n-- limit = -1 --\n";
25 echo "\n-- large limit = -100 --\n";
H A Dprintf_basic6.phpt5 echo "*** Testing printf() : basic functionality - using exponential format ***\n";
16 echo "\n-- Calling printf() with no arguments --\n";
18 echo "\n";
21 echo "\n-- Calling printf() with one argument --\n";
23 echo "\n";
26 echo "\n-- Calling printf() with two arguments --\n";
28 echo "\n";
31 echo "\n-- Calling printf() with three arguments --\n";
33 echo "\n";
H A Dprintf_basic7.phpt11 echo "*** Testing printf() : basic functionality - using unsigned format ***\n";
23 echo "\n-- Calling printf() with no arguments --\n";
25 echo "\n";
28 echo "\n-- Calling printf() with one arguments --\n";
30 echo "\n";
33 echo "\n-- Calling printf() with two arguments --\n";
35 echo "\n";
38 echo "\n-- Calling printf() with three arguments --\n";
40 echo "\n";
/PHP-8.1/ext/dba/tests/
H A Ddba015.phpt16 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/
H A Ddns.c470 long n, i; in php_parserr() local
482 cp += n; in php_parserr()
550 cp += n; in php_parserr()
561 cp += n; in php_parserr()
567 cp += n; in php_parserr()
583 cp += n; in php_parserr()
587 n = dlen - n - 2; in php_parserr()
590 cp += n; in php_parserr()
630 cp += n; in php_parserr()
636 cp += n; in php_parserr()
[all …]
/PHP-8.1/ext/intl/tests/
H A Dcalendar_before_after_error.phpt14 echo "error: $errno, $errstr\n";
21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
32 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
37 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
43 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
48 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
54 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
59 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
/PHP-8.1/ext/standard/tests/general_functions/
H A Dget_defined_vars_basic.phpt5 echo "Simple testcase for get_defined_vars() function\n\n";
8 echo "\n-- Function f1() called --\n";
12 echo "TEST FAILED\n";
15 echo "\n-- ..define some local variables --\n";
26 echo "\n -- Function f2() called --\n";
30 echo "TEST FAILED\n";
33 echo "\n-- ...define some variables --\n";
41 echo "\n-- ...define some more variables --\n";
49 echo "\n-- Get variables at global scope --\n";
53 echo "TEST FAILED - Global variables missing at global scope\n";
/PHP-8.1/ext/standard/tests/http/
H A Dbug47021.phpt15 echo "Type='$message'\n";
18 echo "Size=$bytes_max\n";
41 . "Transfer-Encoding:{$spaces}Chunked{$trailing}\r\n\r\n"
42 . "5\nHello\n0\n",
45 . "Content-Length:{$spaces}5{$trailing}\r\n\r\n"
51 echo "\n";
53 echo "\n";
61 echo "\n";
64 echo "\n";
67 echo "\n";
[all …]
/PHP-8.1/ext/standard/tests/file/
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"
27 echo "\n*** Done ***\n";
/PHP-8.1/ext/mbstring/tests/
H A Dmb_convert_encoding_stateful.phpt10 echo "ISO-2022-JP empty segment\n";
11 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b24402121"), "UTF-8", "ISO-2022-JP")), "\n";
12 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b24422121"), "UTF-8", "ISO-2022-JP")), "\n";
13 echo bin2hex(mb_convert_encoding(pack("H*", "1b28421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
14 echo bin2hex(mb_convert_encoding(pack("H*", "1b284a1b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n";
15 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
16 echo bin2hex(mb_convert_encoding(pack("H*", "1b24401b284a61626364"), "UTF-8", "ISO-2022-JP")), "\n";
17 echo bin2hex(mb_convert_encoding(pack("H*", "1b24421b284261626364"), "UTF-8", "ISO-2022-JP")), "\n";
19 echo "ISO-2022-KR empty segment\n";
21 echo "HZ empty segment\n";
[all …]
/PHP-8.1/ext/dom/tests/
H A Ddomelement.phpt12 echo "Error while parsing the document\n";
17 echo "Tag Name: ".$node->tagName."\n";
21 echo "Chapter: ".$node->getAttribute('num')."\n";
24 echo "Chapter: ".$node->getAttribute('num')."\n";
35 echo "\n-- xml:lang --\n";
50 echo "Language: ".$lang->value."\n";
52 echo "\n-- Elements --\n";
54 echo "Row Count: ".$rows->length."\n";
63 echo "myelements Count: ".$mylen."\n";
65 echo "\n-- IDs --\n";
[all …]
/PHP-8.1/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt7 echo "in f()\n";
12 echo "in g()\n";
17 echo "\n\nOrder with local assignment:\n";
21 echo "\n\nOrder with array assignment:\n";
25 echo "\n\nOrder with object property assignment:\n";
30 echo "\n\nOrder with nested object property assignment:\n";
37 echo "\n\nOrder with dim_list property assignment:\n";
48 echo "\n\nOrder with static property assignment:\n";
52 echo "\n\nOrder with static array property assignment:\n";
56 echo "\n\nOrder with indexed string assignment:\n";
[all …]
/PHP-8.1/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";

Completed in 49 milliseconds

12345678910>>...358