3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
165.79 ms | 2878 KiB | 16 Q