3v4l.org

run code in 300+ PHP versions simultaneously
<?php $res = preg_match('/^(A{1,2}B)+$/',str_repeat('AB',8192)); if ($res === false) { var_dump(preg_last_error() == PCRE_ERROR_JIT_STACKLIMIT); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/5u2oQ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%5E%28A%7B1%2C2%7DB%29%2B%24%2F'
          2        INIT_FCALL                                               'str_repeat'
          3        SEND_VAL                                                 'AB'
          4        SEND_VAL                                                 8192
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    3     9        TYPE_CHECK                                    4          !0
         10      > JMPZ                                                     ~4, ->18
    4    11    >   INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'preg_last_error'
         13        DO_ICALL                                         $5      
         14        FETCH_CONSTANT                                   ~6      'PCRE_ERROR_JIT_STACKLIMIT'
         15        IS_EQUAL                                         ~7      $5, ~6
         16        SEND_VAL                                                 ~7
         17        DO_ICALL                                                 
    6    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.01 ms | 1395 KiB | 21 Q