Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include reference page does not give syntax or options #4344

Open
JustinWebDev opened this issue Dec 26, 2024 · 2 comments
Open

include reference page does not give syntax or options #4344

JustinWebDev opened this issue Dec 26, 2024 · 2 comments

Comments

@JustinWebDev
Copy link

From manual page: https://php.net/function.include


https://www.php.net/manual/en/function.include.php does not show any syntax or optional parameters like would typically be shown (e.g., https://www.php.net/manual/en/function.finfo-buffer.php).

@damianwadley
Copy link
Member

There are no options or parameters - because include, as well as require and their _once versions, aren't functions (even if there is lots of code out there that uses parentheses with them). That's why this page is in the Control Structures section of the documentation.

The examples on that page are the extent of the functionality: include (et al.) + space + filename. Is there something more that should be mentioned?

@JustinWebDev
Copy link
Author

I suppose not then. Thank you for the clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants