3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $bytes = pack("P", 101796507803451406); $hex = bin2hex($bytes); echo $hex; $bytes = hex2bin($hex); $result = unpack("P", $bytes); print_r($result);

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
49.07 ms | 701 KiB | 4 Q