Skip to content

Add note about first-class callables to callable type and add link to the closure documentation page #4792

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shaedrich
Copy link
Contributor

No description provided.

@@ -125,7 +126,7 @@ call_user_func($c, 'PHP!');
<para>
<example>
<title>
Callback example using a Closure
Callback example using a <link linkend="class.closure">Closure</link>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw, why do we have <type> and <function> but not <class>?

@shaedrich shaedrich changed the title Add note about first-class callables to callable type documentation page Add note about first-class callables to callable type and add link to the closure documentation page Jul 26, 2025
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

Successfully merging this pull request may close these issues.

1 participant