3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Testing { public function test() { return $this; } public function __destruct() { throw new \InvalidArgumentException(); } } $test = new Testing();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QL4ie
function name:  (null)
number of ops:  4
compiled vars:  !0 = $test
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   14     0  E >   NEW                                                  $1      'Testing'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $1
          3      > RETURN                                                       1

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

End of function test

Function __destruct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/QL4ie
function name:  __destruct
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   NEW                                                  $0      'InvalidArgumentException'
          1        DO_FCALL                                          0          
          2      > THROW                                             0          $0
   11     3*     > RETURN                                                       null

End of function __destruct

End of class Testing.

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
153.12 ms | 1562 KiB | 8 Q