3v4l.org

run code in 500+ PHP versions simultaneously
<?php $title = "ÛŞÃ is going to dèport 80% öf indians&citizens are #concerned -- Breaking News / News India"; echo trim( preg_replace( '/[^a-z\d]+/', '-', str_replace( '&', ' and ', strtolower($title) ) ), '-' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mi3pX
function name:  (null)
number of ops:  11
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'
   12     1        INIT_FCALL                                                   'strtolower'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $2      
    9     4        FRAMELESS_ICALL_3                str_replace         ~3      '%26', '+and+'
   12     5        OP_DATA                                                      $2
    6     6        FRAMELESS_ICALL_3                preg_replace        ~4      '%2F%5B%5Ea-z%5Cd%5D%2B%2F', '-'
   12     7        OP_DATA                                                      ~3
    5     8        FRAMELESS_ICALL_2                trim                ~5      ~4, '-'
   15     9        ECHO                                                         ~5
   16    10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.89 ms | 1872 KiB | 19 Q