3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function($erroNo, $errorMessage) { echo "woah. Got error:" . $errorMessage . PHP_EOL; }, E_ALL | E_STRICT); $undefinedThing["meep"] = "meep"; var_dump($undefinedThing);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FnWRv
function name:  (null)
number of ops:  11
compiled vars:  !0 = $undefinedThing
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FFnWRv%3A3%240'
    5     2        SEND_VAL                                                 ~1
          3        SEND_VAL                                                 32767
          4        DO_ICALL                                                 
    7     5        ASSIGN_DIM                                               !0, 'meep'
          6        OP_DATA                                                  'meep'
    8     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FFnWRv%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FnWRv
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $erroNo, !1 = $errorMessage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        CONCAT                                           ~2      'woah.+Got+error%3A', !1
          3        CONCAT                                           ~3      ~2, '%0A'
          4        ECHO                                                     ~3
    5     5      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FFnWRv%3A3%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.1 ms | 1395 KiB | 17 Q