3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'entity:node/4d90bd7c-2669-4d76-b808-9ad839241dd8'; preg_match('/^entity\/[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-(8|9|a|b)[a-f0-9]{3}\-[a-f0-9]{12}/', $string, $m); print_r($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IYWl3
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'entity%3Anode%2F4d90bd7c-2669-4d76-b808-9ad839241dd8'
    6     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5Eentity%5C%2F%5Ba-f0-9%5D%7B8%7D%5C-%5Ba-f0-9%5D%7B4%7D%5C-4%5Ba-f0-9%5D%7B3%7D%5C-%288%7C9%7Ca%7Cb%29%5Ba-f0-9%5D%7B3%7D%5C-%5Ba-f0-9%5D%7B12%7D%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    8     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.19 ms | 1394 KiB | 17 Q