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/fcM3j
function name:  (null)
number of ops:  15
compiled vars:  !0 = $replace, !1 = $e, !2 = $array_fill
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   19     1        INIT_DYNAMIC_CALL                                        !2
          2        SEND_VAL_EX                                              0
          3        COUNT                                            ~4      !0
          4        SEND_VAL_EX                                              ~4
          5        SEND_VAL_EX                                              ''
          6        DO_FCALL                                      0  $5      
          7        ASSIGN                                                   !1, $5
   20     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                                         $7      
         13        ECHO                                                     $7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.54 ms | 1394 KiB | 15 Q