3v4l.org

run code in 300+ PHP versions simultaneously
<?php $headers = @get_headers('http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=vPlT2uKruwM'); if (!strpos($headers[0], '200')) { echo "The YouTube video you entered does not exist"; return false; }
Finding entry points
Branch analysis from position: 0
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
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gk6ln
function name:  (null)
number of ops:  16
compiled vars:  !0 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   BEGIN_SILENCE                                    ~1      
          1        INIT_FCALL                                               'get_headers'
          2        SEND_VAL                                                 'http%3A%2F%2Fwww.youtube.com%2Foembed%3Furl%3Dhttp%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvPlT2uKruwM'
          3        DO_ICALL                                         $2      
          4        END_SILENCE                                              ~1
          5        ASSIGN                                                   !0, $2
    5     6        INIT_FCALL                                               'strpos'
          7        FETCH_DIM_R                                      ~4      !0, 0
          8        SEND_VAL                                                 ~4
          9        SEND_VAL                                                 '200'
         10        DO_ICALL                                         $5      
         11        BOOL_NOT                                         ~6      $5
         12      > JMPZ                                                     ~6, ->15
    6    13    >   ECHO                                                     'The+YouTube+video+you+entered+does+not+exist'
    7    14      > RETURN                                                   <false>
    8    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.16 ms | 1394 KiB | 17 Q