Today's Question:  What's your opinion about Alibaba mooncake incident?        GIVE A SHOUT


Share your geeky stuff now.
You make the world better, the world makes us better.



  PHP to output string to client terminal

It is a common task to echo messages to the user using PHP. There are lots of ways where the message can be echoed to the client terminal(browser or console window) through PHP. These includes some well know debug methods like var_dump() and var_export() etc. In this post, we will show you some other methods shared by Laruence, one of the core members of PHP development team. 1. echo First comes with the most common one : echo. $str = "Hello PHP\n"; echo $str; 2. print Then comes another c...

954 0 0          PHP TRICKS DEBUG OUTPUT