echo() and print() are treated as a special feature #26
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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.
Do we want to remove echo and keep print? Or to keep echo and remove print?
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