Home
last modified time | relevance | path

Searched refs:n (Results 426 – 450 of 9977) sorted by relevance

1...<<11121314151617181920>>...400

/php-src/ext/enchant/tests/
H A Ddict_is_in_session.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
10 …ker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
19 echo("OK\n");
23 echo("OK\n");
29 echo("dict add to personal failed\n");
32 echo("broker request dict failed\n");
35 echo("broker is not a resource; failed;\n");
37 echo("OK\n");
H A Ddict_store_replacement.phpt9 if (!is_object(enchant_broker_init())) {die("skip, resource dont load\n");}
10 …ker_list_dicts(enchant_broker_init()))) {die("skip, no dictionary installed on this machine! \n");}
20 echo("OK\n");
24 echo("OK\n");
30 echo("dict add to personal failed\n");
33 echo("broker request dict failed\n");
36 echo("broker is not a resource; failed;\n");
38 echo "OK\n";
/php-src/ext/spl/tests/
H A Ddllist_004.phpt10 echo "Exception: ".$e->getMessage()."\n";
15 echo "Exception: ".$e->getMessage()."\n";
21 echo $stack->pop()."\n";
26 echo $stack->top()."\n";
30 echo "[$elem]\n";
36 echo count($stack)."\n";
37 echo $stack->count()."\n";
45 echo count($stack)."\n";
H A Ddllist_005.phpt10 echo "Exception: ".$e->getMessage()."\n";
15 echo "Exception: ".$e->getMessage()."\n";
21 echo $queue->dequeue()."\n";
26 echo $queue->top()."\n";
30 echo "[$elem]\n";
36 echo count($queue)."\n";
37 echo $queue->count()."\n";
45 echo count($queue)."\n";
H A DarrayObject_magicMethods1.phpt34 echo "\n--> Write existent, non-existent and dynamic:\n";
38 echo " Original wrapped object:\n";
40 echo " Wrapping ArrayObject:\n";
43 echo "\n--> Read existent, non-existent and dynamic:\n";
47 echo " Original wrapped object:\n";
49 echo " Wrapping ArrayObject:\n";
52 echo "\n--> isset existent, non-existent and dynamic:\n";
56 echo " Original wrapped object:\n";
58 echo " Wrapping ArrayObject:\n";
61 echo "\n--> Unset existent, non-existent and dynamic:\n";
[all …]
H A DarrayObject_magicMethods3.phpt34 echo "\n--> Write existent, non-existent and dynamic:\n";
38 echo " Original wrapped object:\n";
40 echo " Wrapping ArrayObject:\n";
43 echo "\n--> Read existent, non-existent and dynamic:\n";
47 echo " Original wrapped object:\n";
49 echo " Wrapping ArrayObject:\n";
52 echo "\n--> isset existent, non-existent and dynamic:\n";
56 echo " Original wrapped object:\n";
58 echo " Wrapping ArrayObject:\n";
61 echo "\n--> Unset existent, non-existent and dynamic:\n";
[all …]
/php-src/ext/standard/tests/class_object/
H A Dget_declared_classes_basic_001.phpt5 echo "*** Testing get_declared_classes() : basic functionality ***\n";
8 echo "\n-- Testing get_declared_classes() function with Zero arguments --\n";
13 echo "Error: $class is not a valid class.\n";
17 echo "\n-- Ensure userspace classes are listed --\n";
21 echo "\n-- Ensure userspace interfaces are not listed --\n";
H A Dget_declared_interfaces_basic_001.phpt5 echo "*** Testing get_declared_interfaces() : basic functionality ***\n";
8 echo "\n-- Testing get_declared_interfaces() function with Zero arguments --\n";
13 echo "Error: $interface is not a valid interface.\n";
17 echo "\n-- Ensure userspace classes are not listed --\n";
21 echo "\n-- Ensure userspace interfaces are listed --\n";
H A Dinterface_exists_variation3.phpt5 echo "*** Testing interface_exists() : autoloaded interface ***\n";
11 echo "\n-- no autoloading --\n";
14 echo "\n-- with autoloading --\n";
17 echo "\nDONE\n";
/php-src/Zend/tests/
H A Dbug53958.phpt7 $fn1 = function() use ($a) {echo "$a\n"; $a++;};
8 $fn2 = function() use ($a) {echo "$a\n"; $a++;};
17 $fn1 = function() use (&$b) {echo "$b\n"; $b++;};
18 $fn2 = function() use (&$b) {echo "$b\n"; $b++;};
27 $fn1 = function() use (&$c) {echo "$c\n"; $c++;};
28 $fn2 = function() use ($c) {echo "$c\n"; $c++;};
37 $fn1 = function() use ($d) {echo "$d\n"; $d++;};
38 $fn2 = function() use (&$d) {echo "$d\n"; $d++;};
/php-src/ext/standard/tests/general_functions/
H A Dvar_export_basic7.phpt5 echo "*** Testing var_export() with valid null values ***\n";
19 echo "\n*** Output for null values ***\n";
21 echo "\n-- Iteration: $key --\n";
23 echo "\n";
25 echo "\n";
27 echo "\n";
/php-src/ext/dom/tests/modern/spec/
H A DCharacterData_replaceData_negative_count_mod32.phpt12 echo "--- Modern behaviour ---\n";
17 echo $dom->saveHtml($comment), "\n";
20 echo $dom->saveHtml($comment), "\n";
22 echo "--- Legacy behaviour ---\n";
29 echo $e->getMessage(), "\n";
31 echo $dom->saveHtml($comment), "\n";
35 echo $e->getMessage(), "\n";
37 echo $dom->saveHtml($comment), "\n";
/php-src/tests/lang/
H A Dbug22510.phpt12 print __CLASS__."::".__FUNCTION__."\n";
17 print __CLASS__."::".__FUNCTION__."\n";
22 print __CLASS__."::".__FUNCTION__."\n";
59 print __FUNCTION__."\n";
65 print __FUNCTION__."\n";
70 print __FUNCTION__."\n";
76 print __FUNCTION__."\n";
85 print "done!\n";
88 print "done!\n";
91 print "done!\n";
[all …]
/php-src/ext/gettext/tests/
H A D44938.phpt15 echo $exception->getMessage() . "\n";
21 echo $exception->getMessage() . "\n";
27 echo $exception->getMessage() . "\n";
33 echo $exception->getMessage() . "\n";
39 echo $exception->getMessage() . "\n";
45 echo $exception->getMessage() . "\n";
51 echo $exception->getMessage() . "\n";
57 echo $exception->getMessage() . "\n";
63 echo $exception->getMessage() . "\n";
69 echo $exception->getMessage() . "\n";
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_multires.phpt15 printf("[001] [%d] %s\n", $link->error, $link->errno);
19 printf("[002] [%d] %s\n", $link->error, $link->errno);
23 printf("[003] [%d] %s\n", $stmt->error, $stmt->errno);
27 printf("[005] [%d] %s\n", $stmt->error, $stmt->errno);
44 printf("[007] Shouldn't have fetched anything\n");
49 printf("[008] No more rows expected\n");
53 printf("[009] Expected more results\n");
70 printf("[012] No more rows expected\n");
74 printf("[013] Expected more results\n");
80 printf("[014] No more results expected\n");
[all …]
H A Dmysqli_real_escape_string_eucjpms.phpt11 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
25 passwd=***, dbname=%s, port=%s, socket=%s - [%d] %s\n", $host, $user, $db,
30 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link),
36 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link),
43 printf("[004] Expecting \\\\, got %s\n", $tmp);
46 printf("[005] Expecting \", got %s\n", $tmp);
49 printf("[006] Expecting ', got %s\n", $tmp);
51 …if ("�����Ȥ߹�碌�Ǥ�\\n�����Ȥ߹�碌�Ǥ�" !== ($tmp = mysqli_real_escape_string($link, "�����Ȥ߹�碌�Ǥ�\n����…
52 printf("[007] Expecting \\n, got %s\n", $tmp);
55 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_real_escape_string_euckr.phpt11 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
24 passwd=***, dbname=%s, port=%s, socket=%s - [%d] %s\n", $host, $user, $db,
29 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link),
35 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link),
42 printf("[004] Expecting \\\\, got %s\n", $tmp);
45 printf("[005] Expecting \", got %s\n", $tmp);
48 printf("[006] Expecting ', got %s\n", $tmp);
50 if ("�Ǵ뼺\\n�Ǵ뼺" !== ($tmp = mysqli_real_escape_string($link, "�Ǵ뼺\n�Ǵ뼺")))
51 printf("[007] Expecting \\n, got %s\n", $tmp);
54 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_real_escape_string_gb2312.phpt11 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
25 passwd=***, dbname=%s, port=%s, socket=%s - [%d] %s\n", $host, $user, $db,
30 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link),
36 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link),
43 printf("[004] Expecting \\\\, got %s\n", $tmp);
46 printf("[005] Expecting \", got %s\n", $tmp);
49 printf("[006] Expecting ', got %s\n", $tmp);
51 if ("����\\n����" !== ($tmp = mysqli_real_escape_string($link, "����\n����")))
52 printf("[007] Expecting \\n, got %s\n", $tmp);
55 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_real_escape_string_gbk.phpt10 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
25 passwd=***, dbname=%s, port=%s, socket=%s - [%d] %s\n", $host, $user, $db,
30 printf("Failed to drop old test table: [%d] %s\n", mysqli_errno($link),
36 printf("Failed to create test table: [%d] %s\n", mysqli_errno($link),
43 printf("[004] Expecting \\\\, got %s\n", $tmp);
46 printf("[005] Expecting \", got %s\n", $tmp);
49 printf("[006] Expecting ', got %s\n", $tmp);
51 if ("�İ汾\\n�İ汾" !== ($tmp = mysqli_real_escape_string($link, "�İ汾\n�İ汾")))
52 printf("[007] Expecting \\n, got %s\n", $tmp);
55 printf("[008] Expecting \\r, got %s\n", $tmp);
[all …]
H A Dmysqli_stmt_free_result.phpt19 printf("[003] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
25 echo $exception->getMessage() . "\n";
29 printf("[005] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
32 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
35 printf("[007] [%d] %s\n", mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
38 printf("[008] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
41 printf("[009] Expecting boolean/false, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[010] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
55 printf("[013] Expecting boolean/true, got %s/%s\n", gettype($tmp), $tmp);
58 printf("[014] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
[all …]
/php-src/ext/standard/tests/file/
H A Dstream_rfc2397_007.phpt14 echo "===$stream===\n";
20 echo "===S:4,S===\n";
24 echo "===GETC===\n";
28 echo "===GETC===\n";
33 echo "===REWIND===\n";
37 echo "===GETC===\n";
41 echo "===S:3,S===\n";
45 echo "===S:1,C===\n";
49 echo "===S:-2,C===\n";
57 echo "===S:3,S===\n";
[all …]
H A Dsymlink_link_linkinfo_is_link_variation4.phpt21 echo "\n-- Access data of the file through the hard link --\n";
28 echo "\n-- Check size of hard link and file --\n";
30 echo "\nSize of file and hard link are same\n";
32 echo "\nWarning: Size of file and hard link differ\n";
34 echo "\n-- Updating file with data through hard link --\n";
44 echo "\n-- Check size of hard link and file --\n";
46 echo "\nSize of file and hard link are same\n";
50 echo "\n-- Updating file with data and check data through hard link --\n";
60 echo "\n-- Check size of hard link and file --\n";
64 echo "\nSize of file and hard link are same\n";
[all …]
/php-src/ext/fileinfo/libmagic/
H A Dcompress.c389 size_t rn = n; in swrite()
398 n -= rv; in swrite()
452 n = t; in sread()
453 rn = n; in sread()
467 n -= rv; in sread()
574 if (*n < 4) { in uncompressgzipped()
749 in.size = *n; in uncompresszstd()
759 *n = out.pos; in uncompresszstd()
950 if (swrite(fd, old, n) != CAST(ssize_t, n)) { in writechild()
985 return n; in filter_error()
[all …]
/php-src/ext/date/tests/
H A Dbug72719.phpt5 echo (new DateTimeImmutable('Monday next week 13:00'))->format('l'), "\n";
6 echo (new DateTimeImmutable('Tuesday next week 14:00'))->format('l'), "\n";
7 echo (new DateTimeImmutable('Wednesday next week 14:00'))->format('l'), "\n";
8 echo (new DateTimeImmutable('Thursday next week 15:00'))->format('l'), "\n";
9 echo (new DateTimeImmutable('Friday next week 16:00'))->format('l'), "\n";
10 echo (new DateTimeImmutable('Saturday next week 17:00'))->format('l'), "\n";
11 echo (new DateTimeImmutable('Sunday next week 18:00'))->format('l'), "\n";
H A DDatePeriod_IteratorAggregate.phpt8 echo "$i: ", $date->format('Y-m-d'), "\n";
11 echo "\n";
13 echo "$i: ", $date->format('Y-m-d'), "\n";
16 echo "\n";
21 echo "$i: ", $date->format('Y-m-d'), "\n";
24 echo "\n";
29 echo "$i: ", $date->format('Y-m-d'), "\n";
32 echo "\n";
41 echo "\n";
54 echo "\n";
[all …]

Completed in 31 milliseconds

1...<<11121314151617181920>>...400