3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = "°Freenew°\x90ɮ\xc2"; $result = preg_replace('#[\x00-\x1F\x7F-\xa0]#', ' ', $result); echo str_replace('\xc2', '', $result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F8og5
function name:  (null)
number of ops:  14
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C2%B0Freenew%C2%B0%90%C9%AE%C2'
    7     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%5B%5Cx00-%5Cx1F%5Cx7F-%5Cxa0%5D%23'
          3        SEND_VAL                                                 '+'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    8     7        INIT_FCALL                                               'str_replace'
          8        SEND_VAL                                                 '%5Cxc2'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        ECHO                                                     $4
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.59 ms | 1394 KiB | 17 Q