mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
3a58e7474b
commit
1cdff557de
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue