3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string1 = "aaabchr"; $string2 = "qwntfschrprtkjs"; $regex = '/^(?:.(?!chr))*(?:[bcdfghjklmnpqrstvwxz](?!chr)){4}(?:.(?!chr))*$/i'; var_dump( preg_match($regex, $string1), preg_match($regex, $string2) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vbgif
function name:  (null)
number of ops:  16
compiled vars:  !0 = $string1, !1 = $string2, !2 = $regex
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'aaabchr'
    4     1        ASSIGN                                                   !1, 'qwntfschrprtkjs'
    6     2        ASSIGN                                                   !2, '%2F%5E%28%3F%3A.%28%3F%21chr%29%29%2A%28%3F%3A%5Bbcdfghjklmnpqrstvwxz%5D%28%3F%21chr%29%29%7B4%7D%28%3F%3A.%28%3F%21chr%29%29%2A%24%2Fi'
    8     3        INIT_FCALL                                               'var_dump'
    9     4        INIT_FCALL                                               'preg_match'
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        SEND_VAR                                                 $6
   10     9        INIT_FCALL                                               'preg_match'
         10        SEND_VAR                                                 !2
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                                 
   11    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.55 ms | 1394 KiB | 17 Q