/php-src/Zend/tests/try/ |
H A D | bug74444.phpt | 7 echo ''; 8 echo ''; 9 echo ''; 10 echo ''; 11 echo ''; 12 echo ''; 13 echo ''; 14 echo ''; 15 echo ''; 16 echo ''; [all …]
|
/php-src/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-src/ext/tokenizer/tests/ |
H A D | 001.phpt | 11 echo token_name(T_INCLUDE), "\n"; 13 echo token_name(T_EVAL), "\n"; 14 echo token_name(T_REQUIRE), "\n"; 19 echo token_name(T_PRINT), "\n"; 39 echo token_name(T_SL), "\n"; 40 echo token_name(T_SR), "\n"; 41 echo token_name(T_INC), "\n"; 42 echo token_name(T_DEC), "\n"; 52 echo token_name(T_IF), "\n"; 130 echo token_name(-1), "\n"; [all …]
|
/php-src/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 …]
|
/php-src/ext/bcmath/tests/number/operators/ |
H A D | compound_assignment.phpt | 12 echo $num . "\n"; 14 echo $num . "\n"; 16 echo $num . "\n"; 18 echo "\n"; 24 echo $num . "\n"; 26 echo $num . "\n"; 30 echo "\n"; 42 echo "\n"; 54 echo "\n"; 66 echo "\n"; [all …]
|
/php-src/Zend/tests/grammar/ |
H A D | semi_reserved_003.phpt | 47 var $echo = 'echo'; 107 echo $obj->and, PHP_EOL; 114 echo $obj->new, PHP_EOL; 115 echo $obj->or, PHP_EOL; 128 echo $obj->echo, PHP_EOL; 140 echo $obj->fn, PHP_EOL; 141 echo $obj->if, PHP_EOL; 148 echo $obj->do, PHP_EOL; 150 echo $obj->as, PHP_EOL; 167 echo "\nDone\n"; [all …]
|
H A D | semi_reserved_004.phpt | 47 static $echo = 'echo'; 105 echo Obj::$and, PHP_EOL; 112 echo Obj::$new, PHP_EOL; 113 echo Obj::$or, PHP_EOL; 126 echo Obj::$echo, PHP_EOL; 138 echo Obj::$fn, PHP_EOL; 139 echo Obj::$if, PHP_EOL; 146 echo Obj::$do, PHP_EOL; 148 echo Obj::$as, PHP_EOL; 165 echo "\nDone\n"; [all …]
|
H A D | semi_reserved_005.phpt | 46 const ECHO = 'echo'; 102 echo Obj::AND, PHP_EOL; 109 echo Obj::NEW, PHP_EOL; 110 echo Obj::OR, PHP_EOL; 111 echo Obj::XOR, PHP_EOL; 135 echo Obj::FN, PHP_EOL; 136 echo Obj::IF, PHP_EOL; 143 echo Obj::DO, PHP_EOL; 145 echo Obj::AS, PHP_EOL; 161 echo "\nDone\n"; [all …]
|
H A D | semi_reserved_001.phpt | 8 function empty(){ echo __METHOD__, PHP_EOL; } 9 function callable(){ echo __METHOD__, PHP_EOL; } 10 function class(){ echo __METHOD__, PHP_EOL; } 11 function trait(){ echo __METHOD__, PHP_EOL; } 12 function extends(){ echo __METHOD__, PHP_EOL; } 16 function final(){ echo __METHOD__, PHP_EOL; } 34 function or(){ echo __METHOD__, PHP_EOL; } 47 function echo(){ echo __METHOD__, PHP_EOL; } 128 $obj->echo(); 167 echo "\nDone\n"; [all …]
|
H A D | semi_reserved_002.phpt | 8 static function empty(){ echo __METHOD__, PHP_EOL; } 9 static function callable(){ echo __METHOD__, PHP_EOL; } 10 static function class(){ echo __METHOD__, PHP_EOL; } 11 static function trait(){ echo __METHOD__, PHP_EOL; } 12 static function extends(){ echo __METHOD__, PHP_EOL; } 16 static function final(){ echo __METHOD__, PHP_EOL; } 34 static function or(){ echo __METHOD__, PHP_EOL; } 47 static function echo(){ echo __METHOD__, PHP_EOL; } 125 Obj::echo(); 163 echo "\nDone\n"; [all …]
|
/php-src/tests/basic/ |
H A D | precision.phpt | 10 echo "INI".PHP_EOL; 15 echo "OUTPUTS".PHP_EOL; 21 echo "INI".PHP_EOL; 26 echo "OUTPUTS".PHP_EOL; 31 echo "INI".PHP_EOL; 36 echo "OUTPUTS".PHP_EOL; 41 echo "INI".PHP_EOL; 46 echo "OUTPUTS".PHP_EOL; 51 echo "INI".PHP_EOL; 61 echo "INI".PHP_EOL; [all …]
|
/php-src/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-src/ext/bcmath/tests/ |
H A D | str2num_formatting.phpt | 11 echo bcadd("1", "2"),"\n"; 13 echo bcadd("", "2", 2),"\n"; 14 echo bcadd("+0", "2"), "\n"; 15 echo bcadd("-0", "2"), "\n"; 17 echo "\n"; 20 echo bcadd(" 0", "2"); 26 echo bcadd("1e1", "2"); 32 echo bcadd("1,1", "2"); 55 echo "\n"; 59 echo bccomp("", "2"),"\n"; [all …]
|
/php-src/ext/hash/tests/ |
H A D | crc32.phpt | 5 echo "crc32\n"; 6 echo hash('crc32', ''), "\n"; 7 echo hash('crc32', 'a'), "\n"; 8 echo hash('crc32', 'abc'), "\n"; 28 echo "crc32b\n"; 29 echo hash('crc32b', ''), "\n"; 30 echo hash('crc32b', 'a'), "\n"; 31 echo hash('crc32b', 'abc'), "\n"; 51 echo "crc32c\n"; 52 echo hash('crc32c', ''), "\n"; [all …]
|
H A D | hash_hkdf_basic.phpt | 6 echo "*** Testing hash_hkdf(): basic functionality ***\n"; 10 echo 'md2: ', bin2hex(hash_hkdf('md2', $ikm)), "\n"; 11 echo 'md4: ', bin2hex(hash_hkdf('md4', $ikm)), "\n"; 12 echo 'md5: ', bin2hex(hash_hkdf('md5', $ikm)), "\n"; 13 echo 'sha1: ', bin2hex(hash_hkdf('sha1', $ikm)), "\n"; 14 echo 'sha224: ', bin2hex(hash_hkdf('sha224', $ikm)), "\n"; 15 echo 'sha256: ', bin2hex(hash_hkdf('sha256', $ikm)), "\n"; 16 echo 'sha384: ', bin2hex(hash_hkdf('sha384', $ikm)), "\n"; 17 echo 'sha512: ', bin2hex(hash_hkdf('sha512', $ikm)), "\n"; 44 echo 'snefru: ', bin2hex(hash_hkdf('snefru', $ikm)), "\n"; [all …]
|
/php-src/ext/standard/tests/math/ |
H A D | bug24142.phpt | 5 echo "round(0.005, 2)\n"; 7 echo "\n"; 9 echo "round(0.015, 2)\n"; 11 echo "\n"; 13 echo "round(0.025, 2)\n"; 15 echo "\n"; 19 echo "\n"; 23 echo "\n"; 27 echo "\n"; 31 echo "\n"; [all …]
|
H A D | constants_basic.phpt | 5 echo "M_E= "; 7 echo "M_LOG2E= "; 9 echo "M_LOG10E= "; 11 echo "M_LN2= "; 13 echo "M_LN10= "; 15 echo "M_PI= "; 17 echo "M_PI_2= "; 19 echo "M_PI_4= "; 21 echo "M_1_PI= "; 39 echo "INF= "; [all …]
|
/php-src/Zend/tests/offsets/ |
H A D | test_variable_offsets.inc | 7 echo "Read before write:\n"; 10 echo $e->getMessage(), "\n"; 14 echo "Write:\n"; 21 echo "Read:\n"; 28 echo "Read-Write:\n"; 35 echo "isset():\n"; 41 echo "empty():\n"; 47 echo "null coalesce:\n"; 66 echo "unset():\n"; 73 echo "Nested read:\n"; [all …]
|
/php-src/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 …]
|
/php-src/Zend/tests/match/ |
H A D | 039.phpt | 8 echo match ($value) { 16 echo "\n"; 18 echo match ($value) { 25 echo "\n"; 27 echo match ($value) { 34 echo "\n"; 36 echo match ($value) { 40 echo "\n"; 42 echo match ($value) { 46 echo "\n"; [all …]
|
/php-src/tests/strings/ |
H A D | 001.phpt | 6 echo "Testing strtok: "; 14 echo("failed 1\n"); 16 echo("failed 2\n"); 18 echo("failed 3\n"); 20 echo("failed 4\n"); 22 echo("passed\n"); 30 echo("failed 1\n"); 34 echo("passed\n"); 47 echo("passed\n"); 54 echo("passed\n"); [all …]
|
/php-src/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"; 40 echo "bad"; 42 echo "9\n"; 52 echo "bak\n"; 55 echo "12\n"; [all …]
|
/php-src/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 …]
|
/php-src/ext/phar/tests/ |
H A D | fgc_edgecases.phpt | 18 echo $e->getMessage(), "\n"; 23 echo file_get_contents($fname); 33 echo $exception->getMessage() . "\n"; 39 echo file_get_contents("../oops"); 41 echo file_get_contents("./hi"); 67 echo file_get_contents("../oops"); 69 echo file_get_contents("./hi"); 87 echo file_get_contents("../oops"); 89 echo file_get_contents("./hi"); 108 echo file_get_contents("../oops"); [all …]
|