3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr9 = array('name'=>'example', 'stuff'=>array('one'=>1, 'two'=>2)); $arrA = array('name'=>'example', 'stuff'=>array('two'=>2, 'one'=>1)); var_dump($arr9==$arrA);

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.0060.00918.55
8.3.50.0070.01021.96
8.3.40.0040.01118.63
8.3.30.0090.01218.82
8.3.20.0070.00020.16
8.3.10.0060.00322.15
8.3.00.0040.00422.30
8.2.180.0160.00616.50
8.2.170.0070.01422.96
8.2.160.0190.00322.08
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01026.16
8.2.120.0000.00819.48
8.2.110.0080.00020.52
8.2.100.0060.00617.91
8.2.90.0080.00019.13
8.2.80.0050.00317.97
8.2.70.0090.00317.60
8.2.60.0000.00818.04
8.2.50.0030.00518.07
8.2.40.0040.00418.28
8.2.30.0000.00918.03
8.2.20.0040.00417.63
8.2.10.0080.00017.54
8.2.00.0000.00817.73
8.1.280.0210.00025.92
8.1.270.0030.00522.12
8.1.260.0150.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00020.91
8.1.230.0120.00017.51
8.1.220.0000.00817.76
8.1.210.0000.00918.77
8.1.200.0090.00017.12
8.1.190.0000.00717.53
8.1.180.0080.00018.10
8.1.170.0040.00418.64
8.1.160.0000.00722.00
8.1.150.0000.00818.55
8.1.140.0000.00717.39
8.1.130.0070.00017.82
8.1.120.0040.00417.45
8.1.110.0000.00817.48
8.1.100.0070.00017.30
8.1.90.0050.00317.44
8.1.80.0040.00417.48
8.1.70.0030.00317.31
8.1.60.0030.00617.61
8.1.50.0050.00217.48
8.1.40.0000.00817.47
8.1.30.0030.00517.62
8.1.20.0040.00417.57
8.1.10.0070.00017.42
8.1.00.0040.00417.35
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0030.00318.43
8.0.270.0030.00317.16
8.0.260.0060.00016.80
8.0.250.0000.00716.84
8.0.240.0080.00016.90
8.0.230.0050.00316.90
8.0.220.0030.00316.88
8.0.210.0040.00416.77
8.0.200.0040.00416.98
8.0.190.0000.00716.83
8.0.180.0040.00416.95
8.0.170.0080.00016.94
8.0.160.0040.00416.80
8.0.150.0000.00816.92
8.0.140.0000.00716.81
8.0.130.0040.00413.30
8.0.120.0000.00716.72
8.0.110.0000.00716.92
8.0.100.0030.00416.68
8.0.90.0000.00716.91
8.0.80.0130.00316.88
8.0.70.0050.00216.91
8.0.60.0040.00416.68
8.0.50.0000.00716.67
8.0.30.0110.01417.20
8.0.20.0150.00617.40
8.0.10.0040.00416.93
8.0.00.0100.01216.63
7.4.330.0070.00015.00
7.4.320.0030.00316.57
7.4.300.0000.00616.55
7.4.290.0000.00816.47
7.4.280.0030.00316.64
7.4.270.0030.00316.44
7.4.260.0000.00716.59
7.4.250.0000.00816.53
7.4.240.0020.00516.51
7.4.230.0030.00316.38
7.4.220.0190.00316.52
7.4.210.0120.00616.59
7.4.200.0000.00716.48
7.4.190.0030.00316.39
7.4.160.0080.00816.42
7.4.150.0120.00617.40
7.4.140.0080.01017.86
7.4.130.0080.01116.52
7.4.120.0060.01316.46
7.4.110.0100.00716.51
7.4.100.0160.00316.50
7.4.90.0120.00616.50
7.4.80.0100.00719.39
7.4.70.0100.01016.39
7.4.60.0040.01216.37
7.4.50.0040.00416.29
7.4.40.0090.00622.77
7.4.30.0030.01216.27
7.4.00.0080.00814.86
7.3.330.0020.00213.07
7.3.320.0020.00212.86
7.3.310.0070.00016.24
7.3.300.0000.00716.23
7.3.290.0030.01216.14
7.3.280.0070.00716.21
7.3.270.0040.01517.40
7.3.260.0080.01216.53
7.3.250.0110.00616.16
7.3.240.0060.01716.23
7.3.230.0100.00716.40
7.3.210.0080.01116.04
7.3.200.0130.00319.39
7.3.190.0030.01316.32
7.3.180.0070.01316.16
7.3.170.0140.00316.27
7.3.160.0150.00716.29
7.3.120.0100.00714.75
7.3.10.0030.01216.41
7.3.00.0070.00616.62
7.2.330.0150.00916.44
7.2.320.0090.00916.42
7.2.310.0120.00616.43
7.2.300.0040.01416.53
7.2.290.0100.00616.63
7.2.130.0090.00716.58
7.2.120.0050.00616.83
7.2.110.0030.00916.70
7.2.100.0050.00816.72
7.2.90.0050.00516.72
7.2.80.0070.00616.77
7.2.70.0040.00716.82
7.2.60.0030.00916.84
7.2.50.0020.01016.71
7.2.40.0070.00616.79
7.2.30.0050.00716.71
7.2.20.0050.00716.83
7.2.10.0040.01116.66
7.2.00.0040.00517.64
7.1.250.0040.00815.72
7.1.70.0000.00716.99
7.1.60.0110.00417.29
7.1.50.0130.01017.00
7.1.00.0070.07322.36
7.0.200.0060.01216.70
7.0.140.0000.07722.09
7.0.60.0170.06319.92
7.0.50.0100.08317.80
7.0.40.0100.04720.21
7.0.30.0230.07020.17
7.0.20.0370.04020.02
7.0.10.0230.05020.18
7.0.00.0100.03720.16
5.6.280.0030.07721.06
5.6.210.0100.06720.66
5.6.200.0030.08318.12
5.6.190.0170.07720.61
5.6.180.3600.03720.60
5.6.170.0200.07720.71
5.6.160.0000.04320.48
5.6.150.0070.08318.07
5.6.140.0000.06018.11
5.6.130.0030.04318.16
5.6.120.0030.05321.00
5.6.110.0130.08321.02
5.6.100.0130.08020.98
5.6.90.0070.08720.96
5.6.80.0070.07320.50
5.5.350.0030.05320.35
5.5.340.0070.07318.04
5.5.330.0070.08320.36
5.5.320.0130.04020.27
5.5.310.0270.03320.50
5.5.300.0070.03718.00
5.5.290.0000.04317.89
5.5.280.0030.05020.87
5.5.270.0070.07320.64
5.5.260.0070.09020.88
5.5.250.0030.05020.61
5.5.240.0100.05020.06
5.4.450.0170.05019.29
5.4.440.0730.06019.56
5.4.430.0200.05319.60
5.4.420.0170.06319.62
5.4.410.0230.06719.35
5.4.400.1630.00018.83
5.4.390.1570.00018.69
5.4.380.0200.06018.77
5.4.370.0070.06018.67
5.4.360.0200.05318.57
5.4.350.0270.05018.61
5.4.340.0130.05718.52
5.4.320.0080.03812.45
5.4.310.0070.04912.45
5.4.300.0080.03512.45
5.4.290.0110.04212.45
5.4.280.0080.04112.35
5.4.270.0170.07018.86
5.4.260.0230.06318.92
5.4.250.0170.04718.88
5.4.240.0130.07318.87
5.4.230.0230.06018.73
5.4.220.0100.06018.89
5.4.210.0170.06318.69
5.4.200.0100.06318.69
5.4.190.0070.08318.71
5.4.180.0100.05318.85
5.4.170.0170.06718.68
5.4.160.0100.06018.97
5.4.150.0070.06018.88
5.4.140.0070.07016.27
5.4.130.0170.07316.53
5.4.120.0130.05016.53
5.4.110.0130.04716.19
5.4.100.0100.07716.19
5.4.90.0100.06316.41
5.4.80.0130.07016.50
5.4.70.0130.06016.46
5.4.60.0200.04716.17
5.4.50.0100.07016.47
5.4.40.0030.05316.42
5.4.30.0130.06016.38
5.4.20.0100.05016.41
5.4.10.0170.06016.35
5.4.00.0100.06715.71
5.3.290.0080.04012.80
5.3.280.0030.06714.36
5.3.270.0100.07314.30
5.3.260.0130.05314.76
5.3.250.0070.05714.60
5.3.240.0170.04314.49
5.3.230.0100.06014.29
5.3.220.0130.05014.57
5.3.210.0030.05714.57
5.3.200.0030.05714.57
5.3.190.0170.06314.34
5.3.180.0200.04714.71
5.3.170.0100.05714.65
5.3.160.0100.04714.35
5.3.150.0130.04714.56
5.3.140.0170.06014.56
5.3.130.0100.05714.40
5.3.120.0100.05314.55
5.3.110.0230.06014.64
5.3.100.0130.06314.04
5.3.90.0130.06713.93
5.3.80.0170.06014.03
5.3.70.0130.06714.18
5.3.60.0030.05714.04
5.3.50.0270.05013.96
5.3.40.0070.07013.64
5.3.30.0130.04313.92
5.3.20.0070.06013.70
5.3.10.0130.06313.66
5.3.00.0000.07713.73
5.2.170.0130.03710.90
5.2.160.0100.04011.04
5.2.150.0070.06011.04
5.2.140.0070.04311.25
5.2.130.0130.05711.09
5.2.120.0000.06311.19
5.2.110.0100.04711.12
5.2.100.0070.03711.07
5.2.90.0100.04011.10
5.2.80.0030.05711.10
5.2.70.0170.04711.07
5.2.60.0030.04310.89
5.2.50.0030.05011.03
5.2.40.0070.04010.94
5.2.30.0070.05310.88
5.2.20.0070.04710.96
5.2.10.0030.04310.77
5.2.00.0070.05710.64
5.1.60.0030.0409.90
5.1.50.0100.03710.18
5.1.40.0100.0339.74
5.1.30.0030.05010.50
5.1.20.0030.04710.25
5.1.10.0170.03710.29
5.1.00.0070.04710.21
5.0.50.0070.0308.60
5.0.40.0100.0338.36
5.0.30.0070.0508.11
5.0.20.0030.0308.25
5.0.10.0030.0408.21
5.0.00.0030.0438.22
4.4.90.0070.0176.88
4.4.80.0030.0306.88
4.4.70.0000.0236.88
4.4.60.0070.0276.88
4.4.50.0000.0306.88
4.4.40.0070.0406.88
4.4.30.0000.0236.88
4.4.20.0030.0306.88
4.4.10.0030.0276.88
4.4.00.0030.0406.88
4.3.110.0070.0206.88
4.3.100.0100.0176.88
4.3.90.0070.0206.88
4.3.80.0030.0376.88
4.3.70.0070.0276.88
4.3.60.0000.0276.88
4.3.50.0030.0306.88
4.3.40.0030.0476.88
4.3.30.0030.0206.88
4.3.20.0130.0136.88
4.3.10.0030.0206.88
4.3.00.0030.0236.57

preferences:
42.04 ms | 401 KiB | 5 Q