PHP print() FunctionPHP print() function is important function, which is used to output one or more string. Note: The print() function is not actually a function, so there is no required to use parentheses.Syntax:
Example 1Output: Hello PHP Example 2Output: Hello PHP! It is Server Side Scripting Language Example 3Output: Hello PHP! PHP is server side scripting language Example 4Output: JOHN is 35 years old.
Next TopicPHP String
|