3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = 'INGENIERÍA EN MECATRÓNICA'; $s = preg_replace ("[Í|Ì|Î]","I",$s); $s = preg_replace ("[ÓÒÔÕ]","I",$s); echo $s;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ncqE9
function name:  (null)
number of ops:  15
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'INGENIER%C3%8DA+EN+MECATR%C3%93NICA'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%5B%C3%8D%7C%C3%8C%7C%C3%8E%5D'
          3        SEND_VAL                                                 'I'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    4     7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAL                                                 '%5B%C3%93%C3%92%C3%94%C3%95%5D'
          9        SEND_VAL                                                 'I'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        ASSIGN                                                   !0, $4
    5    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.98 ms | 1394 KiB | 15 Q