3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set("display_errors",1); error_reporting(E_ALL); $a=null; $$a=1; print_r($$a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/49udB
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'display_errors'
          2        SEND_VAL                                                     1
          3        DO_ICALL                                                     
    3     4        INIT_FCALL                                                   'error_reporting'
          5        SEND_VAL                                                     30719
          6        DO_ICALL                                                     
    4     7        ASSIGN                                                       !0, null
    5     8        FETCH_W                          local               $4      !0
          9        ASSIGN                                                       $4, 1
    6    10        INIT_FCALL                                                   'print_r'
         11        FETCH_R                          local               ~6      !0
         12        SEND_VAL                                                     ~6
         13        DO_ICALL                                                     
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.75 ms | 2821 KiB | 16 Q