Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference among echo, print and printf.



Difference among echo, print and printf...

Answer / amit kumar gaur

echo is the primitive of them and just output the content,
you can pass the multiple parameter.
<? php echo 'Welcome','to','india';?>

print is a construct(parentheses are optional)but it return
true and false,print does not the miultiple parameters.

printf is a function not a construct and allow advantage
formatted output.

echo is faster than others.

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More PHP Interview Questions

What is the difference between characters 34 and x34?

0 Answers  


What is split function in php?

0 Answers  


How do you identify independent and dependent variables in regression analysis?

0 Answers  


Can you use php and javascript together?

0 Answers  


Is there any way to call a JAVASCRIPT function in PHP in AJAX

4 Answers  


What is orm in php framework?

0 Answers  


is php is the best for this situation

2 Answers  


What is self in php?

0 Answers  


What is meant by pdo in php?

0 Answers  


Which php framework is fastest?

0 Answers  


What is purpose of @ in Php?

0 Answers  


What is an operator in php?

0 Answers  


Categories