Precise version infos on that one too

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@254410 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2008-03-06 16:46:37 +00:00
parent 3a58e7474b
commit 1cdff557de

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.14 $ -->
<!-- $Revision: 1.15 $ -->
<sect1 xml:id="language.oop5.constants" xmlns="http://docbook.org/ns/docbook">
<title>Class Constants</title>
<para>
@ -40,7 +40,7 @@ echo $classname::constant . "\n"; // As of PHP 5.3.0
$class = new MyClass();
$class->showConstant();
echo $class::constant."\n";
echo $class::constant."\n"; // As of PHP 5.3.0
?>
]]>
</programlisting>