3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); function out(&$x) { $x = 1; } out($c = NULL); echo "c = $c";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VETGk
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        NOP                                                      
          8        FAST_CONCAT                                      ~4      'c+%3D+', !0
          9        ECHO                                                     ~4
         10      > RETURN                                                   1

Function out:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VETGk
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, 1
          2      > RETURN                                                   null

End of function out

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.98 ms | 1401 KiB | 16 Q