Home
last modified time | relevance | path

Searched refs:n (Results 351 – 375 of 9184) sorted by relevance

1...<<11121314151617181920>>...368

/PHP-5.6/tests/output/
H A Dob_get_contents_basic_001.phpt14 echo "*** Testing ob_get_contents() : basic functionality ***\n";
17 echo "\n-- Testing ob_get_contents() function with Zero arguments --\n";
22 echo "Hello World\n";
28 echo "\ncheck that we dont have a reference\n";
30 echo "Hello World\n";
36 echo "\ncheck that contents disappear after a flush\n";
38 echo "Hello World\n";
43 echo "\ncheck that no contents found after an end\n";
45 echo "Hello World\n";
50 echo "Done\n";
/PHP-5.6/ext/hash/tests/
H A Dhash_pbkdf2_basic.phpt14 echo "*** Testing hash_pbkdf2() : basic functionality ***\n";
16 echo "sha1: " . hash_pbkdf2('sha1', 'password', 'salt', 1, 20)."\n";
17 echo "sha1(no length): " . hash_pbkdf2('sha1', 'password', 'salt', 1)."\n";
18 echo "sha1(raw): " . bin2hex(hash_pbkdf2('sha1', 'password', 'salt', 1, 20, TRUE))."\n";
19 …_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsaltSALTsalt', 4096, 25)."\n";
20 …('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsaltSALTsalt', 4096, 25, TRUE))."\n";
21 echo "sha256: " . hash_pbkdf2('sha256', 'password', 'salt', 1, 20)."\n";
22 echo "sha256(no length): " . hash_pbkdf2('sha256', 'password', 'salt', 1)."\n";
23 echo "sha256(raw): " . bin2hex(hash_pbkdf2('sha256', 'password', 'salt', 1, 20, TRUE))."\n";
24 …bkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTsaltSALTsaltSALTsaltSALTsalt', 4096, 40)."\n";
[all …]
/PHP-5.6/ext/spl/tests/
H A Ddllist_002.phpt14 echo "$k=>$v\n";
17 echo "->$k2=>$v2\n";
21 echo "# deleted\n";
24 echo "$k=>$v\n";
28 echo "# while popping\n";
31 echo "$k=>$v\n";
32 echo "popped ".$dll2->pop()."\n";
/PHP-5.6/Zend/tests/
H A Dbug49269.phpt7 public $n = 0;
10 return ($this->n < 3);
12 function current() {return $this->n;}
13 function next() {$this->n++;}
15 function rewind() {$this->n = 0;}
21 foreach ((true ? $array_object : $array_object) as $item) echo "$item\n";
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_begin_transaction.phpt24 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
27 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
37 printf("[005] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
40 printf("[006] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
43 printf("[007] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
46 printf("[008] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
59 printf("[012] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
80 printf("[014] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
83 printf("[015] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
[all …]
H A Dbug52891.phpt21 printf("[002] [%d] %s\n", $link->errno, $link->error);
26 printf("[003] [%d] %s\n", $link->errno, $link->error);
31 printf("[004] [%d] %s\n", $link->errno, $link->error);
34 printf("[005] [%d] %s\n", $link->errno, $link->error);
39 printf("[006] [%d] %s\n", $stmt1->errno, $stmt1->error);
42 printf("[007] [%d] %s\n", $stmt2->errno, $stmt2->error);
46 printf("[008] [%d] %s\n", $stmt1->errno, $stmt1->error);
49 printf("[009] [%d] %s\n", $stmt2->errno, $stmt2->error);
54 printf("[010] [%d] %s\n", $stmt2->errno, $stmt2->error);
87 echo "tsint:\n";
[all …]
H A Dmysqli_get_charset.phpt19 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
22 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[003] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
30 printf("[004] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
38 printf("[006] Need MySQL Server 4.1+ for the test!\n");
41 printf("[007] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
48 printf("[009] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
57 printf("[011] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
61 printf("[012] Cannot fetch Id/Number, test will fail\n");
68 printf("[014] Cannot fetch character_sets_dir, test will fail\n");
[all …]
H A Dmysqli_multi_query.phpt22 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
25 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
33 printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
51 printf("[005a] Strict Standards warning missing\n");
55 print trim($tmp) . "\n";
58 printf("[006] %d\n", $i);
69 printf("%d/%d\n", $i, mysqli_insert_id($link));
72 printf("[008] %d\n", $i);
89 printf("[009a] Strict Standards warning missing\n");
93 print trim($tmp) . "\n";
[all …]
/PHP-5.6/ext/oci8/tests/
H A Dfetch_object.phpt27 echo "Test 1\n";
30 die("oci_parse(select) failed!\n");
41 echo "Test 2\n";
44 die("oci_parse(select) failed!\n");
52 echo $row->caseSensitive . "\n";
53 echo $row->SECONDCOL . "\n";
54 echo $row->ANOTHERCOL . "\n";
57 echo "Test 3\n";
60 die("oci_parse(select) failed!\n");
68 echo $row->caseSensitive . "\n";
[all …]
H A Dfetch_object_1.phpt27 echo "Test 1\n";
30 die("oci_parse(select) failed!\n");
41 echo "Test 2\n";
44 die("oci_parse(select) failed!\n");
52 echo $row->caseSensitive . "\n";
53 echo $row->SECONDCOL . "\n";
54 echo $row->ANOTHERCOL . "\n";
57 echo "Test 3\n";
60 die("oci_parse(select) failed!\n");
68 echo $row->caseSensitive . "\n";
[all …]
/PHP-5.6/tests/lang/
H A DforeachLoopIterator.001.phpt12 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
18 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
24 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
30 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
36 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
45 echo "-----( Simple iteration: )-----\n";
47 echo "$k => $v\n";
54 echo "\n\n\n-----( Nested iteration: )-----\n";
57 echo "\nTop level " . $count++ . ": \n";
58 echo "$k => $v\n";
[all …]
H A DforeachLoopIteratorAggregate.003.phpt11 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
17 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
23 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
29 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
35 echo "$indent--> " . __METHOD__ . " ($this->pos)\n";
59 echo "\n-----( A1: )-----\n";
61 echo "$k => $v\n";
64 echo "\n-----( A2: )-----\n";
66 echo "$k => $v\n";
69 echo "\n-----( A3: )-----\n";
[all …]
/PHP-5.6/ext/pcre/pcrelib/testdata/
H A Dtestoutput1453 abc\n
165 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
178 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
180 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
192 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
194 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
204 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
207 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
231 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
242 (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\x…
[all …]
/PHP-5.6/ext/date/tests/
H A Dbug32270.phpt8 echo date("m/d/Y H:i:s T", -2145888000)."\n";
10 echo strtotime("Jan 1 1902")."\n";
12 echo date("m/d/Y H:i:s T", -631123200)."\n";
14 echo strtotime("Jan 1 1950")."\n";
16 echo date("m/d/Y H:i:s T", 946713600)."\n";
18 echo strtotime("Jan 1 2000")."\n";
H A Dbug34087.phpt6 echo "Y/m/d: ", strtotime("2005/8/12"), "\n";
7 echo "Y-m-d: ", strtotime("2005-8-12"), "\n";
9 echo date(DATE_ISO8601, strtotime("2005/1/2")), "\n";
10 echo date(DATE_ISO8601, strtotime("2005/01/02")), "\n";
11 echo date(DATE_ISO8601, strtotime("2005/01/2")), "\n";
12 echo date(DATE_ISO8601, strtotime("2005/1/02")), "\n";
/PHP-5.6/ext/posix/tests/
H A Dposix_getpwuid_basic.phpt9 echo "Basic test of POSIX getpwuid\n";
22 \[name\] => [^\r\n]+
23 \[passwd\] => [^\r\n]+
26 \[gecos\] => [^\r\n]*
27 \[dir\] => [^\r\n]+
28 \[shell\] => [^\r\n]+
/PHP-5.6/ext/standard/tests/strings/
H A Dimplode.phpt10 echo implode(array())."\n";
11 echo implode('nothing', array())."\n";
12 echo implode(array('foo', 'bar', 'baz'))."\n";
13 echo implode(':', array('foo', 'bar', 'baz'))."\n";
14 echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n";
15 echo $php_errormsg."\n";
/PHP-5.6/tests/classes/
H A D__set__get_001.phpt8 public $n;
12 echo "Getting [$nm]\n";
16 echo "Returning: $r\n";
20 echo "Nothing!\n";
25 echo "Setting [$nm] to $val\n";
29 echo "OK!\n";
32 echo "Not OK!\n";
40 $foo->n = 1;
61 ["n"]=>
H A Diterators_003.phpt13 echo __METHOD__ . "\n";
17 echo __METHOD__ . "\n";
25 echo __METHOD__ . "\n";
29 echo __METHOD__ . "\n";
42 echo __METHOD__ . "\n";
51 echo "continue outer\n";
56 echo "continue inner\n";
60 echo "break inner\n";
63 echo "double:$v:$w\n";
66 echo "break outer\n";
[all …]
/PHP-5.6/ext/mbstring/tests/
H A Dmb_strtolower_basic.phpt19 echo "*** Testing mb_strtolower() : basic functionality***\n";
26 echo "\n-- ASCII String --\n";
31 echo "Correctly converted\n";
33 echo "Incorrectly converted\n";
36 echo "\n-- Multibyte String --\n";
41 echo "Correctly converted\n";
43 echo "Incorreclty converted\n";
H A Dmb_strtoupper_basic.phpt19 echo "*** Testing mb_strtoupper() : basic functionality ***\n";
27 echo "\n-- ASCII String --\n";
32 echo "Correctly converted\n";
34 echo "Incorrectly converted\n";
37 echo "\n-- Multibyte String --\n";
42 echo "Correctly converted\n";
44 echo "Incorreclty converted\n";
/PHP-5.6/ext/standard/tests/array/
H A Deach_basic.phpt15 echo "*** Testing each() : basic functionality ***\n";
18 echo "\n-- Passed array: --\n";
21 echo "\n-- Initial position: --\n";
24 echo "\n-- End position: --\n";
28 echo "\n-- Passed the end of array: --\n";
/PHP-5.6/ext/gmp/tests/
H A Dgmp_hamdist.phpt13 $n = gmp_init("8765434567");
15 var_dump(gmp_hamdist($n, "8333765434567897654333334567"));
16 var_dump(gmp_hamdist($n, $n));
17 var_dump(gmp_hamdist($n, $n1));
19 var_dump(gmp_hamdist($n, $n1, 1));
20 var_dump(gmp_hamdist($n, array()));
21 var_dump(gmp_hamdist(array(), $n));
25 echo "Done\n";
/PHP-5.6/ext/standard/tests/file/
H A Ddisk_free_space_basic.phpt20 echo "*** Testing with existing directory ***\n";
24 echo "*** Testing with newly created directory ***\n";
27 echo" \n Free Space before writing to a file\n";
36 echo "\n Free Space after writing to a file\n";
41 echo "\n Free Space Value Is Correct\n";
43 echo "\n Free Space Value Is Incorrect\n";
47 echo "*** Testing with Binary Input ***\n";
50 echo"\n--- Done ---";
/PHP-5.6/ext/standard/tests/general_functions/
H A Dvar_export-locale.phpt43 echo "\n*** Output for integer values ***\n";
47 echo "\n";
49 echo "\n";
51 echo "\n";
67 echo "\n*** Output for boolean values ***\n";
105 echo "\n*** Output for float values ***\n";
138 echo "\n*** Output for strings ***\n";
171 echo "\n*** Output for arrays ***\n";
266 echo "\n*** Output for objects ***\n";
291 echo "\n*** Output for null values ***\n";
[all …]

Completed in 29 milliseconds

1...<<11121314151617181920>>...368