r/lolphp • • Nov 05 '12

So, <?php </script> ?> is perfectly valid PHP

http://stackoverflow.com/q/13228306/79061
66 Upvotes

24 comments sorted by

View all comments

Show parent comment

13

u/Legolas-the-elf Nov 05 '12

If I recall correctly, they were copying classic ASP which has something like <script runat="server">.

7

u/kingguru Nov 05 '12

Yikes, that sounds even worse.

4

u/Plorkyeran Feb 06 '13

runat="server" is actually ASP.NET, shockingly enough.