We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Found an unexpected result when casting resources to ints (common thing in PHP):
var key; let key = (int) stream; //stream is resource #127 echo $key;
Expected: 127 Current: 1
127
1
I always receive 1 instead of resource id. intval is also not working. strval gets Resource id #127
intval
strval
Resource id #127
The text was updated successfully, but these errors were encountered:
Fixed in the 0.10.11 version. Thank you for the report, and for helping us make Zephir better.
0.10.11
Sorry, something went wrong.
AlexNDRmac
No branches or pull requests
Hi,
Found an unexpected result when casting resources to ints (common thing in PHP):
Expected:
127
Current:
1
I always receive
1
instead of resource id.intval
is also not working.strval
getsResource id #127
The text was updated successfully, but these errors were encountered: