Question:Between echo () and print () functions which one is the faster and why?

 

Answer Ans: The echo () function is a tad faster because it returns nothing, whereas print () will return 1 if the statement is successfully output, else return 0 if the statement is unsuccessfully output. As result echo () is faster than print ().

 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd_com_https\answers\column_answer_two.php on line 128
+ Report
Total Preview: 592
Between echo () and print () functions which one is the faster and why?

Copyright © 2024. Powered by Intellect Software Ltd