3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $row = array (2000,7000,3000); $fuzzyprocessormax = 6000; $fuzzyprocessormin = 5000; $rekomendasi = 1000; $arrlength = count($row); for($x=0; $x < $arrlength; $x++) { // Hitung fuzzy processor min if ($row <= $fuzzyprocessormin ) { echo 'Kebutuhan fuzzy 0' print array[]; die(); } else if ($fuzzyprocessormin <= $row or $row <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row ) / ($fuzzyprocessormax-$fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; die(); print array[] } else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1';print array[]; die();} else echo header("Location: ../processor.html"); ?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'print' (T_PRINT), expecting ',' or ';' in /in/9u5BF on line 20
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_PRINT, expecting ',' or ';' in /in/9u5BF on line 20
Process exited with code 255.