Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Web technologies Questions | PHP Quiz | Set-2 | Question 9

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

The correct syntax for enclosing the PHP script are?

(A)

<PHPgt; </phpgt;

(B)

<?PHP ?gt;

(C)

?PHP ?PHP

(D)

<p?gt; </?pgt;


Answer: (B)

Explanation:

The correct syntax for enclosing is the php script are <?php  ?> where , <?php is starting position and end with  ?> 


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 20 Sep, 2021
Like Article
Save Article
Similar Reads
Related Tutorials