Re: Of string constants, bytecode, and concatenation
| From: | George Schlossnagle | Date: | Wed, 26 Feb 2003 16:39:19 +0000 |
| Subject: | Re: Of string constants, bytecode, and concatenation | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94595@lists.php.net to get a copy of this message | ||
It's the job of an optimizer, not of a compiler. And because PHP doesn't have an internal optimizer, this is not optimized out. You can either check the ZendOptimiser (I can't show you the opcodes that that generates) or PEAR::Optimizer, which is in Pecl (which might not do this optimization yet btw).It does.