3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('APACHE_MIME_TYPES_URL','http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types'); function generateUpToDateMimeArray($url){ $s=array(); foreach(@explode("\n",@file_get_contents($url))as $x) if(isset($x[0])&&$x[0]!=='#'&&preg_match_all('#([^\s]+)#',$x,$out)&&isset($out[1])&&($c=count($out[1]))>1) for($i=1;$i<$c;$i++) $s[]='&nbsp;&nbsp;&nbsp;\''.$out[1][$i].'\' => \''.$out[1][0].'\''; return @sort($s)?'$mime_types = array(<br />'.implode($s,',<br />').'<br />);':false; } echo generateUpToDateMimeArray(APACHE_MIME_TYPES_URL);

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)
8.3.60.0100.00718.55
8.3.50.0110.00718.18
8.3.40.0080.01318.95
8.3.30.0070.00719.42
8.3.20.0080.00020.72
8.3.10.0040.00421.95
8.3.00.0070.00019.29
8.2.180.0130.00617.13
8.2.170.0150.00022.96
8.2.160.0070.00722.24
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00919.91
8.2.110.0030.00622.20
8.2.100.0080.00418.16
8.2.90.0050.00319.42
8.2.80.0040.00417.97
8.2.70.0090.00018.00
8.2.60.0040.00418.16
8.2.50.0000.00918.07
8.2.40.0040.00418.28
8.2.30.0020.00518.36
8.2.20.0000.00818.04
8.2.10.0000.00818.41
8.2.00.0050.00218.04
8.1.280.0070.01425.92
8.1.270.0090.00019.25
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0040.00424.09
8.1.230.0030.00719.32
8.1.220.0030.00517.91
8.1.210.0060.00318.77
8.1.200.0060.00317.60
8.1.190.0060.00317.48
8.1.180.0040.00418.10
8.1.170.0030.00718.91
8.1.160.0070.00022.30
8.1.150.0040.00419.02
8.1.140.0050.00317.68
8.1.130.0040.00417.98
8.1.120.0040.00417.46
8.1.110.0040.00417.52
8.1.100.0040.00417.63
8.1.90.0040.00417.65
8.1.80.0040.00417.58
8.1.70.0050.00317.61
8.1.60.0040.00417.64
8.1.50.0040.00417.68
8.1.40.0040.00417.71
8.1.30.0080.00017.71
8.1.20.0040.00417.95
8.1.10.0060.00317.75
8.1.00.0000.00817.68
8.0.300.0050.00319.40
8.0.290.0070.00017.00
8.0.280.0000.00818.70
8.0.270.0030.00317.47
8.0.260.0040.00417.56
8.0.250.0000.00717.34
8.0.240.0080.00017.21
8.0.230.0000.00717.35
8.0.220.0070.00017.16
8.0.210.0040.00417.09
8.0.200.0000.00617.24
8.0.190.0050.00317.25
8.0.180.0030.00517.20
8.0.170.0030.00617.24
8.0.160.0000.00717.27
8.0.150.0050.00217.21
8.0.140.0000.00717.15
8.0.130.0060.00013.73
8.0.120.0030.00617.26
8.0.110.0040.00417.12
8.0.100.0040.00417.18
8.0.90.0000.00817.11
8.0.80.0130.00917.24
8.0.70.0080.00017.15
8.0.60.0000.00817.16
8.0.50.0040.00417.16
8.0.30.0150.00817.25
8.0.20.0110.00917.64
8.0.10.0020.00517.17
8.0.00.0050.01417.08
7.4.330.0000.00815.03
7.4.320.0000.00616.72
7.4.300.0030.00416.67
7.4.290.0030.00316.75
7.4.280.0080.00016.78
7.4.270.0030.00316.75
7.4.260.0100.00016.57
7.4.250.0050.00316.61
7.4.240.0050.00316.81
7.4.230.0030.00316.58
7.4.220.0090.01216.74
7.4.210.0190.00316.77
7.4.200.0050.00316.88
7.4.160.0190.00316.90
7.4.150.0140.00417.40
7.4.140.0110.01117.86
7.4.130.0060.01316.82
7.4.120.0040.01316.90
7.4.110.0100.01016.81
7.4.100.0140.00616.75
7.4.90.0090.00916.86
7.4.80.0100.01019.39
7.4.70.0200.00416.88
7.4.60.0060.01216.82
7.4.50.0040.00416.80
7.4.40.0050.01116.81
7.4.30.0140.00716.73
7.4.10.0150.00315.41
7.4.00.0080.01015.19
7.3.330.0070.00013.63
7.3.320.0000.00613.45
7.3.310.0030.00516.78
7.3.300.0080.00016.68
7.3.290.0060.00816.64
7.3.280.0110.00916.68
7.3.270.0110.00717.40
7.3.260.0150.00416.87
7.3.250.0060.01216.75
7.3.240.0070.01416.59
7.3.230.0070.01016.58
7.3.210.0100.01116.73
7.3.200.0030.01419.39
7.3.190.0030.01616.62
7.3.180.0070.01016.66
7.3.170.0060.01216.54
7.3.160.0140.00316.73
7.3.130.0170.00315.03
7.3.120.0060.01115.22
7.3.110.0100.00714.95
7.3.100.0060.00615.00
7.3.90.0070.00515.15
7.3.80.0050.00415.12
7.3.70.0080.00515.01
7.3.60.0050.00915.18
7.3.50.0000.01214.96
7.3.40.0080.00415.01
7.3.30.0080.00814.93
7.3.20.0070.00716.98
7.3.10.0100.00616.79
7.3.00.0080.00816.77
7.2.330.0090.00916.72
7.2.320.0030.01816.65
7.2.310.0030.01517.03
7.2.300.0030.01416.70
7.2.290.0190.00617.01
7.2.260.0090.00915.30
7.2.250.0120.00915.44
7.2.240.0060.00615.33
7.2.230.0070.00615.31
7.2.220.0030.01215.32
7.2.210.0060.00515.38
7.2.200.0070.00715.29
7.2.190.0040.00915.23
7.2.180.0060.00815.31
7.2.170.0080.00915.32
7.2.160.0070.00915.33
7.2.150.0050.01117.01
7.2.140.0090.00817.22
7.2.130.0080.00817.02
7.2.120.0060.00817.12
7.2.110.0090.00917.10
7.2.100.0100.00616.76
7.2.90.0080.00816.64
7.2.80.0560.01016.69
7.2.70.0710.00616.83
7.2.60.0120.00716.81
7.2.50.0590.00616.81
7.2.40.0470.00916.75
7.2.30.0280.00816.81
7.2.20.0100.00816.84
7.2.10.0150.01016.74
7.2.00.0090.00917.14
7.1.330.0060.00915.87
7.1.320.0020.01116.10
7.1.310.0050.01015.89
7.1.300.0090.00516.08
7.1.290.0070.00515.99
7.1.280.0070.00715.85
7.1.270.0090.00916.02
7.1.260.0040.01115.79
7.1.250.0090.00615.82
7.1.240.0050.00615.77
7.1.230.0150.00316.01
7.1.220.1250.00615.31
7.1.210.1350.00615.42
7.1.200.0790.01215.47
7.1.190.1020.00715.45
7.1.180.1310.01015.43
7.1.170.1290.00515.25
7.1.160.0180.00715.34
7.1.150.1040.01215.38
7.1.140.0360.00815.31
7.1.130.0190.00815.35
7.1.120.0810.00915.20
7.1.110.0120.01015.41
7.1.100.0370.00616.02
7.1.90.0520.01015.27
7.1.80.0560.00715.28
7.1.70.0260.01115.74
7.1.60.0390.01220.35
7.1.50.0390.00820.21
7.1.40.0430.00921.17
7.1.30.0510.00921.28
7.1.20.0430.00821.14
7.1.10.0280.00315.20
7.1.00.0540.02417.06
7.0.330.0030.00715.57
7.0.320.0100.01015.34
7.0.310.0120.00914.64
7.0.300.0430.00314.77
7.0.290.0260.00314.54
7.0.280.1610.00814.56
7.0.270.1210.00614.82
7.0.260.1300.00514.51
7.0.250.1290.00514.76
7.0.240.1580.00614.79
7.0.230.0710.00814.75
7.0.220.0870.01314.77
7.0.210.0680.01014.68
7.0.200.0460.00615.46
7.0.190.0570.00714.74
7.0.180.0560.01114.56
7.0.170.0540.00914.66
7.0.160.0640.00514.69
7.0.150.0410.01114.53
7.0.140.0310.02317.32
7.0.130.0110.00914.78
7.0.120.0230.00314.79
7.0.110.0190.00714.70
7.0.100.0340.01114.78
7.0.90.0390.01214.71
7.0.80.0440.01114.55
7.0.70.0300.01014.72
7.0.60.0330.02916.63
7.0.50.0280.01715.99
7.0.40.0140.02016.55
7.0.30.0350.02716.74
7.0.20.0260.02716.62
7.0.10.0160.03416.50
7.0.00.0130.02216.72
5.6.400.0000.01314.54
5.6.390.0100.00714.60
5.6.380.0080.01114.59
5.6.370.0110.01114.67
5.6.360.0140.01014.70
5.6.350.0190.00614.50
5.6.340.0180.00914.69
5.6.330.0190.00714.55
5.6.320.0150.00314.54
5.6.310.0160.00514.63
5.6.300.0150.00614.60
5.6.290.0190.00514.67
5.6.280.0110.02816.91
5.6.270.0150.00614.62
5.6.260.0160.00414.56
5.6.250.0120.00714.70
5.6.240.0080.01014.60
5.6.230.0070.01414.47
5.6.220.0160.00514.57
5.6.210.0080.03216.75
5.6.200.0090.01815.97
5.6.190.0120.01916.68
5.6.180.0190.02716.73
5.6.170.0200.02716.49
5.6.160.0100.02016.62
5.6.150.0110.03315.87
5.6.140.0110.02015.92
5.6.130.0130.03015.93
5.6.120.0140.02816.80
5.6.110.0100.02816.84
5.6.100.0210.02316.87
5.6.90.0120.03516.84
5.6.80.0130.02716.73
5.6.70.0180.00614.59
5.6.60.0160.00714.50
5.6.50.0140.01014.48
5.6.40.0120.01214.46
5.6.30.0130.01114.35
5.6.20.0140.00814.63
5.6.10.0190.00814.48
5.6.00.0140.00514.56
5.5.380.0110.00813.00
5.5.370.0130.00613.06
5.5.360.0110.00713.18
5.5.350.1490.01815.64
5.5.340.0110.02814.58
5.5.330.0110.03015.55
5.5.320.0160.01815.45
5.5.310.0230.02115.52
5.5.300.0080.02714.71
5.5.290.0070.01914.68
5.5.280.0100.03215.69
5.5.270.0130.03315.76
5.5.260.0130.03215.55
5.5.250.0170.03515.65
5.5.240.0190.02615.44
5.5.230.0120.00612.90
5.5.220.0090.01512.88
5.5.210.0090.00812.87
5.5.200.0150.00712.95
5.5.190.0140.00812.80
5.5.180.0110.00813.00
5.5.170.0190.00914.56
5.5.160.0080.01212.95
5.5.150.0140.01112.90
5.5.140.0110.00712.81
5.5.130.0070.01012.68
5.5.120.0110.00912.79
5.5.110.0130.00812.82
5.5.100.0130.00613.05
5.5.90.0110.00612.77
5.5.80.0120.00612.89
5.5.70.0070.01212.85
5.5.60.0120.00812.67
5.5.50.0130.00713.09
5.5.40.0090.01212.66
5.5.30.0120.00512.79
5.5.20.0090.01212.83
5.5.10.0130.00613.01
5.5.00.0090.00612.85
5.4.450.0130.01814.20
5.4.440.0110.01614.29
5.4.430.0110.02014.32
5.4.420.0130.01714.29
5.4.410.0120.01414.19
5.4.400.0140.01814.13
5.4.390.0140.01314.06
5.4.380.0090.01813.96
5.4.370.0150.01414.09
5.4.360.0120.01513.89
5.4.350.0130.01814.09
5.4.340.0130.01814.13
5.4.330.0110.00811.33
5.4.320.0150.01814.07
5.4.310.0150.01414.13
5.4.300.0150.01514.20
5.4.290.0120.01514.13
5.4.280.0160.02314.04
5.4.270.0120.01514.09
5.4.260.0180.01914.02
5.4.250.0180.01014.03
5.4.240.0100.01513.96
5.4.230.0140.01914.01
5.4.220.0110.01613.91
5.4.210.0120.01913.92
5.4.200.0150.01814.13
5.4.190.0100.01714.04
5.4.180.0100.01914.09
5.4.170.0120.01714.08
5.4.160.0090.01614.07
5.4.150.0120.01514.14
5.4.140.0100.01613.17
5.4.130.0160.01713.19
5.4.120.0110.01613.03
5.4.110.0100.01613.26
5.4.100.0110.01713.25
5.4.90.0130.01413.22
5.4.80.0130.01213.13
5.4.70.0120.01613.25
5.4.60.0150.02213.21
5.4.50.0140.02813.11
5.4.40.0190.02113.15
5.4.30.0140.02113.01
5.4.20.0110.02013.25
5.4.10.0150.02213.31
5.4.00.0140.02912.93

preferences:
43.32 ms | 400 KiB | 5 Q