3v4l.org

run code in 300+ PHP versions simultaneously
<?php class abc{ protected const A = [1, 2, 3]; public static function abcd(){ return abc::A; } } print_r(abc::abcd()); $file_url = 'http://www.javatpoint.com/f.txt'; readfile($file_url);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iSjHD
function name:  (null)
number of ops:  10
compiled vars:  !0 = $file_url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_STATIC_METHOD_CALL                                  'abc', 'abcd'
          2        DO_FCALL                                      0  $1      
          3        SEND_VAR                                                 $1
          4        DO_ICALL                                                 
   17     5        ASSIGN                                                   !0, 'http%3A%2F%2Fwww.javatpoint.com%2Ff.txt'
   21     6        INIT_FCALL                                               'readfile'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Class abc:
Function abcd:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iSjHD
function name:  abcd
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   <array>
   10     1*     > RETURN                                                   null

End of function abcd

End of class abc.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.28 ms | 1399 KiB | 17 Q