print vs. echo in PHP

print and echo commands are similar to each other in a sense that both of these will output the value to be printed on the screen.

The difference between two is that print will return a value of 1, so it can be used in an expression.

YouTube video

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

goto PHP operator

Data at rest protection