3v4l.org

run code in 300+ PHP versions simultaneously
<?php $config = dirname(__FILE__) . '/hybridauth/config.php'; require_once( "hybridauth/Hybrid/Auth.php" ); try{ $hybridauth = new Hybrid_Auth( $config ); $Live = $hybridauth->authenticate( "Live" ); $user_contacts = $Live->getUserContacts(); } catch( Exception $e ){ echo "Ooophs, we got an error: " . $e->getMessage(); } ?>

preferences:
46.28 ms | 402 KiB | 5 Q