Sinisterly
Which do you prefer - Echo or Print, and why? - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: PHP (https://sinister.li/Forum-PHP)
+--- Thread: Which do you prefer - Echo or Print, and why? (/Thread-Which-do-you-prefer-Echo-or-Print-and-why)

Pages: 1 2


Which do you prefer - Echo or Print, and why? - zoran - 02-08-2015

The two ways of getting text to the output are Echo and Print. They differ in significant ways. Perhaps you want to share why you prefer one over the other and the situations you might lean on way or the other?

I typically use Echo, because I have had fewer problems with it handling printing exactly what I give it. I vaguely remember Print giving some problems, at which time I decided to stick with Echo. If Echo cannot meet some needs I can turn to Print, but so far I haven't found any.


RE: Which do you prefer - Echo or Print, and why? - Aim_mybb_import1334 - 02-18-2015

I just used echo from the start and never used print :| dont know why just like echo


RE: Which do you prefer - Echo or Print, and why? - Fellix - 03-02-2015

I use echo, never used print


RE: Which do you prefer - Echo or Print, and why? - Pirate - 03-05-2015

Echo. First thing I learned so I always use that


RE: Which do you prefer - Echo or Print, and why? - Jasper - 03-07-2015

echo cuz it's simple kappa


RE: Which do you prefer - Echo or Print, and why? - Dan - 03-09-2015

Echo, becuase wtf is print.


RE: Which do you prefer - Echo or Print, and why? - THC - 03-11-2015

I use print, its better


RE: Which do you prefer - Echo or Print, and why? - B851T - 03-15-2015

echo because why the fuck not?


RE: Which do you prefer - Echo or Print, and why? - THC - 03-16-2015

because echo is shitty


RE: Which do you prefer - Echo or Print, and why? - Kawaii Love - 06-10-2015

Echo is pretty simple while Print needs some other work.