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.140.0080.00016.51
8.3.130.0000.00818.32
8.3.120.0080.00019.09
8.3.110.0070.00320.94
8.3.100.0100.00016.54
8.3.90.0040.00426.77
8.3.80.0090.00016.50
8.3.70.0250.01217.38
8.3.60.0210.00517.44
8.3.50.0130.00321.18
8.3.40.0150.00517.90
8.3.30.0160.00618.04
8.3.20.0120.00220.70
8.3.10.0070.00721.08
8.3.00.0090.00421.70
8.2.250.0040.00418.84
8.2.240.0090.00917.29
8.2.230.0080.00022.58
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0030.00616.50
8.2.190.0130.00716.58
8.2.180.0170.00621.25
8.2.170.0250.00520.36
8.2.160.0220.00520.15
8.2.150.0170.00621.71
8.2.140.0130.01221.02
8.2.130.0180.00721.69
8.2.120.0200.00519.26
8.2.110.0210.00419.12
8.2.100.0170.00517.86
8.2.90.0170.00418.48
8.2.80.0180.00717.55
8.2.70.0230.00317.44
8.2.60.0130.01017.65
8.2.50.0240.00317.86
8.2.40.0140.01017.85
8.2.30.0190.00517.54
8.2.20.0140.00517.72
8.2.10.0160.00618.15
8.2.00.0290.00118.11
8.1.300.0060.00316.75
8.1.290.0000.00930.84
8.1.280.0190.00719.22
8.1.270.0100.00620.67
8.1.260.0100.00921.73
8.1.250.0150.00422.66
8.1.240.0120.00219.69
8.1.230.0110.00518.78
8.1.220.0100.00417.51
8.1.210.0080.00918.06
8.1.200.0170.00517.10
8.1.190.0160.00617.10
8.1.180.0200.00517.55
8.1.170.0150.00817.72
8.1.160.0140.00917.97
8.1.150.0270.00917.83
8.1.140.0160.01017.85
8.1.130.0170.00517.19
8.1.120.0140.00517.25
8.1.110.0120.00617.29
8.1.100.0100.00317.32
8.1.90.0130.00017.31
8.1.80.0090.00517.16
8.1.70.0060.00817.34
8.1.60.0100.00617.47
8.1.50.0130.00217.38
8.1.40.0160.00217.35
8.1.30.0160.00217.44
8.1.20.0090.00717.41
8.1.10.0090.00617.35
8.1.00.0090.00717.28
8.0.300.0160.00217.70
8.0.290.0150.00716.69
8.0.280.0160.00217.46
8.0.270.0080.00517.31
8.0.260.0110.00516.70
8.0.250.0120.00516.70
8.0.240.0130.00416.69
8.0.230.0120.00616.73
8.0.220.0180.00516.69
8.0.210.0160.00916.70
8.0.200.0100.00516.68
8.0.190.0100.00416.74
8.0.180.0110.00516.66
8.0.170.0170.00016.72
8.0.160.0120.00316.78
8.0.150.0100.00316.63
8.0.140.0130.00216.63
8.0.130.0100.00514.92
8.0.120.0140.00216.63
8.0.110.0130.00216.68
8.0.100.0050.00916.63
8.0.90.0110.00616.75
8.0.80.0080.01116.73
8.0.70.0120.00116.65
8.0.60.0110.00316.62
8.0.50.0100.00316.68
8.0.30.0110.00616.76
8.0.20.0150.00916.89
8.0.10.0130.00717.01
8.0.00.0130.00916.99
7.4.330.0100.00316.06
7.4.320.0120.00316.54
7.4.300.0140.00116.59
7.4.290.0120.00316.51
7.4.280.0130.00316.55
7.4.270.0130.00316.52
7.4.260.0140.00216.59
7.4.250.0110.00716.53
7.4.240.0090.00616.58
7.4.230.0100.00416.59
7.4.220.0070.00416.56
7.4.210.0120.00516.55
7.4.200.0110.00416.50
7.4.190.0220.00016.58
7.4.180.0190.00416.58
7.4.160.0140.00316.49
7.4.150.0110.00816.40
7.4.140.0100.01016.44
7.4.130.0130.00616.42
7.4.120.0110.00916.49
7.4.110.0130.00716.42
7.4.100.0130.00616.44
7.4.90.0130.00616.47
7.4.80.0100.00916.45
7.4.70.0110.00816.43
7.4.60.0090.01116.41
7.4.50.0100.00916.45
7.4.40.0120.01116.35
7.4.30.0110.00816.50
7.4.20.0120.00816.33
7.4.10.0100.00916.38
7.4.00.0110.00816.50
7.3.330.0130.00216.29
7.3.320.0100.00514.81
7.3.310.0110.00316.31
7.3.300.0120.00016.40
7.3.290.0100.00316.41
7.3.280.0200.00316.58
7.3.270.0110.00916.30
7.3.260.0110.00716.35
7.3.250.0110.01016.31
7.3.240.0100.01116.30
7.3.230.0100.00916.32
7.3.220.0110.00916.37
7.3.210.0140.00716.29
7.3.200.0100.00916.41
7.3.190.0110.00816.29
7.3.180.0110.00916.23
7.3.170.0130.01016.32
7.3.160.0130.00716.27
7.3.150.0130.00916.40
7.3.140.0130.00916.23
7.3.130.0130.00816.37
7.3.120.0120.00916.34
7.3.110.0130.00916.27
7.3.100.0120.00916.26
7.3.90.0130.00816.37
7.3.80.0090.01016.25
7.3.70.0110.00916.33
7.3.60.0120.00816.32
7.3.50.0100.00916.32
7.3.40.0110.00616.31
7.3.30.0120.00816.26
7.3.20.0170.00916.48
7.3.10.0110.01016.44
7.3.00.0140.00716.39

preferences:
53.95 ms | 403 KiB | 5 Q