3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Filename = "SSPCAEvent" . $_GET['ID'] . ".vcs" header("Content-Type: text/x-vCalendar"); header("Content-Disposition: inline; filename=$Filename"); /** Put mysql connection and query statements here **/ $DescDump = str_replace("\r", "=0D=0A=", $row['Detail']); $vCalStart = date("Ymd\THi00", $row['EventStart']); $vCalEnd = date("Ymd\THi00", $row['EventEnd']); ?> BEGIN:VCALENDAR VERSION:1.0 PRODID:SSPCA Web Calendar TZ:-07 BEGIN:VEVENT SUMMARY:<?php echo $row['Summary'] . "\n"; ?> DESCRIPTION;ENCODING=QUOTED-PRINTABLE: <?php echo $DescDump . "\n"; ?> DTSTART:<?php echo $vCalStart . "\n"; ?> DTEND:<?php echo $vCalEnd . "\n"; ?> END:VEVENT END:VCALENDAR

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.4.180.3870.03318.93
5.4.170.3570.03318.94
5.4.160.3670.03719.09
5.4.150.3670.03319.09
5.4.140.0000.06016.36
5.4.130.0100.05016.38
5.4.120.4600.03316.25
5.4.110.4600.03316.46
5.4.100.4570.03316.21
5.4.90.4630.03316.32
5.4.80.4570.04016.40
5.4.70.4230.03316.29
5.4.60.4530.04016.48
5.4.50.4600.04016.51
5.4.40.0100.05716.19
5.4.30.0070.04016.38
5.4.20.4200.03016.47
5.4.10.4670.04016.19
5.4.00.4600.03015.75
5.3.270.4070.03314.43
5.3.260.3600.03714.56
5.3.250.3800.03314.39
5.3.240.0030.06014.57
5.3.230.1900.04314.47
5.3.220.4200.04014.54
5.3.210.5470.03014.45
5.3.200.5270.03014.54
5.3.190.4330.04014.50
5.3.180.4570.03314.52
5.3.170.4630.03714.58
5.3.160.4530.03314.49
5.3.150.4570.03714.53
5.3.140.3270.03314.48
5.3.130.0030.04714.49
5.3.120.3070.04014.48
5.3.110.4630.04314.48
5.3.100.4770.04014.14
5.3.90.4570.03713.95
5.3.80.4570.03314.05
5.3.70.4630.03013.98
5.3.60.4100.03713.95
5.3.50.4030.04013.87
5.3.40.3800.03313.90
5.3.30.4070.03013.84
5.3.20.4130.03313.50
5.3.10.4670.04313.58
5.3.00.4230.03013.73

preferences:
144.21 ms | 1394 KiB | 7 Q