Liquid Fire Posted November 29, 2007 Share Posted November 29, 2007 do you think it is worth using echo wherever possible than print because of the speed issue. I just ask because I am building a framework and want to make sure that I get the most effective code possible with effect code readability and there is really no readability issue with use print of echo(and I have never needed the use of the return value of print). Quote Link to comment https://forums.phpfreaks.com/topic/79485-solved-print-vs-echo/ Share on other sites More sharing options...
Wes1890 Posted November 30, 2007 Share Posted November 30, 2007 I use echo.. i never use print Quote Link to comment https://forums.phpfreaks.com/topic/79485-solved-print-vs-echo/#findComment-402507 Share on other sites More sharing options...
unidox Posted November 30, 2007 Share Posted November 30, 2007 They both do the same thing, its just what you prefer Quote Link to comment https://forums.phpfreaks.com/topic/79485-solved-print-vs-echo/#findComment-402558 Share on other sites More sharing options...
teng84 Posted November 30, 2007 Share Posted November 30, 2007 in some case yes read.. http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/40 Quote Link to comment https://forums.phpfreaks.com/topic/79485-solved-print-vs-echo/#findComment-402563 Share on other sites More sharing options...
Liquid Fire Posted November 30, 2007 Author Share Posted November 30, 2007 cool, I'll go with echo inside my framework since it is slight faster. Quote Link to comment https://forums.phpfreaks.com/topic/79485-solved-print-vs-echo/#findComment-402579 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.