3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = "¤"; $x .= "ä"; $re = '/ä/i'; preg_replace($re, '', $x); print "<pre>" . $x . "</pre>"; print "<br />Done";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZHs5N
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x, !1 = $re
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%C2%A4'
    3     1        ASSIGN_OP                                     8          !0, '%C3%A4'
    5     2        ASSIGN                                                   !1, '%2F%C3%A4%2Fi'
    6     3        INIT_FCALL                                               'preg_replace'
          4        SEND_VAR                                                 !1
          5        SEND_VAL                                                 ''
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    7     8        CONCAT                                           ~6      '%3Cpre%3E', !0
          9        CONCAT                                           ~7      ~6, '%3C%2Fpre%3E'
         10        ECHO                                                     ~7
    9    11        ECHO                                                     '%3Cbr+%2F%3EDone'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.18 ms | 1394 KiB | 15 Q