1.

Which function is useful when you want to output the executed command result?(a) out_cmm()(b) out_system()(c) cmm()(d) system()This question was posed to me by my school principal while I was bunking the class.My query is from File System and PHP in division File and Session Handling in PHP of PHP

Answer»

The CORRECT choice is (d) system()

Explanation: The function system() in PHP is same as the C version of the function as in that it executes the GIVEN command and outputs the result. This function also tries to automatically FLUSH the web server’s OUTPUT buffer after each line of output if PHP is running as a server module.



Discussion

No Comment Found

Related InterviewSolutions