3v4l.org

run code in 300+ PHP versions simultaneously
<?php // test.php require_once __DIR__.'/vendor/autoload.php'; $client = new GuzzleHttp\Client(); $response = $client->get('https://google.com'); echo $response->getBody();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7gJ45
function name:  (null)
number of ops:  12
compiled vars:  !0 = $client, !1 = $response
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INCLUDE_OR_EVAL                                          '%2Fin%2Fvendor%2Fautoload.php', REQUIRE_ONCE
    5     1        NEW                                              $3      'GuzzleHttp%5CClient'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    7     4        INIT_METHOD_CALL                                         !0, 'get'
          5        SEND_VAL_EX                                              'https%3A%2F%2Fgoogle.com'
          6        DO_FCALL                                      0  $6      
          7        ASSIGN                                                   !1, $6
    8     8        INIT_METHOD_CALL                                         !1, 'getBody'
          9        DO_FCALL                                      0  $8      
         10        ECHO                                                     $8
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.81 ms | 1392 KiB | 13 Q