/PHP-8.2/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-8.2/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-8.2/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());
|
H A D | exception_getters_with_ref_props.phpt | 21 var_dump($ex->getCode());
|
H A D | methods-on-non-objects-usort.phpt | 15 var_dump($e->getCode(), $e->getMessage());
|
/PHP-8.2/ext/json/tests/ |
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-8.2/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
|
H A D | zend_exceptions_arginfo.h | 89 ZEND_METHOD(Exception, getCode); 102 …ZEND_ABSTRACT_ME_WITH_FLAGS(Throwable, getCode, arginfo_class_Throwable_getCode, ZEND_ACC_PUBLIC|Z… 117 ZEND_ME(Exception, getCode, arginfo_class_Exception_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL) 140 …ZEND_MALIAS(Exception, getCode, getCode, arginfo_class_Error_getCode, ZEND_ACC_PUBLIC|ZEND_ACC_FIN…
|
/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | bug50728.phpt | 10 var_dump($e->getCode());
|
/PHP-8.2/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-8.2/ext/pdo_odbc/tests/ |
H A D | gh9372.phpt | 28 if ($ex->getCode() !== "22001") { 41 if ($ex->getCode() !== "22001") {
|
/PHP-8.2/ext/spl/tests/ |
H A D | regexIterator_setMode_error.phpt | 17 var_dump($e->getCode());
|
/PHP-8.2/ext/pdo_pgsql/tests/ |
H A D | bug72570.phpt | 25 var_dump($e->getCode());
|
/PHP-8.2/ext/com_dotnet/tests/ |
H A D | 27974.phpt | 22 if ($e->getCode() != DISP_E_BADINDEX) {
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_errmode.phpt | 91 if ($e->getCode() !== $code) 93 $e->getCode(), $code); 129 if ($e->getCode() !== $code) 131 $e->getCode(), $code);
|