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()

App ios - scan qrcode, APP IOS - Scan QRCODE Project Description: We ...

APP IOS - Scan QRCODE Project Description: We need the one team with maximum availability, that indicates us what is required in the project, and configure our hardware as re

Want javascript expert, Want JavaScript expert I need JavaScript expert ...

Want JavaScript expert I need JavaScript expert for urgent job please. A plugin in wordpress wont work due to a js file being called that shouldn't be. Quick fix needed Desir

Network layer of osi model, This layer is responsible for routing a packet ...

This layer is responsible for routing a packet in the subnet i.e., from source to destination nodes across multiple nodes in the similar network or across multiple networks. This l

Html headers, These are used to indicate the headings of sections or sub-se...

These are used to indicate the headings of sections or sub-sections in document. Based on the desired size of the text, any of six obtainable levels ( to ) of h

Support with custom wordpress theme, Support With Custom Wordpress Theme ...

Support With Custom Wordpress Theme I am seeking someone to help me customize a WordPress theme. I will design the theme and I am looking for someone to code it for me. Desir

What are the steps involved to run php, What are the steps involved to run ...

What are the steps involved to run PHP? The steps that are involved and required to run PHP is as follows: 1. Set up web environment. 2. Set up web servers. There are man

Working of telnet, 1. The commands & characters are sent to the operating s...

1. The commands & characters are sent to the operating system on common server computer. 2. The local operating system sends these commands & characters to a TELNET client progr

Need help in magento site optimization, Need help in Magento Site Optimizat...

Need help in Magento Site Optimization and Cross Browser Compatibility Looking for Magento expert for optimization of development site due to be launched soon. Tasks would compr

Write down notes on pear and its coding standards, Question: (a) Write...

Question: (a) Write down short notes on PEAR and its coding standards. (b) Consider a server with the following settings: servername: localhost username: alfred passw

Require a expert ruby on rails developer for ios and android, Require a exp...

Require a experts in Ruby on Rails developer for iOS and Android API I have a mobile app on iOS as well as Android which runs on a Ruby on Rails API. I would like to make some e

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