3v4l.org

run code in 300+ PHP versions simultaneously
<?php function blop (&$a = null) { $a = 'bla'; } blop(); $b = null; blop($b); var_dump($b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MmKqV
function name:  (null)
number of ops:  10
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'blop'
          1        DO_FCALL                                      0          
    9     2        ASSIGN                                                   !0, null
   10     3        INIT_FCALL                                               'blop'
          4        SEND_REF                                                 !0
          5        DO_FCALL                                      0          
   11     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Function blop:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MmKqV
function name:  blop
number of ops:  3
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
    4     1        ASSIGN                                                   !0, 'bla'
    5     2      > RETURN                                                   null

End of function blop

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.64 ms | 1397 KiB | 17 Q