3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0.1 + 0.2; $b = 0.3; echo $a === $b ? 'same' : 'not same';

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.0110.00418.31
8.3.50.0160.00016.12
8.3.40.0040.01118.67
8.3.30.0160.00618.71
8.3.20.0050.00224.18
8.3.10.0000.00924.66
8.3.00.0040.00426.16
8.2.180.0120.00925.92
8.2.170.0180.00322.96
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00021.06
8.2.110.0090.00020.99
8.2.100.0030.00718.22
8.2.90.0030.00519.21
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0000.00717.93
8.2.50.0090.00018.10
8.2.40.0000.00818.22
8.2.30.0080.00017.96
8.2.20.0000.00717.93
8.2.10.0000.00819.05
8.2.00.0090.00019.10
8.1.270.0040.00423.99
8.1.260.0020.00526.35
8.1.250.0070.00028.09
8.1.240.0090.00022.40
8.1.230.0070.00420.30
8.1.220.0000.00917.79
8.1.210.0000.00818.77
8.1.200.0030.00717.22
8.1.190.0040.00417.22
8.1.180.0060.00318.10
8.1.170.0050.00518.45
8.1.160.0000.00818.81
8.1.150.0000.00718.78
8.1.140.0000.00818.82
8.1.130.0070.00017.39
8.1.120.0000.00717.38
8.1.110.0040.00717.45
8.1.100.0070.00017.40
8.1.90.0070.00017.39
8.1.80.0040.00417.34
8.1.70.0000.00817.34
8.1.60.0000.00917.57
8.1.50.0070.00017.41
8.1.40.0040.00417.35
8.1.30.0040.00417.62
8.1.20.0000.00717.59
8.1.10.0000.00817.47
8.1.00.0000.01117.34
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.34
8.0.270.0030.00318.04
8.0.260.0000.00616.82
8.0.250.0030.00516.83
8.0.240.0040.00416.81
8.0.230.0000.00716.88
8.0.220.0000.00716.81
8.0.210.0000.00616.82
8.0.200.0000.00716.78
8.0.190.0080.00016.90
8.0.180.0030.00516.75
8.0.170.0080.00016.86
8.0.160.0050.00216.94
8.0.150.0040.00416.67
8.0.140.0080.00016.67
8.0.130.0000.00513.26
8.0.120.0070.00016.67
8.0.110.0040.00416.78
8.0.100.0000.00716.69
8.0.90.0000.00816.88
8.0.80.0040.01316.81
8.0.70.0050.00216.73
8.0.60.0050.00316.65
8.0.50.0070.00016.78
8.0.30.0080.00816.86
8.0.20.0130.01016.94
8.0.10.0130.00817.06
8.0.00.0130.01017.03
7.4.330.0040.00015.55
7.4.320.0070.00016.51
7.4.300.0050.00316.60
7.4.290.0030.00316.44
7.4.280.0050.00316.52
7.4.270.0030.00516.45
7.4.260.0070.00016.60
7.4.250.0000.00716.48
7.4.240.0000.00716.59
7.4.230.0050.00216.60
7.4.220.0020.00516.54
7.4.210.0080.00716.54
7.4.200.0030.00316.42
7.4.160.0100.00416.40
7.4.150.0090.01016.37
7.4.140.0090.01116.41
7.4.130.0110.00816.39
7.4.120.0090.01016.47
7.4.110.0120.00716.39
7.4.100.0120.00616.42
7.4.90.0130.00716.46
7.4.80.0100.01016.43
7.4.70.0110.00816.41
7.4.60.0080.01116.39
7.4.50.0090.01116.42
7.4.40.0110.01116.32
7.4.30.0100.00916.49
7.4.20.0110.00916.29
7.4.10.0090.00916.35
7.4.00.0090.00916.49
7.3.330.0030.00316.01
7.3.320.0000.00613.04
7.3.310.0040.00316.04
7.3.300.0060.00016.23
7.3.290.0030.00516.23
7.3.270.0100.00916.25
7.3.260.0090.00716.31
7.3.250.0080.01016.26
7.3.240.0070.01116.25
7.3.230.0080.01016.28
7.3.220.0090.01016.33
7.3.210.0120.00816.24
7.3.200.0080.01016.38
7.3.190.0080.01016.24
7.3.180.0090.01116.18
7.3.170.0100.01116.28
7.3.160.0100.00816.22
7.3.150.0090.01016.38
7.3.140.0100.01016.18
7.3.130.0100.00716.34
7.3.120.0090.00916.30
7.3.110.0100.01016.22
7.3.100.0090.00916.21
7.3.90.0110.00916.33
7.3.80.0080.01116.19
7.3.70.0100.01116.29
7.3.60.0120.00916.28
7.3.50.0100.00916.28
7.3.40.0100.00716.27
7.3.30.0110.01016.21
7.3.20.0170.01016.28
7.3.10.0100.01016.25
7.3.00.0130.00716.23

preferences:
72.31 ms | 400 KiB | 5 Q