3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE HTML> <html lang="en"> <head> <link href="https://s3-us-west-2.amazonaws.com/animalproperty.com/button_submission.css" rel="stylesheet" type="text/css"> <link href="https://s3-us-west-2.amazonaws.com/animalproperty.com/Bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"> <link href="https://s3-us-west-2.amazonaws.com/animalproperty.com/Bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <meta name='robots' content='noindex,nofollow'/> </head> <body > <?php while ($row = $result->fetch_assoc()) { ?> <div class="properties-rows"> <div class="row"> <div class="property span9"> <div class="row"> <div class="span3"> <div class="image"> <div class="content"> <img width="570" height="425" src="<?php echo $row['image']; ?>" class="thumbnail-image" alt="19"> </div> <!-- /.content --> </div> <!-- /.image --> </div> <div class="body span6"> <div class="title-price row"> <div class="title span4"> <h2 style="color: #2468ff"><?php echo $row['property']; ?>Property</h2> </div> <!-- /.title --> </div> <!-- /.title --> <div class="location" style="color: #C70000"><h4>Company: <?php echo $row['company']; ?></h4></div> <!-- /.location --> <div class="body"> <table style="width:100%;"> <tr style="background-color: #2468ff"> <th style="color: white">General</th> <th style="color: white">Dogs</th> <th style="color: white">Cats</th> </tr> <tr style="color: #2468ff"> <td>Max Pets:<?php echo $row['max_pets']; ?></td> <td>Breeds not allowed:<?php echo $row['breeds_not_allowed']; ?></td> <td>Cat Base Deposit: $<?php echo $row['cat_deposit']; ?></td> </tr> <tr style="color: #2468ff"> <td>Pets not allowed:<?php echo $row['pet_not_allowed']; ?></td> <td>Max Weight: <?php echo $row['max_weight']; ?>lbs</td> <td>Deposit per cat: $<?php echo $row['cat_deposit_x']; ?></td> </tr> <tr style="color: #2468ff"> <td></td> <td>Max Length: <?php echo $row['length']; ?></td> <td></td> </tr> <tr style="color: #2468ff"> <td></td> <td>Dog Base Deposit: $<?php echo $row['dog_deposit']; ?></td> <td></td> </tr> <tr style="color: #2468ff"> <td></td> <td>Deposit per dog: $<?php echo $row['dog_deposit_x']; ?></td> <td></td> </tr> </table> </div> <br> <!-- /.body --> <div class="contact"> <div> <button class="btn btn-danger">Contact this property</button><span class="email"> Email:<?php echo $row['email']; ?></span> </div> </div> </div> <!-- /.body --> </div> <!-- /.row --> </div> <!-- /.property --> </div> <!-- /.row --> </div> <!-- /.property --> </div> <!-- /.row --> </div> <?php } // end of loop?> <!-- /.properties-grid --> <script type="text/javascript"> $(document).ready(function(){ $(".email").hide() }); $(".contact").on("click", function() { $(".email").toggle(); }); </script> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
<!DOCTYPE HTML> <html lang="en"> <head> <link href="https://s3-us-west-2.amazonaws.com/animalproperty.com/button_submission.css" rel="stylesheet" type="text/css"> <link href="https://s3-us-west-2.amazonaws.com/animalproperty.com/Bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"> <link href="https://s3-us-west-2.amazonaws.com/animalproperty.com/Bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> <meta name='robots' content='noindex,nofollow'/> </head> <body > Warning: Undefined variable $result in /in/BoRBi on line 13 Fatal error: Uncaught Error: Call to a member function fetch_assoc() on null in /in/BoRBi:13 Stack trace: #0 {main} thrown in /in/BoRBi on line 13
Process exited with code 255.

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