Top PHP Interview Questions and Answers

Page 1

Top PHP Interview Questions and Answers #PHP


What is PHP? PHP is a server side scripting dialect regularly utilized for web applications. PHP has numerous structures and cms for making websites.Even a non specialized individual can create locales utilizing its CMS. WordPress ,osCommerce are the famous CMS of php.It is likewise a question arranged programming dialect like java,C-sharp etc.It is exceptionally easy for learning


What is the use of "echo" in php? It is utilized to print an information in the site page, Example: <?php resound 'Auto protection'; ?> , The accompanying code print the content in the website page


How to include a file to a php page? We can incorporate a document utilizing "incorporate() " or "require()" work with record way as its parameter.


What's the difference between include and require? On the off chance that the document isn't found by require(), it will cause a lethal mistake and end the execution of the content. In the event that the record isn't found by incorporate(), a notice will be issued, however execution will proceed.


require_once(), require(), include().What is difference between them? require() incorporates and assesses a particular record, while require_once() does that just in the event that it has not been incorporated previously (in agreement). Thus, require_once() is prescribed to utilize when you need to incorporate a record where you have a considerable measure of capacities for instance. Thusly you ensure you do exclude the document more occasions and you won't get the "work re-announced" blunder.

READ More AT

http://bit.ly/2DgB96l


Differences between GET and POST methods ? We can send 1024 bytes utilizing GET strategy yet POST technique can exchange extensive measure of information and POST is the safe strategy than GET technique .


What's the difference between include and require? It's the way they handle disappointments. On the off chance that the document isn't found by require(), it will cause a lethal blunder and stop the execution of the content. On the off chance that the record isn't found by incorporate(), a notice will be issued, however execution will proceed.


Read More About PHP training In Chandigarh than join Cbitss technologies


THANK YOU


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.