/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 …]
|
H A D | calendar_get_Least_Greatest_Minimum_Maximum_error.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; 30 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; 46 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 51 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 57 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; 62 echo get_class($e) . ': ' . $e->getCode() . ', ' . $e->getMessage() . \PHP_EOL; [all …]
|
H A D | calendar_before_after_error.phpt | 21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 32 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 37 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 43 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 48 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 54 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 59 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
|
H A D | calendar_isEquivalentTo_error.phpt | 21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 31 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 37 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 42 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 47 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
|
H A D | calendar_equals_error.phpt | 21 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 26 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 31 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 38 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 43 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
|
H A D | calendar_setTimeZone_error.phpt | 23 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 28 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 34 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n"; 39 echo "error: " . $ex->getCode() . ", " . $ex->getMessage() . "\n\n";
|
H A D | timezone_hasSameRules_error.phpt | 20 var_dump($ex->getCode(), $ex->getMessage()); 27 var_dump($ex->getCode(), $ex->getMessage());
|
/php-src/tests/classes/ |
H A D | type_hinting_004.phpt | 17 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 22 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 27 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 32 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 37 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 42 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 66 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 71 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 76 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; 81 echo "{$ex->getCode()}: {$ex->getMessage()} - {$ex->getFile()}({$ex->getLine()})\n\n"; [all …]
|
/php-src/ext/json/tests/ |
H A D | json_validate_requires.inc | 7 echo "JsonException: {$e->getCode()} {$e->getMessage()}". PHP_EOL; 9 echo "Exception: {$e->getCode()} {$e->getMessage()}". PHP_EOL; 11 echo "Error: {$e->getCode()} {$e->getMessage()}". PHP_EOL;
|
H A D | json_exceptions_error_clearing.phpt | 17 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL; 25 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL; 34 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL;
|
H A D | bug68992.phpt | 20 printf("%s (%d) [%s]\n", $e->getMessage(), $e->getCode(), get_class($e));
|
/php-src/Zend/tests/ |
H A D | ErrorException_getSeverity.phpt | 21 var_dump($e->getCode() === 0); 33 var_dump($e->getCode() === 0); 45 var_dump($e->getCode() === 0); 57 var_dump($e->getCode() === 0); 69 var_dump($e->getCode() === 0); 81 var_dump($e->getCode() === 0); 93 var_dump($e->getCode() === 0); 105 var_dump($e->getCode() === 0); 117 var_dump($e->getCode() === 0); 129 var_dump($e->getCode() === 0); [all …]
|
H A D | methods-on-non-objects-catch.phpt | 13 var_dump($e->getCode(), $e->getMessage());
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | HTMLDocument_createCDATASection.phpt | 11 var_dump($e->getCode()); 17 var_dump($e->getCode()); 25 var_dump($e->getCode());
|
H A D | HTMLDocument_createProcessingInstruction.phpt | 11 var_dump($e->getCode()); 17 var_dump($e->getCode()); 23 var_dump($e->getCode());
|
/php-src/Zend/ |
H A D | zend_exceptions.stub.php | 12 public function getCode(); // TODO add proper type (i.e. int|string) function 53 final public function getCode() {} // TODO add proper type (i.e. int|string) function in Exception 121 final public function getCode() {} function in Error
|
/php-src/ext/pdo_sqlite/tests/ |
H A D | bug50728.phpt | 10 var_dump($e->getCode());
|
/php-src/ext/dom/tests/ |
H A D | DOMEntityReference_error1.phpt | 10 var_dump($e->getCode() === DOM_INVALID_CHARACTER_ERR);
|
H A D | DOMDocument_createEntityReference_error1.phpt | 12 var_dump($e->getCode() === DOM_INVALID_CHARACTER_ERR);
|
H A D | DOMDocument_createAttribute_error.phpt | 13 $code = $e->getCode();
|
/php-src/ext/pdo_odbc/tests/ |
H A D | gh9372.phpt | 28 if ($ex->getCode() !== "22001") { 41 if ($ex->getCode() !== "22001") {
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | pdo_pgsql_parser.phpt | 47 var_dump('HY093' === $e->getCode()); 54 var_dump('42P18' === $e->getCode());
|
/php-src/ext/spl/tests/ |
H A D | regexIterator_setMode_error.phpt | 17 var_dump($e->getCode());
|
/php-src/Zend/tests/exceptions/ |
H A D | exception_getters_with_ref_props.phpt | 21 var_dump($ex->getCode());
|
/php-src/ext/com_dotnet/tests/ |
H A D | 27974.phpt | 22 if ($e->getCode() != DISP_E_BADINDEX) {
|