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

Function dl deprecated in PHP 5.3 document mismatch #2497

Closed
kitrio opened this issue May 27, 2023 · 1 comment
Closed

Function dl deprecated in PHP 5.3 document mismatch #2497

kitrio opened this issue May 27, 2023 · 1 comment

Comments

@kitrio
Copy link

kitrio commented May 27, 2023

https://php-legacy-docs.zend.com/manual/php5/en/migration53.deprecated
https://php-legacy-docs.zend.com/manual/php5/en/function.dl
According to php 5 document. the dl function in PHP has been deprecated since PHP 5.3.
and remove since PHP 7.0

When I executed it in PHP 8, I encountered the error: "Fatal error: Uncaught Error: Call to undefined function dl()".
This means that the dl function has been removed 7.0

However, this information is not documented.
https://www.php.net/dl

@kitrio kitrio changed the title dl function 5.3 deprecated document mismatch dl function PHP 5.3 deprecated document mismatch May 27, 2023
@kitrio kitrio changed the title dl function PHP 5.3 deprecated document mismatch Function dl deprecated in PHP 5.3 document mismatch May 27, 2023
@damianwadley
Copy link
Member

Correct: most PHP 4 and 5 information has been removed from the docs in order to reduce the amount of clutter. They now only cover PHP 7+ - which is why you had to go to php-legacy-docs.zend.com to see the older information.

The warning saying it's only available for CLI, embedded SAPIs, and command-line CGI is accurate. What were you using?

@kitrio kitrio closed this as completed May 28, 2023
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