/PHP-5.6/tests/output/ |
H A D | ob_get_contents_basic_001.phpt | 14 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 D | hash_pbkdf2_basic.phpt | 14 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 D | dllist_002.phpt | 14 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 D | bug49269.phpt | 7 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 D | mysqli_begin_transaction.phpt | 24 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 D | bug52891.phpt | 21 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 D | mysqli_get_charset.phpt | 19 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 D | mysqli_multi_query.phpt | 22 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 D | fetch_object.phpt | 27 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 D | fetch_object_1.phpt | 27 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 D | foreachLoopIterator.001.phpt | 12 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 D | foreachLoopIteratorAggregate.003.phpt | 11 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 D | testoutput14 | 53 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 D | bug32270.phpt | 8 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 D | bug34087.phpt | 6 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 D | posix_getpwuid_basic.phpt | 9 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 D | implode.phpt | 10 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.phpt | 8 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 D | iterators_003.phpt | 13 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 D | mb_strtolower_basic.phpt | 19 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 D | mb_strtoupper_basic.phpt | 19 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 D | each_basic.phpt | 15 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 D | gmp_hamdist.phpt | 13 $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 D | disk_free_space_basic.phpt | 20 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 D | var_export-locale.phpt | 43 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 …]
|