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

Mention how to use build/gen_stub.php for 8.0/7.4? #95

Open
TysonAndre opened this issue May 3, 2020 · 0 comments
Open

Mention how to use build/gen_stub.php for 8.0/7.4? #95

TysonAndre opened this issue May 3, 2020 · 0 comments

Comments

@TysonAndre
Copy link
Contributor

TysonAndre commented May 3, 2020

(e.g. for http://www.phpinternalsbook.com/php7/extensions_design/php_functions.html)

I've seen comments such as "we should try out gen_stub.php for generating arginfo for Reflection" for extensions with missing ReflectionParameter entries.

This may be worth considering after the 8.0 feature freeze, or be doable by linking to a specific commit's version of gen_stub.php

I forget if there are issues in older php versions such as 7.0 to note, if the extension doesn't use newer functionality such as nullable/void types.


Alternately, it might be useful just as a footnote, keeping the existing instructions to explain what the generated stubs are actually doing (and linking to an repo or a separate section)

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

1 participant