3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "2014 urmymuse Licensed to the public under http://creativecommons.org/licenses/by/3.0/ Verify at http://ccmixter.org/files/urmymuse/47486"; $matches = preg_match_all('#\bhttps?://[^,\s()<>]+(?:\([\w\d]+\)|([^,[:punct:]\s]|/))#i', $str, $urls); var_dump($urls);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JoLFD
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str, !1 = $matches, !2 = $urls
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2014+urmymuse+Licensed+to+the+public+under+http%3A%2F%2Fcreativecommons.org%2Flicenses%2Fby%2F3.0%2F+Verify+at+http%3A%2F%2Fccmixter.org%2Ffiles%2Furmymuse%2F47486'
    5     1        INIT_FCALL                                               'preg_match_all'
          2        SEND_VAL                                                 '%23%5Cbhttps%3F%3A%2F%2F%5B%5E%2C%5Cs%28%29%3C%3E%5D%2B%28%3F%3A%5C%28%5B%5Cw%5Cd%5D%2B%5C%29%7C%28%5B%5E%2C%5B%3Apunct%3A%5D%5Cs%5D%7C%2F%29%29%23i'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !2
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.05 ms | 1010 KiB | 15 Q