" to an arbitrary value?" />
P
P
PO6OT2015-04-10 18:01:31
ruby
PO6OT, 2015-04-10 18:01:31

Is it possible to replace "<" in PHP? and "? >" to an arbitrary value?

Is it possible in PHP to replace the start and end tags of a script with an arbitrary value?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Andrey Demidenko, 2018-03-22
@Dem1

The fact is that unless has no elsif option (Only if)

B
blackst0ne, 2018-03-22
@blackst0ne

And should the responders guess the mistake?
If you write in Russian what the above code should do, you will see an error.

age = gets.to_i

if age > 18
  puts "You can use this"
else
  puts "You are too young"
end

ps: this code can be further shortened, but this is not relevant to the question.

A
Alexey, 2015-04-10
@woonem

Add the necessary definitions in the zend_language_scanner.l file.

F
FanatPHP, 2015-04-10
@FanatPHP

no
It's just as impossible as it's impossible for you to stop fooling around and inventing idiotic ways to solve primitive problems.
hint: none of the hundreds of thousands of developers have thought of such a replacement idea.
this means that you again dreamed up, and came up with some kind of nonsense, for the implementation of which it was necessary to replace the tags in PHP.
Come down from heaven to earth and do it humanly.

A
Alexander, 2015-04-10
@Awake

Of course you can. PHP code is quite open ;-)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question