3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getBalance($address) { return file_get_contents('https://blockchain.info/de/q/addressbalance/'. $address); } echo 'Address Balance: ' . getBalance('13AM4VW2dhxYgXeQepoHkHSQuy6NgaEb94'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H1PZN
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'getbalance'
          1        SEND_VAL                                                 '13AM4VW2dhxYgXeQepoHkHSQuy6NgaEb94'
          2        DO_FCALL                                      0  $0      
          3        CONCAT                                           ~1      'Address+Balance%3A+', $0
          4        ECHO                                                     ~1
    8     5      > RETURN                                                   1

Function getbalance:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H1PZN
function name:  getBalance
number of ops:  7
compiled vars:  !0 = $address
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'file_get_contents'
          2        CONCAT                                           ~1      'https%3A%2F%2Fblockchain.info%2Fde%2Fq%2Faddressbalance%2F', !0
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                         $2      
          5      > RETURN                                                   $2
    4     6*     > RETURN                                                   null

End of function getbalance

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.36 ms | 1397 KiB | 16 Q