3v4l.org

run code in 500+ PHP versions simultaneously
<?php $input = 'Lorem Ipsum is simply dummy text of the printing industry.'; $except = array('and', 'the', 'text', 'simply'); preg_match_all('/(?<match>\w{3,}+)/', $input, $matches, PREG_PATTERN_ORDER); print_r(array_diff($matches['match'], $except));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CJDug
function name:  (null)
number of ops:  17
compiled vars:  !0 = $input, !1 = $except, !2 = $matches
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'Lorem+Ipsum+is+simply+dummy+text+of+the+printing+industry.'
    3     1        ASSIGN                                                       !1, <array>
    4     2        INIT_FCALL                                                   'preg_match_all'
          3        SEND_VAL                                                     '%2F%28%3F%3Cmatch%3E%5Cw%7B3%2C%7D%2B%29%2F'
          4        SEND_VAR                                                     !0
          5        SEND_REF                                                     !2
          6        SEND_VAL                                                     1
          7        DO_ICALL                                                     
    5     8        INIT_FCALL                                                   'print_r'
          9        INIT_FCALL                                                   'array_diff'
         10        FETCH_DIM_R                                          ~6      !2, 'match'
         11        SEND_VAL                                                     ~6
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                             $7      
         14        SEND_VAR                                                     $7
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.27 ms | 2089 KiB | 16 Q