cvs: phpdoc /en/functions info.xml

From: Date: Wed, 18 Jul 2001 13:37:27 +0000
Subject: cvs: phpdoc /en/functions info.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969336301@lists.php.net to get a copy of this message
dams Wed Jul 18 09:37:27 2001 EDT Modified files: /phpdoc/en/functions info.xml Log: Reordered example, removed extra u Index: phpdoc/en/functions/info.xml diff -u phpdoc/en/functions/info.xml:1.55 phpdoc/en/functions/info.xml:1.56 --- phpdoc/en/functions/info.xml:1.55 Sat Jul 7 17:27:10 2001 +++ phpdoc/en/functions/info.xml Wed Jul 18 09:37:26 2001 @@ -62,14 +62,15 @@ <para> The callback function should accept three arguments. The first argument will contain the file the assertion failed in. The second - arugument will contain the line the assertion failed on and the + argument will contain the line the assertion failed on and the third argument will contain the expression that failed (if any - literal values such as 1 or "two" will not be passed via this argument) </para> <para> - Handle a failed assertion with a custom handler - <informalexample> - <programlisting>&lt;?php + <example> + <title>Handle a failed assertion with a custom handler</title> + <programlisting role="php"> +&lt;?php // Active assert and make it quiet assert_options (ASSERT_ACTIVE, 1); assert_options (ASSERT_WARNING, 0); @@ -88,8 +89,9 @@ // Make an assertion that should fail assert ('mysql_query ("")'); - ?&gt;</programlisting> - </informalexample> +?&gt; + </programlisting> + </example> </para> </refsect1> </refentry>

« previous php.doc (#969336301) next »