3v4l.org

run code in 300+ PHP versions simultaneously
<?php $context = stream_context_create(array('http' => array('header'=>'Connection: close\r\n'))); file_get_contents("https://api.twitter.com/1.1/search/tweets.json?q=%40twitterapi",false,$context); /* $ch=file_get_contents("https://api.twitter.com/1.1/search/tweets.json?q=%40twitterapi"); print_r($ch);*/ ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XrLtO
function name:  (null)
number of ops:  10
compiled vars:  !0 = $context
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'stream_context_create'
          1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'file_get_contents'
          5        SEND_VAL                                                 'https%3A%2F%2Fapi.twitter.com%2F1.1%2Fsearch%2Ftweets.json%3Fq%3D%2540twitterapi'
          6        SEND_VAL                                                 <false>
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    8     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.48 ms | 1398 KiB | 17 Q