3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function(){ print_r(debug_backtrace()); }); class x { static function y() { include '/tmp/asdf.php'; } } x::y();
Output for git.master_jit, git.master, rfc.property-hooks
Array ( [0] => Array ( [file] => /in/vv6pK [line] => 9 [function] => {closure} [args] => Array ( [0] => 2 [1] => include(/tmp/asdf.php): Failed to open stream: No such file or directory [2] => /in/vv6pK [3] => 9 ) ) [1] => Array ( [file] => /in/vv6pK [line] => 9 [function] => include ) [2] => Array ( [file] => /in/vv6pK [line] => 13 [function] => y [class] => x [type] => :: [args] => Array ( ) ) ) Array ( [0] => Array ( [file] => /in/vv6pK [line] => 9 [function] => {closure} [args] => Array ( [0] => 2 [1] => include(): Failed opening '/tmp/asdf.php' for inclusion (include_path='.:') [2] => /in/vv6pK [3] => 9 ) ) [1] => Array ( [file] => /in/vv6pK [line] => 9 [function] => include ) [2] => Array ( [file] => /in/vv6pK [line] => 13 [function] => y [class] => x [type] => :: [args] => Array ( ) ) )

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:
38.84 ms | 405 KiB | 8 Q