3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_date = date('Y-m-d'); $json_string = file_get_contents("https://www.quandl.com/api/v3/datasets/WSJ/AU_HHB.json?start_date=$start_date"); echo $start_date; echo $json_string; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Bit61
function name:  (null)
number of ops:  13
compiled vars:  !0 = $start_date, !1 = $json_string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'file_get_contents'
          5        NOP                                                      
          6        FAST_CONCAT                                      ~4      'https%3A%2F%2Fwww.quandl.com%2Fapi%2Fv3%2Fdatasets%2FWSJ%2FAU_HHB.json%3Fstart_date%3D', !0
          7        SEND_VAL                                                 ~4
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    6    10        ECHO                                                     !0
    7    11        ECHO                                                     !1
    9    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.58 ms | 1394 KiB | 17 Q