3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "<p id='balances'>".$value." balance: " . $balance . " (" . number_format($balance*$coinPrice, 5, '.', '') . " BTC)" . "</p>";
based on KUvIW
Output for 5.0.4 - 5.0.5, 7.0.0 - 7.1.0
Notice: Undefined variable: value in /in/rCMWT on line 2 Notice: Undefined variable: balance in /in/rCMWT on line 2 Notice: Undefined variable: balance in /in/rCMWT on line 2 Notice: Undefined variable: coinPrice in /in/rCMWT on line 2 <p id='balances'> balance: (0.00000 BTC)</p>
Output for 5.1.0 - 5.6.28, hhvm-3.10.0 - 3.13.2
Notice: Undefined variable: value in /in/rCMWT on line 2 Notice: Undefined variable: balance in /in/rCMWT on line 2 Notice: Undefined variable: coinPrice in /in/rCMWT on line 2 Notice: Undefined variable: balance in /in/rCMWT on line 2 <p id='balances'> balance: (0.00000 BTC)</p>
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: value in /in/rCMWT on line 2 Notice: Undefined variable: balance in /in/rCMWT on line 2 Notice: Undefined variable: balance in /in/rCMWT on line 2 Notice: Undefined variable: coinPrice in /in/rCMWT on line 2 <p id='balances'> balance: (0.00000 BTC)</p>