include functions syntax #28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Aer Information
48b2e9d1c6
Your problem description
Include functions [include(), include_once(), require(), require_once()] does not check for opening and closing bracket. They can be called both:
and
As there is no limit of using including function and such instruction can be put anywhere, IMHO it should have syntax like standard function.
Expected results
include 'file.php'; should fail.
Current results
no error about wrong syntax.
Should we treat this as a bug? Should we change this?
What is your opinion?
Will be done in compiler_rework branch.
b5fe36c14b
9100bf0696