3v4l.org

run code in 300+ PHP versions simultaneously
<? $kurs = 30; // Курс доллара в РУБ $sbm_conv = $_POST['sbm_conv']; // Кнопка "Конвертировать" $dollars = $_POST['dollars']; if(isset($sbm_conv)) { echo "<b>".$dollars." доллар(ов) - это ".$dollars*$kurs." рублей</b><br><br>"; } ?> <form action="" method="post"> Введите сумму в долларах: <br><input type="text" name="dollars"/> <input type="submit" name="sbm_conv" value="Конвертировать" /> </form>
Output for git.master, git.master_jit, rfc.property-hooks
<? $kurs = 30; // Курс доллара в РУБ $sbm_conv = $_POST['sbm_conv']; // Кнопка "Конвертировать" $dollars = $_POST['dollars']; if(isset($sbm_conv)) { echo "<b>".$dollars." доллар(ов) - это ".$dollars*$kurs." рублей</b><br><br>"; } ?> <form action="" method="post"> Введите сумму в долларах: <br><input type="text" name="dollars"/> <input type="submit" name="sbm_conv" value="Конвертировать" /> </form>

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:
55.19 ms | 402 KiB | 8 Q