3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; echo empty(a["b"]); echo scapeshellarg("rm /home/da/xxoo;rm -rf /");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HWS9F
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_CONSTANT                                   ~2      'a'
          2        ISSET_ISEMPTY_DIM_OBJ                         1  ~3      ~2, 'b'
          3        ECHO                                                     ~3
    5     4        INIT_FCALL_BY_NAME                                       'scapeshellarg'
          5        SEND_VAL_EX                                              'rm+%2Fhome%2Fda%2Fxxoo%3Brm+-rf+%2F'
          6        DO_FCALL                                      0  $4      
          7        ECHO                                                     $4
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.05 ms | 1392 KiB | 13 Q