3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = file_get_contents('http://hao.360.cn/'); preg_match_all("/(?<=href=\")[^\"]*/", $content, $data); var_dump($data);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uRfW8
function name:  (null)
number of ops:  13
compiled vars:  !0 = $content, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fhao.360.cn%2F'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'preg_match_all'
          5        SEND_VAL                                                 '%2F%28%3F%3C%3Dhref%3D%22%29%5B%5E%22%5D%2A%2F'
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !1
          8        DO_ICALL                                                 
    5     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:
154.99 ms | 1394 KiB | 19 Q