svn: /phpdoc/en/trunk/language/oop5/ basic.xml
| From: | Antony Dovgal | Date: | Thu, 11 Feb 2010 09:25:27 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/oop5/ basic.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6055@lists.php.net to get a copy of this message | ||
tony2001 Thu, 11 Feb 2010 09:25:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294876
Log:
define $instance and make the example more clear
Changed paths:
U phpdoc/en/trunk/language/oop5/basic.xml
Modified: phpdoc/en/trunk/language/oop5/basic.xml
===================================================================
--- phpdoc/en/trunk/language/oop5/basic.xml 2010-02-11 08:39:01 UTC (rev 294875)
+++ phpdoc/en/trunk/language/oop5/basic.xml 2010-02-11 09:25:27 UTC (rev 294876)
@@ -149,6 +149,9 @@
<programlisting role="php">
<![CDATA[
<?php
+
+$instance = new SimpleClass();
+
$assigned = $instance;
$reference =& $instance;