3v4l.org

run code in 300+ PHP versions simultaneously
<?php # https://stackoverflow.com/a/7743974/367456 function _data($data) { return preg_replace('/[^\w_]+/u', '', $data); } var_dump(namespace\_data('Текст Removethis- and this _#$)( and also this $*@&$'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66PlV
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               '_data'
          2        SEND_VAL                                                 '%D0%A2%D0%B5%D0%BA%D1%81%D1%82+Removethis-+and+this+_%23%24%29%28+and+also+this+%24%2A%40%26%24'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function _data:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/66PlV
function name:  _data
number of ops:  8
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5E%5Cw_%5D%2B%2Fu'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $1      
          6      > RETURN                                                   $1
    6     7*     > RETURN                                                   null

End of function _data

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.59 ms | 1005 KiB | 16 Q