3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bottomLinks = $fields['bottom_links']; if($bottomLinks){ foreach($bottomLinks as $bottomLink){ $singlelink = $bottomLink['page_link']; $pageFields = get_fields($singlelink); $pageDescription = $pageFields['small_description']; $pageTitle = $singlelink->post_title; $pageLink = get_permalink($singlelink); ?> <div class="bottom_link"> <div class="box_text"> <div class="text_wrap bottom_link_text"> <?php echo $bottomLink['page_link']; ?> </div> </div> </div> <?php } } ?>
Output for git.master, git.master_jit
Warning: Undefined variable $fields in /in/Su08E on line 2 Warning: Trying to access array offset on value of type null in /in/Su08E on line 2
Output for rfc.property-hooks
Warning: Undefined variable $fields in /in/Su08E on line 2 Warning: Trying to access array offset on null in /in/Su08E on line 2

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:
30.05 ms | 401 KiB | 8 Q