3v4l.org

run code in 500+ 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:  5
compiled vars:  !0 = $data
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   RECV                                                 !0      
    5     1        FRAMELESS_ICALL_3                preg_replace        ~1      '%2F%5B%5E%5Cw_%5D%2B%2Fu', ''
          2        OP_DATA                                                      !0
          3      > RETURN                                                       ~1
    6     4*     > RETURN                                                       null

End of function _data

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.95 ms | 2004 KiB | 17 Q