3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php printf('0x%04x', 1234);
based on iTqhb
Output for 4.3.0 - 7.2.0
0x04d2