3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((new ReflectionClass(Exception::class))->getDefaultProperties()); var_dump(get_class_vars(Exception::class));
Output for git.master, git.master_jit, rfc.property-hooks
array(7) { ["message"]=> string(0) "" ["string"]=> string(0) "" ["code"]=> int(0) ["file"]=> string(0) "" ["line"]=> int(0) ["trace"]=> array(0) { } ["previous"]=> NULL } array(0) { }

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:
43 ms | 1992 KiB | 4 Q