View Single Post
Old 11-14-2007, 02:09 PM   #3 (permalink)
Morishani
The Contributor
 
Join Date: Nov 2007
Posts: 32
Thanks: 5
Morishani is on a distinguished road
Default

Nice tip you got there,
This line :
PHP Code:
for($iIndex 1$iIndex func_num_args(); $iIndex++) 
Is not that good because on every loop it calls the "func_num_args" function, So you may replace it with :
PHP Code:
for($iIndex 1$num_args func_num_args(); $iIndex $num_args$iIndex++) 
... 
or :
PHP Code:
$num_args func_num_args();
for(
$iIndex 1$iIndex $num_args$iIndex++) 
... 
Send a message via ICQ to Morishani Send a message via MSN to Morishani
Morishani is offline  
Reply With Quote