3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html='".............."url":"rtmp:\/\/live3.me.somesite.com\/live\/?id=dfsdfdsfdsfsaddfdfdfd","name":"8.low.stream"........."'; preg_match("/\?id=([a-zA-Z]+)\"/", $html, $foo); print_r($foo[0]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bsf9k
function name:  (null)
number of ops:  11
compiled vars:  !0 = $html, !1 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%22..............%22url%22%3A%22rtmp%3A%5C%2F%5C%2Flive3.me.somesite.com%5C%2Flive%5C%2F%3Fid%3Ddfsdfdsfdsfsaddfdfdfd%22%2C%22name%22%3A%228.low.stream%22.........%22'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%5C%3Fid%3D%28%5Ba-zA-Z%5D%2B%29%22%2F'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'print_r'
          7        FETCH_DIM_R                                      ~4      !1, 0
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.25 ms | 1394 KiB | 17 Q