3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo bin2hex('magnet:?xt=urn:btih:49A48ADF414052E4F470A319ED6D200FB4C240B9'); echo "\n"; echo hex2bin('6d61676e65743a3f78743d75726e3a627469683a34394134384144463431343035324534463437304133313945443644323030464234433234304239');
based on 4NNcp
Output for 5.5.0 - 7.2.0
6d61676e65743a3f78743d75726e3a627469683a34394134384144463431343035324534463437304133313945443644323030464234433234304239 magnet:?xt=urn:btih:49A48ADF414052E4F470A319ED6D200FB4C240B9