You should not notice any breaking changes in this release unless you were using named parameters, or ignoring argument types defined in docblocks.
Changed
- Renamed function parameters to match
json_decode()
's signature$source
is now$json
$options
is now$flags
- Added explicit
mixed
return type to matchjson_decode()
- Added proper types to all parameters and return values of
SyntaxError
- Renamed two arguments in the
SyntaxError
's constructor:$linenumber
is now$lineNumber
$columnNumber
is now$column
Removed
- Removed support for PHP 7.x (8.0+ is now required)