3v4l.org

run code in 300+ PHP versions simultaneously
<?php $check = '/mp4/m'; $story = 'something.mp4'; preg_match_all($check, $story, $matches, PREG_SET_ORDER, 0); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oNF2H
function name:  (null)
number of ops:  13
compiled vars:  !0 = $check, !1 = $story, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%2Fmp4%2Fm'
    4     1        ASSIGN                                                   !1, 'something.mp4'
    6     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !0
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        SEND_VAL                                                 2
          7        SEND_VAL                                                 0
          8        DO_ICALL                                                 
    8     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
217.92 ms | 939 KiB | 18 Q