3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = "°Freenew°\x90ɮ\xC2\xA0"; echo preg_replace('#[\x{0000}-\x{001F}\x{007F}-\x{00A0}]#u', '', $result); echo preg_last_error(); echo str_replace('\x{00A0}', $result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/steaR
function name:  (null)
number of ops:  16
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%A0'
    4     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%23%5B%5Cx%7B0000%7D-%5Cx%7B001F%7D%5Cx%7B007F%7D-%5Cx%7B00A0%7D%5D%23u'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ECHO                                                     $2
    5     7        INIT_FCALL                                               'preg_last_error'
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
    6    10        INIT_FCALL                                               'str_replace'
         11        SEND_VAL                                                 '%5Cx%7B00A0%7D'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $4      
         14        ECHO                                                     $4
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.31 ms | 1394 KiB | 19 Q