3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
131.21 ms | 1399 KiB | 15 Q