3v4l.org

run code in 300+ PHP versions simultaneously
<?php $expire = 1481437539; $proto = 'http://'; $domain = 'nlds120.cdnak.neulion.com'; $path = 'nlds_vod/nba/vod/2016/12/10/21600351/fc9d4a/2_21600351_gsw_mem_2016_a_whole_1_ipad.mp4.m3u8'; $key = 'NBAtv'; $params = 'expires='.$expire.'~access=/nlds_vod/nba/vod/2016/12/10/21600351/fc9d4a/*'; function h2b($str) { $bin = ""; $i = 0; do { $bin .= chr(hexdec($str{$i}.$str{($i + 1)})); $i += 2; } while ($i < strlen($str)); return $bin; } $bin = h2b($key); $hash = hash_hmac('MD5', $params, $bin); echo $bin; echo $proto.$domain.'/'.$path.'?hdnea='.$params.'~md5='.$hash.'&nltid=nba&nltdt=6'; ?>
Output for git.master, git.master_jit
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /in/g0ekl on line 16
Process exited with code 255.
Output for rfc.property-hooks
Parse error: syntax error, unexpected token "{", expecting ")" in /in/g0ekl on line 16
Process exited with code 255.

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:
61.38 ms | 401 KiB | 8 Q