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

Unreferenced Class names #3667

Open
wijnandus opened this issue Aug 21, 2024 · 2 comments
Open

Unreferenced Class names #3667

wijnandus opened this issue Aug 21, 2024 · 2 comments

Comments

@wijnandus
Copy link

From manual page: https://php.net/language.namespaces.importing

---The examples shown do not work unless the php file that contains the references is 'required' is also loaded. Why is there no mention of this? Just running the examples always gives me "Fatal error: Uncaught Error: Class 'My\Own\Classname' not found in..... on line nnn
Regards, Winand Beke

@cmb69
Copy link
Member

cmb69 commented Aug 21, 2024

Maybe we should explicitly state that these examples are for understanding purposes only, and not actually meant to be executed. Perhaps we should even mark them ("machine readable"), considering that at some point in the future we may want to add the possibility to actually run examples from the online manual.

@wijnandus
Copy link
Author

wijnandus commented Aug 21, 2024 via email

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