3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test implements stuff { function truc($arg1, $is, $opt = 'tauisetauti') {} } interface stuff{ function truc($arg1, string $is); } new test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mNeBf
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                            'test'
   12     1        NEW                                              $0      'test'
          2        DO_FCALL                                      0          
          3        FREE                                                     $0
          4      > RETURN                                                   1

Class test:
Function truc:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mNeBf
function name:  truc
number of ops:  4
compiled vars:  !0 = $arg1, !1 = $is, !2 = $opt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      'tauisetauti'
          3      > RETURN                                                   null

End of function truc

End of class test.

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

End of function truc

End of class stuff.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.71 ms | 1393 KiB | 13 Q