3v4l.org

run code in 300+ PHP versions simultaneously
<?php $header = "asd.ads./ads.test+dsa"; $header = ""; $header = 123; #$name = 'hello [*kitty*],how good is today'; preg_match( '/application\/vnd\.ez\.api\.(.*?)\+(?:json|xml)/i', $hedaer, $match ); var_dump( $match );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wj7I9
function name:  (null)
number of ops:  12
compiled vars:  !0 = $header, !1 = $hedaer, !2 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'asd.ads.%2Fads.test%2Bdsa'
    3     1        ASSIGN                                                   !0, ''
    4     2        ASSIGN                                                   !0, 123
    8     3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%2Fapplication%5C%2Fvnd%5C.ez%5C.api%5C.%28.%2A%3F%29%5C%2B%28%3F%3Ajson%7Cxml%29%2Fi'
          5        SEND_VAR                                                 !1
          6        SEND_REF                                                 !2
          7        DO_ICALL                                                 
    9     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !2
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.11 ms | 1394 KiB | 17 Q