3v4l.org

run code in 300+ PHP versions simultaneously
<?php // The very top of your php script $vars = get_defined_vars(); // Now do your stuff $mystring = null; // Get all the variables defined in current scope $vars = array_diff(get_defined_vars(),$vars); echo '<pre>'; print_r($vars); echo '</pre>';
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 Warning: Array to string conversion in /in/3mLCg on line 9 <pre>Array ( [mystring] => ) </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:
43.43 ms | 403 KiB | 8 Q