Hello world!
<?php
echo print(“Hello world! “);
?>
The out put of the program will be
Hello world!1
print will read the string in double codes and return Hello world!
and since print is a function it returns 1 or 0
In this case,
print will return 1 and since we are echoing that it gives 1
March 18, 2008 at 8:03 am
Hi, this is a comment.
To delete a comment, just log in, and view the posts’ comments, there you will have the option to edit or delete them.