3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total_arrecadado = ; $last_game_data['premio1'] = 50; $last_game_data['premio2'] = 100; $last_game_data['premio3'] = 150; $premios_para_sortear = 0; if ($last_game_data['premio1'] <= 100) { $premios_para_sortear = 1; } if($total_arrecadado >= ($last_game_data['premio2'] * 1.5) || $last_game_data['premio2'] <= 30) { $premios_para_sortear = 2; } if($total_arrecadado >= ($last_game_data['premio3'] * 1.5) || $last_game_data['premio3'] <= 30) { $premios_para_sortear = 3; } echo $premios_para_sortear;
Output for git.master_jit, git.master
Parse error: syntax error, unexpected token ";" in /in/gdr6b on line 3
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
143.03 ms | 1002 KiB | 7 Q