PHP – What is the difference between echo and print?

PHP can sometimes be confusing where it shouldn’t be. One area of confusion is the issue with duplicate built-in functions. I’m always inclined to think that developers probably had good reason to make duplicates and the most of the times its good assumption.

But is it always true? Let’s see on the example of echo end print functions.

Continue reading “PHP – What is the difference between echo and print?”

PHP – What is the difference between single and double quotes?

Difference between single and double quotes in PHP can be confusing. Moreover,┬áit can lead to unexpected results, so it’s better to get familiar with it so you can avoid bugs.

Let’s dive into the details…

Continue reading “PHP – What is the difference between single and double quotes?”