/PHP-5.4/ext/dom/tests/ |
H A D | domelement.phpt | 12 echo "Error while parsing the document\n"; 17 echo "Tag Name: ".$node->tagName."\n"; 21 echo "Chapter: ".$node->getAttribute('num')."\n"; 24 echo "Chapter: ".$node->getAttribute('num')."\n"; 27 echo "Language: ".$node->getAttribute('language')."\n"; 35 echo "\n-- xml:lang --\n"; 50 echo "Language: ".$lang->value."\n"; 52 echo "\n-- Elements --\n"; 54 echo "Row Count: ".$rows->length."\n"; 63 echo "myelements Count: ".$mylen."\n"; [all …]
|
H A D | DOMDocument_strictErrorChecking_variation.phpt | 12 echo "Load document\n"; 16 echo "See if strictErrorChecking is on\n"; 19 echo "Should throw DOMException when strictErrorChecking is on\n"; 23 echo "GOOD. DOMException thrown\n"; 24 echo $e->getMessage() ."\n"; 26 echo "OOPS. Other exception thrown\n"; 30 echo "Turn strictErrorChecking off\n"; 33 echo "See if strictErrorChecking is off\n"; 40 echo "OOPS. DOMException thrown\n"; 41 echo $e->getMessage() ."\n"; [all …]
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | md5raw.phpt | 5 echo bin2hex(md5("", TRUE))."\n"; 6 echo bin2hex(md5("a", TRUE))."\n"; 7 echo bin2hex(md5("abc", TRUE))."\n"; 8 echo bin2hex(md5("message digest", TRUE))."\n"; 9 echo bin2hex(md5("abcdefghijklmnopqrstuvwxyz", TRUE))."\n"; 10 echo bin2hex(md5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", TRUE))."\n"; 11 echo bin2hex(md5("12345678901234567890123456789012345678901234567890123456789012345678901234567890"…
|
H A D | printf_64bit.phpt | 59 echo "\n\nFloat Iteration $counter"; 62 echo "\n"; 78 echo "\n\nInteger Iteration $counter"; 81 echo "\n"; 96 echo "\n"; 108 echo "\n"; 119 echo "\n"; 130 echo "\n"; 141 echo "\n"; 152 echo "\n"; [all …]
|
H A D | printf.phpt | 59 echo "\n\nFloat Iteration $counter"; 62 echo "\n"; 78 echo "\n\nInteger Iteration $counter"; 81 echo "\n"; 96 echo "\n"; 108 echo "\n"; 119 echo "\n"; 130 echo "\n"; 141 echo "\n"; 152 echo "\n"; [all …]
|
H A D | printf_basic3.phpt | 27 echo "\n-- Calling printf() with no arguments--\n"; 29 echo "\n"; 32 echo "\n-- Calling printf() with one arguments--\n"; 34 echo "\n"; 37 echo "\n"; 40 echo "\n-- Calling printf() with two arguments--\n"; 42 echo "\n"; 45 echo "\n"; 48 echo "\n-- Calling printf() with three arguments--\n"; 50 echo "\n"; [all …]
|
/PHP-5.4/ext/hash/tests/ |
H A D | md4.phpt | 8 echo hash('md4', '') . "\n"; 9 echo hash('md4', 'a') . "\n"; 10 echo hash('md4', 'abc') . "\n"; 11 echo hash('md4', 'message digest') . "\n"; 12 echo hash('md4', 'abcdefghijklmnopqrstuvwxyz') . "\n"; 13 echo hash('md4', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789') . "\n"; 14 echo hash('md4', '12345678901234567890123456789012345678901234567890123456789012345678901234567890'…
|
/PHP-5.4/tests/lang/ |
H A D | comments.phpt | 11 echo '#ola'; //? 12 echo "\n"; 13 echo 'uhm # ah'; #ah? 14 echo "\n"; 15 echo "e este, # hein?"; 16 echo "\n";
|
H A D | 019.phpt | 10 eval("echo \"hey, this is a regular echo'd eval()\\n\";"); 17 hey, this is a regular echo'd eval() 19 hey, this is a regular echo'd eval() 21 hey, this is a regular echo'd eval() 23 hey, this is a regular echo'd eval() 25 hey, this is a regular echo'd eval() 27 hey, this is a regular echo'd eval() 29 hey, this is a regular echo'd eval() 31 hey, this is a regular echo'd eval() 33 hey, this is a regular echo'd eval() [all …]
|
H A D | 020.phpt | 11 echo "In branch 1\n"; 14 echo "This doesn't work... :(\n"; 17 echo "This works!\n"; 20 echo "Hmmm, no worki\n"; 23 echo "Inner default...\n"; 27 echo "blah=$blah\n"; 32 echo "In branch 2\n"; 35 echo "In branch \$i\n"; 38 echo "In branch 4\n"; 41 echo "Hi, I'm default\n";
|
/PHP-5.4/ext/standard/tests/math/ |
H A D | log10_basic.phpt | 19 echo "log10 $arg_0 = "; 23 echo "Pass\n"; 26 echo "Fail\n"; 29 echo "log10 $arg_1 = "; 33 echo "Pass\n"; 36 echo "Fail\n"; 39 echo "log10 $arg_2 = "; 43 echo "Pass\n"; 46 echo "Fail\n";
|
/PHP-5.4/Zend/tests/ |
H A D | closure_016.phpt | 7 echo "Hello World!\n"; 13 echo "Hello World!\n"; 18 echo $name."\n"; 20 echo $name."\n"; 22 echo $name."\n"; 24 echo $name."\n"; 27 echo $name."\n"; 29 echo $name."\n"; 31 echo $name."\n"; 33 echo $name."\n";
|
H A D | bug29210.phpt | 7 echo "test_func1\n"; 10 echo "test_func2\n"; 13 echo "test_func3\n"; 16 echo "test_func4\n"; 22 echo "test_func1 isn't callable from inside\n"; 27 echo "test_func2 isn't callable from inside\n"; 32 echo "test_func3 isn't callable from inside\n"; 72 echo "test_func1 isn't callable from outside\n"; 77 echo "test_func2 isn't callable from outside\n"; 82 echo "test_func3 isn't callable from outside\n"; [all …]
|
H A D | closure_043.phpt | 20 echo "Before binding", "\n"; 21 $staticUnscoped(); echo "\n"; 22 $staticScoped(); echo "\n"; 24 echo "After binding, null scope, no instance", "\n"; 26 $d = $staticScoped->bindTo(null, null); $d(); echo "\n"; 28 echo "After binding, null scope, with instance", "\n"; 32 echo "After binding, with scope, no instance", "\n"; 34 $d = $staticScoped->bindTo(null, 'A'); $d(); echo "\n"; 36 echo "After binding, with scope, with instance", "\n"; 38 $d = $staticScoped->bindTo(new A, 'A'); $d(); echo "\n"; [all …]
|
/PHP-5.4/ext/spl/tests/ |
H A D | pqueue_002.phpt | 15 echo "inserted 1\n"; 17 echo "inserted 2\n"; 19 echo "inserted 3\n"; 21 echo "Exception: ".$e->getMessage()."\n"; 26 echo "inserted 4\n"; 28 echo "Exception: ".$e->getMessage()."\n"; 34 echo "Exception: ".$e->getMessage()."\n"; 39 echo "Exception: ".$e->getMessage()."\n"; 42 echo "Recovering..\n"; 48 echo "Exception: ".$e->getMessage()."\n"; [all …]
|
H A D | heap_004.phpt | 15 echo "inserted 1\n"; 17 echo "inserted 2\n"; 19 echo "inserted 3\n"; 21 echo "Exception: ".$e->getMessage()."\n"; 26 echo "inserted 4\n"; 28 echo "Exception: ".$e->getMessage()."\n"; 34 echo "Exception: ".$e->getMessage()."\n"; 39 echo "Exception: ".$e->getMessage()."\n"; 42 echo "Recovering..\n"; 48 echo "Exception: ".$e->getMessage()."\n"; [all …]
|
H A D | iterator_007.phpt | 10 echo __METHOD__ . "\n"; 15 echo __METHOD__ . "\n"; 20 echo __METHOD__ . "\n"; 25 echo __METHOD__ . "\n"; 30 echo __METHOD__ . "\n"; 39 echo __METHOD__ . "\n"; 66 echo "===0===\n"; 71 echo "===1===\n"; 80 echo "===2===\n"; 88 echo "===3===\n"; [all …]
|
/PHP-5.4/ext/date/tests/ |
H A D | DateTime_data-fall-type2-type2.inc | 23 echo "test_time_fall_type2_prev_type2_prev: "; 28 echo "test_time_fall_type2_prev_type2_dt: "; 43 echo "test_time_fall_type2_prev_type2_st: "; 48 echo "test_time_fall_type2_prev_type2_post: "; 53 echo "test_time_fall_type2_dt_type2_prev: "; 58 echo "test_time_fall_type2_dt_type2_dt: "; 73 echo "test_time_fall_type2_dt_type2_st: "; 78 echo "test_time_fall_type2_dt_type2_post: "; 143 echo "test_time_fall_type2_st_type2_prev: "; 148 echo "test_time_fall_type2_st_type2_dt: "; [all …]
|
H A D | rfc-datetime_and_daylight_saving_time-type1.phpt | 51 echo "\n"; 60 echo 'fa1 ' . $start->format($date_format) . " + $interval_spec = " 93 echo "\n"; 102 echo 'fs1 ' . $end->format($date_format) . " - $interval_spec = " 108 echo 'fs2 ' . $end->format($date_format) . " - $interval_spec = " 114 echo 'fs3 ' . $end->format($date_format) . " - $interval_spec = " 120 echo 'fs4 ' . $end->format($date_format) . " - $interval_spec = " 126 echo 'fs5 ' . $end->format($date_format) . " - $interval_spec = " 141 echo "\n"; 187 echo "\n"; [all …]
|
H A D | bug43452.phpt | 9 echo date( DateTime::ISO8601, $day ), "\n"; 11 echo date( DateTime::ISO8601, $day ), "\n"; 13 echo date( DateTime::ISO8601, $day ), "\n"; 15 echo date( DateTime::ISO8601, $day ), "\n\n"; 19 echo date( DateTime::ISO8601, $day ), "\n"; 21 echo date( DateTime::ISO8601, $day ), "\n"; 23 echo date( DateTime::ISO8601, $day ), "\n"; 31 echo date( DateTime::ISO8601, $day ), "\n"; 33 echo date( DateTime::ISO8601, $day ), "\n"; 35 echo date( DateTime::ISO8601, $day ), "\n"; [all …]
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | 005.phpt | 34 echo "Try __autoload()\n"; 50 echo __METHOD__ . "()\n"; 55 echo __METHOD__ . "()\n"; 102 echo "===O1===\n"; 106 echo "===N1===\n"; 110 echo "===N2===\n"; 114 echo "===NAOld===\n"; 117 echo "===NANew===\n"; 120 echo "===NANew2===\n"; 123 echo "===AutoOld===\n"; [all …]
|
/PHP-5.4/ext/oci8/tests/ |
H A D | bug51291_1.phpt | 15 echo "2nd call\n"; 60 else echo $r; 61 echo "\n"; 79 else echo $r; 80 echo "\n"; 98 else echo $r; 99 echo "\n"; 117 else echo $r; 118 echo "\n"; 135 else echo $r; [all …]
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_merge_variation10.phpt | 15 echo "*** Testing array_merge() : usage variations ***\n"; 21 echo "\n-- Call array_merge() --\n"; 24 echo "\n-- Position of Internal Pointer in Result: --\n"; 25 echo key($result) . " => " . current($result) . "\n"; 28 echo "\$arr1: "; 29 echo key($arr1) . " => " . current ($arr1) . "\n"; 30 echo "\$arr2: "; 31 echo key($arr2) . " => " . current ($arr2) . "\n"; 32 echo "\$arr3: "; 33 echo key($arr3) . " => " . current ($arr3) . "\n"; [all …]
|
H A D | array_shift_variation4.phpt | 18 echo "\n-- Before shift: --\n"; 19 echo "---- \$stack_first:\n"; 21 echo "---- \$stack_last:\n"; 24 echo "\n-- After shift: --\n"; 25 echo "---- Pop array from array:\n"; 26 echo "Returned value:\t"; 28 echo "New array:\n"; 31 echo "---- Pop element from array within array:\n"; 32 echo "Returned value:\t"; 34 echo "New array:\n"; [all …]
|
/PHP-5.4/sapi/cli/tests/ |
H A D | 017.phpt | 17 echo 'Hello world'; 22 echo 'multine 29 echo <<<HEREDOC 39 echo "I'm not there"; 41 echo "Done"; 46 echo "I was called!"; 52 echo "\n--------------\nSnippet no. $key:\n--------------\n"; 54 echo `echo $code | "$php" -a`, "\n"; 57 echo "\nDone\n";
|