Re: svn: /phpdoc/en/trunk/language/types/ string.xml
| From: | Nikita Popov | Date: | Fri, 30 Mar 2012 12:58:49 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/language/types/ string.xml | ||
| References: | 1 2 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-9977@lists.php.net to get a copy of this message | ||
On Fri, Mar 30, 2012 at 2:54 PM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> On Fri, Mar 30, 2012 at 12:26, Yasuo Ohgaki <yohgaki@php.net> wrote:
>> yohgaki Fri, 30 Mar 2012 10:26:14 +0000
>>
>> Revision:
>> http://svn.php.net/viewvc?view=revision&revision=324628
>>
>> Log:
>> fix incorrect description
>>
>> 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 2012-03-30 09:58:08 UTC (rev 324627)
>> +++ phpdoc/en/trunk/language/types/string.xml 2012-03-30 10:26:14 UTC (rev 324628)
>> @@ -14,9 +14,7 @@
>>
>> <note>
>> <simpara>
>> - It is no problem for a <type>string</type> to become very large. PHP
>> imposes
>> - no boundary on the size of a <type>string</type>; the only limit is the
>> - available memory of the computer on which PHP is running.
>> + <type>string</type> can be as large as 2GB.
>
> What?
> Thats not even remotely true. What gave you that idea?
I think that Yasuo got it from this bug report:
https://bugs.php.net/bug.php?id=61549
I think he's right that there is a 2GB limit for strings due to the
use of "int" to store the length (on LLP64 machines, i.e. Windows, but
not Linux). But not sure on that. I'd just remove that paragraph, it
doesn't really help anyone :)
Nikita