3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $row = 2000; $fuzzyprocessormax = 6000; $fuzzyprocessormin = 1000; $rekomendasi = 0.01; // Hitung fuzzy processor min if ($row <= $fuzzyprocessormin ) { echo 'Kebutuhan fuzzy 0'; die(); header("Location: ../processor.html"); } else if ($fuzzyprocessormin <= $row or $row <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row ) / ($fuzzyprocessormax-$fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; die(); header("Location: ../processor.html");} else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1'; die();} else echo header("Location: ../processor.html"); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Kebutuhan fuzzy 0.8