sprintfis much faster than using variables in double quotes
- PHP5 has introduced
$_SERVER[’REQUEST_TIME’]which has the script execution start time. So you can avoid using
- When parsing with XML in PHP try
xml2array. This function uses the PHP XML functions. So it would be better than calling specific functions for each data.
else ifis much faster than
echofor a faster