3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Learner { public function train(array $set, array $answers); } interface WeightedLearner extends Learner { public function train(array $set, array $answers, array $weights = null); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VYQbW
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   DECLARE_CLASS                                            'weightedlearner'
   11     1      > RETURN                                                   1

Class Learner:
Function train:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VYQbW
function name:  train
number of ops:  3
compiled vars:  !0 = $set, !1 = $answers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2      > RETURN                                                   null

End of function train

End of class Learner.

Class WeightedLearner:
Function train:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VYQbW
function name:  train
number of ops:  4
compiled vars:  !0 = $set, !1 = $answers, !2 = $weights
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      null
          3      > RETURN                                                   null

End of function train

End of class WeightedLearner.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.1 ms | 1393 KiB | 13 Q