3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Windows\System32 { const explorer = 'delete';} namespace { const C = 'lolwut'; const exe = ' system32'; const off = 0; echo off ? C:\Windows\System32\explorer.exe /* # put other malicious stuff here */ ;}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MGtAn
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_CONST                                            'Windows%5CSystem32%5Cexplorer', 'delete'
          1        DECLARE_CONST                                            'C', 'lolwut'
          2        DECLARE_CONST                                            'exe', '+system32'
          3        DECLARE_CONST                                            'off', 0
    3     4        FETCH_CONSTANT                                   ~0      'off'
          5      > JMPZ                                                     ~0, ->9
    4     6    >   FETCH_CONSTANT                                   ~1      'C'
          7        QM_ASSIGN                                        ~2      ~1
          8      > JMP                                                      ->13
          9    >   FETCH_CONSTANT                                   ~3      'Windows%5CSystem32%5Cexplorer'
         10        FETCH_CONSTANT                                   ~4      'exe'
         11        CONCAT                                           ~5      ~3, ~4
         12        QM_ASSIGN                                        ~2      ~5
         13    >   ECHO                                                     ~2
    5    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.4 ms | 1393 KiB | 13 Q