3v4l.org

run code in 300+ PHP versions simultaneously
<?php // outputs the username that owns the running php/httpd process // (on a system with the "whoami" executable in the path) echo exec('whoami'); ?>

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.0090.00618.30
8.3.50.0100.01122.05
8.3.40.0090.00618.82
8.3.30.0090.00618.72
8.3.20.0000.00818.69
8.3.10.0050.00321.13
8.3.00.0040.00421.78
8.2.180.0120.00616.63
8.2.170.0120.00322.96
8.2.160.0130.00022.25
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00420.94
8.2.110.0100.00020.43
8.2.100.0120.00019.63
8.2.90.0040.00419.27
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0000.00817.80
8.2.50.0100.00018.07
8.2.40.0040.00418.09
8.2.30.0000.00719.55
8.2.20.0000.00717.51
8.2.10.0020.00517.68
8.2.00.0030.00917.50
8.1.280.0110.00325.92
8.1.270.0040.00423.99
8.1.260.0060.00626.35
8.1.250.0080.00028.09
8.1.240.0140.00423.97
8.1.230.0080.00322.10
8.1.220.0000.01017.74
8.1.210.0060.00318.77
8.1.200.0030.00717.11
8.1.190.0040.00417.10
8.1.180.0000.00918.10
8.1.170.0050.00318.50
8.1.160.0040.00418.79
8.1.150.0000.01018.50
8.1.140.0050.00217.34
8.1.130.0030.00417.88
8.1.120.0000.00717.33
8.1.110.0040.00417.39
8.1.100.0050.00317.39
8.1.90.0040.00417.33
8.1.80.0030.00417.44
8.1.70.0000.00817.36
8.1.60.0000.00817.44
8.1.50.0050.00317.34
8.1.40.0040.00417.47
8.1.30.0030.00617.54
8.1.20.0080.00017.61
8.1.10.0000.00717.47
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0050.00516.63
8.0.280.0050.00218.29
8.0.270.0070.00017.14
8.0.260.0030.00316.78
8.0.250.0000.00717.01
8.0.240.0030.00816.96
8.0.230.0000.00716.76
8.0.220.0000.00816.80
8.0.210.0040.00416.81
8.0.200.0000.00616.94
8.0.190.0040.00416.75
8.0.180.0000.00716.74
8.0.170.0050.00316.92
8.0.160.0080.00016.86
8.0.150.0040.00416.72
8.0.140.0030.00616.79
8.0.130.0050.00013.21
8.0.120.0040.00416.74
8.0.110.0040.00416.70
8.0.100.0000.00716.70
8.0.90.0030.00516.75
8.0.80.0080.00816.84
8.0.70.0030.00516.64
8.0.60.0040.00416.83
8.0.50.0000.00716.92
8.0.30.0080.01116.84
8.0.20.0190.02217.40
8.0.10.0080.00016.98
8.0.00.0100.00816.46
7.4.330.0000.00516.69
7.4.320.0030.00316.49
7.4.300.0030.00316.46
7.4.290.0030.00416.32
7.4.280.0030.00316.36
7.4.270.0000.00716.42
7.4.260.0060.00013.13
7.4.250.0050.00316.32
7.4.240.0040.00416.50
7.4.230.0030.00416.26
7.4.220.0070.01816.40
7.4.210.0070.00916.49
7.4.200.0070.00016.39
7.4.190.0070.00016.22
7.4.160.0080.00916.34
7.4.150.0130.00417.40
7.4.140.0100.01117.86
7.4.130.0130.00716.42
7.4.120.0080.00916.42
7.4.110.0040.02016.30
7.4.100.0130.01116.37
7.4.90.0120.00616.41
7.4.80.0050.01619.39
7.4.70.0100.00716.58
7.4.60.0080.00916.37
7.4.50.0000.00816.22
7.4.40.0030.00922.77
7.4.30.0040.01216.50
7.4.00.0070.01214.70
7.3.330.0030.00313.02
7.3.320.0020.00613.11
7.3.310.0030.00416.02
7.3.300.0070.00016.18
7.3.290.0070.00716.22
7.3.280.0110.00616.23
7.3.270.0100.00717.40
7.3.260.0110.01018.24
7.3.250.0130.01016.34
7.3.240.0100.00716.38
7.3.230.0180.00416.39
7.3.210.0050.01316.48
7.3.200.0130.01019.39
7.3.190.0060.01216.43
7.3.180.0100.00716.43
7.3.170.0050.01816.43
7.3.160.0110.00616.25
7.3.120.0080.01114.74
7.3.110.0080.00914.65
7.3.100.0080.00814.72
7.3.90.0050.00914.70
7.3.80.0090.00314.64
7.3.70.0070.00814.75
7.3.60.0080.00714.74
7.3.50.0040.01214.53
7.3.40.0090.00614.67
7.3.30.0100.00614.54
7.3.20.0090.00615.97
7.3.10.0120.00615.86
7.3.00.0060.01015.87
7.2.330.0030.02016.53
7.2.320.0150.00316.54
7.2.310.0120.00916.57
7.2.300.0120.00616.31
7.2.290.0060.01216.48
7.2.250.0110.00814.99
7.2.240.0080.01214.92
7.2.230.0090.00715.02
7.2.220.0050.00914.87
7.2.210.0090.00714.89
7.2.200.0030.01214.85
7.2.190.0050.01114.94
7.2.180.0100.00814.69
7.2.170.0050.01014.70
7.2.160.0130.00214.92
7.2.150.0130.00715.95
7.2.140.0100.00715.98
7.2.130.0060.01115.75
7.2.120.0070.00815.93
7.2.110.0160.00916.01
7.2.100.0090.01215.90
7.2.90.0160.00415.97
7.2.80.0090.00715.92
7.2.70.0090.00715.90
7.2.60.0110.00816.12
7.2.50.0090.00715.87
7.2.40.0100.00815.83
7.2.30.0100.00615.87
7.2.20.0110.01415.77
7.2.10.0110.00815.98
7.2.00.0070.01116.98
7.1.330.0060.01115.71
7.1.320.0070.00715.47
7.1.310.0030.01115.79
7.1.300.0090.00915.69
7.1.290.0080.00515.60
7.1.280.0110.00614.91
7.1.270.0040.01015.04
7.1.260.0080.00814.90
7.1.250.0060.00814.88
7.1.240.0150.00214.83
7.1.230.0120.01214.66
7.1.220.0130.00614.70
7.1.210.0090.00714.52
7.1.200.0110.01114.96
7.1.190.0110.01414.72
7.1.180.0360.00714.58
7.1.170.0160.00414.81
7.1.160.0090.01214.69
7.1.150.0120.00914.50
7.1.140.0150.01114.53
7.1.130.0130.01214.70
7.1.120.0120.01014.73
7.1.110.0100.00814.50
7.1.100.0110.00914.71
7.1.90.0160.00914.81
7.1.80.0110.01314.70
7.1.70.0120.00715.43
7.1.60.0050.00915.50
7.1.50.0110.00815.49
7.1.40.0530.00415.26
7.1.30.0070.00715.25
7.1.20.0130.00415.29
7.1.10.0070.00815.29
7.1.00.0110.00815.36
7.0.330.0130.01413.26
7.0.320.0100.01113.37
7.0.310.0140.00913.28
7.0.300.0150.00813.48
7.0.290.0180.01113.63
7.0.280.0230.00413.52
7.0.270.0170.01413.45
7.0.260.0210.00813.62
7.0.250.0150.01313.37
7.0.240.0330.00313.43
7.0.230.0200.01213.29
7.0.220.0120.01213.41
7.0.210.0150.01513.30
7.0.200.0080.01214.99
7.0.190.0140.00915.17
7.0.180.0070.00714.84
7.0.170.0180.00314.63
7.0.160.0170.00514.81
7.0.150.0070.01414.71
7.0.140.0060.01614.82
7.0.130.0120.00714.89
7.0.120.0080.01414.98
7.0.110.0250.00514.85
7.0.100.0120.00614.89
7.0.90.0090.01114.74
7.0.80.0140.00614.96
7.0.70.0100.00314.76
7.0.60.0180.00714.83
7.0.50.0090.00715.02
7.0.40.0170.00413.91
7.0.30.0110.01013.96
7.0.20.0100.01113.91
7.0.10.0130.00814.05
7.0.00.0140.00914.09
5.6.400.0110.01714.48
5.6.390.0250.00814.38
5.6.380.0140.01914.09
5.6.370.0170.00914.21
5.6.360.0080.01314.16
5.6.350.0210.01014.51
5.6.340.0200.00514.49
5.6.330.0170.01514.00
5.6.320.0210.00814.17
5.6.310.0220.00814.17
5.6.300.0150.02117.66
5.6.290.0090.03817.59
5.6.280.0070.03317.60
5.6.270.0100.02517.68
5.6.260.0080.02817.58
5.6.250.0070.03117.55
5.6.240.0080.02817.46
5.6.230.0060.02917.51
5.6.220.0130.02917.63
5.6.210.0130.02617.45
5.6.200.0090.02817.54
5.6.190.0070.03117.55
5.6.180.0160.03517.61
5.6.170.0110.02517.68
5.6.160.0140.02617.44
5.6.150.0070.02817.63
5.6.140.0110.02517.50
5.6.130.0090.03017.39
5.6.120.0170.02717.61
5.6.110.0150.02617.75
5.6.100.0090.03217.71
5.6.90.0120.02417.63
5.6.80.0120.02117.32
5.6.70.0130.02517.29
5.6.60.0170.03717.04
5.6.50.0140.04317.29
5.6.40.0130.02117.16
5.6.30.0120.02417.24
5.6.20.0130.02417.27
5.6.10.0130.02217.24
5.6.00.0060.02717.16
5.5.380.0150.02515.77
5.5.370.0050.02715.89
5.5.360.0050.04015.82
5.5.350.0140.02515.84
5.5.340.0100.02615.97
5.5.330.0130.02516.17
5.5.320.0070.02716.11
5.5.310.0110.03216.17
5.5.300.0170.02116.10
5.5.290.0100.03416.19
5.5.280.0170.02516.00
5.5.270.0130.02415.95
5.5.260.0110.03116.17
5.5.250.0110.02715.70
5.5.240.0090.02715.84
5.5.230.0150.02715.75
5.5.220.0130.02515.79
5.5.210.0110.02215.70
5.5.200.0090.02815.68
5.5.190.0120.03415.65
5.5.180.0090.02915.63
5.5.170.0170.00813.73
5.5.160.0080.02615.72
5.5.150.0110.02515.81
5.5.140.0140.02315.62
5.5.130.0100.02715.73
5.5.120.0140.02015.54
5.5.110.0180.02215.79
5.5.100.0110.03115.61
5.5.90.0150.02615.57
5.5.80.0070.02415.54
5.5.70.0150.02915.70
5.5.60.0050.03115.61
5.5.50.0100.02915.68
5.5.40.0080.02815.76
5.5.30.0090.03115.75
5.5.20.0140.02615.66
5.5.10.0050.02615.57
5.5.00.0090.02015.59
5.4.450.0070.02915.10
5.4.440.0090.04215.16
5.4.430.0150.02015.12
5.4.420.0090.02615.02
5.4.410.0120.02614.94
5.4.400.0080.02414.92
5.4.390.0060.02214.70
5.4.380.0060.03214.96
5.4.370.0090.02714.91
5.4.360.0080.02414.85
5.4.350.0140.02014.90
5.4.340.0120.02114.89
5.4.330.0220.00410.85
5.4.320.0040.02514.89
5.4.310.0120.02315.01
5.4.300.0050.03314.93
5.4.290.0020.03015.03
5.4.280.0120.03014.70
5.4.270.0110.01914.98
5.4.260.0070.02414.87
5.4.250.0130.02314.88
5.4.240.0130.04014.91
5.4.230.0110.02514.83
5.4.220.0120.02114.82
5.4.210.0070.02414.95
5.4.200.0110.02314.89
5.4.190.0090.02014.86
5.4.180.0050.02714.81
5.4.170.0050.02614.90
5.4.160.0090.02314.88
5.4.150.0110.02114.90
5.4.140.0130.02813.70
5.4.130.0090.02413.75
5.4.120.0080.02113.57
5.4.110.0040.02513.68
5.4.100.0110.02113.71
5.4.90.0120.02213.71
5.4.80.0070.02113.68
5.4.70.0050.02313.71
5.4.60.0090.02213.74
5.4.50.0080.02413.59
5.4.40.0200.02413.79
5.4.30.0120.02013.77
5.4.20.0110.02713.65
5.4.10.0140.02413.66
5.4.00.0080.02413.43
5.3.290.0120.02512.56
5.3.280.0070.02412.40
5.3.270.0080.02512.49
5.3.260.0040.02912.53
5.3.250.0060.02312.47
5.3.240.0110.02512.38
5.3.230.0100.02112.42
5.3.220.0100.02212.40
5.3.210.0100.01912.39
5.3.200.0060.02812.50
5.3.190.0050.02412.40
5.3.180.0120.01912.54
5.3.170.0080.02512.46
5.3.160.0130.02112.44
5.3.150.0160.02012.55
5.3.140.0080.02012.41
5.3.130.0100.02112.50
5.3.120.0150.02112.49
5.3.110.0060.02712.39
5.3.100.0060.02512.26
5.3.90.0070.02812.17
5.3.80.0090.02512.04
5.3.70.0110.02012.11
5.3.60.0110.02212.16
5.3.50.0110.02411.96
5.3.40.0110.01712.02
5.3.30.0050.02512.02
5.3.20.0100.01811.97
5.3.10.0080.02111.92
5.3.00.0090.02711.89

preferences:
45.41 ms | 401 KiB | 5 Q