3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page = '{"token":"{\"adblock\":false,\"player_type\":null,\"platform\":null,\"user_id\":104297154,\"channel\":\"monstercat\",\"expires\":1478281521,\"chansub\":{\"view_until\":1924905600,\"restricted_bitrates\":[]},\"private\":{\"allowed_to_view\":true},\"privileged\":false,\"source_restricted\":false,\"https_required\":false,\"show_ads\":true,\"device_id\":\"abde53bf9e4af067\"}","sig":"e3281418c5cedc04b47b1181e56108388c95227c","mobile_restricted":false}'; $json = json_decode($page, true); $token = $json['token']; $sig = $json['sig']; echo 'token=' . rawurlencode($token) . '&sig=' . $sig;
Output for git.master, git.master_jit, rfc.property-hooks
token=%7B%22adblock%22%3Afalse%2C%22player_type%22%3Anull%2C%22platform%22%3Anull%2C%22user_id%22%3A104297154%2C%22channel%22%3A%22monstercat%22%2C%22expires%22%3A1478281521%2C%22chansub%22%3A%7B%22view_until%22%3A1924905600%2C%22restricted_bitrates%22%3A%5B%5D%7D%2C%22private%22%3A%7B%22allowed_to_view%22%3Atrue%7D%2C%22privileged%22%3Afalse%2C%22source_restricted%22%3Afalse%2C%22https_required%22%3Afalse%2C%22show_ads%22%3Atrue%2C%22device_id%22%3A%22abde53bf9e4af067%22%7D&sig=e3281418c5cedc04b47b1181e56108388c95227c

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
51.41 ms | 402 KiB | 8 Q