3v4l.org

run code in 300+ PHP versions simultaneously
<?php class PrefType { public static function Int() { return 'int'; } public static function Float() { return 'float'; } public static function String() { return 'string'; } public static function Enum() { return 'enum'; } } echo PrefType::Int(4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0LdS
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   INIT_STATIC_METHOD_CALL                                  'PrefType', 'Int'
          1        SEND_VAL                                                 4
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Class PrefType:
Function int:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0LdS
function name:  Int
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   'int'
    7     1*     > RETURN                                                   null

End of function int

Function float:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0LdS
function name:  Float
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E > > RETURN                                                   'float'
   12     1*     > RETURN                                                   null

End of function float

Function string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0LdS
function name:  String
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E > > RETURN                                                   'string'
   17     1*     > RETURN                                                   null

End of function string

Function enum:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G0LdS
function name:  Enum
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   20     0  E > > RETURN                                                   'enum'
   21     1*     > RETURN                                                   null

End of function enum

End of class PrefType.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.43 ms | 1394 KiB | 13 Q