/PHP-5.6/tests/lang/ |
H A D | execution_order.phpt | 15 echo "1)"; 17 echo $c; 23 echo "2)"; 24 echo $c; 30 echo "3)"; 31 echo $c; 38 echo $c; 43 echo $c; 50 echo $c; 76 echo $z; [all …]
|
H A D | 033.phpt | 7 echo "If: "; 8 if ($a) echo 1; else echo 0; 10 echo 1; 12 echo 0; 15 echo "\nWhile: "; 18 echo ++$a; 21 echo "\nFor: "; 24 echo $a; 30 echo 0; 33 echo 1; [all …]
|
/PHP-5.6/ext/tokenizer/tests/ |
H A D | 001.phpt | 8 echo token_name(T_INCLUDE), "\n"; 10 echo token_name(T_EVAL), "\n"; 11 echo token_name(T_REQUIRE), "\n"; 16 echo token_name(T_PRINT), "\n"; 36 echo token_name(T_SL), "\n"; 37 echo token_name(T_SR), "\n"; 38 echo token_name(T_INC), "\n"; 39 echo token_name(T_DEC), "\n"; 49 echo token_name(T_IF), "\n"; 126 echo token_name(-1), "\n"; [all …]
|
/PHP-5.6/ext/date/tests/ |
H A D | DateTime_data-february.inc | 14 echo "test_bug_49081__1: "; 17 echo "test_bug_49081__2: "; 20 echo "test_bug_49081__3: "; 23 echo "test_bug_49081__4: "; 26 echo "test_bug_49081__5: "; 29 echo "test_bug_49081__6: "; 32 echo "test_bug_49081__7: "; 35 echo "test_bug_49081__8: "; 38 echo "test_bug_49081__9: "; 41 echo "test_bug_49081__10: "; [all …]
|
H A D | bug32086.phpt | 8 echo $g = strtotime("2004-11-01"), "\n"; 13 echo date("Y-m-d H:i:s T\n", $g); 14 echo date("Y-m-d H:i:s T\n", $i); 15 echo date("Y-m-d H:i:s T\n", $j); 16 echo date("Y-m-d H:i:s T\n", $k); 17 echo date("Y-m-d H:i:s T\n", $l); 24 echo date("Y-m-d H:i:s T\n", $g); 25 echo date("Y-m-d H:i:s T\n", $i); 26 echo date("Y-m-d H:i:s T\n", $j); 27 echo date("Y-m-d H:i:s T\n", $k); [all …]
|
H A D | DateTime_data-dates.inc | 14 echo "test__7: "; 17 echo "test_years_positive__7_by_0_day: "; 20 echo "test_years_positive__7_by_1_day: "; 24 echo "test_years_positive__6_shy_1_day: "; 27 echo "test_years_positive__7_by_1_month: "; 30 echo "test_years_positive__6_shy_1_month: "; 43 echo "test_negative__7: "; 46 echo "test_years_negative__7_by_0_day: "; 49 echo "test_years_negative__7_by_1_day: "; 53 echo "test_years_negative__6_shy_1_day: "; [all …]
|
H A D | bug33869.phpt | 7 echo date(DATE_ISO8601, strtotime('+5days', $tm)); 8 echo "\n"; 9 echo date(DATE_ISO8601, strtotime('+1month', $tm)); 10 echo "\n"; 11 echo date(DATE_ISO8601, strtotime('+1year', $tm)); 12 echo "\n"; 13 echo date(DATE_ISO8601, strtotime('+5 days', $tm)); 14 echo "\n"; 16 echo "\n"; 17 echo date(DATE_ISO8601, strtotime('+1 year', $tm)); [all …]
|
/PHP-5.6/ext/standard/tests/strings/ |
H A D | strip_tags.phpt | 5 echo strip_tags('NEAT <? cool < blah ?> STUFF'); 6 echo "\n"; 8 echo "\n"; 10 echo "\n"; 12 echo "\n"; 13 echo strip_tags('NEAT <? echo \"\\\"\"?> STUFF'); 14 echo "\n"; 15 echo strip_tags('NEAT <? echo \'\\\'\'?> STUFF'); 16 echo "\n"; 17 echo strip_tags('TESTS ?!!?!?!!!?!!'); [all …]
|
/PHP-5.6/tests/strings/ |
H A D | 001.phpt | 8 echo "Testing strtok: "; 16 echo("failed 1\n"); 18 echo("failed 2\n"); 20 echo("failed 3\n"); 22 echo("failed 4\n"); 24 echo("passed\n"); 32 echo("failed 1\n"); 36 echo("passed\n"); 49 echo("passed\n"); 56 echo("passed\n"); [all …]
|
/PHP-5.6/ext/mbstring/tests/ |
H A D | mb_convert_kana.phpt | 23 echo $zenKakuA . ' => ' . mb_convert_kana($zenKakuA, 'AZKH', 'utf-8'); 24 echo "\n"; 26 echo "\n"; 28 echo "\n"; 30 echo "\n"; 32 echo "\n"; 34 echo "\n"; 35 echo "\n"; 37 echo "\n"; 39 echo "\n"; [all …]
|
/PHP-5.6/tests/classes/ |
H A D | unset_properties.phpt | 76 echo "\n"; 78 echo "\n"; 81 echo "\n"; 83 echo "\n"; 85 echo "\n"; 87 echo "\n"; 89 echo "\n"; 92 echo "\n"; 94 echo "\n"; 100 echo "\n"; [all …]
|
H A D | interface_doubled.phpt | 37 echo "class_a\n"; 48 echo $t->test('if_a'); 49 echo $t->test('if_b'); 50 echo $t->test('if_c'); 51 echo $t->test('if_d'); 54 echo "class_b\n"; 71 echo "class_c\n"; 88 echo "class_d\n"; 105 echo "class_e\n"; 122 echo "class_f\n"; [all …]
|
/PHP-5.6/ext/standard/tests/streams/ |
H A D | bug46426.phpt | 10 echo stream_get_contents($tmp, 2, 1); 11 echo "\n"; 12 echo stream_get_contents($tmp, -1); 13 echo "\n"; 14 echo stream_get_contents($tmp, -1, 0); 15 echo "\n"; 17 echo "\n"; 18 echo stream_get_contents($tmp, 0, 0); 19 echo "\n"; 21 echo "\n"; [all …]
|
H A D | bug40459.phpt | 62 echo "\n"; 66 echo "\n"; 70 echo "\n"; 72 echo 'rmdir: '; 74 echo "\n"; 76 echo 'mkdir: '; 78 echo "\n"; 82 echo "\n"; 86 echo "\n"; 88 echo 'touch: '; [all …]
|
/PHP-5.6/Zend/tests/ |
H A D | bug66608.phpt | 7 echo "1\n"; 13 echo "2\n"; 19 echo "3\n"; 23 echo "4\n"; 27 echo "5\n"; 30 echo "6\n"; 35 echo "7\n"; 40 echo "bad"; 42 echo "9\n"; 55 echo "12\n"; [all …]
|
H A D | object_handlers.phpt | 41 echo $y,"\n"; 43 echo $y,"\n"; 45 echo $y,"\n"; 47 echo $y,"\n"; 49 echo $y,"\n"; 51 echo $y,"\n"; 53 echo $y,"\n"; 55 echo $y,"\n"; 59 echo $y,"\n"; 61 echo $y,"\n"; [all …]
|
H A D | bug36513.phpt | 6 …echo "'".trim(str_replace(" ", " ", htmlspecialchars_decode(strip_tags(highlight_string($s,1)… 9 eval('echo "1";//2'); 10 eval('echo 3; //{ 4?>5'); 11 echo "\n"; 13 //test('<?php echo "1";//'); 14 test('<?php echo "1";//2'); 15 test('<?php echo "1";//22'); 16 test('<?php echo 3; // 4 ?>5'); 20 '<?php echo "1";//2' 21 '<?php echo "1";//22' [all …]
|
/PHP-5.6/ext/standard/tests/general_functions/ |
H A D | 001.phpt | 10 echo("passed\n"); 12 echo("failed!\n"); 18 echo("passed\n"); 20 echo("failed!\n"); 26 echo("passed\n"); 28 echo("failed!\n"); 34 echo("passed\n"); 36 echo("failed!\n"); 42 echo("passed\n"); 44 echo("failed!\n"); [all …]
|
/PHP-5.6/ext/standard/tests/math/ |
H A D | constants_basic.phpt | 7 echo "M_E= "; 9 echo "M_LOG2E= "; 11 echo "M_LOG10E= "; 13 echo "M_LN2= "; 15 echo "M_LN10= "; 17 echo "M_PI= "; 19 echo "M_PI_2= "; 21 echo "M_PI_4= "; 23 echo "M_1_PI= "; 41 echo "INF= "; [all …]
|
/PHP-5.6/ext/phar/tests/ |
H A D | fgc_edgecases.phpt | 22 echo file_get_contents($fname); 30 echo file_get_contents("foob"); 34 echo file_get_contents("../oops"); 36 echo file_get_contents("./hi"); 56 echo file_get_contents("foob"); 60 echo file_get_contents("../oops"); 62 echo file_get_contents("./hi"); 73 echo file_get_contents("foob"); 79 echo file_get_contents("./hi"); 90 echo file_get_contents("foob"); [all …]
|
/PHP-5.6/ext/standard/tests/file/ |
H A D | 004.phpt | 12 echo "\n"; 18 echo 'OK'; 20 echo 'FAIL'; 22 echo "\n"; 28 echo 'OK'; 30 echo 'FAIL'; 32 echo "\n"; 37 echo 'OK'; 41 echo "\n"; 46 echo 'OK'; [all …]
|
/PHP-5.6/ext/dba/tests/ |
H A D | dba_cdb_read.phpt | 10 echo "database handler: cdb\n"; 24 echo $count; 28 echo "\n="; 29 echo dba_fetch(1, $db_file); 30 echo dba_fetch(2, $db_file); 31 echo dba_fetch(3, $db_file); 32 echo dba_fetch(4, $db_file); 33 echo "\n#"; 38 echo "\n?".$keys; 40 echo "\n#"; [all …]
|
/PHP-5.6/ext/filter/tests/ |
H A D | 003.phpt | 8 <?php echo $_GET['a']; 9 echo $_GET['b']; 10 echo $_GET['c']; 11 echo $_POST['d']; 12 echo $_POST['e']; 13 echo "\n"; 14 echo $_REQUEST['a']; 15 echo $_REQUEST['b']; 16 echo $_REQUEST['c']; 17 echo $_REQUEST['d']; [all …]
|
/PHP-5.6/ext/hash/tests/ |
H A D | crc32.phpt | 7 echo hash('crc32', ''), "\n"; 8 echo hash('crc32', 'a'), "\n"; 9 echo hash('crc32', 'abc'), "\n"; 10 echo hash('crc32', 'message digest'), "\n"; 11 echo hash('crc32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; 12 echo hash('crc32', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), "\n"; 14 echo hash('crc32b', ''), "\n"; 15 echo hash('crc32b', 'a'), "\n"; 16 echo hash('crc32b', 'abc'), "\n"; 17 echo hash('crc32b', 'message digest'), "\n"; [all …]
|
/PHP-5.6/ext/standard/tests/array/ |
H A D | sizeof_basic2.phpt | 28 echo "\n"; 31 echo "\n"; 34 echo "\n"; 39 echo "\n"; 42 echo "\n"; 45 echo "\n"; 50 echo "\n"; 53 echo "\n"; 56 echo "\n"; 61 echo "\n"; [all …]
|