update : 2015.11.03
php.shukuma.com검색:
|
Exception::getCode(PHP 5 >= 5.1.0) Exception::getCode — Gets the Exception code 인수이 함수는 인수가 없습니다. 반환값Returns the exception code as integer in Exception but possibly as other type in Exception descendants (for example as string in PDOException). 예제
Example #1 Exception::getCode() example
<?php 위 예제의 출력 예시: The exception code is: 30 |