3v4l.org

run code in 500+ PHP versions simultaneously
<?php $text = 'пинг понг'; var_dump(preg_replace('/\W/u', '-', $text), preg_replace('/\PL/u', '-', $text));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YeMpR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $text
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%D0%BF%D0%B8%D0%BD%D0%B3+%D0%BF%D0%BE%D0%BD%D0%B3'
    5     1        INIT_FCALL                                                   'var_dump'
          2        FRAMELESS_ICALL_3                preg_replace        ~2      '%2F%5CW%2Fu', '-'
          3        OP_DATA                                                      !0
          4        SEND_VAL                                                     ~2
          5        FRAMELESS_ICALL_3                preg_replace        ~3      '%2F%5CPL%2Fu', '-'
          6        OP_DATA                                                      !0
          7        SEND_VAL                                                     ~3
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.56 ms | 2901 KiB | 14 Q