3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $base_url = 'https://www.strava.com'; $options= array( 'headers' => array( 'Accept' => 'application/json', ), 'method' => 'GET', 'data' => array( 'client_id' => '638', 'response_type' => 'code', 'redirect_uri' => 'http://fitness.bonustomato.com', 'scope' => 'view_private', 'approval_prompt' => 'force' ), ); print_r ($options); ?>
Output for 4.3.0 - 7.1.0
Array ( [headers] => Array ( [Accept] => application/json ) [method] => GET [data] => Array ( [client_id] => 638 [response_type] => code [redirect_uri] => http://fitness.bonustomato.com [scope] => view_private [approval_prompt] => force ) )