3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function bitcoin_address_pair(){ /*$script = dirname(__FILE__)."/botg.sh"; exec($script, $result); $result = array_map('trim', $result); $priv = $result[2]; $pub = $result[4]; return array('private'=>$priv, 'public'=>$pub); */ "hello"; } ?> <?php include('/PHPbitcoin/lib/bitcoin_address.php'); echo "<pre>\n"; print (bitcoin_address_pair()); ?>
Output for 5.1.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: include(/PHPbitcoin/lib/bitcoin_address.php): failed to open stream: No such file or directory in /in/9t9Xs on line 17 Warning: include(): Failed opening '/PHPbitcoin/lib/bitcoin_address.php' for inclusion (include_path='.:') in /in/9t9Xs on line 17 <pre>
Output for hhvm-3.12.0
Warning: File not found: /PHPbitcoin/lib/bitcoin_address.php in /in/9t9Xs on line 17 <pre>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 5.0.5
Warning: main(/PHPbitcoin/lib/bitcoin_address.php): failed to open stream: No such file or directory in /in/9t9Xs on line 17 Warning: main(): Failed opening '/PHPbitcoin/lib/bitcoin_address.php' for inclusion (include_path='.:') in /in/9t9Xs on line 17 <pre>
Output for 4.3.0 - 4.3.1
Warning: main(/PHPbitcoin/lib/bitcoin_address.php) [http://www.php.net/function.main]: failed to create stream: No such file or directory in /in/9t9Xs on line 17 Warning: main() [http://www.php.net/function.main]: Failed opening '/PHPbitcoin/lib/bitcoin_address.php' for inclusion (include_path='.:') in /in/9t9Xs on line 17 <pre>