3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Clazz { private $a; private $b; private $c; private $d; private $e; public function __construct($a, $b, $c, $d, $e) { $this->a = $a; $this->b = $b; $this->c = $c; $this->d = $d; $this->e = $e; } } $classes = array(); for ($i = 0; $i < 50000; $i++) { $classes[] = new Clazz('a', 'b', 'c', 'd', 'e'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
filename:       /in/hMofD
function name:  (null)
number of ops:  16
compiled vars:  !0 = $classes, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   ASSIGN                                                   !0, <array>
   23     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->13
   24     3    >   NEW                                              $5      'Clazz'
          4        SEND_VAL_EX                                              'a'
          5        SEND_VAL_EX                                              'b'
          6        SEND_VAL_EX                                              'c'
          7        SEND_VAL_EX                                              'd'
          8        SEND_VAL_EX                                              'e'
          9        DO_FCALL                                      0          
         10        ASSIGN_DIM                                               !0
         11        OP_DATA                                                  $5
   23    12        PRE_INC                                                  !1
         13    >   IS_SMALLER                                               !1, 50000
         14      > JMPNZ                                                    ~8, ->3
   25    15    > > RETURN                                                   1

Class Clazz:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hMofD
function name:  __construct
number of ops:  16
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d, !4 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
   13     5        ASSIGN_OBJ                                               'a'
          6        OP_DATA                                                  !0
   14     7        ASSIGN_OBJ                                               'b'
          8        OP_DATA                                                  !1
   15     9        ASSIGN_OBJ                                               'c'
         10        OP_DATA                                                  !2
   16    11        ASSIGN_OBJ                                               'd'
         12        OP_DATA                                                  !3
   17    13        ASSIGN_OBJ                                               'e'
         14        OP_DATA                                                  !4
   18    15      > RETURN                                                   null

End of function __construct

End of class Clazz.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.19 ms | 1395 KiB | 13 Q