3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo T_FINALLY; foreach(token_get_all("<?php try{}catch(Exception $e){}finally{}") as $tok) { if(is_array($tok)) { echo token_name($tok[0]) . ": "; echo $tok[1] . "\n"; } else { echo $tok; } }
Output for git.master, git.master_jit
353 Warning: Undefined variable $e in /in/vF4qq on line 3 T_OPEN_TAG: <?php T_TRY: try {}T_CATCH: catch (T_STRING: Exception T_WHITESPACE: ){}T_FINALLY: finally {}
Output for rfc.property-hooks
354 Warning: Undefined variable $e in /in/vF4qq on line 3 T_OPEN_TAG: <?php T_TRY: try {}T_CATCH: catch (T_STRING: Exception T_WHITESPACE: ){}T_FINALLY: finally {}

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