3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = " °Freenew°\x90ɮ\xc2"; $result = trim($result,"\xc2"/*"\xa0"*/); echo preg_replace('#[\x00-\x1F\x7F-\x9F]#', '', $result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qEjLE
function name:  (null)
number of ops:  13
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'
    5     1        INIT_FCALL                                               'trim'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%C2'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    7     6        INIT_FCALL                                               'preg_replace'
          7        SEND_VAL                                                 '%23%5B%5Cx00-%5Cx1F%5Cx7F-%5Cx9F%5D%23'
          8        SEND_VAL                                                 ''
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.92 ms | 1385 KiB | 17 Q