3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump('0.' == '0.0'); var_dump(in_array('0.0', ['0.'])); var_dump(in_array('0.0', ['0.'], true));

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.80.0060.00318.56
8.3.70.0100.00716.74
8.3.60.0110.00718.28
8.3.50.0080.00517.99
8.3.40.0110.00418.63
8.3.30.0070.00718.42
8.3.20.0090.00018.76
8.3.10.0080.00018.91
8.3.00.0040.00423.53
8.2.200.0030.00618.17
8.2.190.0070.01116.58
8.2.180.0150.00618.20
8.2.170.0100.00322.96
8.2.160.0070.00720.31
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00819.64
8.2.120.0040.00426.35
8.2.110.0030.00619.39
8.2.100.0120.00017.75
8.2.90.0000.00817.91
8.2.80.0040.00417.97
8.2.70.0000.00817.93
8.2.60.0040.00417.97
8.2.50.0080.00018.10
8.2.40.0060.00319.28
8.2.30.0030.00719.42
8.2.20.0050.00317.97
8.2.10.0060.00317.85
8.2.00.0000.00719.40
8.1.290.0060.00318.88
8.1.280.0090.00625.92
8.1.270.0000.00822.23
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00724.03
8.1.230.0040.00720.85
8.1.220.0060.00317.74
8.1.210.0030.00518.77
8.1.200.0030.00617.25
8.1.190.0090.00017.00
8.1.180.0030.00518.10
8.1.170.0030.00618.53
8.1.160.0080.00018.76
8.1.150.0030.00418.79
8.1.140.0070.00017.43
8.1.130.0070.00018.89
8.1.120.0030.00317.21
8.1.110.0040.00417.32
8.1.100.0030.00617.20
8.1.90.0080.00017.23
8.1.80.0070.00017.29
8.1.70.0000.00817.21
8.1.60.0000.00817.43
8.1.50.0050.00317.36
8.1.40.0030.00617.41
8.1.30.0030.00617.38
8.1.20.0040.00417.43
8.1.10.0040.00417.40
8.1.00.0000.00817.34
8.0.300.0070.00019.77
8.0.290.0040.00416.63
8.0.280.0050.00218.27
8.0.270.0070.00016.68
8.0.260.0000.00817.12
8.0.250.0000.00716.75
8.0.240.0040.00416.82
8.0.230.0000.00716.77
8.0.220.0030.00316.84
8.0.210.0000.00816.82
8.0.200.0030.00316.91
8.0.190.0040.00416.82
8.0.180.0030.00516.73
8.0.170.0090.00016.68
8.0.160.0000.00716.85
8.0.150.0080.00016.80
8.0.140.0000.00716.77
8.0.130.0060.00313.29
8.0.120.0060.00316.68
8.0.110.0000.00816.76
8.0.100.0040.00416.77
8.0.90.0000.00716.72
8.0.80.0090.00616.76
8.0.70.0040.00316.86
8.0.60.0030.00516.68
8.0.50.0000.00716.80
8.0.30.0130.00617.04
8.0.20.0100.01217.40
8.0.10.0040.00416.84
8.0.00.0030.01416.59
7.4.330.0040.00015.55
7.4.320.0060.00016.46
7.4.300.0030.00316.32
7.4.290.0070.00016.46
7.4.280.0000.00716.39
7.4.270.0040.00416.45
7.4.260.0000.00716.41
7.4.250.0070.00016.32
7.4.240.0080.00016.27
7.4.230.0070.00016.35
7.4.220.0040.00416.25
7.4.210.0100.00416.44
7.4.200.0050.00316.40
7.4.160.0090.00916.30
7.4.140.0100.00717.86
7.4.130.0030.02016.29
7.4.120.0080.01016.29
7.4.110.0040.01316.34
7.4.100.0120.00916.38
7.4.90.0060.01116.35
7.4.80.0130.00719.39
7.4.70.0090.01316.52
7.4.60.0000.01616.15
7.4.50.0130.00316.45
7.4.40.0090.01316.33
7.4.00.0080.00814.74
7.3.330.0050.00012.96
7.3.320.0000.00612.86
7.3.310.0000.00615.95
7.3.300.0000.00716.16
7.3.290.0030.00316.11
7.3.280.0080.00716.10
7.3.260.0130.00516.18
7.3.240.0100.00816.20
7.3.230.0120.00316.04
7.3.210.0060.01016.14
7.3.200.0110.01416.16
7.3.190.0130.00316.16
7.3.180.0090.00916.39
7.3.170.0100.00516.20
7.3.160.0120.00316.24
7.3.120.0040.01214.59
7.3.110.0000.01714.89
7.3.100.0030.01014.62
7.3.90.0000.01914.59
7.3.80.0080.00314.64
7.3.70.0070.01014.66
7.3.60.0070.00314.63
7.3.50.0030.01014.58
7.3.40.0070.00414.63
7.3.30.0060.00614.57
7.3.20.0030.01016.39
7.3.10.0060.00416.52
7.3.00.0020.01116.42
7.2.330.0120.00616.59
7.2.320.0110.00716.37
7.2.310.0030.01416.24
7.2.300.0120.00916.42
7.2.290.0150.00616.59
7.2.250.0100.01014.74
7.2.240.0100.00314.63
7.2.230.0030.01314.94
7.2.220.0030.01315.11
7.2.210.0030.01514.80
7.2.200.0000.01214.77
7.2.190.0060.01014.69
7.2.180.0000.01414.69
7.2.170.0100.00314.92
7.2.130.0060.00616.41
7.2.120.0060.00316.75
7.2.110.0100.00316.76
7.2.100.0000.01216.69
7.2.90.0030.00616.81
7.2.80.0060.00916.66
7.2.70.0060.00616.91
7.2.60.1780.00815.29
7.2.50.2050.00815.23
7.2.40.1990.00715.51
7.2.30.1890.01015.48
7.2.20.2100.00515.51
7.2.10.1930.00915.56
7.2.00.2010.00715.56
7.1.330.0060.00915.79
7.1.320.0030.00715.71
7.1.310.0000.01615.70
7.1.300.0040.00815.64
7.1.290.0080.00415.82
7.1.280.0030.01015.71
7.1.270.0000.01415.62
7.1.260.0060.00315.68
7.1.250.0060.00615.56
7.1.200.0030.00615.39
7.1.170.2710.00813.75
7.1.160.2560.01015.63
7.1.150.2260.00815.71
7.1.140.2310.00915.55
7.1.130.2160.00815.75
7.1.120.2430.00815.68
7.1.110.2300.00615.37
7.1.100.2370.01015.21
7.1.90.2490.00915.20
7.1.80.2500.00515.12
7.1.70.1840.00814.75
7.1.60.1750.01132.74
7.1.50.2270.01032.46
7.1.40.1890.01132.16
7.1.30.1650.01232.34
7.1.20.1900.01532.30
7.1.10.1300.01014.34
7.1.00.1270.00914.36
7.0.300.2770.00813.22
7.0.290.2630.00915.30
7.0.270.2220.00915.36
7.0.260.2280.00715.17
7.0.250.2280.00814.98
7.0.240.1150.01014.91
7.0.230.2060.00915.05
7.0.220.2310.00915.01
7.0.210.2060.00714.13
7.0.200.1500.00914.31
7.0.190.1610.00814.21
7.0.180.1220.00813.92
7.0.170.1300.01113.84
7.0.160.1740.01013.84
7.0.150.1490.00914.08
7.0.140.1380.00713.98
7.0.130.1250.00814.06
7.0.120.1190.00814.19
7.0.110.1060.01114.00
7.0.100.2150.01114.01
7.0.90.1360.01014.02
7.0.80.1320.00813.87
7.0.70.1150.01013.93
7.0.60.1080.00913.82
7.0.50.1200.00914.05
7.0.40.1110.01014.17
7.0.30.1050.01014.11
7.0.20.1130.01114.13
7.0.10.1050.01014.13
7.0.00.1200.00814.14
5.6.300.0150.04418.58
5.6.290.0150.04518.60
5.6.280.0180.04318.57
5.6.270.0160.04618.61
5.6.260.0180.04118.62
5.6.250.0180.04918.50
5.6.240.0160.05318.54
5.6.230.0190.05018.55
5.6.220.0190.04718.56
5.6.210.0170.04218.55
5.6.200.0190.04518.54
5.6.190.0180.04718.64
5.6.180.0210.04618.66
5.6.170.0200.04418.59
5.6.160.0180.04218.55
5.6.150.0140.04518.70
5.6.140.0150.04418.67
5.6.130.0160.04118.65
5.6.120.0160.04718.66
5.6.110.0180.04218.58
5.6.100.0170.04318.58
5.6.90.0140.04318.64
5.6.80.0140.04218.23
5.6.70.0170.03818.15
5.6.60.0180.04818.17
5.6.50.0150.04118.06
5.6.40.0130.04018.19
5.6.30.0150.04718.16
5.6.20.0170.03818.22
5.6.10.0140.03918.19
5.6.00.0190.04418.18
5.5.380.0130.04715.18
5.5.370.0140.03815.32
5.5.360.0110.04515.25
5.5.350.0170.05015.31
5.5.340.0160.03715.71
5.5.330.0130.04315.57
5.5.320.0140.04215.56
5.5.310.0140.04215.58
5.5.300.0170.03915.63
5.5.290.0170.04915.62
5.5.280.0160.04515.61
5.5.270.0150.04615.49
5.5.260.0130.04115.62
5.5.250.0160.04215.29
5.5.240.0130.03715.14
5.5.230.0150.03715.16
5.5.220.0130.04315.18
5.5.210.0110.04315.02
5.5.200.0130.04015.19
5.5.190.0150.03915.13
5.5.180.0170.03815.21
5.5.160.0150.03614.99
5.5.150.0160.04015.21
5.5.140.0150.04715.07
5.5.130.0160.04615.07
5.5.120.0170.03815.27
5.5.110.0130.03715.13
5.5.100.0160.04215.13
5.5.90.0110.03715.07
5.5.80.0140.03614.95
5.5.70.0090.04115.03
5.5.60.0130.03515.10
5.5.50.0160.04115.05
5.5.40.0120.04115.07
5.5.30.0140.04315.05
5.5.20.0120.04715.08
5.5.10.0140.04115.08
5.5.00.0160.03414.88
5.4.450.0230.05719.28
5.4.440.0170.06319.27
5.4.430.0170.05419.22
5.4.420.0120.05919.23
5.4.410.0160.05319.14
5.4.400.0180.05919.00
5.4.390.0160.05619.07
5.4.380.0160.05319.12
5.4.370.0150.06319.00
5.4.360.0230.06118.92
5.4.350.0120.05818.95
5.4.340.0170.07019.01
5.4.320.0180.05619.00
5.4.310.0170.05218.87
5.4.300.0170.06919.02
5.4.290.0120.05519.04
5.4.280.0150.05818.89
5.4.270.0180.04818.99
5.4.260.0140.05318.79
5.4.250.0170.05319.00
5.4.240.0180.05218.96
5.4.230.0130.05319.06
5.4.220.0190.06219.03
5.4.210.0210.05219.07
5.4.200.0130.05418.99
5.4.190.0210.06318.88
5.4.180.0190.05818.83
5.4.170.0160.06418.94
5.4.160.0140.05518.95
5.4.150.0190.06018.93
5.4.140.0210.05616.56
5.4.130.0150.05416.38
5.4.120.0160.06216.53
5.4.110.0160.06016.63
5.4.100.0200.05716.44
5.4.90.0160.04716.38
5.4.80.0160.04716.49
5.4.70.0150.05116.48
5.4.60.0170.04716.37
5.4.50.0130.05016.43
5.4.40.0140.05016.56
5.4.30.0180.04816.41
5.4.20.0170.06016.40
5.4.10.0100.05716.53
5.4.00.0160.05416.03
5.3.290.0180.06014.83
5.3.280.0150.05014.73
5.3.270.0150.05814.75
5.3.260.0180.06314.57
5.3.250.0160.05314.54
5.3.240.0150.06114.67
5.3.230.0180.05814.64
5.3.220.0190.05414.61
5.3.210.0160.05514.67
5.3.200.0170.05414.63
5.3.190.0140.05214.61
5.3.180.0150.05514.57
5.3.170.0130.05414.70
5.3.160.0160.06314.61
5.3.150.0140.05214.60
5.3.140.0130.05114.64
5.3.130.0160.07214.54
5.3.120.0170.05214.70
5.3.110.0150.06614.52
5.3.100.0160.05514.16
5.3.90.0160.05314.19
5.3.80.0120.05414.15
5.3.70.0150.05214.11
5.3.60.0140.06114.08
5.3.50.0140.05213.98
5.3.40.0130.05514.08
5.3.30.0150.04813.99
5.3.20.0140.05013.73
5.3.10.0140.04813.75
5.3.00.0160.05413.74
5.2.170.0130.04111.17
5.2.160.0100.04111.27
5.2.150.0130.04011.10
5.2.140.0160.04211.13
5.2.130.0110.04011.13
5.2.120.0140.03811.24
5.2.110.0120.04411.06
5.2.100.0090.04611.12
5.2.90.0160.04911.24
5.2.80.0100.04711.09
5.2.70.0110.04711.20
5.2.60.0110.04911.15
5.2.50.0110.04211.02
5.2.40.0120.04311.04
5.2.30.0120.03911.10
5.2.20.0110.04511.05
5.2.10.0120.05111.02
5.2.00.0160.04210.84
5.1.60.0090.03410.04
5.1.50.0120.03510.15
5.1.40.0090.04010.10
5.1.30.0100.03710.36
5.1.20.0110.04210.43
5.1.10.0100.04010.29
5.1.00.0100.04010.25
5.0.50.0110.0308.53
5.0.40.0070.0308.52
5.0.30.0080.0478.44
5.0.20.0070.0298.35
5.0.10.0090.0288.31
5.0.00.0110.0448.41
4.4.90.0060.0238.31
4.4.80.0070.0238.31
4.4.70.0070.0248.31
4.4.60.0070.0248.31
4.4.50.0090.0238.31
4.4.40.0080.0338.31
4.4.30.0070.0218.31
4.4.20.0060.0238.31
4.4.10.0080.0248.31
4.4.00.0060.0358.31
4.3.110.0070.0248.31
4.3.100.0070.0258.31
4.3.90.0060.0218.31
4.3.80.0090.0348.31
4.3.70.0080.0228.31
4.3.60.0080.0228.31
4.3.50.0060.0268.31
4.3.40.0080.0388.31
4.3.30.0060.0218.31
4.3.20.0050.0268.31
4.3.10.0060.0278.31
4.3.00.0050.0258.31

preferences:
68.18 ms | 401 KiB | 5 Q