3v4l.org

run code in 500+ 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:  10
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        FRAMELESS_ICALL_3                preg_replace        ~5      '%2F%5B%5Ea-z0-9%5D%2Fi', ''
          6        OP_DATA                                                      !0
          7        ASSIGN                                                       !1, ~5
    5     8        ECHO                                                         !1
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
211.08 ms | 2558 KiB | 14 Q