3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.6dollarshirts.com/home.php'; $fp = file_get_contents($url); ///<a href="product.php?productid=12177"><img src="http://6dollar.threadpitinc.netdna-cdn.com/images/T/Merica_T_SHIRT_tn.jpg" preg_match_all('/productid=(.*?)"><img src="(.*?)\.jpg/', $fp, $matches); print_r($matches); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MPEli
function name:  (null)
number of ops:  14
compiled vars:  !0 = $url, !1 = $fp, !2 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.6dollarshirts.com%2Fhome.php'
    4     1        INIT_FCALL                                               'file_get_contents'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
   13     5        INIT_FCALL                                               'preg_match_all'
          6        SEND_VAL                                                 '%2Fproductid%3D%28.%2A%3F%29%22%3E%3Cimg+src%3D%22%28.%2A%3F%29%5C.jpg%2F'
          7        SEND_VAR                                                 !1
          8        SEND_REF                                                 !2
          9        DO_ICALL                                                 
   15    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
   17    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.52 ms | 1398 KiB | 19 Q