3v4l.org

run code in 500+ PHP versions simultaneously
<?php $keywords = preg_split("~(?<!=|^)(?=https?://)~", "http://foo.barhttps://foo.bazhttp://foo.bar?url=http://foo.baz"); print_r($keywords); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GUkGa
function name:  (null)
number of ops:  9
compiled vars:  !0 = $keywords
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'preg_split'
          1        SEND_VAL                                                     '%7E%28%3F%3C%21%3D%7C%5E%29%28%3F%3Dhttps%3F%3A%2F%2F%29%7E'
          2        SEND_VAL                                                     'http%3A%2F%2Ffoo.barhttps%3A%2F%2Ffoo.bazhttp%3A%2F%2Ffoo.bar%3Furl%3Dhttp%3A%2F%2Ffoo.baz'
          3        DO_ICALL                                             $1      
          4        ASSIGN                                                       !0, $1
    3     5        INIT_FCALL                                                   'print_r'
          6        SEND_VAR                                                     !0
          7        DO_ICALL                                                     
    4     8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.33 ms | 1727 KiB | 15 Q