Check out Scrivo

Do you want to try out Scrivo? Then here's a demo for you that does not just get your feet wet but lets you plunge right in.

Contact us

For more information, please contact us. We're happy to help you out!

Next Oct 26 Previous

I'm sitting on top of it

Consider the following script:

<script language="php">
echo "Hello here I am, and watch it: I'm going to do a lot more 'world'";

Which script tag is used in this code fragment?

A. ASP tag B. Short tag C. Standard tag D. Script tag


Obviously a script tag is used so answer D is correct.

It isn't used often but it's one of the PHP tags that are guaranteed to work. The other safe ones to use are the standard tag and since 5.4 as well. Availability of ASP tags and/or short open tags depend on your ini settings and might be disabled on your target system, so be warned.