3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php try { $messageId = unpack('P', base64_decode('BPEB9txiFFA'))[1]; } catch (\Exception $exp) { $messageId = 'noop'; } print_r($messageId);
based on dIJKQ
Output for 5.6.3 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
5770345723728097540
Output for 5.6.0 - 5.6.2
Warning: unpack(): Invalid format type P in /in/ngLXJ on line 3