3v4l.org

run code in 300+ PHP versions simultaneously
<?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,true); // Decode that shizzle $feed = json_decode($feed);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vQT0t
function name:  (null)
number of ops:  17
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_OP                                     8          !1, $5
    8     6        ASSIGN_OP                                     8          !1, '%26format%3Djson'
   11     7        INIT_FCALL                                               'file_get_contents'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $8      
         11        ASSIGN                                                   !2, $8
   14    12        INIT_FCALL                                               'json_decode'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !2, $10
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.26 ms | 1394 KiB | 19 Q