3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match("#^page/(?<id>(.*))\-(?<slug>(.*))$#Ui","page/1-abc", $matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mM7mQ
function name:  (null)
number of ops:  6
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%23%5Epage%2F%28%3F%3Cid%3E%28.%2A%29%29%5C-%28%3F%3Cslug%3E%28.%2A%29%29%24%23Ui'
          2        SEND_VAL                                                 'page%2F1-abc'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.79 ms | 1393 KiB | 15 Q