3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.23 ms | 1395 KiB | 21 Q