1 Jul 2007 04:30
Interpolated strings and memory (Bug 40122) (Was: [PHP-DOC] cvs: phpdoc /en/language types.xml)
Matt Wilmas <php_lists <at> realplain.com>
2007-07-01 02:30:36 GMT
2007-07-01 02:30:36 GMT
Hi Gwynne, all, I think this "parsing variables within strings..." note should be removed, as it's incorrect/misleading as far as I can tell. First, I was never able to repeat the behavior with the code in the bug report months ago, nor am I now (no matter what I try). Second, and more importantly, using concatenation (.) creates the *exact same* temporary variables as interpolated strings (well, meaning the temp var that's used for assignment or such), contrary to what Ilia said in the bug report, as far as I know. This is obvious in the code (and I had been working in that area recently(Continue reading)). So unless someone can explain WHY the memory usage could be different, the note should definitely be reverted, since there's nothing to be concerned about. Thanks, Matt ----- Original Message ----- From: "Gwynne Amaya Raskind" Sent: Thursday, June 14, 2007 8:20 PM Subject: [PHP-DOC] cvs: phpdoc /en/language types.xml > gwynne Fri Jun 15 01:20:55 2007 UTC > > Modified files: > /phpdoc/en/language types.xml > Log:
).
So unless someone can explain WHY the memory usage could be different, the
note should definitely be reverted, since there's nothing to be concerned
about.
Thanks,
Matt
----- Original Message -----
From: "Gwynne Amaya Raskind"
Sent: Thursday, June 14, 2007 8:20 PM
Subject: [PHP-DOC] cvs: phpdoc /en/language types.xml
> gwynne Fri Jun 15 01:20:55 2007 UTC
>
> Modified files:
> /phpdoc/en/language types.xml
> Log:
RSS Feed