3v4l.org

run code in 300+ PHP versions simultaneously
//это на место списка добаляешь ? id - это id страницы информации, || - это конструция ИЛИ <?php foreach ($informations as $information) { if ($information['id'] == 4 || $information['id'] == 8 || $information['id'] == 7 || $information['id'] == 5) { ?> <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li> <?php } ?> <?php } ?> //это на место юридической информации <?php foreach ($informations as $information) { if ($information['id'] == 9) { ?> <li><a href="<?php echo $information['href']; ?>"><?php echo $information['title']; ?></a></li> <?php } ?> <?php } ?>
Output for git.master, git.master_jit, rfc.property-hooks
//это на место списка добаляешь ? id - это id страницы информации, || - это конструция ИЛИ Warning: Undefined variable $informations in /in/gTn52 on line 2 Warning: foreach() argument must be of type array|object, null given in /in/gTn52 on line 2 //это на место юридической информации Warning: Undefined variable $informations in /in/gTn52 on line 10 Warning: foreach() argument must be of type array|object, null given in /in/gTn52 on line 10

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