Welcome Guest, Not a member yet? Register   Sign In
I can not get <?= to work on one of my servers, any ideas why ?
#7

[eluser]nizsmo[/eluser]
[quote author="kurucu" date="1253674080"]How reliable is this feature? I saw it the other day and thought it looked handy. Does anyone use it? What sort of performance impact does it have?

Despite liking short tags (a hangover from early ASP work) I have just stuck to long tags now... JIC.[/quote]

I've had some experience with the dynamic short tag rewrite feature for CI, whilst its useful, if you dig into the code deeper, the rewrite is actually replacing using regular expression and then using the eval() function to execute the code.

I haven't done any kind of benchmarks, but my guess is that it is probably quite a lot slower due to the regular expression matching and the extra PHP interpretor called using eval().

Just my opinion though, and I agree it is an extremely handy feature to have!


Messages In This Thread
I can not get <?= to work on one of my servers, any ideas why ? - by El Forum - 09-22-2009, 07:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB