3v4l.org

run code in 300+ PHP versions simultaneously
<?php $relatedproduct = file_get_contents("http://shop.agesto.co.uk/belkin.txt"); preg_match_all('/\s*(.*) <\/a>/', $relatedproduct, $relatedtit); var_dump($relatedtit);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Akeo4
function name:  (null)
number of ops:  13
compiled vars:  !0 = $relatedproduct, !1 = $relatedtit
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fshop.agesto.co.uk%2Fbelkin.txt'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'preg_match_all'
          5        SEND_VAL                                                 '%2F%5Cs%2A%28.%2A%29+%3C%5C%2Fa%3E%2F'
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.4 ms | 1394 KiB | 19 Q