PHPScript is PHP's own ActiveScript interface. In practical terms, this means that you can use PHP from within any application that can host ActiveScript engines. The list of known hosts includes, and is not limited to:
Windows Script Host
Create a .wsf file like this:
<job id="test"> <script language="PHPScript"> $WScript->Echo("Hello"); </script> </job>
or invoke your .php script directly from cscript.exe or wscript.exe using the //E:PHPScript option.
<%@language=PHPScript %> <%$Response->Write("Hello"); %>
Set the language property to PHPScript
Script Components / IE
note: it is very dangerous to deploy PHPScript inside IE
Simply use <script language="PHPScript"> for your script tags.
If you are developing code to run under PHPScript, you need to keep in mind the following differences from regular PHP: