Ild just like to point out something on the echo and print argument. You say "The echo command is much faster than the print command". I'ld like to point out why.
Print has a return value, echo does not.
Consider:
PHP Code:
<?php
if (print('foo')) { print('foo printed'); } // Will be true
if (echo('foo')) { echo('foo printed'); } // Will be false
?>
Evidently print will always return logical true (1), unless there is a serious error with PHP and the string does not print. Obviously PHP uses C prototypes but I will convert them into PHP so we can see what is going on.
PHP Code:
<?php
function print($stringToPrint) {
system.out($stringToPrint);
return 1;
}
function echo ($stringToPrint) {
system.out($stringToPrint);
}
?>
Hope that helps clear that up.
________________
credit counseling cheapest loans
Bookmarks