3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = "this, <script></script>, 's 18in,"; $value = strip_tags($value); $newString = preg_replace('/[^a-z0-9]/i', '', $value); echo $newString;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DDHaG
function name:  (null)
number of ops:  13
compiled vars:  !0 = $value, !1 = $newString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'this%2C+%3Cscript%3E%3C%2Fscript%3E%2C+%27s+18in%2C'
    3     1        INIT_FCALL                                               'strip_tags'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'preg_replace'
          6        SEND_VAL                                                 '%2F%5B%5Ea-z0-9%5D%2Fi'
          7        SEND_VAL                                                 ''
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !1, $5
    5    11        ECHO                                                     !1
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
248.31 ms | 1001 KiB | 15 Q