PHP » GoLang |
login |
register |
about
|
GoLang Exception::getCode
request it (329)
GoLang replacement for PHP's Exception::getCode
[edit | history]
Exception::getCode(PHP 5, PHP 7) Exception::getCode — Gets the Exception code ParametersThis function has no parameters. Return ValuesReturns the exception code as integer in Exception but possibly as other type in Exception descendants (for example as string in PDOException). Examples
Example #1 Exception::getCode() example
<?php The above example will output something similar to: The exception code is: 30 |
more
Recently updated
more
Most requested
more
Last requests
|