3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyEx extends Exception { const INTERNAL = 0; public function __construct($m, $c = self::INTERNAL, $p = null) { parent::__construct($m, $c, $p); } } $me = new MyEx("1", 1, null);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hmiRV
function name:  (null)
number of ops:  7
compiled vars:  !0 = $me
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'MyEx'
          1        SEND_VAL_EX                                              '1'
          2        SEND_VAL_EX                                              1
          3        SEND_VAL_EX                                              null
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $1
          6      > RETURN                                                   1

Class MyEx:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hmiRV
function name:  __construct
number of ops:  9
compiled vars:  !0 = $m, !1 = $c, !2 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
          0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <const ast>
          2        RECV_INIT                                        !2      null
          3        INIT_STATIC_METHOD_CALL                                  
          4        SEND_VAR_EX                                              !0
          5        SEND_VAR_EX                                              !1
          6        SEND_VAR_EX                                              !2
          7        DO_FCALL                                      0          
          8      > RETURN                                                   null

End of function __construct

End of class MyEx.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.45 ms | 1394 KiB | 13 Q