3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar'); if (preg_last_error() == PREG_BACKTRACK_LIMIT_ERROR) { print 'Backtrack limit was exhausted!'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/7ZUOX
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%28%3F%3A%5CD%2B%7C%3C%5Cd%2B%3E%29%2A%5B%21%3F%5D%2F'
          2        SEND_VAL                                                 'foobar+foobar+foobar'
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'preg_last_error'
          5        DO_ICALL                                         $1      
          6        IS_EQUAL                                                 $1, 2
          7      > JMPZ                                                     ~2, ->9
    6     8    >   ECHO                                                     'Backtrack+limit+was+exhausted%21'
    9     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.51 ms | 1394 KiB | 17 Q