convert php array to javascript json laravel

PHP
<script>
	var js_json_obt = @json($php_array ?? '');
</scritp>
Source

Also in PHP: