3v4l.org

run code in 300+ PHP versions simultaneously
<?php require __DIR__.'/../../vendor/autoload.php'; use GuzzleHttp\Client; define("TOKEN",'quick'); define("SALT",'bax5Oh0oY5e5oleukeDi33chTeek7eeyOhthoh5o8Au9ceisaTuk5koogXaih1uolAegu1ohgtieGha3akohLerei8Ju8lahw1o9SouwoOhsh4iphEj1veiru'); $un = "your.user@digilant.com"; $pw = 'your.pass'; error_log($un); error_log($pw); $client = new Client(); /* @var GuzzleHttp\Psr7\Response $response */ $response = $client->post('http://10.20.10.251/api/login_check', [ 'headers' => [], 'form_params' => [ '_username' => $un, '_password' => $pw ], 'timeout' => 30, 'allow_redirects' => true, ]); // here the body -> must to be converted with json_decode(...,true) var_dump($response->getBody()->getContents());
Output for git.master, git.master_jit, rfc.property-hooks
Warning: require(): open_basedir restriction in effect. File(/in/../../vendor/autoload.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/5MpeP on line 3 Warning: require(/in/../../vendor/autoload.php): Failed to open stream: Operation not permitted in /in/5MpeP on line 3 Fatal error: Uncaught Error: Failed opening required '/in/../../vendor/autoload.php' (include_path='.:') in /in/5MpeP:3 Stack trace: #0 {main} thrown in /in/5MpeP on line 3
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
61.83 ms | 401 KiB | 8 Q