* Thus wrote bskolb:
>  
> Benchmark results:
>  
> Function assocArrayWithQuotes() ran 500000 times in 4.4331 seconds.
> Function assocArrayWithoutQuotes() ran 500000 times in 6.4170 seconds.
>  
> The only difference in the two functions is the use of quotes, one with and
> the other without.

That is because the  one without the quotes, php first checks to
see if a constant is defined with that name, if not then the
literal value will be used.


Curt
-- 
The above comments may offend you. flame at will.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to