Are there other languages that use "<?" ?
Posted: Wed Jun 24, 2009 12:54 pm
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.
Thanks for any input.
Code: Select all
if(substr_count($src,"<?") && substr_count($src,"?>")){$code = "php";}