3v4l.org

run code in 300+ PHP versions simultaneously
<?php $satz = '??halägerlo ich bi .n.. der satz.'; $satz = preg_replace('/[^a-z0-9-üßäö]+\s/', ' ', $satz); $satz = preg_replace('/[^a-z0-9-üßäö\s]+/', '', $satz); print_r($satz);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xv1gn
function name:  (null)
number of ops:  17
compiled vars:  !0 = $satz
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3F%3Fhal%C3%A4gerlo+ich+bi+.n..+der+satz.'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5Ea-z0-9-%C3%BC%C3%9F%C3%A4%C3%B6%5D%2B%5Cs%2F'
          3        SEND_VAL                                                 '+'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAL                                                 '%2F%5B%5Ea-z0-9-%C3%BC%C3%9F%C3%A4%C3%B6%5Cs%5D%2B%2F'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        ASSIGN                                                   !0, $4
    5    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.43 ms | 1394 KiB | 17 Q