3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_start = microtime(true); // Sleep for a while usleep(100); $time_end = microtime(true); $time = $time_end - $time_start; echo "Did nothing in $time seconds\n";

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.4.50.0190.00316.53
7.4.40.0080.01216.36
7.4.30.0140.00816.31
7.4.20.0060.01216.39
7.4.10.0100.00716.33
7.4.00.0180.00316.44
7.3.170.0130.00716.20
7.3.160.0120.00616.13
7.3.150.0060.01416.26
7.3.140.0000.01716.32
7.3.130.0100.01016.15
7.3.120.0090.00916.16
7.3.110.0100.01016.38
7.3.100.0150.00616.32
7.3.90.0090.00916.33
7.3.80.0180.00016.37
7.3.70.0060.01216.39
7.3.60.0160.00316.28
7.3.50.0120.00316.26
7.3.40.0070.01016.18
7.3.30.0110.00816.19
7.3.20.0080.00816.16
7.3.10.0060.01116.25
7.3.00.0120.00616.38
7.2.290.0110.00716.27
7.2.280.0140.01016.61
7.2.270.0080.00816.73
7.2.260.0140.00616.39
7.2.250.0100.01016.48
7.2.240.0070.01116.40
7.2.230.0120.00616.42
7.2.220.0170.00416.54
7.2.210.0120.00916.61
7.2.200.0100.01016.45
7.2.190.0030.01616.47
7.2.180.0090.01216.45
7.2.170.0150.00716.36
7.2.160.0130.00616.47
7.2.150.0090.01516.41
7.2.140.0090.01216.36
7.2.130.0060.00916.64
7.2.120.0110.00616.51
7.2.110.0090.00716.45
7.2.100.0040.01116.77
7.2.90.0070.00916.53
7.2.80.0140.00815.68
7.2.70.0170.00915.66
7.2.60.0180.00715.72
7.2.50.0200.00615.68
7.2.40.0130.00915.69
7.2.30.0530.00815.80
7.2.20.0180.00915.68
7.2.10.0130.00915.59
7.2.00.0120.01016.51
7.1.330.0270.00315.49
7.1.320.0060.01515.45
7.1.310.0090.00915.57
7.1.300.0120.00615.31
7.1.290.0250.00915.33
7.1.280.0080.01215.34
7.1.270.0090.00615.43
7.1.260.0140.00315.57
7.1.250.0060.01015.47
7.1.240.0100.00615.48
7.1.230.0100.00715.47
7.1.220.0130.00715.52
7.1.210.0080.00615.64
7.1.200.0230.00615.49
7.1.190.0280.00814.74
7.1.180.0180.00514.51
7.1.170.0170.00714.59
7.1.160.0180.00614.68
7.1.150.0130.01014.69
7.1.140.0130.00814.68
7.1.130.0120.00914.59
7.1.120.0120.01014.66
7.1.110.0150.00714.65
7.1.100.0140.01014.68
7.1.90.0140.00514.60
7.1.80.0170.00414.72
7.1.70.0170.01015.08
7.1.60.0210.01122.99
7.1.50.0250.00822.28
7.1.40.0190.01023.69
7.1.30.0270.00523.72
7.1.20.0230.00623.74
7.1.10.0150.00714.67
7.1.00.0070.02416.28
7.0.330.0090.00615.24
7.0.320.0080.00915.23
7.0.310.0150.00614.28
7.0.300.0150.00814.26
7.0.290.0160.00614.36
7.0.280.0090.00915.21
7.0.270.0160.00814.29
7.0.260.0240.00614.25
7.0.250.0190.00414.40
7.0.240.0160.00814.37
7.0.230.0190.00614.39
7.0.220.0180.00714.31
7.0.210.0190.00614.29
7.0.200.0140.00714.81
7.0.190.0170.00614.40
7.0.180.0180.00614.31
7.0.170.0150.00614.31
7.0.160.0190.00514.39
7.0.150.0180.00714.43
7.0.140.0190.01915.92
7.0.130.0130.00714.15
7.0.120.0170.00514.30
7.0.110.0150.00814.37
7.0.100.0120.00814.23
7.0.90.0120.00714.31
7.0.80.0170.00614.12
7.0.70.0110.00814.25
7.0.60.0120.02015.38
7.0.50.0150.02115.02
7.0.40.0140.01615.11
7.0.30.0220.02015.04
7.0.20.0160.01615.08
7.0.10.0150.01415.02
7.0.00.0160.02215.19
5.6.400.0070.01115.68
5.6.390.0130.00615.61
5.6.380.0050.01115.23
5.6.370.0120.00315.17
5.6.360.0070.01015.15
5.6.350.0090.00515.15
5.6.340.0060.01014.78
5.6.330.0070.00715.29
5.6.320.0060.00915.04
5.6.310.0120.00214.98
5.6.300.0080.01014.71
5.6.290.0100.00714.62
5.6.280.0070.02015.81
5.6.270.0090.00914.64
5.6.260.0070.00914.51
5.6.250.0080.01114.53
5.6.240.0090.00714.61
5.6.230.0070.01014.54
5.6.220.0060.01314.64
5.6.210.0080.02215.80
5.6.200.0110.01415.32
5.6.190.0110.01915.81
5.6.180.0170.01515.74
5.6.170.0150.01615.87
5.6.160.0090.01615.73
5.6.150.0100.02415.31
5.6.140.0110.02115.22
5.6.130.0070.01915.14
5.6.120.0100.02016.02
5.6.110.0120.01315.92
5.6.100.0110.02115.86
5.6.90.0090.02515.91
5.6.80.0090.02515.67
5.6.70.0120.00614.42
5.6.60.0110.00614.48
5.6.50.0100.00814.54
5.6.40.0110.00714.51
5.6.30.0080.01114.62
5.6.20.0080.01014.60
5.6.10.0140.00514.46
5.6.00.0070.01014.49
5.5.380.0090.00712.15
5.5.370.0070.01012.24
5.5.360.0090.00612.22
5.5.350.0790.01613.86
5.5.340.0100.01313.30
5.5.330.0080.02113.83
5.5.320.0110.01413.79
5.5.310.0130.02413.70
5.5.300.0100.02213.30
5.5.290.0090.01513.38
5.5.280.0130.02013.95
5.5.270.0100.01814.01
5.5.260.0110.02014.03
5.5.250.0120.01413.82
5.5.240.0100.02213.76
5.5.230.0110.00711.98
5.5.220.0120.00712.17
5.5.210.0090.00912.14
5.5.200.0150.00312.08
5.5.190.0130.00512.10
5.5.180.0140.00612.18
5.5.170.0120.00713.13
5.5.160.0140.00412.09
5.5.150.0100.00712.20
5.5.140.0110.00812.10
5.5.130.0120.00612.15
5.5.120.0110.00712.27
5.5.110.0100.00812.14
5.5.100.0120.00612.06
5.5.90.0090.00712.03
5.5.80.0100.00912.09
5.5.70.0110.00712.22
5.5.60.0110.00712.16
5.5.50.0100.00612.15
5.5.40.0090.00712.04
5.5.30.0050.01012.17
5.5.20.0110.00512.05
5.5.10.0100.00612.09
5.5.00.0110.00712.11
5.4.450.0100.01712.86
5.4.440.0250.01712.88
5.4.430.0110.01612.77
5.4.420.0290.01512.88
5.4.410.0260.01512.89
5.4.400.0260.01412.80
5.4.390.0250.01712.75
5.4.380.0130.01412.79
5.4.370.0090.01612.71
5.4.360.0120.01312.63
5.4.350.0090.01511.49
5.4.340.0120.01111.41
5.4.330.0100.00911.48
5.4.320.0100.01111.65
5.4.310.0100.01111.57
5.4.300.0080.01311.52
5.4.290.0100.01111.45
5.4.280.0080.01111.28
5.4.270.0080.01311.52
5.4.260.0130.01412.69
5.4.250.0090.01912.78
5.4.240.0100.02012.76
5.4.230.0130.01612.74
5.4.220.0100.01612.75
5.4.210.0090.02012.73
5.4.200.0070.02212.80
5.4.190.0100.01812.64
5.4.180.0090.02012.90
5.4.170.0090.01912.79
5.4.160.0100.01512.68
5.4.150.0090.01912.81
5.4.140.0120.01512.16
5.4.130.0090.01512.23
5.4.120.0100.01512.21
5.4.110.0100.01912.10
5.4.100.0130.01012.19
5.4.90.0090.01612.12
5.4.80.0100.01412.25
5.4.70.0110.01512.26
5.4.60.0100.01512.20
5.4.50.0080.01812.23
5.4.40.0110.01412.25
5.4.30.0080.01512.22
5.4.20.0070.01912.20
5.4.10.0080.02112.23
5.4.00.0100.01412.13
5.3.290.0080.01311.51
5.3.280.0080.01811.80
5.3.270.0090.01611.80
5.3.260.0100.01611.77
5.3.250.0100.01711.68
5.3.240.0080.02011.64
5.3.230.0080.01711.72
5.3.220.0090.01711.56
5.3.210.0090.01611.56
5.3.200.0110.01611.55
5.3.190.0120.01211.60
5.3.180.0080.01611.72
5.3.170.0090.01611.69
5.3.160.0090.01711.80
5.3.150.0090.01611.74
5.3.140.0110.01511.70
5.3.130.0140.01311.62
5.3.120.0070.01811.61
5.3.110.0060.01711.65
5.3.100.0080.01711.56
5.3.90.0050.01911.48
5.3.80.0090.01511.51
5.3.70.0100.01811.46
5.3.60.0090.01611.60
5.3.50.0100.01711.54
5.3.40.0080.01611.50
5.3.30.0110.01311.57
5.3.20.0120.01311.39
5.3.10.0110.01411.29
5.3.00.0100.01311.26
5.2.170.0070.0199.91
5.2.160.0070.0139.88
5.2.150.0050.0159.89
5.2.140.0040.0169.88
5.2.130.0040.0179.85
5.2.120.0080.0139.85
5.2.110.0080.0119.80
5.2.100.0070.0129.81
5.2.90.0070.0129.75
5.2.80.0060.0139.80
5.2.70.0040.0169.76
5.2.60.0050.0159.71
5.2.50.0090.0109.77
5.2.40.0070.0119.71
5.2.30.0080.0129.76
5.2.20.0060.0129.66
5.2.10.0050.0149.70
5.2.00.0050.0169.52
5.1.60.0070.0139.31
5.1.50.0050.0129.31
5.1.40.0060.0119.31
5.1.30.0040.0159.42
5.1.20.0090.0109.42
5.1.10.0060.0119.38
5.1.00.0030.0149.33
5.0.50.0040.0128.96
5.0.40.0030.0118.92
5.0.30.0050.0188.85
5.0.20.0070.0108.85
5.0.10.0060.0098.88
5.0.00.0040.0168.87
4.4.90.0030.0088.61
4.4.80.0020.0108.61
4.4.70.0040.0078.61
4.4.60.0030.0088.61
4.4.50.0010.0108.61
4.4.40.0030.0148.61
4.4.30.0030.0088.61
4.4.20.0050.0068.61
4.4.10.0040.0088.61
4.4.00.0030.0118.61
4.3.110.0050.0098.61
4.3.100.0040.0088.61
4.3.90.0030.0078.61
4.3.80.0020.0128.61
4.3.70.0040.0078.61
4.3.60.0050.0068.61
4.3.50.0050.0088.61
4.3.40.0050.0098.61
4.3.30.0030.0088.61
4.3.20.0030.0088.61
4.3.10.0010.0098.61
4.3.00.0020.0088.63

preferences:
39.79 ms | 400 KiB | 5 Q