3v4l.org

run code in 300+ PHP versions simultaneously
<?php $title = "ÛŞÃ is going to dèport 80% öf indians&citizens are #concerned -- Breaking News / News India"; echo preg_replace( '/[^\pL\pN]+/u', '-', str_replace( '&', ' and ', mb_strtolower($title) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bpJF6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $title
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C3%9B%C5%9E%C3%83+is+going+to+d%C3%A8port+80%25+%C3%B6f+indians%26citizens+are+%23concerned+--+Breaking+News+%2F+News+India'
    5     1        INIT_FCALL                                               'preg_replace'
    6     2        SEND_VAL                                                 '%2F%5B%5E%5CpL%5CpN%5D%2B%2Fu'
    7     3        SEND_VAL                                                 '-'
    8     4        INIT_FCALL                                               'str_replace'
    9     5        SEND_VAL                                                 '%26'
   10     6        SEND_VAL                                                 '+and+'
   11     7        INIT_FCALL                                               'mb_strtolower'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
    8    11        DO_ICALL                                         $3      
   11    12        SEND_VAR                                                 $3
    5    13        DO_ICALL                                         $4      
   11    14        ECHO                                                     $4
   13    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.93 ms | 1003 KiB | 16 Q