3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = 4; $str = "John"; debug_zval_dump($val); debug_zval_dump($str); /* Extracting Global Variables */ var_dump(extract($GLOBALS, EXTR_REFS)); debug_zval_dump($val); debug_zval_dump($str); echo "\nDone";
Output for git.master, rfc.property-hooks
int(4) string(4) "John" interned int(9) int(4) string(4) "John" interned Done
Output for git.master_jit
int(4) string(4) "John" refcount(3) int(9) int(4) string(4) "John" refcount(3) Done

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