3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($data) { echo $data; } set_error_handler(function () { return true; }); for ($i=1; $i<1e4; $i++) { test(123); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 6
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 6
Branch analysis from position: 12
Branch analysis from position: 6
filename:       /in/BOnCr
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FBOnCr%3A8%240'
          2        SEND_VAL                                                 ~1
          3        DO_ICALL                                                 
   10     4        ASSIGN                                                   !0, 1
          5      > JMP                                                      ->10
   12     6    >   INIT_FCALL                                               'test'
          7        SEND_VAL                                                 123
          8        DO_FCALL                                      0          
   10     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 10000
         11      > JMPNZ                                                    ~6, ->6
   13    12    > > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BOnCr
function name:  test
number of ops:  3
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        ECHO                                                     !0
    6     2      > RETURN                                                   null

End of function test

Function %00%7Bclosure%7D%2Fin%2FBOnCr%3A8%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BOnCr
function name:  {closure}
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   <true>
          1*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FBOnCr%3A8%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.45 ms | 1390 KiB | 16 Q