What is the use of print_r function in php?



What is the use of print_r function in php?..

Answer / Akhilesh Kumar Jaiswal

The print_r() function in PHP is used to display the contents of a variable in a human-readable format, usually for debugging purposes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How can I know that a variable is a number or not using a JavaScript?

2 Answers  


How to support multiple-page forms?

1 Answers  


Is PHP is procedure oriented or object oriented?

10 Answers   DLF, Net Solution,


What are the rules for naming a php variable?

1 Answers  


What are psrs? Choose 1 and briefly describe it?

1 Answers  


What is the purpose of using php?

1 Answers  


Which programming language does php resemble to?

1 Answers  


Explain what does the unset() function means?

1 Answers  


Is php strongly typed?

1 Answers  


Why we are using PHP than others for web developing?

4 Answers  


How to download and install php on windows?

1 Answers  


How failures in execution are handled with include() and require() functions?

1 Answers  


Categories