3v4l.org

run code in 300+ PHP versions simultaneously
<?php $auslastung = 1; $retVal = ($auslastung * 5) + (($auslastung < 0.25) ? 0 : $auslastung) * 5) + (($auslastung < 0.5) ? 0 : $auslastung) * 5) + (($auslastung < 0.8) ? 0 : $auslastung) * 5); echo $retVal;
Output for 7.2.0 - 7.2.27, 7.3.0 - 7.3.14, 7.4.0 - 7.4.2
Parse error: syntax error, unexpected ')' in /in/RQoTB on line 4
Process exited with code 255.

preferences:
187.4 ms | 1395 KiB | 53 Q