DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php throw exception
function inverse($x) { if (!$x) { throw new Exception('Division by zero.'); } return 1/$x; }
Source by www.php.net #
PREVIOUS
NEXT
Tagged:
#php
#throw
#exception
ADD COMMENT
Topic
COMMENT
Name
3+6 =
Submit