3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('color.box' => 'red', 'some-var' => 'yes', 'valid' => 'ok'); extract($a); var_dump(${"color.box"}); var_dump(${"some-var"}); var_dump(${"valid"});
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $color.box in /in/rWKTJ on line 6 NULL Warning: Undefined variable $some-var in /in/rWKTJ on line 7 NULL string(2) "ok"

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