3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myURL = 'http://www.economist.com/news/finance-and-economics/21588124-events-america-show-no-asset-copper-bottomed-where-theres-money-theres'; if (preg_match('/<meta property="og:title" content="(.+)"/', file_get_contents($myURL),$matches) && isset($matches[1]) ) { echo $matches[1]; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 10, Position 2 = 12
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
Branch analysis from position: 12
filename:       /in/CNhlt
function name:  (null)
number of ops:  16
compiled vars:  !0 = $myURL, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fwww.economist.com%2Fnews%2Ffinance-and-economics%2F21588124-events-america-show-no-asset-copper-bottomed-where-theres-money-theres'
    5     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%3Cmeta+property%3D%22og%3Atitle%22+content%3D%22%28.%2B%29%22%2F'
          3        INIT_FCALL                                               'file_get_contents'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        SEND_REF                                                 !1
          8        DO_ICALL                                         $4      
          9      > JMPZ_EX                                          ~5      $4, ->12
         10    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~6      !1, 1
         11        BOOL                                             ~5      ~6
         12    > > JMPZ                                                     ~5, ->15
    6    13    >   FETCH_DIM_R                                      ~7      !1, 1
         14        ECHO                                                     ~7
    7    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.44 ms | 1386 KiB | 17 Q