3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = '{ "refresh_token": "xxxx", "access_token": "xxxx", "expires_in": 21600 }'; $values = json_decode($test, true); print_r($values);

preferences:
25.51 ms | 405 KiB | 5 Q