3v4l.org

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

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

End of function out

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.4 ms | 1397 KiB | 18 Q