3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page = file_get_contents('http://google.com'); $title = preg_replace('/<title>(.*)</title>/i', '$1', $page); echo htmlentities($title);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J7LSt
function name:  (null)
number of ops:  15
compiled vars:  !0 = $page, !1 = $title
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fgoogle.com'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2F%3Ctitle%3E%28.%2A%29%3C%2Ftitle%3E%2Fi'
          6        SEND_VAL                                                 '%241'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    4    10        INIT_FCALL                                               'htmlentities'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $6      
         13        ECHO                                                     $6
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.15 ms | 1394 KiB | 19 Q