3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $guessedLoanPeriod = 1; $getInterestRate = 0; $x = 1 - pow(1 + ($getInterestRate/ 100 / 12), $guessedLoanPeriod); echo (-( ($getInterestRate / 100 / 12) * ( 200 - 0 + 50 ) * pow(1 + ($getInterestRate / 100 / 12), $guessedLoanPeriod) / (1 - pow(1 + ($getInterestRate / 100 / 12), $guessedLoanPeriod)) ) + 6 ) * $guessedLoanPeriod;
based on 1pjQk
Output for 7.0.0 - 7.2.0
Warning: Division by zero in /in/UAsNU on line 14 NAN
Output for 5.3.19 - 5.6.28
Warning: Division by zero in /in/UAsNU on line 15 6