3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content=file_get_contents('http://rzd.ru'); $pos=strpos($content,'<title>'); $content=substr($content,$pos); $pos=strpos($content, '</title>'); $content=substr($content,0,$pos); echo $content; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6bhPo
function name:  (null)
number of ops:  27
compiled vars:  !0 = $content, !1 = $pos
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Frzd.ru'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'strpos'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '%3Ctitle%3E'
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    5     9        INIT_FCALL                                               'substr'
         10        SEND_VAR                                                 !0
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $6      
         13        ASSIGN                                                   !0, $6
    6    14        INIT_FCALL                                               'strpos'
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 '%3C%2Ftitle%3E'
         17        DO_ICALL                                         $8      
         18        ASSIGN                                                   !1, $8
    7    19        INIT_FCALL                                               'substr'
         20        SEND_VAR                                                 !0
         21        SEND_VAL                                                 0
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $10     
         24        ASSIGN                                                   !0, $10
    8    25        ECHO                                                     !0
    9    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.8 ms | 1395 KiB | 19 Q