3v4l.org

run code in 300+ PHP versions simultaneously
<?php while($i < 1000) { $string = 'E:\Dropbox\Hemsidor\collection-test\movies\avatar\documents\actors.txt?'; preg_match('/\\\movies\\\([^\x5C]+)/', $string, $matchs); echo $matchs[1]; ++$i; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 1
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 1
Branch analysis from position: 12
Branch analysis from position: 1
filename:       /in/Sq5r9
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $matchs, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMP                                                      ->10
    5     1    >   ASSIGN                                                   !0, 'E%3A%5CDropbox%5CHemsidor%5Ccollection-test%5Cmovies%5Cavatar%5Cdocuments%5Cactors.txt%3F'
    6     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%5C%5Cmovies%5C%5C%28%5B%5E%5Cx5C%5D%2B%29%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    7     7        FETCH_DIM_R                                      ~5      !1, 1
          8        ECHO                                                     ~5
    9     9        PRE_INC                                                  !2
    3    10    >   IS_SMALLER                                               !2, 1000
         11      > JMPNZ                                                    ~7, ->1
   10    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.55 ms | 1394 KiB | 15 Q