Home
last modified time | relevance | path

Searched refs:n (Results 176 – 200 of 9577) sorted by relevance

12345678910>>...384

/PHP-8.1/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";
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_class_mysqli_driver_interface.phpt10 printf("Parent class:\n");
13 printf("\nMethods:\n");
23 printf("Dumping list of missing methods.\n");
27 printf("Dumping list of unexpected methods.\n");
31 printf("ok\n");
34 printf("\nClass variables:\n");
38 printf("%s\n", $var);
41 printf("\nObject variables:\n");
44 printf("%s\n", $var);
47 printf("\nMagic, magic properties:\n");
[all …]
H A Ddeprecated_constants.phpt8 echo constant('MYSQLI_NO_DATA')."\n";
9 echo constant('MYSQLI_DATA_TRUNCATED')."\n";
10 echo constant('MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED')."\n";
11 echo constant('MYSQLI_SERVER_QUERY_NO_INDEX_USED')."\n";
13 echo constant('MYSQLI_SERVER_QUERY_WAS_SLOW')."\n";
14 echo constant('MYSQLI_SERVER_PS_OUT_PARAMS')."\n";
16 print("\nDeprecated: Constant MYSQLI_SERVER_QUERY_WAS_SLOW is deprecated in dummy\n-1\n");
17 print("\nDeprecated: Constant MYSQLI_SERVER_PS_OUT_PARAMS is deprecated in dummy\n-1\n");
/PHP-8.1/ext/enchant/tests/
H A Dbroker_free_02.phpt9 if(!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
19 echo("OK\n");
23 echo("OK\n");
32 echo("OK\n");
35 echo("OK\n");
38 echo("broker free failed\n");
41 echo("broker dict free failed\n");
44 echo("dict add to personal failed\n");
47 echo("broker request dict failed\n");
50 echo("init failed\n");
[all …]
/PHP-8.1/Zend/tests/
H A Dforeach_017.phpt9 echo "$v\n";
15 echo "\n";
21 echo "$v\n";
27 echo "\n";
33 echo "$v\n";
39 echo "\n";
47 echo "$v\n";
53 echo "\n";
59 echo "$v\n";
65 echo "\n";
[all …]
H A Dbug46304.phpt10 print NS1\ns2\const1 . "\n";
11 print ns1\ns2\const1 . "\n";
12 print ns1\NS2\const1 . "\n";
14 print NS1\ns2\const2 . "\n";
15 print ns1\ns2\const2 . "\n";
16 print ns1\NS2\const2 . "\n";
18 print NS1\ns2\coNSt3 . "\n";
19 print ns1\ns2\coNSt3 . "\n";
20 print ns1\ns2\coNSt3 . "\n";
22 print NS1\ns2\coNSt1 . "\n";
/PHP-8.1/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt8 echo 'Cannot access privateInstance method statically'."\n";
11 echo "Test failed to fail and return was : ".var_export($fn, true)."\n";
33 echo 'Cannot access privateInstance method'."\n";
45 echo 'SubClass cannot access private instance method'."\n";
48 echo "Test failed to fail, closure is : ".var_export($fn, true)."\n";
57 echo 'Cannot access private static function of instance'."\n";
69 echo 'Cannot access private static method statically'."\n";
93 echo 'Non-existent method should fail'."\n";
105 echo 'Non-existent class should fail'."\n";
117 echo 'Non-existent function should fail'."\n";
[all …]
/PHP-8.1/tests/lang/
H A DforeachLoop.016.phpt6 echo "\n" . '$a' . "\n";
14 echo "\n" . '${\'a\'}' . "\n";
22 echo "\n" . '$$a' . "\n";
32 echo "\n" . '$a[0]' . "\n";
40 echo "\n" . '$a[0][0]' . "\n";
48 echo "\n" . '$a->b' . "\n";
57 echo "\n" . '$a->b->c' . "\n";
67 echo "\n" . '$a->b[0]' . "\n";
76 echo "\n" . '$a->b[0][0]' . "\n";
99 echo "\n" . 'C::$a' . "\n";
[all …]
/PHP-8.1/ext/sysvsem/tests/
H A Dsysv.phpt12 echo "Start.\n";
19 echo "Got semaphore.\n";
23 echo "Fail to acquire semaphore.\n";
27 echo "Success acquire semaphore.\n";
35 echo "Success to attach shared memory.\n";
44 echo "Write var1 to shared memory.\n";
53 echo "Write var2 to shared memory.\n";
60 echo "Read var1=$var1.\n";
68 echo "Read var2=$var2.\n";
74 echo "Semaphore released.\n";
[all …]
/PHP-8.1/tests/classes/
H A Dtostring_001.phpt15 return "Converted\n";
27 echo "====test1====\n";
37 echo "====test2====\n";
42 echo "====test3====\n";
45 echo "====test4====\n";
48 echo "====test5====\n";
52 echo "====test6====\n";
56 echo "====test7====\n";
65 echo "====test8====\n";
69 echo "====test9====\n";
[all …]
H A D__call_006.phpt24 echo "---> Invoke __call via simple method call.\n";
28 echo "Exception caught OK; continuing.\n";
31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n";
35 echo "Exception caught OK; continuing.\n";
38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n";
43 echo "Exception caught OK; continuing.\n";
46 echo "\n\n---> Invoke __call via callback.\n";
50 echo "Exception caught OK; continuing.\n";
/PHP-8.1/ext/oci8/tests/
H A Dlob_031.phpt40 echo " 1. ".$row[0]->tell(). "\n";
43 echo " 2. ".$row[0]->tell(). "\n";
46 echo " 3. ".$row[0]->tell(). "\n";
49 echo " 4. ".$row[0]->tell(). "\n";
52 echo " 5. ".$row[0]->tell(). "\n";
56 echo " 6. ".$row[0]->tell(). "\n";
59 echo " 8. ".$row[0]->tell(). "\n";
63 echo " 9. ".$row[0]->tell(). "\n";
66 echo "10. ".$row[0]->tell(). "\n";
69 echo "11. ".$row[0]->tell(). "\n";
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Darray_product_variation3.phpt5 echo "*** Testing array_product() : variations - negative numbers***\n";
7 echo "\n-- Testing array_product() function with one negative number --\n";
10 echo "\n-- Testing array_product() function with two negative numbers --\n";
13 echo "\n-- Testing array_product() function with three negative numbers --\n";
16 echo "\n-- Testing array_product() function with negative floats --\n";
19 echo "\n-- Testing array_product() function with negative floats --\n";
H A Dkey_basic.phpt9 echo "*** Testing key() : basic functionality ***\n";
12 echo "\n-- Initial Position: --\n";
15 echo "\n-- Next Position: --\n";
19 echo "\n-- End Position: --\n";
23 echo "\n-- Past end of the array --\n";
/PHP-8.1/ext/mbstring/tests/
H A Dmb_internal_encoding.phpt13 ($r === TRUE) ? print "OK_EUC-JP_SET\n" : print "NG_EUC-JP_SET\n";
15 print "$enc\n";
19 ($r === TRUE) ? print "OK_UTF-8_SET\n" : print "NG_UTF-8_SET\n";
21 print "$enc\n";
25 ($r === TRUE) ? print "OK_ASCII_SET\n" : print "NG_ASCII_SET\n";
27 print "$enc\n";
30 print "== INVALID PARAMETER ==\n";
41 print "$enc\n";
H A Dmb_preferred_mime_name.phpt10 echo "$str\n";
13 echo "$str\n";
16 echo "$str\n";
19 echo "$str\n";
22 echo "$str\n";
25 echo "$str\n";
28 echo "$str\n";
31 echo "$str\n";
34 echo "$str\n";
36 echo "== INVALID PARAMETER ==\n";
/PHP-8.1/ext/standard/tests/math/
H A Dpow_basic2.phpt10 echo "\n-- The following all result in INF --\n";
15 echo "\n\n-- The following all result in 0 --\n";
21 echo "\n\n-- The following all result in -0 --\n";
24 echo "\n\n-- The following all result in -INF --\n";
/PHP-8.1/ext/date/tests/
H A Dbug17988.phpt7 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n";
8 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n";
9 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n";
10 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n";
11 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n";
12 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-04"))."\n";
13 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+04"))."\n";
14 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0300"))."\n";
15 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0300"))."\n";
16 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-0330"))."\n";
[all …]
/PHP-8.1/ext/standard/tests/class_object/
H A Dforward_static_call_001.phpt10 echo static::NAME, "\n";
19 echo self::NAME, "\n";
24 echo self::NAME, "\n";
29 echo self::NAME, "\n";
40 echo self::NAME, "\n";
46 echo "-\n";
48 echo "-\n";
50 echo "-\n";
52 echo "-\n";
54 echo "-\n";
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dmd5.phpt5 echo md5("")."\n";
6 echo md5("a")."\n";
7 echo md5("abc")."\n";
8 echo md5("message digest")."\n";
9 echo md5("abcdefghijklmnopqrstuvwxyz")."\n";
10 echo md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")."\n";
11 echo md5("12345678901234567890123456789012345678901234567890123456789012345678901234567890")."\n";
H A Dhtmlspecialchars_decode_variation7.phpt21 echo "$t\tDECODED\n";
25 echo "\n*** XHTML 1.0/ENT_QUOTES ***\n";
32 echo "$t\tDECODED\n";
36 echo "\n*** HTML5/ENT_QUOTES ***\n";
43 echo "$t\tDECODED\n";
47 echo "\n*** XML 1.0/ENT_QUOTES ***\n";
54 echo "$t\tDECODED\n";
58 echo "\n*** HTML5/ENT_NOQUOTES ***\n";
65 echo "$t\tDECODED\n";
69 echo "\n*** HTML5/ENT_COMPAT ***\n";
[all …]
/PHP-8.1/ext/imap/tests/
H A Dimap_createmailbox_basic.phpt11 echo "*** Testing imap_createmailbox() : basic functionality ***\n";
19 echo "Newname will be '$newname'\n";
24 echo "Add a couple of msgs to '$newname' mailbox\n";
30 echo "Messages: " . $status->messages . "\n";
31 echo "Recent: " . $status->recent . "\n";
32 echo "Unseen: " . $status->unseen . "\n";
33 echo "UIDnext: " . $status->uidnext . "\n";
34 echo "UIDvalidity: " . $status->uidvalidity . "\n";
41 echo "Mailbox '$newname' removed to restore initial state\n";
43 echo "imap_deletemailbox on new mailbox failed: " . implode("\n", imap_errors()) . "\n";
[all …]
/PHP-8.1/ext/standard/tests/file/
H A Dbug79099.phpt5 var_dump(strip_tags("<?\n\"\n"));
6 var_dump(strip_tags("<\0\n!\n"));
7 var_dump(strip_tags("<\0\n?\n"));
/PHP-8.1/ext/hash/tests/
H A Dadler32.phpt5 echo hash('adler32', ''), "\n";
6 echo hash('adler32', 'a'), "\n";
7 echo hash('adler32', 'abc'), "\n";
8 echo hash('adler32', 'message digest'), "\n";
9 echo hash('adler32', 'abcdefghijklmnopqrstuvwxyz'), "\n";
10 echo hash('adler32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n";
11 …dler32', '12345678901234567890123456789012345678901234567890123456789012345678901234567890'), "\n";
/PHP-8.1/ext/pdo/tests/
H A Dbug_64172.phpt23 echo "===FAIL===\n";
25 echo "\n";
26 echo "===TEST===\n";
27 var_dump(is_string($db->errorInfo()[0])) . "\n";
28 var_dump(is_int($db->errorInfo()[1])) . "\n";
30 echo "===GOOD===\n";
36 echo "===FAIL===\n";
38 echo "\n";
39 echo "===TEST===\n";
41 var_dump(is_int($db->errorInfo()[1])) . "\n";
[all …]

Completed in 35 milliseconds

12345678910>>...384