3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://ws.audioscrobbler.com'; $endpoint = '2.0'; $params = [ 'method' => 'user.getrecenttracks', 'user' => 'djekl', 'api_key' => 'test', 'format' => 'json', 'limit' => '200', ]; $url = $url . '/' . $endpoint . '/?' . http_build_query($params); print $url;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fmrKf
function name:  (null)
number of ops:  13
compiled vars:  !0 = $url, !1 = $endpoint, !2 = $params
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Fws.audioscrobbler.com'
    4     1        ASSIGN                                                   !1, '2.0'
    5     2        ASSIGN                                                   !2, <array>
   13     3        CONCAT                                           ~6      !0, '%2F'
          4        CONCAT                                           ~7      ~6, !1
          5        CONCAT                                           ~8      ~7, '%2F%3F'
          6        INIT_FCALL                                               'http_build_query'
          7        SEND_VAR                                                 !2
          8        DO_ICALL                                         $9      
          9        CONCAT                                           ~10     ~8, $9
         10        ASSIGN                                                   !0, ~10
   15    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.23 ms | 1394 KiB | 15 Q