3v4l.org

run code in 300+ PHP versions simultaneously
<?php $constants = preg_grep('/^E_/', array_keys(get_defined_constants())); $constants = array_combine($constants, array_map('constant', $constants)); asort($constants); foreach ($constants as $constant => $value) { printf("%016b %s\n", $value, $constant); }
Output for git.master, git.master_jit, rfc.property-hooks
0000000000000001 E_ERROR 0000000000000010 E_WARNING 0000000000000100 E_PARSE 0000000000001000 E_NOTICE 0000000000010000 E_CORE_ERROR 0000000000100000 E_CORE_WARNING 0000000001000000 E_COMPILE_ERROR 0000000010000000 E_COMPILE_WARNING 0000000100000000 E_USER_ERROR 0000001000000000 E_USER_WARNING 0000010000000000 E_USER_NOTICE 0000100000000000 E_STRICT 0001000000000000 E_RECOVERABLE_ERROR 0010000000000000 E_DEPRECATED 0100000000000000 E_USER_DEPRECATED 0111111111111111 E_ALL

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:
62.15 ms | 402 KiB | 8 Q