3v4l.org

run code in 300+ PHP versions simultaneously
<?php class wpdb { function bail() { wp_die(); } } function wp_die() { $stacktrace = debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS, 2 ); $last = array_pop( $stacktrace ); var_dump($last); } function a() { b(); } function b() { c(); } function c() { d(); } function d() { $a = new wpdb(); $a->bail(); } a();
Output for git.master, git.master_jit, rfc.property-hooks
array(5) { ["file"]=> string(9) "/in/FPvfn" ["line"]=> int(29) ["function"]=> string(4) "bail" ["class"]=> string(4) "wpdb" ["type"]=> string(2) "->" }

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