Obviously, PHP uses this when beginning to process, but are there any other languages that use this ("<?") as well? The reason I'm asking this is because I'm in the middle of writing something that sets a variable to TRUE when it comes into contact with the above and if there are other languages that use that, then it may cause me problems.
Code: Select all
if(substr_count($src,"<?") && substr_count($src,"?>")){$code = "php";}
Thanks for any input.