3v4l.org

run code in 500+ PHP versions simultaneously
<?php $angulo1 = 60; $angulo2 = 60; $angulo3 = 60; if ($angulo1 + $angulo2 + $angulo3 == 180) { echo "Triángulo válido<br>"; if ($angulo1 == 90 || $angulo2 == 90 || $angulo3 == 90) { echo "Es rectángulo"; } elseif ($angulo1 > 90 || $angulo2 > 90 || $angulo3 > 90) { echo "Es obtusángulo"; } else { echo "Es acutángulo"; } } else { echo "Triángulo inválido"; } ?>
Output for git.master, git.master_jit
Triángulo válido<br>Es acutángulo

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:
43.8 ms | 786 KiB | 4 Q