3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(1 - 0.95); var_dump(0.05);

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.20.0170.00216.35
7.4.10.0090.00716.31
7.4.00.0070.01216.46
7.3.130.0060.00916.29
7.3.120.0110.00816.10
7.3.110.0120.01016.12
7.3.100.0080.00716.23
7.3.90.0060.00916.09
7.3.80.0050.01116.17
7.3.70.0110.00816.15
7.3.60.0080.00816.19
7.3.50.0070.01116.07
7.3.40.0070.01216.17
7.3.30.0100.00816.07
7.3.20.0080.00816.17
7.3.10.0140.00216.04
7.3.00.0090.00916.22
7.2.260.0140.00316.31
7.2.250.0060.01316.36
7.2.240.0100.00816.16
7.2.230.0060.01016.26
7.2.220.0110.00516.33
7.2.210.0080.00916.29
7.2.200.0030.01416.34
7.2.190.0090.00816.24
7.2.180.0120.00616.23
7.2.170.0090.01016.26
7.2.160.0060.00916.28
7.2.150.0100.00616.29
7.2.140.0110.00516.29
7.2.130.0100.00916.33
7.2.120.0130.00816.23
7.2.110.0100.00916.39
7.2.100.0090.00816.22
7.2.90.0090.00816.09
7.2.80.0080.00816.48
7.2.70.0050.01916.29
7.2.60.0150.00516.29
7.2.50.0120.00716.41
7.2.40.0080.01116.33
7.2.30.0110.00616.30
7.2.20.0100.00716.33
7.2.10.0090.00816.32
7.2.00.0070.01116.37
7.1.330.0180.01515.27
7.1.320.0130.01015.50
7.1.310.0200.00415.28
7.1.300.0160.00615.32
7.1.290.0200.00315.20
7.1.280.0200.00815.41
7.1.270.0180.01115.28
7.1.260.0170.00615.41
7.1.250.0110.01215.32
7.1.240.0220.01215.18
7.1.230.0210.00315.43
7.1.220.0210.00215.44
7.1.210.0180.00615.38
7.1.200.0190.00415.50
7.1.190.0120.01115.38
7.1.180.0080.01515.31
7.1.170.0110.01115.29
7.1.160.0110.01715.20
7.1.150.0140.01115.40
7.1.140.0120.00915.34
7.1.130.0100.01615.17
7.1.120.0190.01115.41
7.1.110.0110.01215.27
7.1.100.0020.02115.26
7.1.90.0090.00915.23
7.1.80.0030.01615.17
7.1.70.0150.00915.60
7.1.60.0030.01815.18
7.1.50.0030.01415.23
7.1.40.0080.01115.44
7.1.30.0130.00715.20
7.1.20.0150.00815.27
7.1.10.0200.00415.26
7.1.00.0150.00515.50
7.0.330.0120.00715.02
7.0.320.0170.00514.95
7.0.310.0270.00414.91
7.0.300.0040.01515.01
7.0.290.0090.01214.86
7.0.280.0110.01114.92
7.0.270.0110.01114.97
7.0.260.0210.00414.88
7.0.250.0140.00915.32
7.0.240.0150.00615.20
7.0.230.0170.01214.97
7.0.220.0160.00315.17
7.0.210.0350.00914.92
7.0.200.0130.00815.09
7.0.190.0100.00715.02
7.0.180.0090.00914.93
7.0.170.0070.01315.18
7.0.160.0060.01714.94
7.0.150.0180.00514.91
7.0.140.0060.01415.10
7.0.130.0150.00615.04
7.0.120.0190.00315.28
7.0.110.0140.00614.99
7.0.100.0120.00915.04
7.0.90.0030.01315.05
7.0.80.0110.00815.05
7.0.70.0080.01015.00
7.0.60.0120.00915.10
7.0.50.0120.00615.00
7.0.40.0090.00615.05
7.0.30.0100.00715.12
7.0.20.0070.01115.11
7.0.10.0180.00014.96
7.0.00.0120.00914.95
5.6.400.0230.00715.94
5.6.390.0100.01215.83
5.6.380.0160.01315.91
5.6.370.0190.00515.46
5.6.360.0150.00815.57
5.6.350.0090.01516.00
5.6.340.0090.01415.90
5.6.330.0150.00815.85
5.6.320.0110.01215.50
5.6.310.0100.01815.41
5.6.300.0110.01415.58
5.6.290.0080.01115.81
5.6.280.0130.01015.71
5.6.270.0130.00815.76
5.6.260.0170.00915.96
5.6.250.0110.01015.95
5.6.240.0090.00915.75
5.6.230.0090.01315.77
5.6.220.0090.01015.71
5.6.210.0080.01615.80
5.6.200.0120.00915.62
5.6.190.0070.01515.73
5.6.180.0160.00315.63
5.6.170.0060.01215.89
5.6.160.0140.01315.74
5.6.150.0120.01515.81
5.6.140.0160.01015.72
5.6.130.0110.00815.71
5.6.120.0140.00415.83
5.6.110.0070.01115.47
5.6.100.0140.00615.55
5.6.90.0040.01815.74
5.6.80.0170.01215.56
5.6.70.0090.01215.64
5.6.60.0030.01715.76
5.6.50.0080.01115.64
5.6.40.0060.01215.56
5.6.30.0090.01315.47
5.6.20.0040.01415.52
5.6.10.0090.00915.69
5.6.00.0110.00715.65
5.5.380.0090.01215.55
5.5.370.0110.01115.63
5.5.360.0100.01015.74
5.5.350.0110.00815.77
5.5.340.0070.01915.53
5.5.330.0090.00915.85
5.5.320.0090.00915.66
5.5.310.0100.01015.68
5.5.300.0110.00815.69
5.5.290.0110.00715.64
5.5.280.0170.00015.87
5.5.270.0120.00815.48
5.5.260.0200.01015.57
5.5.250.0140.01015.46
5.5.240.0100.01015.53
5.5.230.0120.00715.81
5.5.220.0000.01815.60
5.5.210.0090.01115.57
5.5.200.0040.01515.72
5.5.190.0080.01015.63
5.5.180.0140.00315.50
5.5.170.0150.00615.45
5.5.160.0000.01715.37
5.5.150.0090.00915.60
5.5.140.0040.01415.71
5.5.130.0090.00915.55
5.5.120.0050.01415.65
5.5.110.0080.01515.44
5.5.100.0150.00315.59
5.5.90.0030.01415.44
5.5.80.0070.01015.50
5.5.70.0100.00715.70
5.5.60.0070.01115.42
5.5.50.0040.01315.43
5.5.40.0040.01515.51
5.5.30.0060.01215.33
5.5.20.0160.00315.57
5.5.10.0170.00415.45
5.5.00.0120.00915.67
5.4.450.0030.01012.21
5.4.440.0050.00712.52
5.4.430.0090.00612.20
5.4.420.0060.01512.31
5.4.410.0050.01312.43
5.4.400.0100.00712.38
5.4.390.0000.01212.27
5.4.380.0040.00812.28
5.4.370.0100.00712.28
5.4.360.0000.01212.32
5.4.350.0060.00612.23
5.4.340.0060.00612.44
5.4.330.0090.00312.29
5.4.320.0110.00312.38
5.4.310.0100.00312.43
5.4.300.0090.00412.42
5.4.290.0040.00812.42
5.4.280.0100.00612.32
5.4.270.0130.00012.40
5.4.260.0030.01012.21
5.4.250.0100.00312.09
5.4.240.0000.01212.51
5.4.230.0080.00711.96
5.4.220.0080.00412.14
5.4.210.0000.01312.34
5.4.200.0060.00912.11
5.4.190.0100.00512.27
5.4.180.0080.00512.24
5.4.170.0120.00312.23
5.4.160.0000.01312.28
5.4.150.0030.01012.26
5.4.140.0070.00712.39
5.4.130.0090.00612.22
5.4.120.0090.00512.30
5.4.110.0000.01612.32
5.4.100.0120.00312.13
5.4.90.0080.00612.05
5.4.80.0050.00812.27
5.4.70.0100.00312.02
5.4.60.0000.01412.06
5.4.50.0000.01512.13
5.4.40.0060.00612.19
5.4.30.0100.00612.12
5.4.20.0100.00712.36
5.4.10.0060.00812.24
5.4.00.0110.00412.14
5.3.290.0060.00613.07
5.3.280.0060.00912.71
5.3.270.0140.00312.98
5.3.260.0030.01012.72
5.3.250.0040.00912.86
5.3.240.0110.00312.88
5.3.230.0120.00512.76
5.3.220.0060.00912.73
5.3.210.0060.00612.72
5.3.200.0040.01412.57
5.3.190.0090.00612.64
5.3.180.0000.01812.96
5.3.170.0050.00912.74
5.3.160.0040.01312.83
5.3.150.0080.00812.78
5.3.140.0060.00912.81
5.3.130.0110.00512.88
5.3.120.0070.01312.81
5.3.110.0110.00412.75
5.3.100.0040.01212.71
5.3.90.0060.00912.69
5.3.80.0090.00612.58
5.3.70.0000.01612.56
5.3.60.0040.01813.02
5.3.50.0070.01412.74
5.3.40.0060.01012.75
5.3.30.0040.01212.81
5.3.20.0050.01012.74
5.3.10.0100.00512.48
5.3.00.0120.00412.49
5.2.170.0000.01911.84
5.2.160.0120.00511.92
5.2.150.0000.01611.91
5.2.140.0090.00511.81
5.2.130.0120.00311.74
5.2.120.0150.00011.83
5.2.110.0080.00811.84
5.2.100.0030.01211.79
5.2.90.0040.01111.70
5.2.80.0110.00411.66
5.2.70.0100.00511.72
5.2.60.0110.00311.57
5.2.50.0140.00011.71
5.2.40.0110.00611.76
5.2.30.0090.00611.71
5.2.20.0060.00811.70
5.2.10.0030.01011.57
5.2.00.0090.00511.47
5.1.60.0100.00211.07
5.1.50.0060.00610.81
5.1.40.0050.00811.18
5.1.30.0060.01011.09
5.1.20.0080.00810.90
5.1.10.0050.01111.03
5.1.00.0070.01111.04
5.0.50.0060.00610.02
5.0.40.0040.00910.01
5.0.30.0050.00910.01
5.0.20.0060.00610.01
5.0.10.0110.00310.01
5.0.00.0140.00310.01
4.4.90.0080.00010.01
4.4.80.0070.00010.01
4.4.70.0030.00310.01
4.4.60.0030.00310.01
4.4.50.0070.00010.01
4.4.40.0100.00010.01
4.4.30.0070.00010.01
4.4.20.0030.00610.01
4.4.10.0050.00510.01
4.4.00.0000.00610.01
4.3.110.0070.00010.01
4.3.100.0080.00010.01
4.3.90.0030.00610.01
4.3.80.0070.00010.01
4.3.70.0080.00010.01
4.3.60.0070.00010.01
4.3.50.0080.00010.01
4.3.40.0070.00010.01
4.3.30.0000.00710.01
4.3.20.0000.00610.01
4.3.10.0030.00310.01
4.3.00.0060.00010.01