3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php use GuzzleHttp\Client; $client = new Client(); $uri = 'http://api.football-data.org/v1/soccerseasons/354/leagueTable'; $header = array('headers' => array('X-Auth-Token' => 'b89c9b18195c44ab833db9e2a4dc8145')); $response = $client->get($uri, $header); $json = $response->json(); ?>
based on l8Uqe
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'GuzzleHttp\Client' not found in /in/T1mZ1:4 Stack trace: #0 {main} thrown in /in/T1mZ1 on line 4
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Class 'GuzzleHttp\Client' not found in /in/T1mZ1 on line 4
Process exited with code 255.