Home
last modified time | relevance | path

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

12345678910>>...373

/php-src/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-src/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-src/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-src/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-src/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 …]
H A Dnowait.phpt11 echo "P: parent process running.\n";
22 echo "P: got semaphore.\n";
38 echo "P: acquired semaphore.\n";
46 echo "P: acquired semaphore.\n";
53 echo "P: removing semaphore.\n";
72 echo "P: releasing semaphore.\n";
83 echo "C: removing semaphore.\n";
87 echo "C: child process running.\n";
90 echo "C: got semaphores.\n";
101 echo "C: releasing semaphore.\n";
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result.phpt19 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 echo $exception->getMessage() . "\n";
47 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
53 echo $exception->getMessage() . "\n";
73 printf("[017] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
79 echo $exception->getMessage() . "\n";
141 printf("[038] Expecting array, got %s/%s, [%d] %s\n",
146 printf("[039] Expecting boolean/false, got %s/%s, [%d] %s\n",
150 printf("[041] [%d] [%s]\n", mysqli_errno($link), mysqli_error($link));
157 printf("[042] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dmysqli_real_escape_string.phpt14 printf("[004] Expecting \\\\, got %s\n", $tmp);
17 printf("[005] Expecting \", got %s\n", $tmp);
20 printf("[006] Expecting ', got %s\n", $tmp);
22 if ("\\n" !== ($tmp = mysqli_real_escape_string($link, "\n")))
23 printf("[007] Expecting \\n, got %s\n", $tmp);
26 printf("[008] Expecting \\r, got %s\n", $tmp);
29 printf("[009] Expecting %s, got %s\n", "foo\\0bar", $tmp);
36 echo $exception->getMessage() . "\n";
/php-src/ext/standard/tests/strings/
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 …]
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";
/php-src/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-src/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-src/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-src/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_strrpos_basic.phpt11 echo "*** Testing mb_strrpos() : basic ***\n";
19 echo "\n-- ASCII string 1 --\n";
22 echo "\n-- ASCII string 2 --\n";
25 echo "\n-- ASCII string with negative offset --\n";
28 echo "\n-- Multibyte string 1 --\n";
32 echo "\n-- Multibyte string 2 --\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-src/ext/pdo_odbc/tests/
H A Dbasic_connection.phpt27 echo "Connected.\n\n";
30 echo $e->getMessage()."\n";
33 echo "dsn with credentials / no user / no password\n";
36 echo "Connected.\n\n";
39 echo $e->getMessage()."\n";
45 echo "Connected.\n\n";
48 echo $e->getMessage()."\n";
54 echo "Connected.\n\n";
57 echo $e->getMessage()."\n";
63 echo "Connected.\n";
[all …]
/php-src/ext/shmop/tests/
H A D001.phpt14 die("failed\n");
16 echo "ok\n";
24 echo "failed\n";
26 echo "ok\n";
34 echo "failed\n";
36 echo "ok\n";
51 echo "failed\n";
53 echo "ok\n";
59 die("failed\n");
61 echo "ok\n";
[all …]
/php-src/ext/dom/tests/
H A Dgh8996.phpt8 echo "=== __sleep and __wakeup ===\n";
33 echo "Serialized:\n-----------\n$serialized\n-----------\nRestored:\n-----------\n{$unserialized->s…
35 echo "=== __serialize and __unserialize ===\n";
56 echo "Serialized:\n-----------\n$serialized\n-----------\nRestored:\n-----------\n{$unserialized->s…
58 echo "=== serialize and unserialize ===\n";
79 echo "Serialized:\n-----------\n$serialized\n-----------\nRestored:\n-----------\n{$unserialized->s…
/php-src/tests/classes/
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-src/sapi/cli/tests/
H A Dbug78323.phpt24 echo $lines[0], "\n",
25 $lines[1], "\n",
26 "Done: $exitCode\n\n";
36 echo $lines[0], "\n",
37 $lines[1], "\n",
38 "Done: $exitCode\n\n";
48 echo $lines[0], "\n",
49 $lines[1], "\n",
50 "Done: $exitCode\n\n";
60 echo $lines[0], "\n",
[all …]
/php-src/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-src/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"));

Completed in 33 milliseconds

12345678910>>...373