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

Explore posts in the same categories: PHP

One Comment on “Hello world!”

  1. Mr WordPress Says:

    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.


Comment: