/PHP-8.3/Zend/tests/grammar/ |
H A D | semi_reserved_003.phpt | 107 echo $obj->and, PHP_EOL; 114 echo $obj->new, PHP_EOL; 115 echo $obj->or, PHP_EOL; 116 echo $obj->xor, PHP_EOL; 117 echo $obj->try, PHP_EOL; 118 echo $obj->use, PHP_EOL; 119 echo $obj->var, PHP_EOL; 140 echo $obj->fn, PHP_EOL; 141 echo $obj->if, PHP_EOL; 148 echo $obj->do, PHP_EOL; [all …]
|
H A D | semi_reserved_004.phpt | 105 echo Obj::$and, PHP_EOL; 112 echo Obj::$new, PHP_EOL; 113 echo Obj::$or, PHP_EOL; 114 echo Obj::$xor, PHP_EOL; 115 echo Obj::$try, PHP_EOL; 116 echo Obj::$use, PHP_EOL; 117 echo Obj::$var, PHP_EOL; 138 echo Obj::$fn, PHP_EOL; 139 echo Obj::$if, PHP_EOL; 146 echo Obj::$do, PHP_EOL; [all …]
|
H A D | semi_reserved_005.phpt | 102 echo Obj::AND, PHP_EOL; 109 echo Obj::NEW, PHP_EOL; 110 echo Obj::OR, PHP_EOL; 111 echo Obj::XOR, PHP_EOL; 112 echo Obj::TRY, PHP_EOL; 113 echo Obj::USE, PHP_EOL; 114 echo Obj::VAR, PHP_EOL; 135 echo Obj::FN, PHP_EOL; 136 echo Obj::IF, PHP_EOL; 143 echo Obj::DO, PHP_EOL; [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; } 14 function static(){ echo __METHOD__, PHP_EOL; } 16 function final(){ echo __METHOD__, PHP_EOL; } 20 function const(){ echo __METHOD__, PHP_EOL; } 26 function and(){ echo __METHOD__, PHP_EOL; } 33 function new(){ echo __METHOD__, PHP_EOL; } [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; } 14 static function static(){ echo __METHOD__, PHP_EOL; } 16 static function final(){ echo __METHOD__, PHP_EOL; } 20 static function const(){ echo __METHOD__, PHP_EOL; } 26 static function and(){ echo __METHOD__, PHP_EOL; } 33 static function new(){ echo __METHOD__, PHP_EOL; } [all …]
|
/PHP-8.3/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-8.3/ext/random/tests/02_engine/ |
H A D | xoshiro256starstar_seed.phpt | 8 echo "Random integer seed", PHP_EOL; 10 echo PHP_EOL, PHP_EOL; 12 echo "Random string seed", PHP_EOL; 14 echo PHP_EOL, PHP_EOL; 16 echo "Invalid data type", PHP_EOL; 20 echo $e->getMessage(), PHP_EOL; 22 echo PHP_EOL, PHP_EOL; 30 echo PHP_EOL, PHP_EOL; 32 echo "Null seed", PHP_EOL; 38 echo PHP_EOL, PHP_EOL; [all …]
|
H A D | pcgoneseq128xslrr64_seed.phpt | 8 echo "Random integer seed", PHP_EOL; 10 echo PHP_EOL, PHP_EOL; 12 echo "Random string seed", PHP_EOL; 14 echo PHP_EOL, PHP_EOL; 16 echo "Invalid data type", PHP_EOL; 20 echo $e->getMessage(), PHP_EOL; 22 echo PHP_EOL, PHP_EOL; 24 echo "Invalid string seed length", PHP_EOL; 28 echo $e->getMessage(), PHP_EOL; 30 echo PHP_EOL, PHP_EOL; [all …]
|
/PHP-8.3/ext/gmp/tests/ |
H A D | bug80560.phpt | 64 echo 'Explicit base with gmp_init:', \PHP_EOL; 65 echo 'Hexadecimal', \PHP_EOL; 69 echo $e->getMessage(), \PHP_EOL; 74 echo $e->getMessage(), \PHP_EOL; 77 echo 'Binary', \PHP_EOL; 81 echo $e->getMessage(), \PHP_EOL; 86 echo $e->getMessage(), \PHP_EOL; 89 echo 'Fuzzing gmp functions:', \PHP_EOL; 93 echo $function, ' failed with 0B', \PHP_EOL; 97 echo $function, ' failed with 0b', \PHP_EOL; [all …]
|
H A D | overloading_with_float.phpt | 13 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 19 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 25 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 31 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 37 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 43 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 49 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 54 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 59 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 64 echo $e::class, ': ', $e->getMessage(), PHP_EOL; [all …]
|
H A D | overloading_with_int_string.phpt | 13 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 19 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 25 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 31 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 37 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 43 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 49 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 54 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 59 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 64 echo $e::class, ': ', $e->getMessage(), PHP_EOL; [all …]
|
/PHP-8.3/Zend/tests/type_declarations/dnf_types/ |
H A D | gh9516.phpt | 26 echo 'Fail', \PHP_EOL; 33 echo 'Fail', \PHP_EOL; 40 echo 'Pass', \PHP_EOL; 47 echo 'Pass', \PHP_EOL; 55 echo 'Fail', \PHP_EOL; 62 echo 'Fail', \PHP_EOL; 69 echo 'Pass', \PHP_EOL; 76 echo 'Pass', \PHP_EOL; 84 echo 'Fail', \PHP_EOL; 91 echo 'Fail', \PHP_EOL; [all …]
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | levenshtein.phpt | 6 echo '--- Equal ---' . \PHP_EOL; 9 echo '--- First string empty ---' . \PHP_EOL; 11 echo '--- Second string empty ---' . \PHP_EOL; 13 echo '--- Both empty ---' . \PHP_EOL; 17 echo '--- 1 character ---' . \PHP_EOL; 19 echo '--- 2 character swapped ---' . \PHP_EOL; 22 echo '--- Inexpensive deletion ---' . \PHP_EOL; 24 echo '--- Expensive deletion ---' . \PHP_EOL; 27 echo '--- Inexpensive insertion ---' . \PHP_EOL; 29 echo '--- Expensive insertion ---' . \PHP_EOL; [all …]
|
/PHP-8.3/ext/standard/tests/general_functions/ |
H A D | var_export_bug66179.phpt | 7 echo PHP_EOL; 9 echo PHP_EOL; 11 echo PHP_EOL; 13 echo PHP_EOL; 15 echo PHP_EOL; 17 echo PHP_EOL; 19 echo PHP_EOL;
|
/PHP-8.3/ext/spl/tests/ |
H A D | SplFileinfo_getBasename_basic.phpt | 6 echo (new \SplFileInfo('/path/to/a.txt'))->getBasename() . PHP_EOL; 7 echo (new \SplFileInfo('path/to/b'))->getBasename() . PHP_EOL; 8 echo (new \SplFileInfo('c.txt'))->getBasename() . PHP_EOL; 9 echo (new \SplFileInfo('d'))->getBasename() . PHP_EOL; 10 echo (new \SplFileInfo('~/path/to//e'))->getBasename() . PHP_EOL . PHP_EOL; 13 echo (new \SplFileInfo('path/to/a.txt'))->getBasename('.txt') . PHP_EOL; 14 echo (new \SplFileInfo('path/to/bbb.txt'))->getBasename('b.txt') . PHP_EOL; 15 echo (new \SplFileInfo('path/to/ccc.txt'))->getBasename('to/ccc.txt') . PHP_EOL; 16 echo (new \SplFileInfo('d.txt'))->getBasename('txt') . PHP_EOL; 17 echo (new \SplFileInfo('e.txt'))->getBasename('e.txt') . PHP_EOL;
|
H A D | SplFileinfo_getFilename_basic.phpt | 6 echo (new \SplFileInfo('/path/to/a.txt'))->getFilename() . PHP_EOL; 7 echo (new \SplFileInfo('path/to/b'))->getFilename() . PHP_EOL; 8 echo (new \SplFileInfo('c.txt'))->getFilename() . PHP_EOL; 9 echo (new \SplFileInfo('d'))->getFilename() . PHP_EOL; 10 echo (new \SplFileInfo('~/path/to//e'))->getFilename() . PHP_EOL . PHP_EOL;
|
/PHP-8.3/ext/bcmath/tests/ |
H A D | scale.phpt | 8 'bcadd: ', bcadd('2', '1', 5), PHP_EOL, 9 'bcdiv: ', bcdiv('2', '1', 5), PHP_EOL, 10 'bcmul: ', bcmul('2', '1', 5), PHP_EOL, 11 'bcpow: ', bcpow('2', '1', 5), PHP_EOL, 12 'bcpowmod: ', bcpowmod('2', '1', '3', 5), PHP_EOL, 13 'bcsqrt: ', bcsqrt('4', 5), PHP_EOL, 14 'bcsub: ', bcsub('2', '1', 5), PHP_EOL;
|
H A D | scale_ini.phpt | 10 'bcadd: ', bcadd('2', '1'), PHP_EOL, 11 'bcdiv: ', bcdiv('2', '1'), PHP_EOL, 12 'bcmul: ', bcmul('2', '1'), PHP_EOL, 13 'bcpow: ', bcpow('2', '1'), PHP_EOL, 14 'bcpowmod: ', bcpowmod('2', '1', '3'), PHP_EOL, 15 'bcsqrt: ', bcsqrt('4'), PHP_EOL, 16 'bcsub: ', bcsub('2', '1'), PHP_EOL;
|
/PHP-8.3/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_value.phpt | 8 echo "# var_dump() / debug_zval_dump() / print_r()", PHP_EOL; 12 echo PHP_EOL; 14 echo "# var_export()", PHP_EOL; 15 echo var_export($v, true), PHP_EOL; 16 echo PHP_EOL; 18 echo "# (array) / json_encode()", PHP_EOL; 21 echo PHP_EOL; 23 echo "# ->getValue()", PHP_EOL;
|
H A D | sensitive_parameter_value_keeps_object_alive.phpt | 10 echo __METHOD__, " - ", $this->id, PHP_EOL; 15 echo __METHOD__, " - ", $this->id, PHP_EOL; 40 echo "Before 1", PHP_EOL; 42 echo "After 1", PHP_EOL; 43 echo "Before 2", PHP_EOL; 45 echo "Not Reached: After 2", PHP_EOL; 47 echo "catch", PHP_EOL; 56 echo "Before unset", PHP_EOL; 60 echo "After unset", PHP_EOL;
|
/PHP-8.3/Zend/tests/traits/ |
H A D | constant_001.phpt | 12 echo self::PUBLIC, ' via self', PHP_EOL; 13 echo static::PUBLIC, ' via static', PHP_EOL; 14 echo $this::PUBLIC, ' via $this', PHP_EOL; 22 echo self::PRIVATE, ' via self', PHP_EOL; 23 echo static::PRIVATE, ' via static', PHP_EOL; 29 echo self::PROTECTED, ' via self', PHP_EOL; 30 echo static::PROTECTED, ' via static', PHP_EOL; 31 echo parent::PROTECTED, ' via parent', PHP_EOL; 35 echo Base::PUBLIC, ' via class name', PHP_EOL; 36 echo (new Base)::PUBLIC, ' via object', PHP_EOL; [all …]
|
/PHP-8.3/Zend/tests/float_to_int/ |
H A D | warning_float_does_not_fit_zend_long_strings.phpt | 18 echo 'Attempt to read', \PHP_EOL; 20 echo 'Float', \PHP_EOL; 23 echo 'TypeError', \PHP_EOL; 29 echo 'TypeError', \PHP_EOL; 35 echo 'TypeError', \PHP_EOL; 41 echo 'TypeError', \PHP_EOL; 46 echo 'Float', \PHP_EOL; 51 echo 'TypeError', \PHP_EOL; 59 echo 'TypeError', \PHP_EOL; 66 echo 'TypeError', \PHP_EOL; [all …]
|
H A D | warning_float_does_not_fit_zend_long_strings_32bit.phpt | 18 echo 'Attempt to read', \PHP_EOL; 20 echo 'Float', \PHP_EOL; 23 echo 'TypeError', \PHP_EOL; 29 echo 'TypeError', \PHP_EOL; 35 echo 'TypeError', \PHP_EOL; 41 echo 'TypeError', \PHP_EOL; 46 echo 'Float', \PHP_EOL; 51 echo 'TypeError', \PHP_EOL; 59 echo 'TypeError', \PHP_EOL; 66 echo 'TypeError', \PHP_EOL; [all …]
|
/PHP-8.3/Zend/tests/numeric_strings/ |
H A D | invalid_numeric_strings_must_generate_warning.phpt | 12 echo "---", PHP_EOL; 19 echo "---", PHP_EOL; 26 echo "---", PHP_EOL; 33 echo "---", PHP_EOL; 40 echo "---", PHP_EOL; 47 echo "---", PHP_EOL; 54 echo "---", PHP_EOL; 61 echo "---", PHP_EOL; 74 echo "---", PHP_EOL; 87 echo "---", PHP_EOL; [all …]
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_str_unknown_encoding.phpt | 14 echo $e->getMessage() . \PHP_EOL; 20 echo $e->getMessage() . \PHP_EOL; 26 echo $e->getMessage() . \PHP_EOL; 32 echo $e->getMessage() . \PHP_EOL; 38 echo $e->getMessage() . \PHP_EOL; 44 echo $e->getMessage() . \PHP_EOL; 50 echo $e->getMessage() . \PHP_EOL; 56 echo $e->getMessage() . \PHP_EOL; 62 echo $e->getMessage() . \PHP_EOL; 68 echo $e->getMessage() . \PHP_EOL; [all …]
|