3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ' The quick brown fox jumped over the lazy dog.'; $patterns = array(); $patterns[0] = '/^\s*/'; $patterns[1] = '/brown/'; $patterns[2] = '/fox/'; $replacements = array(); $replacements[0] = ''; echo preg_replace($patterns, $replacements, $string); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i5sDi
function name:  (null)
number of ops:  18
compiled vars:  !0 = $string, !1 = $patterns, !2 = $replacements
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '++++The+quick+brown+fox+jumped+over+the+lazy+dog.'
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN_DIM                                               !1, 0
          3        OP_DATA                                                  '%2F%5E%5Cs%2A%2F'
    5     4        ASSIGN_DIM                                               !1, 1
          5        OP_DATA                                                  '%2Fbrown%2F'
    6     6        ASSIGN_DIM                                               !1, 2
          7        OP_DATA                                                  '%2Ffox%2F'
    7     8        ASSIGN                                                   !2, <array>
    8     9        ASSIGN_DIM                                               !2, 0
         10        OP_DATA                                                  ''
    9    11        INIT_FCALL                                               'preg_replace'
         12        SEND_VAR                                                 !1
         13        SEND_VAR                                                 !2
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $10     
         16        ECHO                                                     $10
   10    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.35 ms | 1399 KiB | 15 Q