3v4l.org

run code in 300+ PHP versions simultaneously
<?php $replace = array( '/</', '/>/', '/\*/', '/!/', '/;/', '/#/', '/\(/', '/\)/', '/\@/', '/|/', '/\[/', '/\]/', '/}/', '/{/', '/\$/' ); $e = array_fill(0, count($replace), ''); print preg_replace( $replace, $e, 'ls; ${}[]@()#!*<asdlad>' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FraHU
function name:  (null)
number of ops:  15
compiled vars:  !0 = $replace, !1 = $e
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   19     1        INIT_FCALL                                               'array_fill'
          2        SEND_VAL                                                 0
          3        COUNT                                            ~3      !0
          4        SEND_VAL                                                 ~3
          5        SEND_VAL                                                 ''
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
   21     8        INIT_FCALL                                               'preg_replace'
          9        SEND_VAR                                                 !0
         10        SEND_VAR                                                 !1
         11        SEND_VAL                                                 'ls%3B+%24%7B%7D%5B%5D%40%28%29%23%21%2A%3Casdlad%3E'
         12        DO_ICALL                                         $6      
         13        ECHO                                                     $6
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.42 ms | 1394 KiB | 17 Q