3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex('magnet:?xt=urn:btih:49A48ADF414052E4F470A319ED6D200FB4C240B9'); echo "\n"; echo hex2bin('6d61676e65743a3f78743d75726e3a627469683a34394134384144463431343035324534463437304133313945443644323030464234433234304239');
Output for 5.5.0 - 5.5.35, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.21, 8.3.0 - 8.3.9
6d61676e65743a3f78743d75726e3a627469683a34394134384144463431343035324534463437304133313945443644323030464234433234304239 magnet:?xt=urn:btih:49A48ADF414052E4F470A319ED6D200FB4C240B9

preferences:
135.12 ms | 405 KiB | 219 Q