3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(PCRE_VERSION); //$b = preg_replace('/b.*b/', '', 'baab' . str_repeat('a', 100024)); $b = preg_match('/(.)*/', str_repeat('x', 6000)); var_dump(PCRE_VERSION, 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/U4Ic5
function name:  (null)
number of ops:  26
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 '10.35+2020-05-09'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%2F%28.%29%2A%2F'
          5        INIT_FCALL                                               'str_repeat'
          6        SEND_VAL                                                 'x'
          7        SEND_VAL                                                 6000
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        ASSIGN                                                   !0, $3
    5    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 '10.35+2020-05-09'
         14        INIT_FCALL                                               'ini_get'
         15        SEND_VAL                                                 'pcre.backtrack_limit'
         16        DO_ICALL                                         $5      
         17        SEND_VAR                                                 $5
         18        INIT_FCALL                                               'ini_get'
         19        SEND_VAL                                                 'pcre.recursion_limit'
         20        DO_ICALL                                         $6      
         21        SEND_VAR                                                 $6
         22        STRLEN                                           ~7      !0
         23        SEND_VAL                                                 ~7
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.76 ms | 1395 KiB | 21 Q