3v4l.org

run code in 300+ PHP versions simultaneously
<?php const INT_CONST = 1; const FLOAT_CONST = 1.1; const STRING_CONST = ""; const BOOL_CONST = false; const ARRAY_CONST = []; function int_int(int $p = INT_CONST) {} // no error function int_string(int $p = STRING_CONST) {} // ERROR function int_bool(int $p = BOOL_CONST) {} // no error function int_float(int $p = FLOAT_CONST) {} // no error function int_array(int $p = ARRAY_CONST) {} // ERROR function float_int(float $p = INT_CONST) {} // no error function float_string(float $p = STRING_CONST) {} // ERROR function float_bool(float $p = BOOL_CONST) {} // no error function float_float(float $p = FLOAT_CONST) {} // no error function float_array(float $p = ARRAY_CONST) {} // ERROR function string_int(string $p = INT_CONST) {} // no error function string_string(string $p = STRING_CONST) {} // no error function string_bool(string $p = BOOL_CONST) {} // no error function string_float(string $p = FLOAT_CONST) {} // no error function string_array(string $p = ARRAY_CONST) {} // ERROR function bool_int(bool $p = INT_CONST) {} // no error function bool_string(bool $p = STRING_CONST) {} // no error function bool_bool(bool $p = BOOL_CONST) {} // no error function bool_float(bool $p = FLOAT_CONST) {} // no error function bool_array(bool $p = ARRAY_CONST) {} // ERROR function array_int(array $p = INT_CONST) {} // no error function array_string(array $p = STRING_CONST) {} // no error function array_bool(array $p = BOOL_CONST) {} // no error function array_float(array $p = FLOAT_CONST) {} // no error function array_array(array $p = ARRAY_CONST) {} // ERROR //array_int(); //array_string(); //array_bool(); array_float(); array_array();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'INT_CONST', 1
    4     1        DECLARE_CONST                                            'FLOAT_CONST', 1.1
    5     2        DECLARE_CONST                                            'STRING_CONST', ''
    6     3        DECLARE_CONST                                            'BOOL_CONST', <false>
    7     4        DECLARE_CONST                                            'ARRAY_CONST', <array>
   42     5        INIT_FCALL                                               'array_float'
          6        DO_FCALL                                      0          
   43     7        INIT_FCALL                                               'array_array'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function int_int:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  int_int
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function int_int

Function int_string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  int_string
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function int_string

Function int_bool:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  int_bool
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function int_bool

Function int_float:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  int_float
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function int_float

Function int_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  int_array
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function int_array

Function float_int:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  float_int
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function float_int

Function float_string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  float_string
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function float_string

Function float_bool:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  float_bool
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function float_bool

Function float_float:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  float_float
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function float_float

Function float_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  float_array
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function float_array

Function string_int:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  string_int
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   21     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function string_int

Function string_string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  string_string
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function string_string

Function string_bool:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  string_bool
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   23     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function string_bool

Function string_float:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  string_float
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   24     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function string_float

Function string_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  string_array
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   25     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function string_array

Function bool_int:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  bool_int
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   27     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function bool_int

Function bool_string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  bool_string
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   28     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function bool_string

Function bool_bool:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  bool_bool
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   29     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function bool_bool

Function bool_float:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  bool_float
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   30     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function bool_float

Function bool_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  bool_array
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   31     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function bool_array

Function array_int:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  array_int
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   33     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function array_int

Function array_string:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  array_string
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   34     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function array_string

Function array_bool:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  array_bool
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   35     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function array_bool

Function array_float:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  array_float
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   36     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function array_float

Function array_array:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KFUbf
function name:  array_array
number of ops:  2
compiled vars:  !0 = $p
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   37     0  E >   RECV_INIT                                        !0      <const ast>
          1      > RETURN                                                   null

End of function array_array

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.31 ms | 1024 KiB | 15 Q