3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $selectprocessor = 4000; $fuzzyprocessormax = 6000; $fuzzyprocessormin = 2000; $office_status = 'unchecked'; $game_status = 'unchecked'; if (isset($_POST['submit_kebutuhan_processor'])) { $selected_radio = $_POST['$kebutuhan_processor_status']; if ($selected_radio == 'office') { $office_status = 'checked'; while($row = mysql_fetch_array($selectprocessor)) { // Hitung fuzzy processor min if ($row <= $fuzzyprocessormin ) { mysql_query ( "UPDATE processor SET kebutuhan_fuzzy = '1'"); echo 'Kebutuhan fuzzy 1'; die(); header("Location: ../processor.html"); } else if ($fuzzyprocessormin <= $row or $row <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row ) / ($fuzzyprocessormax-$fuzzyprocessormin); mysql_query ( "UPDATE processor SET kebutuhan_fuzzy = '$rekomendasi'"); die(); header("Location: ../processor.html");} else if ($row >= $fuzzyprocessormax) { mysql_query ( "UPDATE processor SET kebutuhan_fuzzy = '0' "); } else echo header("Location: ../processor.html"); } } } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Output for hhvm-3.10.0

Process exited with code 153.