What is "print" in php?



What is "print" in php?..

Answer / Abhishek Upahyay

The print() function in PHP outputs one or more strings and optionally a carriage return, new line character, or both. It was deprecated in favor of the echo statement.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the use of get and post method in php?

1 Answers  


What is the method to execute a php script from the command line?

1 Answers  


What is an abstract class in php?

1 Answers  


What is die in php?

1 Answers  


How to Define a Constant in PHP? Is $ symbol necessary?

6 Answers   Maples,


What is framework? How it works? What is advantage?

1 Answers  


What is polymorphism in oop php?

1 Answers  


How to count a number of words in a string in php?

1 Answers  


Can anyone explain about join?

3 Answers  


How can we know the number of days between two given dates using PHP?

8 Answers   AZTEC, HCL, Navsoft,


if i give Limit for mysql query through php command line script like this for ex. $limit=500; $total_items = 1500; for($start=0;$start<$total_items;){ $command = "/usr/bin/php -q /home/sitename/public_html/admin/feedmanager/test.php feedid ".$_GET['feedid']." start ".$start." end ".$limit ; $start = $start+$limit; $command_result = system($command); } so it's execute command for 3 times so it give limit to sql query but if i have 27000 data so it takes long time? so my question is that is that any way from php command line script that i can use for collect all the data at once?

0 Answers  


How many escape sequences are recognized in single-quoted strings?

1 Answers  


Categories