json_last_error
laravel/octane
Supported Versions: PHP 5 >= 5.3.0, PHP 7, PHP 8
Returns the last error occurred
<?php json_last_error
():
int