3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_match("^<[a-z:/.?=0-9]+>; rel=\"next\"$", "<http://api.github/user/xyz?page=2>; rel=\"next\"", $result)); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lfUod
function name:  (null)
number of ops:  12
compiled vars:  !0 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%5E%3C%5Ba-z%3A%2F.%3F%3D0-9%5D%2B%3E%3B+rel%3D%22next%22%24'
          3        SEND_VAL                                                 '%3Chttp%3A%2F%2Fapi.github%2Fuser%2Fxyz%3Fpage%3D2%3E%3B+rel%3D%22next%22'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.3 ms | 1385 KiB | 17 Q