3v4l.org

run code in 300+ PHP versions simultaneously
<?php $to = 'mahmoud.ajeeb@outlook.com'; $subject = 'Message to Mahmoud'; $name = $_POST['name']; $email = $_POST['email']; $topic = $_POST['selectbasic']; $message = $_POST['message']; $body = <<<EMAIL Hi You Recived a Message From $name regarding $topic $message sender Email is $email EMAIL; $header = "From: $email"; if($_POST)( mail($to, $subject, $body, $header); $feedback = 'Message Send' ) ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Mahmoud Ajeeb | Frontend Developer</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <!-- jQuery library --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Latest compiled JavaScript --> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <link rel="stylesheet" href="css/main.css"> <link href='https://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'> </head> <body> <!-- Preloader --> <div id="preloader"> <div id="status">&nbsp;</div> </div> <div id="head2"> <div class="header2"> <a href="index.html"><img class="logo" height="100px" src="img/logo.png" alt="logo" /></a> <span> <h1 class="hh">Hire Me</h1> </span> <div class="navbar transparent navbar-inverse navbar-static-top hr"> <div class="navbar-brand logo"></div> <div class="navbar-brand-right"> </div> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav" style="font-size:17px;margin-top:9px; color:white;"> <li><a class="navbar" href="index.html">Home Page</a></li> <li><a class="navbar" href="AboutMe.html">About Me</a></li> <li><a class="navbar" href="MySkillSet.html">My Skill Set</a></li> <li><a class="navbar" href="ThingsICanDoForYou.html">Things I Do</a></li> <li><a class="navbar" href="HireMe.php">Hire Me</a></li> </ul> </div> </div> </div> </div> <p id="feedback><?php echo $feedback; ?></p> <div class="hireme"> <div class="row"> <div class="col-sm-6 col-sm-offset-3"> <div class="hire" style="margin-top: 10%;"> <h3>Send Mahmoud a message</h3> <form role="form" id="contactForm" data-toggle="validator" class="shake" action="?" method="post"> <div class="row"> <div class="form-group col-sm-6"> <label for="name" class="h4">Name</label> <input type="text" class="form-control" id="name" placeholder="Batman Secret Identity!" required data-error="NEW ERROR MESSAGE"> <div class="help-block with-errors"></div> </div> <div class="form-group col-sm-6"> <label for="email" class="h4">Email</label> <input type="email" class="form-control" id="email" placeholder="Enter email" required> <div class="help-block with-errors"></div> </div> </div> <div class="Form" <div class="form-group"> <label for="message" class="h4">Message goes here!</label> <textarea id="message" class="form-control" rows="5" placeholder="Mahmoud Is excited to hear from you!" required></textarea> <div class="help-block with-errors"></div> </div> <label class="h4" for="selectbasic" required="">Message Subject</label> <div class="form-group col-sm-6"> <select id="selectbasic" name="selectbasic" class="form-control"> <option value="Other">Other</option> <option value="Feedback">Feedback</option> <option value="Job Offer">Job Offer</option> <option value="Project Description/proposal">Project Description/proposal</option> <option value="Pro bono work – only for recognized charity organizations">Pro bono work – only for recognized charity organizations</option> </select> <br/><br/> <button type="submit" id="form-submit" class="btn btn-success btn-lg pull-right ">Message Mahmoud</button> <div id="msgSubmit" class="h3 text-center hidden"></div> <div class="clearfix"></div> </form> </div> </div> </div> </div> </div> <!-- jQuery Plugin --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script> <!-- Preloader --> <script type="text/javascript"> //<![CDATA[ $(window).load(function() { // makes sure the whole site is loaded $('#status').fadeOut(); // will first fade out the loading animation $('#preloader').delay(500).fadeOut('slow'); // will fade out the white DIV that covers the website. $('body').delay(500).css({'overflow':'visible'}); }) //]]> </script> </body> </html> <footer class="footer-basic-centered"> <p class="footer-mahmoud-connect">Connect With Me</p> <p class="footer-links"> <a href="https://ae.linkedin.com/in/mahmoudajeeb" target="_blank"><img src="img/linkedin.png" height="50px" /></a> <a href="https://twitter.com/mahmoudajeeb89" target="_blank"><img src="img/twitter.png" height="50px" /></a> <a href="https://www.facebook.com/mahmoud.ajeeb" target="_blank"><img src="img/facebook.png" height="50px" /></a> <a href="https://instagram.com/mahmoudajeeb/" target="_blank"><img src="img/insta.png" height="50px" /></a> </p> <p class="footer-mahmoud-name">Mahmoud Ajeeb &copy; 2015</p> </footer>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.6.140.0170.07718.25
5.6.130.0070.08718.11
5.6.120.0070.08020.95
5.6.110.0170.06721.01
5.6.100.0100.07021.04
5.6.90.0030.06020.95
5.6.80.0170.06720.48
5.6.70.4430.04020.48
5.5.300.0070.07317.99
5.5.290.0170.06717.96
5.5.280.0070.06020.79
5.5.270.0000.06020.76
5.5.260.0070.08720.73
5.5.250.0130.06720.61
5.5.240.0070.08020.35
5.4.450.0570.05319.09
5.4.440.0670.06319.07
5.4.430.0630.05019.18
5.4.420.0570.05319.19
5.4.410.0630.05719.04
5.4.400.0530.05718.87
5.4.390.0670.06318.89
5.4.380.0500.06018.89
5.4.370.0730.04319.13
5.4.360.0570.06718.91
5.4.350.0700.07019.05
5.4.340.0600.06018.86
5.4.320.0630.08018.74
5.4.310.0730.05319.04
5.4.300.0630.06319.09
5.4.290.0700.05718.97
5.4.280.0830.05718.86
5.4.270.0730.06319.04
5.4.260.0770.04719.09
5.4.250.0500.07019.10
5.4.240.0670.06318.73
5.4.230.0000.07718.86
5.4.220.0130.07018.73
5.4.210.0130.06018.85
5.4.200.0570.06318.88
5.4.190.0670.06318.86
5.4.180.0730.04319.10
5.4.170.0770.06018.73
5.4.160.0630.07019.02
5.4.150.0770.05319.02
5.4.140.0670.05316.67
5.4.130.0700.06716.46
5.4.120.0700.06316.36
5.4.110.0530.05316.57
5.4.100.0700.05016.23
5.4.90.0600.04716.57
5.4.80.0730.05016.54
5.4.70.0500.05316.54
5.4.60.0470.05316.41
5.4.50.0730.05716.21
5.4.40.0630.05016.53
5.4.30.0670.05016.55
5.4.20.0600.06316.40
5.4.10.0570.05316.56
5.4.00.0430.05015.77

preferences:
128.48 ms | 1446 KiB | 7 Q