3v4l.org

run code in 300+ PHP versions simultaneously
<?php $post_link = "http://heamiel.dev/wordpress/sponsors/%sponsors_type%/joe-meloen"; preg_match( '(%sponsors_type%|%programma_dag%)', $post_link, $matches ); var_dump( $matches );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R4mTa
function name:  (null)
number of ops:  10
compiled vars:  !0 = $post_link, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fheamiel.dev%2Fwordpress%2Fsponsors%2F%25sponsors_type%25%2Fjoe-meloen'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%28%25sponsors_type%25%7C%25programma_dag%25%29'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.63 ms | 1385 KiB | 17 Q