3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function bah() { $this->property = range(1, 1000); } } $t = new Test(); $t->bah();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UIr4U
function name:  (null)
number of ops:  6
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   NEW                                              $1      'Test'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   14     3        INIT_METHOD_CALL                                         !0, 'bah'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Class Test:
Function bah:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UIr4U
function name:  bah
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'range'
          1        SEND_VAL                                                 1
          2        SEND_VAL                                                 1000
          3        DO_ICALL                                         $1      
          4        ASSIGN_OBJ                                               'property'
          5        OP_DATA                                                  $1
    9     6      > RETURN                                                   null

End of function bah

End of class Test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.98 ms | 1394 KiB | 15 Q