3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo preg_replace('/[^a-z0-9_\-\s\-ءاأإآؤئبتثجحخدذرزسشصضطظعغفقكلمنهويةى]/u', '', 'gegegeg');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9qni7
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_replace'
          1        SEND_VAL                                                 '%2F%5B%5Ea-z0-9_%5C-%5Cs%5C-%D8%A1%D8%A7%D8%A3%D8%A5%D8%A2%D8%A4%D8%A6%D8%A8%D8%AA%D8%AB%D8%AC%D8%AD%D8%AE%D8%AF%D8%B0%D8%B1%D8%B2%D8%B3%D8%B4%D8%B5%D8%B6%D8%B7%D8%B8%D8%B9%D8%BA%D9%81%D9%82%D9%83%D9%84%D9%85%D9%86%D9%87%D9%88%D9%8A%D8%A9%D9%89%5D%2Fu'
          2        SEND_VAL                                                 ''
          3        SEND_VAL                                                 'gegegeg'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.87 ms | 1000 KiB | 14 Q