3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($mode==2){$temp = <<<HTML <link href="themes/ui-darkness/jquery-ui-1.8.12.custom.css" rel="stylesheet" media="screen"> <link href="themes/jquery.videobackground.css" rel="stylesheet" media="screen"> <style> body {margin: 0;font-family: arial, helvetica, sans-serif;} a {color: #FFF;} h2 {font-size: 20px;font-weight: normal;} li {list-style: none;} dl { } dt {float: left;width: 160px;} dd {margin: 0 0 10px 160px;} .video-background {position: fixed;top: 0;left: 0;overflow: hidden;width: 100%;height: 100%;z-index: 0;} .video-background video {min-height: 100%;min-width:100%;} #page {position: relative;z-index: 1;width: 960px;color: #FFF;background: transparent url(media/fallback1.jpg) repeat top left;border-radius: 5px;margin: 0 auto;} #main {padding: 10px;margin: 10px 0;} </style> <script src="js/jquery.videobackground.js"></script> <script> $(document).ready(function() {$('dl').toggle();$('h2').bind('click', function(event) {event.preventDefault();$(this).next('dl').slideToggle(500, function() {$('.video-background').videobackground('resize');});});$('body').prepend('<div class="video-background"></div>');$('.video-background').videobackground({videoSource: [['media/BgV.mp4', 'video/mp4'],['media/BgV.webm', 'video/webm']],controlPosition: '#main',poster: 'media/fallback1.jpg',loadedCallback: function() {$(this).videobackground('mute');}});}); </script> <style> html, body {margin: 0;width: 100%;height: 100%;} </style> HTML; echo $temp;}

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)
7.0.10.0200.07320.08
7.0.00.0170.05020.24
5.6.160.0100.06720.52
5.6.150.0100.06318.33
5.6.140.0030.07718.28
5.6.130.0030.08018.14
5.6.120.0070.04320.99
5.6.110.0070.08320.96
5.6.100.0030.08721.08
5.6.90.0100.07721.01
5.6.80.0030.04020.50
5.5.300.0070.05718.01
5.5.290.0170.07317.91
5.5.280.0000.08720.88
5.5.270.0130.06320.83
5.5.260.0000.04320.86
5.5.250.0130.07320.77
5.5.240.0130.05320.14

preferences:
158.96 ms | 1394 KiB | 7 Q