You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mysqli option says "1" instead of "MYSQLI_OPT_COMPRESS" #5727
No constant for compression in released versions, so the option is documented by its value. Closing. If you wish to complete with a PR, you are free to submit one.
Activity
Sjord commentedon Jul 31, 2026
@kamil-tekiela Could you take a look at this issue? Was the literal 1 intentional?
Sjord commentedon Jul 31, 2026
See also PHP :: Doc Bug #29265 :: mysqli_options Compression Constant
kamil-tekiela commentedon Jul 31, 2026
Yes, yes it was intentional. See #5174 and php/php-src#20987
lacatoire commentedon Oct 26, 2026
No constant for compression in released versions, so the option is documented by its value. Closing. If you wish to complete with a PR, you are free to submit one.
kamil-tekiela commentedon Oct 26, 2026
Reopening this as PHP 8.6 will be released soon and this will have to be documented.