3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo file_get_contents('/etc/passwd');

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.0.0beta10.0090.01216.60
8.0.0alpha30.0150.00916.48
8.0.0alpha20.0060.01216.29
8.0.0alpha10.0090.00916.31
7.4.90.0080.01116.32
7.4.80.0100.00719.39
7.4.70.0040.01516.24
7.4.60.0110.01216.35
7.4.50.0030.00616.54
7.4.40.0080.00816.35
7.4.30.0060.00916.25
7.4.20.0090.00616.31
7.4.10.0080.01315.64
7.4.00.0100.00715.23
7.3.210.0130.00316.35
7.3.200.0030.01916.14
7.3.190.0120.00616.39
7.3.180.0060.01016.46
7.3.170.0100.00716.55
7.3.160.0090.00616.30
7.3.150.0070.01016.38
7.3.140.0070.01016.39
7.3.130.0090.00915.43
7.3.120.0030.01315.18
7.3.110.0080.00915.43
7.3.100.0090.00615.26
7.3.90.0090.00715.18
7.3.80.0090.00814.98
7.3.70.0100.00714.81
7.3.60.0120.00514.85
7.3.50.0080.00914.88
7.3.40.0090.00814.77
7.3.30.0110.00914.85
7.3.20.0130.00715.44
7.3.10.0150.00615.47
7.3.00.0090.00915.47
7.2.330.0180.00416.42
7.2.320.0140.00316.40
7.2.310.0150.00316.60
7.2.300.0040.01316.60
7.2.290.0030.01316.30
7.2.280.0160.01116.55
7.2.270.0140.01016.38
7.2.260.0080.01115.54
7.2.250.0040.01215.57
7.2.240.0110.00715.77
7.2.230.0090.00715.27
7.2.220.0060.00915.29
7.2.210.0120.00915.26
7.2.200.0070.01015.08
7.2.190.0100.00814.98
7.2.180.0070.00815.02
7.2.170.0100.01014.99
7.2.160.0080.00915.00
7.2.150.0110.00815.56
7.2.140.0150.00615.58
7.2.130.0130.00815.69
7.2.120.0160.00715.63
7.2.110.0250.00915.41
7.2.100.0240.01115.50
7.2.90.0210.00915.47
7.2.80.0170.01015.45
7.2.70.0160.00915.51
7.2.60.0620.00915.36
7.2.50.0660.01015.38
7.2.40.0660.01015.48
7.2.30.0460.00815.48
7.2.20.0340.00915.43
7.2.10.0780.00915.41
7.2.00.0560.00815.40
7.1.330.0070.01115.57
7.1.320.0120.00414.84
7.1.310.0140.00614.60
7.1.300.0100.00914.55
7.1.290.0090.00714.64
7.1.280.0140.00614.53
7.1.270.0150.00714.54
7.1.260.0130.00714.46
7.1.250.0090.00514.55
7.1.240.0150.00714.55
7.1.230.0230.00914.30
7.1.220.0230.00914.30
7.1.210.0210.00814.34
7.1.200.0210.00614.42
7.1.190.0220.00814.23
7.1.180.0220.00914.16
7.1.170.0440.00814.08
7.1.160.0620.00814.81
7.1.150.0510.01014.79
7.1.140.0470.00914.73
7.1.130.0650.00814.65
7.1.120.0610.00914.76
7.1.110.0660.00814.62
7.1.100.0590.00814.69
7.1.90.0580.00914.77
7.1.80.0620.00714.73
7.1.70.0640.01014.40
7.1.60.0890.01021.94
7.1.50.0720.01021.76
7.1.40.0670.01121.72
7.1.30.0650.01021.87
7.1.20.0710.00921.86
7.1.10.0550.01114.46
7.1.00.0670.00814.38
7.0.330.0200.00613.88
7.0.320.0120.00813.94
7.0.310.0260.00613.88
7.0.300.0490.00613.63
7.0.290.0560.00914.45
7.0.280.0220.00913.74
7.0.270.0650.00814.45
7.0.260.0700.00814.50
7.0.250.0730.00714.42
7.0.240.0670.00714.23
7.0.230.0660.00814.40
7.0.220.0690.00814.39
7.0.210.0590.00813.93
7.0.200.0630.00714.07
7.0.190.0740.00814.12
7.0.180.0650.00813.92
7.0.170.0670.00813.92
7.0.160.0660.00713.92
7.0.150.0650.01013.96
7.0.140.0710.00914.00
7.0.130.0550.00813.97
7.0.120.0560.00714.01
7.0.110.0640.00714.00
7.0.100.0670.00714.04
7.0.90.0500.00813.99
7.0.80.0560.00814.00
7.0.70.0560.00914.03
7.0.60.0720.00813.96
7.0.50.0630.01214.07
7.0.40.0620.00714.10
7.0.30.0810.00714.02
7.0.20.0750.00814.09
7.0.10.0560.00914.04
7.0.00.0780.00914.14
5.6.400.0120.00814.48
5.6.390.0100.01014.40
5.6.380.0100.00914.21
5.6.370.0140.00814.35
5.6.360.0110.01114.39
5.6.350.0110.01114.40
5.6.340.0150.00814.40
5.6.330.0140.00614.46
5.6.320.0160.00614.44
5.6.310.0130.00914.29
5.6.300.0160.02116.11
5.6.290.0150.02316.11
5.6.280.0140.02516.21
5.6.270.0130.02416.07
5.6.260.0120.02716.10
5.6.250.0150.02316.10
5.6.240.0130.02616.09
5.6.230.0140.02316.08
5.6.220.0130.02316.13
5.6.210.0160.02416.11
5.6.200.0120.02516.11
5.6.190.0140.02316.07
5.6.180.0120.02216.10
5.6.170.0140.02316.11
5.6.160.0140.02316.16
5.6.150.0140.02316.09
5.6.140.0180.02416.12
5.6.130.0150.02216.08
5.6.120.0140.02416.07
5.6.110.0150.02216.08
5.6.100.0130.02316.13
5.6.90.0140.02116.09
5.6.80.0140.02115.88
5.6.70.0150.02215.84
5.6.60.0120.02415.82
5.6.50.0120.02315.79
5.6.40.0140.02215.88
5.6.30.0140.02215.90
5.6.20.0120.02415.86
5.6.10.0120.02215.80
5.6.00.0110.02215.81
5.5.380.0120.02114.65
5.5.370.0100.02314.64
5.5.360.0130.02214.57
5.5.350.0130.02014.54
5.5.340.0130.02014.69
5.5.330.0130.02014.74
5.5.320.0130.02014.82
5.5.310.0120.02314.72
5.5.300.0140.02114.83
5.5.290.0130.02414.73
5.5.280.0120.02514.65
5.5.270.0140.02314.73
5.5.260.0130.02114.71
5.5.250.0120.02114.68
5.5.240.0140.01914.56
5.5.230.0130.02114.56
5.5.220.0110.02314.55
5.5.210.0130.02314.51
5.5.200.0130.02214.53
5.5.190.0120.02214.56
5.5.180.0150.02114.52
5.5.170.0130.00914.11
5.5.160.0120.02014.57
5.5.150.0120.02114.52
5.5.140.0130.02014.55
5.5.130.0130.01914.50
5.5.120.0110.02114.57
5.5.110.0130.02014.57
5.5.100.0110.02214.51
5.5.90.0120.01914.51
5.5.80.0120.01814.47
5.5.70.0130.02014.49
5.5.60.0120.02414.49
5.5.50.0120.02214.46
5.5.40.0100.02114.46
5.5.30.0120.02114.44
5.5.20.0130.01914.49
5.5.10.0110.02214.49
5.5.00.0120.02014.43
5.4.450.0120.02013.41
5.4.440.0110.02013.38
5.4.430.0110.02113.39
5.4.420.0110.01913.45
5.4.410.0110.02013.37
5.4.400.0110.02113.27
5.4.390.0130.02113.21
5.4.380.0120.01813.29
5.4.370.0120.01813.32
5.4.360.0110.02313.28
5.4.350.0130.01913.29
5.4.340.0110.02113.29
5.4.330.0060.00811.20
5.4.320.0110.01913.30
5.4.310.0120.01813.26
5.4.300.0090.02013.29
5.4.290.0100.02013.28
5.4.280.0100.02013.28
5.4.270.0110.01913.33
5.4.260.0090.02013.27
5.4.250.0100.01913.28
5.4.240.0120.01913.31
5.4.230.0110.02113.30
5.4.220.0130.02013.31
5.4.210.0090.02113.31
5.4.200.0100.01913.26
5.4.190.0100.01913.32
5.4.180.0100.01913.29
5.4.170.0100.02113.24
5.4.160.0130.01813.22
5.4.150.0120.01913.28
5.4.140.0110.02112.59
5.4.130.0110.01712.60
5.4.120.0120.01812.60
5.4.110.0120.01912.63
5.4.100.0110.01812.64
5.4.90.0110.01812.64
5.4.80.0110.01912.66
5.4.70.0120.01912.61
5.4.60.0100.01912.59
5.4.50.0110.01612.61
5.4.40.0070.02212.68
5.4.30.0100.02112.62
5.4.20.0110.01812.65
5.4.10.0120.01812.62
5.4.00.0100.01812.49
5.3.290.0110.02012.13
5.3.280.0110.01812.05
5.3.270.0090.02112.11
5.3.260.0100.02012.12
5.3.250.0100.02012.13
5.3.240.0110.01712.04
5.3.230.0110.01912.04
5.3.220.0100.02012.01
5.3.210.0090.02011.99
5.3.200.0120.01712.02
5.3.190.0110.01912.03
5.3.180.0100.01912.05
5.3.170.0100.02012.08
5.3.160.0090.02012.10
5.3.150.0120.01712.10
5.3.140.0100.01812.09
5.3.130.0130.01712.10
5.3.120.0100.02012.09
5.3.110.0110.01812.07
5.3.100.0100.01711.92
5.3.90.0100.01911.90
5.3.80.0100.01811.87
5.3.70.0080.01911.84
5.3.60.0100.01711.93
5.3.50.0100.01711.88
5.3.40.0100.01811.85
5.3.30.0100.01811.85
5.3.20.0100.01711.81
5.3.10.0100.01711.76
5.3.00.0100.01811.72