3v4l.org

run code in 300+ PHP versions simultaneously
<?php $title = 'Unser nächster Inbound ist da'; $tagName = preg_replace('/[^\w-_ÄÖÜäöüß]/', '', $title); var_dump($tagName); $tagName = preg_replace('/[^\w-_ÄÖÜäöüß]/', ' ', $title); var_rump(ucfirst($tagName));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3q3fB
function name:  (null)
number of ops:  23
compiled vars:  !0 = $title, !1 = $tagName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'Unser+n%C3%A4chster+Inbound+ist+da'
    5     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5E%5Cw-_%C3%84%C3%96%C3%9C%C3%A4%C3%B6%C3%BC%C3%9F%5D%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'preg_replace'
         11        SEND_VAL                                                 '%2F%5B%5E%5Cw-_%C3%84%C3%96%C3%9C%C3%A4%C3%B6%C3%BC%C3%9F%5D%2F'
         12        SEND_VAL                                                 '+'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $6      
         15        ASSIGN                                                   !1, $6
    8    16        INIT_FCALL_BY_NAME                                       'var_rump'
         17        INIT_FCALL                                               'ucfirst'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $8      
         20        SEND_VAR_NO_REF_EX                                       $8
         21        DO_FCALL                                      0          
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.93 ms | 1395 KiB | 19 Q