3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace { define('B\CONSTANT', 123); define('B\NULL', 456); define('GLOBAL_CONSTANT', 789); } namespace B { var_dump(NULL); var_dump(CONSTANT); var_dump(\B\NULL); var_dump(GLOBAL_CONSTANT); }
Output for git.master_jit, git.master, rfc.property-hooks
NULL int(123) int(456) int(789)

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:
86.87 ms | 405 KiB | 5 Q