3v4l.org

run code in 300+ PHP versions simultaneously
<?php function varDump($var, $label = '', $die = 1) { if (isset($_SERVER['REMOTE_ADDR']) && ! in_array($_SERVER['REMOTE_ADDR'], array('212.56.213.6', '127.0.0.1', '89.28.82.193'))) return ; echo '<strong style="color: #ff2222; font-size: 18px;">' . $label . '</strong>: <pre style="line-height: 18px;">'; print_r($var); echo '</pre>'; if ($die) die(); } varDump(['a'=>'a','b'=>'b']);
Output for git.master, git.master_jit, rfc.property-hooks
<strong style="color: #ff2222; font-size: 18px;"></strong>: <pre style="line-height: 18px;">Array ( [a] => a [b] => b ) </pre>

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