3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(hexdec("0")); // print "int(10)" var_dump(hexdec("000")); // print "int(160)" var_dump(hexdec("000000")); // print "int(160)" var_dump(hexdec("AAFFCC")); // print "int(160)" var_dump(hexdec("AFC")); // print "int(160)" var_dump(dechex(hexdec("0"))); // print "int(10)" var_dump(hexdec("000")); // print "int(160)" var_dump(hexdec("000000")); // print "int(160)" var_dump(hexdec("AAFFCC")); // print "int(160)" var_dump(hexdec("AFC")); // print "int(160)"
Output for git.master, git.master_jit, rfc.property-hooks
int(0) int(0) int(0) int(11206604) int(2812) string(1) "0" int(0) int(0) int(11206604) int(2812)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
71.96 ms | 401 KiB | 8 Q