svn: /phpdoc/en/trunk/reference/errorfunc/functions/ trigger-error.xml

From: Date: Thu, 11 Feb 2010 11:08:44 +0000
Subject: svn: /phpdoc/en/trunk/reference/errorfunc/functions/ trigger-error.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6056@lists.php.net to get a copy of this message
rquadling Thu, 11 Feb 2010 11:08:44 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294879 Log: Simplified example. Fix #51010 Bug: http://bugs.php.net/51010 (Open) Bad example Changed paths: U phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml Modified: phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml =================================================================== --- phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml 2010-02-11 11:02:53 UTC (rev 294878) +++ phpdoc/en/trunk/reference/errorfunc/functions/trigger-error.xml 2010-02-11 11:08:44 UTC (rev 294879) @@ -71,7 +71,7 @@ <programlisting role="php"> <![CDATA[ <?php -if (assert($divisor == 0)) { +if ($divisor == 0) { trigger_error("Cannot divide by zero", E_USER_ERROR); } ?>

« previous php.doc.cvs (#6056) next »