print command in PHP![]()
Output
print takes one argument and always returns 1.
print with VariableThis is without any parentheses ( we can use pint with or without parentheses )
Output is here
Multiple variables
Output is here
Multiple Lines
Output is here
With escaping characters
Output is here
Using single quotes
Output is here
We used the variable $section in above code. It will not print the value of the variable, only name will be printed.
Using HTML tags
Output is here
This article is written by plus2net.com team.
![]() |