svn: /phpdoc/en/trunk/language/types/ string.xml
| From: | Daniel P. Brown | Date: | Thu, 13 Aug 2009 02:36:25 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/types/ string.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4667@lists.php.net to get a copy of this message | ||
danbrown Thu, 13 Aug 2009 02:36:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287193
Log:
Fixed deprecation notice regarding {} vs. [], which isn't going to wait until PHP6.
Changed paths:
U phpdoc/en/trunk/language/types/string.xml
Modified: phpdoc/en/trunk/language/types/string.xml
===================================================================
--- phpdoc/en/trunk/language/types/string.xml 2009-08-13 02:23:06 UTC (rev 287192)
+++ phpdoc/en/trunk/language/types/string.xml 2009-08-13 02:36:25 UTC (rev 287193)
@@ -671,7 +671,8 @@
<simpara>
<type>String</type>s may also be accessed using braces, as in
<varname>$str{42}</varname>, for the same purpose. However, this syntax is
- deprecated as of PHP 6. Use square brackets instead.
+ deprecated as of PHP 5.3.0. Use square brackets instead, such as
+ <varname>$str[42]</varname>.
</simpara>
</note>