3v4l.org

run code in 300+ PHP versions simultaneously
<?php print (preg_match('~^(?:a)*$~', str_repeat('a', 10000) . 'b'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DRCKD
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%7E%5E%28%3F%3Aa%29%2A%24%7E'
          2        INIT_FCALL                                               'str_repeat'
          3        SEND_VAL                                                 'a'
          4        SEND_VAL                                                 10000
          5        DO_ICALL                                         $0      
          6        CONCAT                                           ~1      $0, 'b'
          7        SEND_VAL                                                 ~1
          8        DO_ICALL                                         $2      
          9        ECHO                                                     $2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.45 ms | 1394 KiB | 17 Q