3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ret = preg_match('/(?:ab|c)+/', str_repeat('c', 8192)); if ($ret === false) { print("failed with: " . preg_last_error()); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/YWq85
function name:  (null)
number of ops:  16
compiled vars:  !0 = $ret
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2F%28%3F%3Aab%7Cc%29%2B%2F'
          2        INIT_FCALL                                               'str_repeat'
          3        SEND_VAL                                                 'c'
          4        SEND_VAL                                                 8192
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    4     9        TYPE_CHECK                                    4          !0
         10      > JMPZ                                                     ~4, ->15
    5    11    >   INIT_FCALL                                               'preg_last_error'
         12        DO_ICALL                                         $5      
         13        CONCAT                                           ~6      'failed+with%3A+', $5
         14        ECHO                                                     ~6
    6    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.54 ms | 1427 KiB | 16 Q