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...

What is the difference between echo and print statement?

Answer Posted / roshan

echo can take multiple arguments separated by comma whereas print can take one single argument.

echo $x,$y,$z;//This is valid
//print $x,$y; This is invalid
print $x; //This is valid.

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current stable version of php?

1085


What is the difference between substr() and strstr()?

1441


Tell me how can we determine whether a variable is set?

954


What is the basic syntax of Php?

1228


Why does php need server?

1019


Explain what does $_server means?

1119


Why is php used?

1077


How is it possible to propagate a session id?

1058


Tell me how can you pass a variable by reference?

1005


What are headers in php?

1001


Tell me how can we display information of a variable and readable by human with php?

1094


What is php regular expression?

1054


What is list function with their uses.

1023


What are the string functions in php?

1002


Is laravel easy to learn?

1020