3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array('b' => 'a', 'c' => array('d', 'e')) === array('b' => 'a', 'c' => array('d', 'e'))); var_dump(array('b' => 'a', 'c' => array('d', 'e')) === array('b' => 'a', 'c' => array('d', 'f')));

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.0070.01318.30
8.3.50.0110.00721.14
8.3.40.0070.00718.39
8.3.30.0030.01020.21
8.3.20.0000.00820.27
8.3.10.0150.00322.15
8.3.00.0080.00022.29
8.2.180.0030.01216.32
8.2.170.0110.00422.96
8.2.160.0070.00722.08
8.2.150.0120.00324.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.75
8.2.110.0090.00022.13
8.2.100.0090.00317.59
8.2.90.0040.00418.91
8.2.80.0030.00519.25
8.2.70.0030.00617.50
8.2.60.0030.00517.93
8.2.50.0000.00818.07
8.2.40.0080.00018.09
8.2.30.0020.00519.30
8.2.20.0080.00017.39
8.2.10.0080.00017.43
8.2.00.0040.00417.42
8.1.280.0000.01525.92
8.1.270.0100.00023.99
8.1.260.0100.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00023.98
8.1.230.0000.01119.04
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.10
8.1.190.0040.00417.41
8.1.180.0060.00318.10
8.1.170.0040.00418.49
8.1.160.0040.00418.79
8.1.150.0070.00018.38
8.1.140.0040.00417.22
8.1.130.0000.00817.70
8.1.120.0000.00717.29
8.1.110.0060.00317.31
8.1.100.0000.00717.19
8.1.90.0000.00717.34
8.1.80.0000.00717.24
8.1.70.0030.00317.27
8.1.60.0000.00817.43
8.1.50.0000.00717.44
8.1.40.0040.00417.41
8.1.30.0000.00817.52
8.1.20.0040.00417.50
8.1.10.0050.00217.36
8.1.00.0080.00317.29
8.0.300.0000.00718.77
8.0.290.0040.00416.93
8.0.280.0050.00318.21
8.0.270.0030.00317.13
8.0.260.0040.00416.59
8.0.250.0040.00416.72
8.0.240.0040.00416.68
8.0.230.0030.00316.71
8.0.220.0000.00716.75
8.0.210.0000.00716.68
8.0.200.0000.00716.78
8.0.190.0030.00316.77
8.0.180.0040.00416.71
8.0.170.0040.00416.66
8.0.160.0040.00416.74
8.0.150.0000.00716.58
8.0.140.0060.00316.52
8.0.130.0030.00313.16
8.0.120.0070.00016.70
8.0.110.0040.00416.67
8.0.100.0040.00416.77
8.0.90.0000.00716.74
8.0.80.0090.00616.78
8.0.70.0000.00716.74
8.0.60.0000.00716.82
8.0.50.0000.00816.70
8.0.30.0040.01516.94
8.0.20.0100.00717.40
8.0.10.0040.00416.93
8.0.00.0130.01016.63
7.4.330.0000.00615.00
7.4.320.0030.00316.42
7.4.300.0000.00816.44
7.4.290.0030.00416.46
7.4.280.0000.00916.45
7.4.270.0030.00316.23
7.4.260.0000.00513.14
7.4.250.0040.00416.27
7.4.240.0030.00316.36
7.4.230.0070.00016.53
7.4.220.0110.00716.52
7.4.210.0080.00716.52
7.4.200.0000.00716.54
7.4.190.0050.00216.63
7.4.160.0100.00516.14
7.4.150.0110.00717.40
7.4.140.0080.00817.86
7.4.130.0110.00616.31
7.4.120.0070.01016.29
7.4.110.0070.01016.23
7.4.100.0060.01116.41
7.4.90.0100.00616.39
7.4.80.0060.01219.39
7.4.70.0110.00516.33
7.4.60.0090.01316.26
7.4.50.0040.00416.29
7.4.40.0110.00722.77
7.4.30.0070.01016.33
7.4.00.0030.01214.55
7.3.330.0050.00013.11
7.3.320.0050.00212.91
7.3.310.0040.00416.05
7.3.300.0020.00516.02
7.3.290.0190.00016.16
7.3.280.0130.00216.09
7.3.270.0110.00517.40
7.3.260.0110.00616.01
7.3.250.0090.00916.33
7.3.240.0030.01316.39
7.3.230.0080.00816.39
7.3.210.0070.01016.11
7.3.200.0150.00619.39
7.3.190.0040.01716.37
7.3.180.0080.00816.26
7.3.170.0100.00716.27
7.3.160.0110.00716.13
7.3.120.0070.00714.66
7.3.110.0030.00714.51
7.3.100.0040.00414.63
7.3.90.0030.00614.59
7.3.80.0030.01014.31
7.3.70.0100.00014.57
7.3.60.0090.00614.64
7.3.50.0000.01114.76
7.3.40.0100.00614.52
7.3.30.0120.00314.77
7.3.20.0000.01616.35
7.3.10.0030.00816.57
7.3.00.0000.00916.47
7.2.330.0140.00316.36
7.2.320.0160.00316.46
7.2.310.0130.00816.10
7.2.300.0090.01216.41
7.2.290.0120.01216.41
7.2.240.0070.00714.86
7.2.230.0110.00414.57
7.2.220.0040.00814.77
7.2.210.0040.00814.59
7.2.200.0000.01314.84
7.2.190.0080.00614.80
7.2.180.0080.00814.95
7.2.170.0100.00714.62
7.2.160.0040.01114.66
7.2.150.0030.01216.36
7.2.140.0030.01316.78
7.2.130.0090.00016.79
7.2.120.0030.01216.79
7.2.110.0090.00316.83
7.2.100.0090.00316.70
7.2.90.0070.00716.61
7.2.80.0000.01516.87
7.2.70.0070.01016.84
7.2.60.0040.00816.91
7.2.50.0150.00416.82
7.2.40.0030.00916.37
7.2.30.0090.00616.79
7.2.20.0140.00416.84
7.2.10.0030.01416.82
7.2.00.0040.00716.76
7.1.330.0000.00815.89
7.1.320.0040.01115.68
7.1.310.0030.01015.68
7.1.300.0030.00615.48
7.1.290.0000.01015.55
7.1.280.0030.00715.41
7.1.270.0030.00615.60
7.1.260.0070.00315.67
7.1.250.0060.00615.52
7.1.70.0030.00617.03
7.1.60.0190.00619.32
7.1.50.0070.01816.88
7.1.00.0000.03722.48
7.0.200.0000.00716.70
7.0.140.0030.07322.01
7.0.100.0100.06319.98
7.0.90.0030.04319.99
7.0.80.0170.06719.84
7.0.70.0030.04319.88
7.0.60.0230.07719.94
7.0.50.0100.07720.33
7.0.40.0100.06720.18
7.0.30.0030.05720.03
7.0.20.0100.05320.19
7.0.10.0100.07720.09
7.0.00.0070.08020.18
5.6.280.0030.06721.09
5.6.250.0100.08020.56
5.6.240.0130.03720.51
5.6.230.0070.07020.65
5.6.220.0000.08020.64
5.6.210.0000.09020.68
5.6.200.0030.05321.06
5.6.190.0130.05721.02
5.6.180.0070.06721.04
5.6.170.0070.04321.00
5.6.160.0070.08321.08
5.6.150.0070.06321.03
5.6.140.0130.06321.16
5.6.130.0100.09020.95
5.6.120.0230.06321.02
5.6.110.0000.05721.12
5.6.100.0070.04020.91
5.6.90.0070.05021.00
5.6.80.0130.06320.42
5.6.70.0030.07020.54
5.6.60.0200.05720.40
5.6.50.0030.06320.31
5.6.40.0030.06720.30
5.6.30.0000.04320.41
5.6.20.0070.05020.42
5.6.10.0170.07020.36
5.6.00.0070.04720.45
5.5.380.0270.03720.45
5.5.370.0070.05020.35
5.5.360.0100.07320.50
5.5.350.0100.07020.41
5.5.340.0000.04720.91
5.5.330.0100.07020.64
5.5.320.0100.05020.79
5.5.310.0030.05320.79
5.5.300.0030.06720.93
5.5.290.0100.08720.87
5.5.280.0070.04720.80
5.5.270.0070.08320.87
5.5.260.0030.07020.81
5.5.250.0070.05720.65
5.5.240.0030.05720.11
5.5.230.0100.04320.26
5.5.220.0130.06320.28
5.5.210.0100.06720.32
5.5.200.0070.08320.29
5.5.190.0070.05019.99
5.5.180.0000.04720.23
5.5.160.0100.06020.14
5.5.150.0030.04020.14
5.5.140.0070.06320.17
5.5.130.0030.04020.10
5.5.120.0100.03320.24
5.5.110.0130.06720.20
5.5.100.0100.04020.16
5.5.90.0030.07020.15
5.5.80.0100.03320.14
5.5.70.0000.05320.05
5.5.60.0070.06720.14
5.5.50.0030.04719.96
5.5.40.0200.05720.05
5.5.30.0070.08320.13
5.5.20.0030.04720.04
5.5.10.0130.05720.13
5.5.00.0070.08320.05
5.4.450.0030.05719.29
5.4.440.0070.04719.30
5.4.430.0130.06719.33
5.4.420.0070.04319.35
5.4.410.0070.06019.09
5.4.400.0070.05718.91
5.4.390.0030.05019.04
5.4.380.0000.05718.95
5.4.370.0070.04318.98
5.4.360.0030.04319.04
5.4.350.0100.07018.81
5.4.340.0070.06018.80
5.4.320.0070.05018.92
5.4.310.0030.03719.07
5.4.300.0030.04718.94
5.4.290.0070.05018.78
5.4.280.0000.04319.04
5.4.270.0070.08019.06
5.4.260.0070.03318.90
5.4.250.0030.06318.89
5.4.240.0130.02719.11
5.4.230.0070.07018.90
5.4.220.0030.04019.02
5.4.210.0070.05019.00
5.4.200.0070.07318.75
5.4.190.0000.04019.13
5.4.180.0070.05719.10
5.4.170.0070.06719.11
5.4.160.0030.04018.94
5.4.150.0030.04719.06
5.4.140.0070.07316.30
5.4.130.0000.08016.27
5.4.120.0130.05016.31
5.4.110.0100.05016.21
5.4.100.0030.06016.20
5.4.90.0070.04016.33
5.4.80.0030.04316.36
5.4.70.0070.03316.23
5.4.60.0030.06016.40
5.4.50.0030.06316.41
5.4.40.0100.05716.36
5.4.30.0030.05016.31
5.4.20.0070.04316.22
5.4.10.0030.06016.27
5.4.00.0070.04715.51
5.3.290.0070.06014.50
5.3.280.0100.03314.43
5.3.270.0000.05314.44
5.3.260.0170.03314.46
5.3.250.0070.03714.46
5.3.240.0030.03714.51
5.3.230.0130.06714.45
5.3.220.0030.07714.53
5.3.210.0070.04014.41
5.3.200.0100.07314.50
5.3.190.0070.03714.55
5.3.180.0170.07014.42
5.3.170.0070.06314.42
5.3.160.0000.04014.55
5.3.150.0000.04714.54
5.3.140.0030.04314.55
5.3.130.0000.06314.54
5.3.120.0130.07014.48
5.3.110.0030.05314.40
5.3.100.0000.04313.89
5.3.90.0030.04313.95
5.3.80.0000.04013.78
5.3.70.0200.06313.97
5.3.60.0030.04013.86
5.3.50.0100.04713.88
5.3.40.0070.07013.90
5.3.30.0070.06013.90
5.3.20.0000.04013.64
5.3.10.0030.05713.61
5.3.00.0000.07713.63
5.2.170.0030.06712.59
5.2.160.0030.05012.59
5.2.150.0200.04312.59
5.2.140.0030.03012.59
5.2.130.0030.03712.59
5.2.120.0030.06712.59
5.2.110.0030.03712.59
5.2.100.0030.04312.59
5.2.90.0130.03312.59
5.2.80.0000.03712.59
5.2.70.0030.05012.59
5.2.60.0030.06312.59
5.2.50.0000.05312.59
5.2.40.0170.05312.59
5.2.30.0130.04712.59
5.2.20.0030.04312.59
5.2.10.0100.04712.59
5.2.00.0030.03712.59
5.1.60.0100.05012.59
5.1.50.0130.03712.59
5.1.40.0000.02712.59
5.1.30.0030.05712.59
5.1.20.0070.03312.59
5.1.10.0000.03312.59
5.1.00.0030.05312.59
5.0.50.0000.03012.59
5.0.40.0000.03012.59
5.0.30.0100.05712.59
5.0.20.0070.02312.59
5.0.10.0000.04712.59
5.0.00.0000.07312.59
4.4.90.0000.03012.59
4.4.80.0070.02712.59
4.4.70.0000.02712.59
4.4.60.0030.01712.59
4.4.50.0000.03712.59
4.4.40.0030.05712.59
4.4.30.0100.01312.59
4.4.20.0030.01712.59
4.4.10.0030.02312.59
4.4.00.0030.04712.59
4.3.110.0070.01712.59
4.3.100.0000.03012.59
4.3.90.0030.02012.59
4.3.80.0000.05312.59
4.3.70.0030.03312.59
4.3.60.0030.02312.59
4.3.50.0000.03312.59
4.3.40.0000.05312.59
4.3.30.0000.03712.59
4.3.20.0000.02712.59
4.3.10.0030.03012.59
4.3.00.0000.02312.59

preferences:
64.09 ms | 401 KiB | 5 Q