/php-src/Zend/tests/function_arguments/ |
H A D | argument_count_incorrect_userland_strict.phpt | 10 echo get_class($e) . PHP_EOL; 11 echo $e->getMessage() . PHP_EOL; 18 echo get_class($e) . PHP_EOL; 19 echo $e->getMessage() . PHP_EOL; 27 echo get_class($e) . PHP_EOL; 28 echo $e->getMessage() . PHP_EOL; 34 echo get_class($e) . PHP_EOL; 35 echo $e->getMessage() . PHP_EOL; 41 echo get_class($e) . PHP_EOL; 42 echo $e->getMessage() . PHP_EOL;
|
H A D | argument_count_incorrect_userland.phpt | 9 echo get_class($e) . PHP_EOL; 10 echo $e->getMessage() . PHP_EOL; 17 echo get_class($e) . PHP_EOL; 18 echo $e->getMessage() . PHP_EOL; 26 echo get_class($e) . PHP_EOL; 27 echo $e->getMessage() . PHP_EOL; 33 echo get_class($e) . PHP_EOL; 34 echo $e->getMessage() . PHP_EOL;
|
/php-src/ext/standard/tests/image/ |
H A D | iptcembed_002.phpt | 10 echo md5(file_get_contents($file)).PHP_EOL; 11 echo base64_encode(file_get_contents($file)).PHP_EOL; 42 else { echo "error can't write $file".PHP_EOL;exit(1); } 48 if ($width!=1) { echo "width error".PHP_EOL;exit(1); } 49 if ($height!=1) { echo "height error".PHP_EOL;exit(1); } 50 if ($type!=2) { echo "type error".PHP_EOL;exit(1); } 81 if ($width!=1) { echo "width error".PHP_EOL;exit(1); } 83 if ($type!=2) { echo "type error".PHP_EOL;exit(1); } 92 echo "error iptc tag $tag not found".PHP_EOL; 105 if ($error==0) { echo "OK".PHP_EOL;exit(0);} [all …]
|
/php-src/ext/spl/tests/ |
H A D | spl_pq_top_basic.phpt | 17 echo "EXTR DEFAULT",PHP_EOL; 18 echo "value: ",$priorityQueue->top(),PHP_EOL; 23 echo "EXTR_PRIORITY",PHP_EOL; 24 echo "priority: ",$priorityQueue->top(),PHP_EOL; 27 echo "EXTR_BOTH",PHP_EOL; 30 echo "EXTR_DATA",PHP_EOL; 32 echo "value: ",$priorityQueue->top(),PHP_EOL;
|
/php-src/Zend/tests/new_without_parentheses/ |
H A D | anonymous_class_access.phpt | 7 const C = 'constant' . PHP_EOL; 11 const C = 'constant' . PHP_EOL; 15 public $property = 'property' . PHP_EOL; 19 public static $property = 'static property' . PHP_EOL; 23 public function method() { echo 'method' . PHP_EOL; } 27 public static function method() { echo 'static method' . PHP_EOL; } 31 public function __invoke() { echo '__invoke' . PHP_EOL; } 37 public function offsetGet(mixed $offset): mixed { echo 'offsetGet' . PHP_EOL; return null; } 45 … public function offsetExists(mixed $offset): bool { echo 'offsetExists' . PHP_EOL; return true; }
|
/php-src/ext/xml/tests/ |
H A D | xml_set_element_handler_errors.phpt | 11 echo 'Invalid $parser:', PHP_EOL; 16 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 22 echo 'Invalid start callable type true:', PHP_EOL; 26 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 28 echo 'Invalid end callable type true:', PHP_EOL; 32 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 35 echo 'Invalid start callable type int:', PHP_EOL; 39 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 41 echo 'Invalid end callable type int:', PHP_EOL; 45 echo $e::class, ': ', $e->getMessage(), PHP_EOL; [all …]
|
H A D | set_handler_errors.phpt | 10 echo 'Invalid $parser:', PHP_EOL; 15 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 21 echo 'Invalid callable type true:', PHP_EOL; 25 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 28 echo 'Invalid callable type int:', PHP_EOL; 32 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 35 echo 'String not callable and no object set:', PHP_EOL; 39 echo $e::class, ': ', $e->getMessage(), PHP_EOL; 42 echo 'String non existent method on set object:', PHP_EOL; 47 echo $e::class, ': ', $e->getMessage(), PHP_EOL;
|
/php-src/Zend/tests/grammar/ |
H A D | semi_reserved_008.phpt | 8 public static function list(){ echo __METHOD__, PHP_EOL; } 9 public static function /* comment */ catch(){ echo __METHOD__, PHP_EOL; } 11 throw(){ echo __METHOD__, PHP_EOL; } 14 self(){ echo __METHOD__, PHP_EOL; } 19 public static function exit(){ echo __METHOD__, PHP_EOL; } 20 protected static function try(){ echo __METHOD__, PHP_EOL; } 63 echo PHP_EOL, "Done", PHP_EOL;
|
H A D | semi_reserved_007.phpt | 10 echo "From ", __METHOD__, ":", PHP_EOL; 11 echo self::self, PHP_EOL; 12 echo self::parent, PHP_EOL; 19 echo "From ", __METHOD__, ":", PHP_EOL; 20 echo parent::self, PHP_EOL; 21 echo parent::parent, PHP_EOL;
|
H A D | regression_006.phpt | 14 echo Obj::DECLARE, PHP_EOL; 15 echo Obj::RETURN, PHP_EOL; 16 echo Obj::FUNCTION, PHP_EOL; 17 echo Obj::USE, PHP_EOL; 20 USE, PHP_EOL;
|
/php-src/Zend/tests/in-de-crement/ |
H A D | increment_with_castable_objects_no_addition.phpt | 17 echo $e->getMessage(), PHP_EOL; 23 echo $e->getMessage(), PHP_EOL; 29 echo $e->getMessage(), PHP_EOL; 35 echo $e->getMessage(), PHP_EOL; 43 echo $e->getMessage(), PHP_EOL; 50 echo $e->getMessage(), PHP_EOL; 57 echo $e->getMessage(), PHP_EOL; 64 echo $e->getMessage(), PHP_EOL;
|
H A D | decrement_with_castable_objects_no_subtraction.phpt | 17 echo $e->getMessage(), PHP_EOL; 23 echo $e->getMessage(), PHP_EOL; 29 echo $e->getMessage(), PHP_EOL; 35 echo $e->getMessage(), PHP_EOL; 43 echo $e->getMessage(), PHP_EOL; 50 echo $e->getMessage(), PHP_EOL; 57 echo $e->getMessage(), PHP_EOL; 64 echo $e->getMessage(), PHP_EOL;
|
/php-src/Zend/tests/offsets/ |
H A D | internal_handlers.phpt | 10 echo 'read op', PHP_EOL; 15 echo 'write op', PHP_EOL; 20 echo 'read-write op', PHP_EOL; 25 echo 'isset op', PHP_EOL; 30 echo 'empty op', PHP_EOL; 40 echo 'appending op', PHP_EOL; 45 echo 'unset op', PHP_EOL; 50 echo 'nested read', PHP_EOL; 64 echo 'nested write', PHP_EOL; 100 echo 'nested isset', PHP_EOL; [all …]
|
/php-src/ext/random/tests/01_functions/ |
H A D | mt_rand_value.phpt | 9 echo mt_rand().PHP_EOL; 11 echo PHP_EOL; 17 echo $x.PHP_EOL; 18 echo PHP_EOL; 23 echo mt_rand().PHP_EOL; 25 echo PHP_EOL; 31 echo $x.PHP_EOL;
|
/php-src/ext/ |
H A D | ext_skel.php | 23 printf('Error: %s%s', $message, PHP_EOL); 125 printf('done%s', PHP_EOL); 142 printf('following steps:%1$s%1$s', PHP_EOL); 143 printf('cd %s%s%s', $options['dir'], $options['ext'], PHP_EOL); 144 printf('phpize%s', PHP_EOL); 145 printf('%sconfigure%s', $file_prefix, PHP_EOL); 146 printf('%smake%2$s%2$s', $make_prefix, PHP_EOL); 148 printf('%smake test%2$s%2$s', $make_prefix, PHP_EOL); 149 printf('Thank you for using PHP!%s', PHP_EOL); 395 printf('done%s', PHP_EOL); [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | fgetcsv_error_conditions.phpt | 13 echo 'fgetcsv() with negative length' . \PHP_EOL; 17 echo $e->getMessage() . \PHP_EOL; 22 echo $e->getMessage() . \PHP_EOL; 27 echo $e->getMessage() . \PHP_EOL; 30 echo 'fgetcsv() with delimiter as empty string' . \PHP_EOL; 34 echo $e->getMessage() . \PHP_EOL; 37 echo 'fgetcsv() with enclosure as empty string' . \PHP_EOL; 41 echo $e->getMessage() . \PHP_EOL; 44 echo 'fgetcsv() with delimiter & enclosure as empty string' . \PHP_EOL; 48 echo $e->getMessage() . \PHP_EOL;
|
/php-src/ext/mbstring/tests/ |
H A D | gh9535b.phpt | 20 echo $encoding.': '.$reconverted_str.PHP_EOL; 23 echo PHP_EOL; 31 echo $encoding.': '.$reconverted_str.PHP_EOL; 34 echo PHP_EOL; 42 echo $encoding.': '.$reconverted_str.PHP_EOL; 45 echo PHP_EOL; 53 echo $encoding.': '.$reconverted_str.PHP_EOL; 56 echo PHP_EOL; 64 echo $encoding.': '.$reconverted_str.PHP_EOL; 67 echo PHP_EOL;
|
/php-src/ext/dba/tests/ |
H A D | value_errors_open.phpt | 24 echo $e->getMessage(), \PHP_EOL; 29 echo $e->getMessage(), \PHP_EOL; 34 echo $e->getMessage(), \PHP_EOL; 41 echo $e->getMessage(), \PHP_EOL; 46 echo $e->getMessage(), \PHP_EOL; 51 echo $e->getMessage(), \PHP_EOL; 56 echo $e->getMessage(), \PHP_EOL; 62 echo $e->getMessage(), \PHP_EOL; 71 echo $e->getMessage(), \PHP_EOL; 76 echo $e->getMessage(), \PHP_EOL; [all …]
|
/php-src/ext/reflection/tests/ |
H A D | bug66430.phpt | 16 echo "alpha.bravo: ", $alpha->bravo().PHP_EOL; 25 echo "reflection of alpha.bravo: ", $method->invoke($alpha).PHP_EOL; 26 echo "closure of alpha.bravo: ", $closure().PHP_EOL; 27 echo "call_user_func of closure: ", call_user_func($closure).PHP_EOL; 28 echo PHP_EOL; 29 echo "closure cl of c(alpha.bravo): ", get_class($reflectionC->getClosureThis()).PHP_EOL; 30 echo "scope cl of c(alpha.bravo): ", $reflectionC->getClosureScopeClass()->getName().PHP_EOL; 31 echo "reflection of c(alpha.bravo): ", $reflectionC->invoke().PHP_EOL;
|
/php-src/ext/dba/tests/setup/ |
H A D | setup_dba_tests.inc | 98 echo 'Remove key 1 and 3', \PHP_EOL; 102 echo 'Try to remove key 1 again', \PHP_EOL; 113 echo 'Total keys: ', $total_keys, \PHP_EOL; 118 echo 'Replace second key data', \PHP_EOL; 120 echo dba_fetch('key2', $db_writer), \PHP_EOL; 132 echo 'Read during write: allowed', \PHP_EOL; 148 echo 'Replace second key data', \PHP_EOL; 150 echo 'Delete "key4"', \PHP_EOL; 188 echo $fetch, \PHP_EOL; 246 echo '=== RUNNING WITH NO LOCK ===', \PHP_EOL; [all …]
|
/php-src/ext/intl/tests/ |
H A D | calendar_get_getActualMaximum_Minumum_error2.phpt | 15 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 20 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 25 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 31 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 36 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 41 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 47 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 52 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 57 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 63 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; [all …]
|
/php-src/Zend/tests/closures/ |
H A D | closure_from_callable_basic.phpt | 10 echo $fn(" OK".PHP_EOL); 14 echo $fn(" OK".PHP_EOL); 18 echo $fn(" OK".PHP_EOL); 22 echo $fn(" OK".PHP_EOL); 26 echo $fn(" OK".PHP_EOL); 30 echo $fn(" OK".PHP_EOL); 34 echo $fn(" OK".PHP_EOL); 38 echo $fn(" OK".PHP_EOL); 42 echo $fn(" OK".PHP_EOL); 47 echo $fn(" OK".PHP_EOL); [all …]
|
/php-src/ext/dom/tests/ |
H A D | bug80602.phpt | 13 echo "1 ", $doc->saveXML($doc->documentElement).PHP_EOL; 19 echo "2 ", $doc->saveXML($doc->documentElement).PHP_EOL; 26 echo "3 ", $doc->saveXML($doc->documentElement).PHP_EOL; 32 echo "4 ", $doc->saveXML($doc->documentElement).PHP_EOL; 39 echo "5 ", $doc->saveXML($doc->documentElement).PHP_EOL; 45 echo "6 ", $doc->saveXML($doc->documentElement).PHP_EOL; 52 echo "7 ", $doc->saveXML($doc->documentElement).PHP_EOL; 58 echo "8 ", $doc->saveXML($doc->documentElement).PHP_EOL; 65 echo "9 ", $doc->saveXML($doc->documentElement).PHP_EOL; 71 echo "10 ", $doc->saveXML($doc->documentElement).PHP_EOL; [all …]
|
H A D | bug80602_2.phpt | 13 echo "1 ", $doc->saveXML($doc->documentElement).PHP_EOL; 19 echo "2 ", $doc->saveXML($doc->documentElement).PHP_EOL; 26 echo "3 ", $doc->saveXML($doc->documentElement).PHP_EOL; 32 echo "4 ", $doc->saveXML($doc->documentElement).PHP_EOL; 39 echo "5 ", $doc->saveXML($doc->documentElement).PHP_EOL; 45 echo "6 ", $doc->saveXML($doc->documentElement).PHP_EOL; 52 echo "7 ", $doc->saveXML($doc->documentElement).PHP_EOL; 58 echo "8 ", $doc->saveXML($doc->documentElement).PHP_EOL; 65 echo "9 ", $doc->saveXML($doc->documentElement).PHP_EOL; 71 echo "10 ", $doc->saveXML($doc->documentElement).PHP_EOL; [all …]
|
/php-src/Zend/tests/numeric_strings/ |
H A D | invalid_numeric_string_must_generate_warning_assign.phpt | 19 echo $e->getMessage() . \PHP_EOL; 21 echo "---", PHP_EOL; 32 echo "---", PHP_EOL; 43 echo "---", PHP_EOL; 54 echo "---", PHP_EOL; 65 echo "---", PHP_EOL; 76 echo "---", PHP_EOL; 87 echo "---", PHP_EOL; 98 echo "---", PHP_EOL; 119 echo "---", PHP_EOL; [all …]
|