3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Urza’s Mine'; $string = htmlentities ($string); $string = preg_replace("/&rsquo;/i","'",$string); $string = preg_replace("/&acirc;��/i","'",$string); echo $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5Uem0
function name:  (null)
number of ops:  19
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Urza%E2%80%99s+Mine'
    3     1        INIT_FCALL                                               'htmlentities'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        INIT_FCALL                                               'preg_replace'
          6        SEND_VAL                                                 '%2F%26rsquo%3B%2Fi'
          7        SEND_VAL                                                 '%27'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !0, $4
    5    11        INIT_FCALL                                               'preg_replace'
         12        SEND_VAL                                                 '%2F%26acirc%3B%EF%BF%BD%EF%BF%BD%2Fi'
         13        SEND_VAL                                                 '%27'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $6      
         16        ASSIGN                                                   !0, $6
    6    17        ECHO                                                     !0
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.75 ms | 1394 KiB | 17 Q