[thelist] catching "Division by Zero" in PHP

Lindsay Evans lindsay at redsquare.com.au
Wed Nov 14 19:19:14 CST 2001


something like this maybe

$foo = @(123 / 0);

if(strval($foo) == ""){
	print "a divide by zero error occured";
}

--
 Lindsay Evans.
 Developer,
 Red Square Productions.

 vox: 8596.4000
 fax: 8596.4001
 web: www.redsquare.com.au





More information about the thelist mailing list