Re: [PATCH] Major optimization for heredocs/interpolated strings

From: Date: Wed, 16 May 2007 17:23:14 +0000
Subject: Re: [PATCH] Major optimization for heredocs/interpolated strings
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-29478@lists.php.net to get a copy of this message
The updated 5.2 patch is at the same address, http://realplain.com/php/scanner_optimizations_5_2.diff, and the original was moved to http://realplain.com/php/scanner_optimizations_5_2-v1.diff
I've noticed a slight difference between how PHP worked without and with this patch. Previously, if you had this code: echo "$arr[123]"; then the opcode generated would have "123" as string. Now it has it as number. Not sure if it's important, just to be aware of it. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#29478) next »