3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'foo'; $b = & $a; $c = 'moo'; $vars = get_defined_vars(); $vars['a'] = 'OMG'; $vars['c'] = 'Pie'; debug_zval_dump($a); debug_zval_dump($b); debug_zval_dump($c); var_dump($a, $b, $c);
Output for git.master, rfc.property-hooks
string(3) "OMG" interned string(3) "OMG" interned string(3) "moo" interned string(3) "OMG" string(3) "OMG" string(3) "moo"
Output for git.master_jit
string(3) "OMG" refcount(3) string(3) "OMG" refcount(3) string(3) "moo" refcount(3) string(3) "OMG" string(3) "OMG" string(3) "moo"

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:
49.49 ms | 401 KiB | 8 Q