3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = 'htghfhgtp://static.theiconic.com.au/cms/site_updates/Week 42/MSS_1_150x245px.jpghttp://,http://,http://,http://'; $pattern = '/^http:\/\//i'; preg_match_all($pattern, $value, $matches, PREG_PATTERN_ORDER); var_dump($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hFF9E
function name:  (null)
number of ops:  12
compiled vars:  !0 = $value, !1 = $pattern, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'htghfhgtp%3A%2F%2Fstatic.theiconic.com.au%2Fcms%2Fsite_updates%2FWeek+42%2FMSS_1_150x245px.jpghttp%3A%2F%2F%2Chttp%3A%2F%2F%2Chttp%3A%2F%2F%2Chttp%3A%2F%2F'
    5     1        ASSIGN                                                   !1, '%2F%5Ehttp%3A%5C%2F%5C%2F%2Fi'
    6     2        INIT_FCALL                                               'preg_match_all'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !2
          6        SEND_VAL                                                 1
          7        DO_ICALL                                                 
    8     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:
165.38 ms | 1394 KiB | 17 Q