3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function a() { return rand(100,1000); } public static function b() { return rand(100,1000); } } A::b();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l1vYB
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_STATIC_METHOD_CALL                                  'A', 'b'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class A:
Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l1vYB
function name:  a
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'rand'
          1        SEND_VAL                                                 100
          2        SEND_VAL                                                 1000
          3        DO_ICALL                                         $0      
          4      > RETURN                                                   $0
    8     5*     > 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/l1vYB
function name:  b
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'rand'
          1        SEND_VAL                                                 100
          2        SEND_VAL                                                 1000
          3        DO_ICALL                                         $0      
          4      > RETURN                                                   $0
   13     5*     > RETURN                                                   null

End of function b

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.27 ms | 1395 KiB | 15 Q