3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test($a = NULL,$b = NULL,$c = NULL){ print(gettype($a)); print(gettype($b)); print(gettype($c)); } test("a",1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pOcFT
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'test'
          1        SEND_VAL                                                 'a'
          2        SEND_VAL                                                 1
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pOcFT
function name:  test
number of ops:  10
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                        !0      null
          1        RECV_INIT                                        !1      null
          2        RECV_INIT                                        !2      null
    3     3        GET_TYPE                                         ~3      !0
          4        ECHO                                                     ~3
    4     5        GET_TYPE                                         ~4      !1
          6        ECHO                                                     ~4
    5     7        GET_TYPE                                         ~5      !2
          8        ECHO                                                     ~5
    6     9      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.56 ms | 1397 KiB | 14 Q