8000 Fire error in case of rand functions with single arg by mkornaukhov03 · Pull Request #1327 · VKCOM/kphp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fire error in case of rand functions with single arg #1327

New 8000 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

Merged
merged 2 commits into from
May 26, 2025

Conversation

mkornaukhov03
Copy link
Contributor
@mkornaukhov03 mkornaukhov03 commented May 23, 2025

PHP fails to call mt_rand() or rand() with single argument.
Previously KPHP failed on C++ --> object, this PR changes behavior so that the human-readable error will be fired in PHP --> C++ stage.

8000
@mkornaukhov03 mkornaukhov03 added this to the next milestone May 23, 2025
@mkornaukhov03 mkornaukhov03 self-assigned this May 23, 2025
@mkornaukhov03 mkornaukhov03 added the bug Something isn't working label May 23, 2025
@mkornaukhov03 mkornaukhov03 changed the title Fire error in case of rand function with single arg Fire error in case of rand functions with single arg May 23, 2025
@mkornaukhov03 mkornaukhov03 merged commit 70ccbac into master May 26, 2025
7 checks passed
@mkornaukhov03 mkornaukhov03 deleted the mkornaukhov03/fix-default-args branch May 26, 2025 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0