3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ValidationError implements \Throwable { public function getTrace(): array { return []; } // <--- zero-cost like oxygen :D }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ekl3s
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CLASS                                            'validationerror'
    5     1      > RETURN                                                   1

Class ValidationError:
Function gettrace:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ekl3s
function name:  getTrace
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E > > RETURN                                                   <array>
          1*       VERIFY_RETURN_TYPE                                       
          2*     > RETURN                                                   null

End of function gettrace

End of class ValidationError.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.24 ms | 1005 KiB | 13 Q