3v4l.org

run code in 300+ PHP versions simultaneously
<?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 git.master, git.master_jit, rfc.property-hooks
Warning: include(): open_basedir restriction in effect. File(/PHPbitcoin/lib/bitcoin_address.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/9t9Xs on line 17 Warning: include(/PHPbitcoin/lib/bitcoin_address.php): Failed to open stream: Operation not permitted 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>

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:
41.58 ms | 402 KiB | 8 Q