Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 10-20-2012, 07:01 PM   #6
henryc10
Registered User
 
Join Date: Oct 2012
Posts: 33
Difference between echo and print
1. Speed (echo is slightly faster than print)
2. Parameter (echo can take multiple parameters unlike print)
3. Expression (print can be used as part of more complex expression where echo cannot)

die is another thing which has the same functionality of exit
henryc10 is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:26 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.