3v4l.org

run code in 300+ PHP versions simultaneously
<?php $match = []; set_error_handler (function ($a,$B,$C,$W,$q,$rrr){ var_dump("qwqew", $a, $B,$C,$W,$rrr); },E_NOTICE); try { $match[1]; } catch (\Exception $e) { echo 'Exception:' . $e->getMessage(); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 9
Branch analysis from position: 9
2 jumps found. (Code = 107) Position 1 = 10, Position 2 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hd0X0
function name:  (null)
number of ops:  15
compiled vars:  !0 = $match, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'set_error_handler'
          2        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FHd0X0%3A5%240'
    7     3        SEND_VAL                                                 ~3
          4        SEND_VAL                                                 8
          5        DO_ICALL                                                 
   10     6        FETCH_DIM_R                                      ~5      !0, 1
          7        FREE                                                     ~5
          8      > JMP                                                      ->14
   11     9  E > > CATCH                                       last         'Exception'
   12    10    >   INIT_METHOD_CALL                                         !1, 'getMessage'
         11        DO_FCALL                                      0  $6      
         12        CONCAT                                           ~7      'Exception%3A', $6
         13        ECHO                                                     ~7
   13    14    > > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FHd0X0%3A5%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hd0X0
function name:  {closure}
number of ops:  15
compiled vars:  !0 = $a, !1 = $B, !2 = $C, !3 = $W, !4 = $q, !5 = $rrr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
          5        RECV                                             !5      
    6     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAL                                                 'qwqew'
          8        SEND_VAR                                                 !0
          9        SEND_VAR                                                 !1
         10        SEND_VAR                                                 !2
         11        SEND_VAR                                                 !3
         12        SEND_VAR                                                 !5
         13        DO_ICALL                                                 
    7    14      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FHd0X0%3A5%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.14 ms | 1396 KiB | 17 Q