3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CacheContextValue { protected $value; protected $tags = []; public function __construct($value, $tags = []) { $this->value = $value; $this->tags = $tags; } } for ($i = 0; $i < 100000; $i++) { $x = new CacheContextValue('asdfsadf'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 2
Branch analysis from position: 9
Branch analysis from position: 2
filename:       /in/qKsPF
function name:  (null)
number of ops:  10
compiled vars:  !0 = $i, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->7
   13     2    >   NEW                                              $3      'CacheContextValue'
          3        SEND_VAL_EX                                              'asdfsadf'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $3
   12     6        PRE_INC                                                  !0
          7    >   IS_SMALLER                                               !0, 100000
          8      > JMPNZ                                                    ~7, ->2
   14     9    > > RETURN                                                   1

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

End of function __construct

End of class CacheContextValue.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.74 ms | 1398 KiB | 13 Q