View Single Post
  #1 (permalink)  
Old 27-09-2004, 09:56 AM
bazet's Avatar
bazet bazet is offline
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 92
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
Which is faster ?

Comparison #1
PHP Code:
$data ' Lorem ipsum ';
$data. =  ' danga bay ';
$data. = 'the lost empire of Troy ';
echo 
$data
or
PHP Code:
$data[] = ' Lorem ipsum ';
$data[] =  ' danga bay ';
$data[] = 'the lost empire of Troy ';
echo 
implode(""$data); 
Comparison #2
PHP Code:
echo "Lorem Ipsum"
or

PHP Code:
echo 'Lorem Ipsum'
Start learning write PHP for speed. These 2 examples show us how to achive speed in PHP.

Anyone have any URL for related topic ? ( Writing PHp for speed )..I just read it from ez Framework Documentation
Reply With Quote