3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function a() { echo __METHOD__ . "\n"; } public static function b() { echo __METHOD__ . "\n"; } } C::a(); $a = new C(); $a->b();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nqfOe
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   INIT_STATIC_METHOD_CALL                                  'C', 'a'
          1        DO_FCALL                                      0          
   17     2        NEW                                              $2      'C'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
   18     5        INIT_METHOD_CALL                                         !0, 'b'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class C:
Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nqfOe
function name:  a
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ECHO                                                     'C%3A%3Aa%0A'
    8     1      > RETURN                                                   null

End of function a

Function b:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nqfOe
function name:  b
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ECHO                                                     'C%3A%3Ab%0A'
   13     1      > RETURN                                                   null

End of function b

End of class C.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.66 ms | 1393 KiB | 13 Q