3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file_string = file_get_contents("http://www.daraz.pk/women/clothing/tops/"); preg_match_all('/<img src="(.*)">(.*)<\/img>/i', $file_string, $links); print_r($links);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VTAq5
function name:  (null)
number of ops:  13
compiled vars:  !0 = $file_string, !1 = $links
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fwww.daraz.pk%2Fwomen%2Fclothing%2Ftops%2F'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'preg_match_all'
          5        SEND_VAL                                                 '%2F%3Cimg+src%3D%22%28.%2A%29%22%3E%28.%2A%29%3C%5C%2Fimg%3E%2Fi'
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
    4     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.69 ms | 1398 KiB | 19 Q