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

 

Answer 
The echo () function is a tad faster because it returns nothing, whereas print() will return 1 if the statement is successfully output. 


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

Copyright © 2024. Powered by Intellect Software Ltd