3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Provider { public function boot(ArgumentType $x) { return; } } class ProviderB extends Provider { public function boot(ArgumentType $x) { return 'yay'; } } $f = new ProviderB; $f->boot(1, 2, 3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PTur5
function name:  (null)
number of ops:  9
compiled vars:  !0 = $f
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   NEW                                              $1      'ProviderB'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   25     3        INIT_METHOD_CALL                                         !0, 'boot'
          4        SEND_VAL_EX                                              1
          5        SEND_VAL_EX                                              2
          6        SEND_VAL_EX                                              3
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Class Provider:
Function boot:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PTur5
function name:  boot
number of ops:  3
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    9     1      > RETURN                                                   null
   10     2*     > RETURN                                                   null

End of function boot

End of class Provider.

Class ProviderB:
Function boot:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PTur5
function name:  boot
number of ops:  3
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
   19     1      > RETURN                                                   'yay'
   20     2*     > RETURN                                                   null

End of function boot

End of class ProviderB.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.97 ms | 1394 KiB | 13 Q