3v4l.org

run code in 300+ PHP versions simultaneously
<?php $login = '&#x74&#x65&#x73&#x74'; putenv("LOGIN=$login"); $test = getenv("LOGIN"); echo "LOGIN = " .$test;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9inYD
function name:  (null)
number of ops:  13
compiled vars:  !0 = $login, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%26%23x74%26%23x65%26%23x73%26%23x74'
    3     1        INIT_FCALL                                               'putenv'
          2        NOP                                                      
          3        FAST_CONCAT                                      ~3      'LOGIN%3D', !0
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'getenv'
          7        SEND_VAL                                                 'LOGIN'
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    5    10        CONCAT                                           ~7      'LOGIN+%3D+', !1
         11        ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.41 ms | 1385 KiB | 17 Q