3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = array('status' => 'Available', 'images' => 'images', 'title' => 'title', 'author' => 'author', 'isbn' => 1234); $output = ''; $status = $row ['status'] == 'Available' ? 'success' : 'danger'; $output .= <<<EOD <div class="col-md-3 mb-4"> <div class="card h-100"> <img class="card-img-top" src="../admin/upload/$row[images]" width="50px" height="300px" alt="Image"> <div class="overlay"> <p><strong> Title : </strong>$row[title]</p> <p><strong> Author : </strong>$row[author]</p> <p><strong> ISBN : </strong>$row[isbn]</p> </div> <div class="card-body"> <a href="book_details.php?title=$row[title]&isbn=$row[isbn]"> <button type="button"class="btn btn-$status">$row[status]</button></a> </div> </div> </div> EOD; echo $output;
Output for git.master, git.master_jit, rfc.property-hooks
<div class="col-md-3 mb-4"> <div class="card h-100"> <img class="card-img-top" src="../admin/upload/images" width="50px" height="300px" alt="Image"> <div class="overlay"> <p><strong> Title : </strong>title</p> <p><strong> Author : </strong>author</p> <p><strong> ISBN : </strong>1234</p> </div> <div class="card-body"> <a href="book_details.php?title=title&isbn=1234"> <button type="button"class="btn btn-success">Available</button></a> </div> </div> </div>

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:
59.07 ms | 407 KiB | 5 Q