3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('~\/*(public|health)+~', "hello/public", $match); var_dump($match);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vAZnu
function name:  (null)
number of ops:  9
compiled vars:  !0 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%7E%5C%2F%2A%28public%7Chealth%29%2B%7E'
          2        SEND_VAL                                                 'hello%2Fpublic'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.38 ms | 1393 KiB | 17 Q