svn: /phpdoc/en/trunk/reference/math/functions/ abs.xml
| From: | Maciej Sobaczewski | Date: | Wed, 04 Jun 2014 08:23:01 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/math/functions/ abs.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12517@lists.php.net to get a copy of this message | ||
sobak Wed, 04 Jun 2014 08:23:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=333708
Log:
Make example consistent with rest of the manual
Changed paths:
U phpdoc/en/trunk/reference/math/functions/abs.xml
Modified: phpdoc/en/trunk/reference/math/functions/abs.xml
===================================================================
--- phpdoc/en/trunk/reference/math/functions/abs.xml 2014-06-04 06:29:42 UTC (rev 333707)
+++ phpdoc/en/trunk/reference/math/functions/abs.xml 2014-06-04 08:23:01 UTC (rev 333708)
@@ -48,9 +48,9 @@
<programlisting role="php">
<![CDATA[
<?php
-$abs = abs(-4.2); // $abs = 4.2; (double/float)
-$abs2 = abs(5); // $abs2 = 5; (integer)
-$abs3 = abs(-5); // $abs3 = 5; (integer)
+echo abs(-4.2); // 4.2 (double/float)
+echo abs(5); // 5 (integer)
+echo abs(-5); // 5 (integer)
?>
]]>
</programlisting>