3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = preg_replace_callback_array( array( "/EXECUTE_DATA/m" => function($matches) { return "execute_data"; }, "/ZEND_VM_DISPATCH_TO_HANDLER\(\s*([A-Z_]*)\s*\)/m" => function($matches) use ($spec, $prefix, $op1, $op2) { return "return " . $matches[1] . ($spec?"_SPEC":"") . $prefix[$op1] . $prefix[$op2] . "_HANDLER(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)"; }, "/ZEND_VM_DISPATCH_TO_HELPER\(\s*([A-Za-z_]*)\s*\)/m" => function($matches) use ($spec, $prefix, $op1, $op2) { return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)"; }, "/ZEND_VM_DISPATCH_TO_HELPER_EX\(\s*([A-Za-z_]*)\s*,\s*[A-Za-z_]*\s*,\s*(.*)\s*\);/m" => function($matches) use ($spec, $prefix, $op1, $op2) { return "return " . helper_name($matches[1], $spec, $op1, $op2) . "(" . $matches[2]. ", ZEND_OPCODE_HANDLER_ARGS_PASSTHRU);"; }, ), $code);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $spec in /in/V2pHo on line 8 Warning: Undefined variable $prefix in /in/V2pHo on line 8 Warning: Undefined variable $op1 in /in/V2pHo on line 8 Warning: Undefined variable $op2 in /in/V2pHo on line 8 Warning: Undefined variable $spec in /in/V2pHo on line 11 Warning: Undefined variable $prefix in /in/V2pHo on line 11 Warning: Undefined variable $op1 in /in/V2pHo on line 11 Warning: Undefined variable $op2 in /in/V2pHo on line 11 Warning: Undefined variable $spec in /in/V2pHo on line 14 Warning: Undefined variable $prefix in /in/V2pHo on line 14 Warning: Undefined variable $op1 in /in/V2pHo on line 14 Warning: Undefined variable $op2 in /in/V2pHo on line 14 Warning: Undefined variable $code in /in/V2pHo on line 17 Deprecated: preg_replace_callback_array(): Passing null to parameter #2 ($subject) of type array|string is deprecated in /in/V2pHo on line 3

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:
92.46 ms | 403 KiB | 8 Q