Junior PHP Developer Question:
Download Job Interview Questions and Answers PDF
Explain me what is the use of 'print' in php?
Answer:
This is not actually a real function, It is a language construct. So you can use with out parentheses with its argument list.
Example
print('PHP Interview questions');
print 'Job Interview ';
Example
print('PHP Interview questions');
print 'Job Interview ';
Download Junior PHP Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me how to strip whitespace (or other characters) from the beginning and end of a string? | Explain me how to include a file to a php page? |