3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match('((a)*)', str_repeat('a', 12000), $match), $match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UmgmW
function name:  (null)
number of ops:  14
compiled vars:  !0 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%28%28a%29%2A%29'
          3        INIT_FCALL                                               'str_repeat'
          4        SEND_VAL                                                 'a'
          5        SEND_VAL                                                 12000
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        SEND_REF                                                 !0
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.99 ms | 1437 KiB | 16 Q