3v4l.org

run code in 300+ PHP versions simultaneously
<?php class wpdb { function bail() { wp_die(); } } function wp_die() { var_dump(debug_backtrace(0, 2)); die('x'); } $a = new wpdb(); $a->bail();
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> array(4) { ["file"]=> string(9) "/in/aHKLf" ["line"]=> int(5) ["function"]=> string(6) "wp_die" ["args"]=> array(0) { } } [1]=> array(6) { ["file"]=> string(9) "/in/aHKLf" ["line"]=> int(15) ["function"]=> string(4) "bail" ["class"]=> string(4) "wpdb" ["type"]=> string(2) "->" ["args"]=> array(0) { } } } x

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:
64.72 ms | 402 KiB | 8 Q