Make your own PHP echo or print function

Hello friends. Now you can make your own php echo / print function accordingly you. So, write your code here-

    function set_echo($data)
        return $my_echo;

    function get_echo($data)
        echo set_echo($data);    

    echo get_echo("Bismillahir Rahmanir Rahim");


Ok, dear friends. Now run your page and you will get the output like this Insalah.

Bismillahir Rahmanir Rahim

If you want to use your own echo function, you have to put this code before your every page respectively use.

Thanks for reading…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s