Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Tell me what are the correct and the most two common way to start and finish a PHP block of code?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

The two most common ways to start and finish a PHP script are:
<?php [ — PHP code—- ] ?> and
<? [— PHP code —] ?>

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what is the difference between Exception::getMessage and Exception::getLine?Do you know what is use of count() function in php?