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?
Answer:
The two most common ways to start and finish a PHP script are:
<?php [ — PHP code—- ] ?> and
<? [— PHP code —] ?>
<?php [ — PHP code—- ] ?> and
<? [— PHP code —] ?>
Download Junior PHP Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me what is the difference between Exception::getMessage and Exception::getLine? | Do you know what is use of count() function in php? |