Because of some features specific to PHP (like short echo tag), PH7 Engine implemented echo() and print() builtin functions twice - as standalone function and as special construct. Thereby it is possible to call print() and echo() without brackets. In Aer, there is no such need and print() should be just a builtin function. There is also no need to maintain both functions. Thus echo() can be removed.
Because of some features specific to PHP (like short echo tag), PH7 Engine implemented echo() and print() builtin functions twice - as standalone function and as special construct. Thereby it is possible to call print() and echo() without brackets. In Aer, there is no such need and print() should be just a builtin function. There is also no need to maintain both functions. Thus echo() can be removed.
belliash
added the bug label 2018-07-29 07:55:19 +02:00
belliash
added idea and removed bug labels 2018-07-29 08:20:49 +02:00
belliash
changed title from echo() and printf() are treated as a special feature to echo() and print() are treated as a special feature2018-07-29 20:59:03 +02:00
belliash
self-assigned this 2018-07-31 10:56:18 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Because of some features specific to PHP (like short echo tag), PH7 Engine implemented echo() and print() builtin functions twice - as standalone function and as special construct. Thereby it is possible to call print() and echo() without brackets. In Aer, there is no such need and print() should be just a builtin function. There is also no need to maintain both functions. Thus echo() can be removed.
I was thinking about keeping print and removing echo. Do you think, this is bad idea?
echo() and printf() are treated as a special featureto echo() and print() are treated as a special feature