3v4l.org

run code in 300+ PHP versions simultaneously
<?php $quote = file_get_contents('http://finance.google.com/finance/info?client=ig&q=VSE:APG1L'); $json = substr($quote, 4, -5); $json_output = json_decode($json, true, JSON_UNESCAPED_UNICODE); print_r($json_output); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GR6qD
function name:  (null)
number of ops:  20
compiled vars:  !0 = $quote, !1 = $json, !2 = $json_output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        SEND_VAL                                                 'http%3A%2F%2Ffinance.google.com%2Ffinance%2Finfo%3Fclient%3Dig%26q%3DVSE%3AAPG1L'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 4
          7        SEND_VAL                                                 -5
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    4    10        INIT_FCALL                                               'json_decode'
         11        SEND_VAR                                                 !1
         12        SEND_VAL                                                 <true>
         13        SEND_VAL                                                 256
         14        DO_ICALL                                         $7      
         15        ASSIGN                                                   !2, $7
    5    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
    6    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.47 ms | 1395 KiB | 21 Q