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
The following code:
<?php $config = [ 'http' => [ 'timeout' => PHP_INT_MAX, ], ]; $ctx = stream_context_create($config); var_dump(fopen("http://www.example.com", "r", false, $ctx));
Resulted in this output:
/php-src/ext/standard/http_fopen_wrapper.c:236:20: runtime error: 9.22337e+18 is outside the range of representable values of type 'long'
nightly
ubuntu 22.04
The text was updated successfully, but these errors were encountered:
note that for this one I could reproduce it only with clang.
Sorry, something went wrong.
Fix phpGH-16809: fopen HTTP wrapper timeout stream context option ove…
582c8ef
…rflow.
devnexen
Successfully merging a pull request may close this issue.
Description
The following code:
Resulted in this output:
PHP Version
nightly
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered: