3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $siteName = 'Jenny@UK News'; // YQL query (SELECT * from feed ... ) // Split for readability $path = "http://query.yahooapis.com/v1/public/yql?q="; $path .= urlencode("SELECT * FROM feed WHERE url='http://jennyuknews.tumblr.com/rss'"); $path .= "&format=json"; // Call YQL, and if the query didn't fail, cache the returned data $feed = file_get_contents($path); // Decode that shizzle $feed = json_decode($feed);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/ef1Gb
function name:  (null)
number of ops:  16
compiled vars:  !0 = $siteName, !1 = $path, !2 = $feed
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'Jenny%40UK+News'
   6     1        ASSIGN                                                   !1, 'http%3A%2F%2Fquery.yahooapis.com%2Fv1%2Fpublic%2Fyql%3Fq%3D'
   7     2        INIT_FCALL                                               'urlencode'
         3        SEND_VAL                                                 'SELECT+%2A+FROM+feed+WHERE+url%3D%27http%3A%2F%2Fjennyuknews.tumblr.com%2Frss%27'
         4        DO_ICALL                                         $5      
         5        ASSIGN_CONCAT                                 0          !1, $5
   8     6        ASSIGN_CONCAT                                 0          !1, '%26format%3Djson'
  11     7        INIT_FCALL                                               'file_get_contents'
         8        SEND_VAR                                                 !1
         9        DO_ICALL                                         $8      
        10        ASSIGN                                                   !2, $8
  14    11        INIT_FCALL                                               'json_decode'
        12        SEND_VAR                                                 !2
        13        DO_ICALL                                         $10     
        14        ASSIGN                                                   !2, $10
        15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0