What is the difference between print and printf(), PHP Web Programming

Assignment Help:

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.

 


Related Discussions:- What is the difference between print and printf()

Forms, Each of form in a document develops a form object. As a document can...

Each of form in a document develops a form object. As a document can have more than one form, Form objects are stored in an array called forms. Forms Array By using the for

We need a magento speed optimization help, We need a Magento Speed Optimiza...

We need a Magento Speed Optimization help In search of magento optimization for recently set up site, including sever cache, database management as well as front end optimizatio

Need help to merge a plugin with a wordpress theme, Merge a plugin with a W...

Merge a plugin with a Wordpress theme I need to make plugins to work on theme as well I want to be able to use some of the extra plugins on the premium press theme. Desired S

I want help for booking travel site, Booking Travel Site The flow of the...

Booking Travel Site The flow of the website must have entirely of the functionality of Orbitz.com using GDS integration directly with Sabre. The complete concept of the website

Social website, how to creat a register and login form

how to creat a register and login form

Need help in single page psd to responsive html, Need help in Single page P...

Need help in Single page PSD to Responsive HTML using Bootstrap3 I want a single page html which is similar in design to optimizepress .com The coding for the html must be Re

Need help in internet marketing software project needed, Need help in Inter...

Need help in Internet marketing software project needed I want a internet marketing software, bot, app created asap I have over 60 software that I have researched I want some

Needed mobile wordpress expert, Mobile Wordpress Expert Seeking a person...

Mobile Wordpress Expert Seeking a person that is very good at installing wordpress themes from themeforest and making sure that they look GREAT on Mobile Devices. Please disp

Website paypal integration, Website PayPal integration We have popular o...

Website PayPal integration We have popular of the site developed. We are looking to integrate our website payment system with PayPal. Seeking an experienced developer with PayPa

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd