3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = file_get_contents("http://www.google.com/"); if (preg_match('~<body[^>]*>(.*?)</body>~si', $text, $body)){ echo $body[1]; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/cmTWO
function name:  (null)
number of ops:  13
compiled vars:  !0 = $text, !1 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Fwww.google.com%2F'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'preg_match'
          5        SEND_VAL                                                 '%7E%3Cbody%5B%5E%3E%5D%2A%3E%28.%2A%3F%29%3C%2Fbody%3E%7Esi'
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !1
          8        DO_ICALL                                         $4      
          9      > JMPZ                                                     $4, ->12
    4    10    >   FETCH_DIM_R                                      ~5      !1, 1
         11        ECHO                                                     ~5
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.78 ms | 1398 KiB | 17 Q