3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Order { private $numero; public function setNumero($n) { $this->numero = $n; } } class Shipment extends Order { private $date; private function setDate($d) { $this->date = $d; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e5cHJ
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E > > RETURN                                                   1

Class Order:
Function setnumero:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e5cHJ
function name:  setNumero
number of ops:  4
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    9     1        ASSIGN_OBJ                                               'numero'
          2        OP_DATA                                                  !0
   10     3      > RETURN                                                   null

End of function setnumero

End of class Order.

Class Shipment:
Function setdate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e5cHJ
function name:  setDate
number of ops:  4
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
   19     1        ASSIGN_OBJ                                               'date'
          2        OP_DATA                                                  !0
   20     3      > RETURN                                                   null

End of function setdate

Function setnumero:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e5cHJ
function name:  setNumero
number of ops:  4
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    9     1        ASSIGN_OBJ                                               'numero'
          2        OP_DATA                                                  !0
   10     3      > RETURN                                                   null

End of function setnumero

End of class Shipment.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.71 ms | 1394 KiB | 13 Q