3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'https://s3.amazonaws.com/mm-component-creative/1480607188779_b917bfa537ee774742001e3819f2eda5_news.jph'; $text = preg_match( '#((https?|ftp)://(\S*?\.\S*?))([\s)\[\]{},;"\':<]|\.\s|$)#i', $string ); var_dump($text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bbUpU
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fs3.amazonaws.com%2Fmm-component-creative%2F1480607188779_b917bfa537ee774742001e3819f2eda5_news.jph'
    5     1        INIT_FCALL                                               'preg_match'
    6     2        SEND_VAL                                                 '%23%28%28https%3F%7Cftp%29%3A%2F%2F%28%5CS%2A%3F%5C.%5CS%2A%3F%29%29%28%5B%5Cs%29%5C%5B%5C%5D%7B%7D%2C%3B%22%27%3A%3C%5D%7C%5C.%5Cs%7C%24%29%23i'
    7     3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
    5     5        ASSIGN                                                   !1, $3
   10     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:
170.37 ms | 1394 KiB | 17 Q