3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.78 ms | 1394 KiB | 15 Q