Welcome Guest, Not a member yet? Register   Sign In
<?=$item ?> or <?php echo $item;?> witch is faster ?
#2

[eluser]mdvaldosta[/eluser]
I doubt theirs a measurable difference, but if anything <?php would be faster because it doesn't have to get converted from short tags. I think you're splitting hairs with that kind of optimization. Having said that though, I always use the full <?php ?> tags as a habit because not all server settings allow short tags and if you used CI's function to convert those there would most definitely be a very small overhead with doing that.


Messages In This Thread
<?=$item ?> or <?php echo $item;?> witch is faster ? - by El Forum - 12-23-2010, 01:36 PM



Theme © iAndrew 2016 - Forum software by © MyBB