3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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 = 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
Branch analysis from position: 3
filename:       /in/1vhNp
function name:  (null)
number of ops:  25
compiled vars:  !0 = $arr, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->10
          3    >   NEW                                              $5      'T'
          4        SEND_VAL_EX                                              1
          5        SEND_VAL_EX                                              2
          6        DO_FCALL                                      0          
          7        ASSIGN_DIM                                               !0
          8        OP_DATA                                                  $5
          9        PRE_INC                                                  !1
         10    >   IS_SMALLER_OR_EQUAL                                      !1, 100000
         11      > JMPNZ                                                    ~8, ->3
    9    12    >   INIT_FCALL                                               'memory_get_usage'
         13        DO_ICALL                                         $9      
         14        DIV                                              ~10     $9, 1024
         15        CONCAT                                           ~11     'Current+memory+usage%3A+', ~10
         16        CONCAT                                           ~12     ~11, '+KB%0A'
         17        ECHO                                                     ~12
   10    18        INIT_FCALL                                               'memory_get_peak_usage'
         19        DO_ICALL                                         $13     
         20        DIV                                              ~14     $13, 1024
         21        CONCAT                                           ~15     'Peak+memory+usage%3A+', ~14
         22        CONCAT                                           ~16     ~15, '+KB%0A'
         23        ECHO                                                     ~16
         24      > RETURN                                                   1

Class T:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1vhNp
function name:  __construct
number of ops:  7
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        ASSIGN_OBJ                                               'x'
          3        OP_DATA                                                  !0
          4        ASSIGN_OBJ                                               'y'
          5        OP_DATA                                                  !1
          6      > RETURN                                                   null

End of function __construct

End of class T.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.96 ms | 968 KiB | 15 Q