what is the difference between echo print and


What is the difference between echo, print and printf()?

Echo is the basic type used to print out a string. It just illustrates the content of message written using it. It can have multiple parameters as well. print is a construct, it returns TRUE on successful output and FALSE if there is no output. It cannot have multiple parameters. Printf() is a function, and not to be used as a construct. It allows string output to be formatted. It is the slowest medium to print the data out.

 

Request for Solution File

Ask an Expert for Answer!!
PHP Web Programming: what is the difference between echo print and
Reference No:- TGS0355091

Expected delivery within 24 Hours