System.out.print in PHP

I found a PHP code sample that somebody had written as following line of code:

   1: <?php
   2: System.out.print($result);
   3: ?>

What you say about that code ?
This actually works in php. It will not print anything, but It doesn;y produce any error.
It just sees them as constants which do not exist and are interpreted as strings, and apparently, this is a valid PHP statement as well:

   1: <?php
   2: "this"."is"."a"."string";
   3: ?>

Related Posts

Leave a Reply

blog comments powered by Disqus