/PHP-8.2/Zend/tests/closures/ |
H A D | closure_from_callable_error.phpt | 8 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.2/ext/enchant/tests/ |
H A D | broker_free_02.phpt | 9 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.2/Zend/tests/ |
H A D | foreach_017.phpt | 9 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 D | bug46304.phpt | 10 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.2/tests/lang/ |
H A D | foreachLoop.016.phpt | 6 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.2/ext/sysvsem/tests/ |
H A D | sysv.phpt | 12 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 D | nowait.phpt | 11 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-8.2/ext/standard/tests/strings/ |
H A D | htmlspecialchars_decode_variation7.phpt | 21 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 D | md5.phpt | 5 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-8.2/ext/standard/tests/array/ |
H A D | array_product_variation3.phpt | 5 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 D | key_basic.phpt | 9 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.2/ext/standard/tests/math/ |
H A D | pow_basic2.phpt | 10 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.2/ext/date/tests/ |
H A D | bug17988.phpt | 7 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.2/ext/mbstring/tests/ |
H A D | mb_internal_encoding.phpt | 13 ($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 D | mb_strrpos_basic.phpt | 11 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 D | mb_preferred_mime_name.phpt | 10 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.2/ext/pdo_odbc/tests/ |
H A D | basic_connection.phpt | 27 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-8.2/ext/shmop/tests/ |
H A D | 001.phpt | 14 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-8.2/ext/dom/tests/ |
H A D | gh8996.phpt | 8 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-8.2/tests/classes/ |
H A D | __call_006.phpt | 24 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.2/sapi/cli/tests/ |
H A D | bug78323.phpt | 24 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-8.2/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string.phpt | 14 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-8.2/ext/hash/tests/ |
H A D | adler32.phpt | 5 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.2/ext/standard/tests/file/ |
H A D | bug79099.phpt | 5 var_dump(strip_tags("<?\n\"\n")); 6 var_dump(strip_tags("<\0\n!\n")); 7 var_dump(strip_tags("<\0\n?\n"));
|
/PHP-8.2/ext/calendar/tests/ |
H A D | juliantojd.phpt | 7 echo juliantojd( 0, 0, 0). "\n"; 8 echo juliantojd( 1, 1, 1582). "\n"; 9 echo juliantojd(10, 5, 1582). "\n"; 10 echo juliantojd( 1, 1, 1970). "\n"; 11 echo juliantojd( 1, 1, 2999). "\n"; 12 echo juliantojd( 1, 1, -4713). "\n";
|