3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo pow($amount*(1-($inflation/100)), $duration);
Output for 5.1.0 - 7.2.0
Notice: Undefined variable: inflation in /in/JU6SV on line 2 Notice: Undefined variable: amount in /in/JU6SV on line 2 Notice: Undefined variable: duration in /in/JU6SV on line 2 1
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: amount in /in/JU6SV on line 2 Notice: Undefined variable: inflation in /in/JU6SV on line 2 Notice: Undefined variable: duration in /in/JU6SV on line 2 1
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: amount in /in/JU6SV on line 2 Notice: Undefined variable: inflation in /in/JU6SV on line 2 Notice: Undefined variable: duration in /in/JU6SV on line 2 1