include functions syntax #28
- Aer Version (or commit ref):
- Operating System: Linux
- System Architecture (eg. arm, x86_64, ...): x86_64
Your problem description
Include functions [include(), include_once(), require(), require_once()] does not check for opening and closing bracket. They can be called both:
As there is no limit of using including function and such instruction can be put anywhere, IMHO it should have syntax like standard function.
include 'file.php'; should fail.
no error about wrong syntax.
Should we treat this as a bug? Should we change this?
What is your opinion?
In my opinion, syntax should be consistent. Let's do it.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?