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(); } ?>
Output for 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Warning: require_once(): open_basedir restriction in effect. File(hybridauth/Hybrid/Auth.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/diIao on line 3 Warning: require_once(hybridauth/Hybrid/Auth.php): Failed to open stream: Operation not permitted in /in/diIao on line 3 Fatal error: Uncaught Error: Failed opening required 'hybridauth/Hybrid/Auth.php' (include_path='.:') in /in/diIao:3 Stack trace: #0 {main} thrown in /in/diIao on line 3
Process exited with code 255.
Output for 8.0.0 - 8.0.13
Warning: require_once(hybridauth/Hybrid/Auth.php): Failed to open stream: No such file or directory in /in/diIao on line 3 Fatal error: Uncaught Error: Failed opening required 'hybridauth/Hybrid/Auth.php' (include_path='.:') in /in/diIao:3 Stack trace: #0 {main} thrown in /in/diIao on line 3
Process exited with code 255.
Output for 5.2.3 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.26, 7.4.33
Warning: require_once(hybridauth/Hybrid/Auth.php): failed to open stream: No such file or directory in /in/diIao on line 3 Fatal error: require_once(): Failed opening required 'hybridauth/Hybrid/Auth.php' (include_path='.:') in /in/diIao on line 3
Process exited with code 255.
Output for 7.4.27 - 7.4.32
Warning: require_once(): open_basedir restriction in effect. File(hybridauth/Hybrid/Auth.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/diIao on line 3 Warning: require_once(hybridauth/Hybrid/Auth.php): failed to open stream: Operation not permitted in /in/diIao on line 3 Fatal error: require_once(): Failed opening required 'hybridauth/Hybrid/Auth.php' (include_path='.:') in /in/diIao on line 3
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.2
<br /> <b>Warning</b>: require_once(hybridauth/Hybrid/Auth.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>/in/diIao</b> on line <b>3</b><br /> <br /> <b>Fatal error</b>: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'hybridauth/Hybrid/Auth.php' (include_path='.:') in <b>/in/diIao</b> on line <b>3</b><br />
Process exited with code 255.
Output for 5.0.0 - 5.0.5
<br /> <b>Warning</b>: main(hybridauth/Hybrid/Auth.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/in/diIao</b> on line <b>3</b><br /> <br /> <b>Fatal error</b>: main() [<a href='function.require'>function.require</a>]: Failed opening required 'hybridauth/Hybrid/Auth.php' (include_path='.:') in <b>/in/diIao</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.4.2 - 4.4.9
<br /> <b>Parse error</b>: syntax error, unexpected '{' in <b>/in/diIao</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
<br /> <b>Parse error</b>: parse error, unexpected '{' in <b>/in/diIao</b> on line <b>5</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br /> <b>Parse error</b>: parse error in <b>/in/diIao</b> on line <b>5</b><br />
Process exited with code 255.

preferences:
268.05 ms | 401 KiB | 469 Q