3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ 'Nartinez', 'Drantch', 'Dratch', 'Xtmnprwq', 'Yelendez', 'Boldberg', 'Yelenovich', 'Allash', 'Mohamed', 'Li', ]; $regex = <<<REGEX / ^ (?![aeiou]{3,}) (?: \D(?![^aeiou]{5,}[aeiou]*) (?![aeiou]{4,}) ){2,} $ /ix REGEX; var_export(preg_grep($regex, $array));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ivmRR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $array, !1 = $regex
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   16     1        ASSIGN                                                       !1, '%2F%0A%5E%0A%28%3F%21%5Baeiou%5D%7B3%2C%7D%29%0A%28%3F%3A%0A+++%5CD%28%3F%21%5B%5Eaeiou%5D%7B5%2C%7D%5Baeiou%5D%2A%29%0A+++%28%3F%21%5Baeiou%5D%7B4%2C%7D%29%0A%29%7B2%2C%7D%0A%24%0A%2Fix'
   28     2        INIT_FCALL                                                   'var_export'
          3        INIT_FCALL                                                   'preg_grep'
          4        SEND_VAR                                                     !1
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                             $4      
          7        SEND_VAR                                                     $4
          8        DO_ICALL                                                     
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
149.83 ms | 1053 KiB | 10 Q