mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Make example consistent with rest of the manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333708 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8ac42c089d
commit
246643fc84
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue