3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.44 ms | 1395 KiB | 21 Q