Are there other languages that use "<?" ?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Wolf_22
Forum Contributor
Posts: 159
Joined: Fri Dec 26, 2008 9:43 pm

Are there other languages that use "<?" ?

Post by Wolf_22 »

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.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Are there other languages that use "<?" ?

Post by Benjamin »

XML is one.
Wolf_22
Forum Contributor
Posts: 159
Joined: Fri Dec 26, 2008 9:43 pm

Re: Are there other languages that use "<?" ?

Post by Wolf_22 »

Eck! Ha. Yep, that is one... :banghead:
Post Reply