mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
As of PHP 8.1.0, passing `null` to an `int` parameter is deprecated, and as such the deprecation notice breaks the test. So we instead pass an integer, and to avoid hard-coding a value we just add the two supported constants (which are supposed to have the values `1` and `2`, respectively). Closes GH-15254.