3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/plain'); $source = 'Hello World!'; $gz = addslashes(gzdeflate($source,9)); $a = "\$var='"; $b = "'; echo gzinflate(stripslashes(\$var));"; echo $a.$gz.$b, PHP_EOL; eval($a.$gz.$b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1ghi6
function name:  (null)
number of ops:  22
compiled vars:  !0 = $source, !1 = $gz, !2 = $a, !3 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fplain'
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, 'Hello+World%21'
    6     4        INIT_FCALL                                               'addslashes'
          5        INIT_FCALL                                               'gzdeflate'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 9
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !1, $7
    7    12        ASSIGN                                                   !2, '%24var%3D%27'
    8    13        ASSIGN                                                   !3, '%27%3B+echo+gzinflate%28stripslashes%28%24var%29%29%3B'
   10    14        CONCAT                                           ~11     !2, !1
         15        CONCAT                                           ~12     ~11, !3
         16        ECHO                                                     ~12
         17        ECHO                                                     '%0A'
   12    18        CONCAT                                           ~13     !2, !1
         19        CONCAT                                           ~14     ~13, !3
         20        INCLUDE_OR_EVAL                                          ~14, EVAL
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.59 ms | 1395 KiB | 19 Q