3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['a' => 'hello', 'b' => 'world']; $b = ['a' => 'goodbye', 'b' => 'cruel']; echo $a == $b?'true':'false';

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.0130.00616.48
8.3.50.0030.01816.22
8.3.40.0090.00918.71
8.3.30.0000.01418.63
8.3.20.0040.00418.85
8.3.10.0050.00319.20
8.3.00.0000.00717.77
8.2.180.0100.01016.75
8.2.170.0120.00322.96
8.2.160.0140.00019.13
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0050.00219.82
8.2.120.0040.00426.35
8.2.110.0120.00922.14
8.2.100.0030.00917.72
8.2.90.0060.00319.08
8.2.80.0070.00318.04
8.2.70.0000.00817.93
8.2.60.0050.00318.04
8.2.50.0000.00818.10
8.2.40.0050.00318.92
8.2.30.0040.00419.34
8.2.20.0070.00018.06
8.2.10.0070.00018.11
8.2.00.0000.00721.15
8.1.280.0030.01225.92
8.1.270.0040.00722.09
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00522.14
8.1.230.0030.00917.70
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0110.00017.38
8.1.190.0030.00517.10
8.1.180.0040.00418.10
8.1.170.0000.00818.50
8.1.160.0000.00718.92
8.1.150.0050.00318.82
8.1.140.0050.00217.70
8.1.130.0030.00518.92
8.1.120.0060.00617.48
8.1.110.0050.00317.35
8.1.100.0040.00417.45
8.1.90.0000.00817.34
8.1.80.0000.00817.51
8.1.70.0000.00717.45
8.1.60.0000.00917.46
8.1.50.0080.00017.50
8.1.40.0090.00017.55
8.1.30.0070.00017.57
8.1.20.0000.00717.68
8.1.10.0000.00717.40
8.1.00.0040.00417.51
8.0.300.0030.00618.77
8.0.290.0000.00716.75
8.0.280.0070.00018.32
8.0.270.0040.00417.14
8.0.260.0030.00617.25
8.0.250.0060.00017.00
8.0.240.0000.00716.98
8.0.230.0030.00316.82
8.0.220.0030.00316.88
8.0.210.0000.00716.78
8.0.200.0030.00316.84
8.0.190.0070.00016.95
8.0.180.0030.00516.83
8.0.170.0030.00616.85
8.0.160.0030.00316.86
8.0.150.0030.00516.66
8.0.140.0000.00716.82
8.0.130.0030.00313.30
8.0.120.0000.00716.88
8.0.110.0040.00416.95
8.0.100.0070.00016.79
8.0.90.0000.00816.70
8.0.80.0110.01116.88
8.0.70.0040.00416.91
8.0.60.0000.00816.69
8.0.50.0070.00017.00
8.0.30.0110.00817.11
8.0.20.0100.00817.40
8.0.10.0040.00416.82
8.0.00.0080.01316.93
7.4.330.0020.00215.55
7.4.320.0070.00016.41
7.4.300.0030.00316.51
7.4.290.0030.00316.57
7.4.280.0000.00716.49
7.4.270.0030.00316.51
7.4.260.0030.00316.61
7.4.250.0000.00716.46
7.4.240.0060.00316.53
7.4.230.0030.00316.41
7.4.220.0000.00816.41
7.4.210.0070.00916.46
7.4.200.0040.00416.43
7.4.160.0120.00516.45
7.4.140.0100.01017.86
7.4.130.0040.01416.45
7.4.120.0120.00816.50
7.4.110.0070.01116.49
7.4.100.0110.00616.40
7.4.90.0070.01416.52
7.4.80.0090.01219.39
7.4.70.0100.01016.66
7.4.60.0040.01416.26
7.4.50.0040.00716.43
7.4.40.0100.00716.66
7.4.10.0070.00814.91
7.4.00.0080.00915.05
7.3.330.0020.00213.11
7.3.320.0060.00012.95
7.3.310.0000.00716.14
7.3.300.0020.00516.04
7.3.290.0000.00716.11
7.3.280.0080.01116.21
7.3.260.0120.00716.22
7.3.240.0080.00816.47
7.3.230.0100.00616.15
7.3.210.0070.01316.18
7.3.200.0070.01016.24
7.3.190.0120.00616.29
7.3.180.0120.00316.23
7.3.170.0110.00716.49
7.3.160.0110.01116.25
7.3.130.0100.00814.94
7.3.120.0100.00714.71
7.3.110.0090.00914.78
7.3.100.0060.00914.65
7.3.90.0050.01114.68
7.3.80.0050.01014.74
7.3.70.0020.01114.56
7.3.60.0080.00814.71
7.3.50.0130.00314.83
7.3.40.0060.00614.78
7.3.30.0020.01014.81
7.3.20.0070.00816.57
7.3.10.0080.00616.54
7.3.00.0080.00716.53
7.2.330.0130.01016.58
7.2.320.0110.00916.72
7.2.310.0090.00916.38
7.2.300.0150.00416.58
7.2.290.0090.01416.52
7.2.260.0100.00814.81
7.2.250.0040.01314.87
7.2.240.0020.01515.03
7.2.230.0050.01114.75
7.2.220.0080.00414.92
7.2.210.0050.01014.93
7.2.200.0010.00915.06
7.2.190.0060.00914.90
7.2.180.0020.01314.95
7.2.170.0050.00614.95
7.2.160.0040.01214.97
7.2.150.0050.00916.93
7.2.140.0050.00616.88
7.2.130.0080.00816.65
7.2.120.0040.00816.60
7.2.110.0080.00716.67
7.2.100.0050.00516.88
7.2.90.0060.00716.63
7.2.80.0060.00716.65
7.2.70.0050.01016.71
7.2.60.0700.00816.39
7.2.50.0700.00716.32
7.2.40.0580.00916.44
7.2.30.0670.00916.54
7.2.20.0680.00816.56
7.2.10.0770.01016.54
7.2.00.0270.00816.42
7.1.330.0060.00815.48
7.1.320.0050.00915.67
7.1.310.0060.00715.55
7.1.300.0050.00915.65
7.1.290.0050.00515.84
7.1.280.0090.00515.71
7.1.270.0040.00815.64
7.1.260.0060.00715.57
7.1.250.0060.00715.63
7.1.240.0060.00815.72
7.1.230.0060.00415.59
7.1.220.0020.01215.55
7.1.210.0060.00815.53
7.1.200.0080.00515.53
7.1.190.0050.00515.64
7.1.180.0070.01015.58
7.1.170.1160.01014.95
7.1.160.0980.00815.78
7.1.150.1060.00515.90
7.1.140.1310.00816.06
7.1.130.1590.01016.04
7.1.120.1120.00915.90
7.1.110.1150.01215.81
7.1.100.1590.00815.78
7.1.90.1060.00915.68
7.1.80.1020.00815.95
7.1.70.1240.00615.51
7.1.60.1250.00821.50
7.1.50.1280.01121.50
7.1.40.1400.00921.23
7.1.30.1630.00821.31
7.1.20.1430.01221.28
7.1.10.1520.00915.19
7.1.00.1490.00915.42
7.0.330.0050.00515.26
7.0.320.0050.00615.46
7.0.310.0030.01015.38
7.0.300.0050.01215.44
7.0.290.0050.00915.28
7.0.280.0070.00715.38
7.0.270.0010.00715.25
7.0.260.0000.01115.31
7.0.250.0070.00715.40
7.0.240.0030.00815.51
7.0.230.0050.00815.38
7.0.220.0050.00615.46
7.0.210.0020.01215.26
7.0.200.0050.00615.28
7.0.190.0040.00915.34
7.0.180.0000.01015.43
7.0.170.0000.01015.22
7.0.160.0030.00815.44
7.0.150.0070.00515.45
7.0.140.0080.00615.36
7.0.130.0070.00315.18
7.0.120.0080.00615.44
7.0.110.0040.00615.34
7.0.100.0060.00615.42
7.0.90.0030.01415.08
7.0.80.0030.01015.23
7.0.70.0000.01115.52
7.0.60.0040.00815.36
7.0.50.0050.00915.55
7.0.40.0060.00413.43
7.0.30.0060.00813.45
7.0.20.0070.00713.47
7.0.10.0060.00713.29
7.0.00.0030.00813.36
5.6.400.0030.00914.25
5.6.390.0070.00614.32
5.6.380.0050.00714.45
5.6.370.0050.00714.10
5.6.360.0030.01214.07
5.6.350.0020.01114.45
5.6.340.0070.00814.40
5.6.330.0020.01014.32
5.6.320.0060.00714.32
5.6.310.0050.00814.17
5.6.300.0070.00714.59
5.6.290.0050.01014.48
5.6.280.0060.00814.28
5.6.270.0040.00814.30
5.6.260.0050.00914.46
5.6.250.0080.00714.29
5.6.240.0060.00714.34
5.6.230.0060.00514.25
5.6.220.0030.01114.32
5.6.210.0060.00414.32
5.6.200.0040.00814.29
5.6.190.0080.00714.34
5.6.180.0080.00614.29
5.6.170.0050.01014.22
5.6.160.0030.01014.25
5.6.150.0030.00914.24
5.6.140.0090.00414.26
5.6.130.0050.01014.56
5.6.120.0060.00914.35
5.6.110.0080.00514.29
5.6.100.0050.00814.22
5.6.90.0090.00614.47
5.6.80.0020.01414.10
5.6.70.0090.00614.26
5.6.60.0060.00714.36
5.6.50.0050.00714.28
5.6.40.0080.00514.37
5.6.30.0080.00714.19
5.6.20.0040.00614.10
5.6.10.0020.01114.08
5.6.00.0080.00314.24

preferences:
89.67 ms | 400 KiB | 5 Q