3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array ( array ( 'id' => 11, 'parametername' => '参数名称11' ) ); $b = array ( array ( 'id' => 6, 'parametername' => '参数名称6' ), array ( 'id' => 10, 'parametername' => '参数名称10' ), array ( 'id' => 11, 'parametername' => '参数名称11' ), array ( 'id' => 15, 'parametername' => '参数编辑' ), array ( 'id' => 16, 'parametername' => '参数20' ) ); var_dump( array_diff($a, $b) );

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.40.0060.00918.63
8.3.30.0070.00718.93
8.3.20.0040.00420.16
8.3.10.0050.00321.73
8.3.00.0000.00917.92
8.2.170.0060.01022.96
8.2.160.0100.00320.25
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0000.00821.00
8.2.110.0060.00322.26
8.2.100.0090.00318.03
8.2.90.0000.00719.08
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0080.00018.03
8.2.30.0050.00318.18
8.2.20.0070.00017.71
8.2.10.0040.00417.87
8.2.00.0030.00517.67
8.1.270.0000.00822.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.08
8.1.230.0060.00618.92
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.25
8.1.190.0040.00416.86
8.1.180.0000.00818.10
8.1.170.0030.00618.54
8.1.160.0070.00021.94
8.1.150.0040.00418.72
8.1.140.0040.00417.44
8.1.130.0080.00017.73
8.1.120.0000.00817.40
8.1.110.0080.00017.30
8.1.100.0070.00017.28
8.1.90.0000.00717.29
8.1.80.0070.00317.28
8.1.70.0030.00317.35
8.1.60.0070.00017.54
8.1.50.0040.00417.33
8.1.40.0090.00017.35
8.1.30.0000.00817.48
8.1.20.0040.00417.59
8.1.10.0090.00017.31
8.1.00.0080.00017.46
8.0.300.0070.00018.77
8.0.290.0000.00716.75
8.0.280.0030.00318.30
8.0.270.0030.00617.06
8.0.260.0070.00017.21
8.0.250.0030.00316.99
8.0.240.0000.00816.82
8.0.230.0070.00016.95
8.0.220.0030.00316.95
8.0.210.0000.00716.89
8.0.200.0110.00016.91
8.0.190.0000.00716.96
8.0.180.0040.00416.92
8.0.170.0060.00316.93
8.0.160.0030.00316.93
8.0.150.0040.00716.77
8.0.140.0040.00416.90
8.0.130.0050.00213.37
8.0.120.0080.00016.88
8.0.110.0040.00416.93
8.0.100.0070.00016.93
8.0.90.0070.00016.85
8.0.80.0140.00716.83
8.0.70.0030.00516.86
8.0.60.0000.00716.95
8.0.50.0040.00416.68
8.0.30.0150.00617.06
8.0.20.0060.01217.40
8.0.10.0040.00417.11
8.0.00.0120.00616.59
7.4.330.0050.00015.00
7.4.320.0000.00716.45
7.4.300.0060.00016.33
7.4.290.0040.00416.38
7.4.280.0000.00716.46
7.4.270.0030.00316.43
7.4.260.0040.00416.34
7.4.250.0000.00816.50
7.4.240.0030.00516.53
7.4.230.0000.00816.43
7.4.220.0040.01116.45
7.4.210.0100.00316.46
7.4.200.0050.00316.51
7.4.160.0080.00816.32
7.4.150.0110.00517.40
7.4.140.0110.00717.86
7.4.130.0120.00516.43
7.4.120.0070.01016.38
7.4.110.0110.00616.36
7.4.100.0090.01216.47
7.4.90.0110.01116.36
7.4.80.0070.01419.39
7.4.70.0160.00016.26
7.4.60.0060.01516.50
7.4.50.0020.00216.26
7.4.40.0080.01516.42
7.4.30.0080.00816.42
7.4.10.0130.00714.56
7.4.00.0090.00714.65
7.3.330.0070.00012.95
7.3.320.0020.00213.03
7.3.310.0050.00216.03
7.3.300.0000.00716.18
7.3.290.0100.00316.24
7.3.280.0060.00916.22
7.3.270.0130.01017.40
7.3.260.0090.00916.37
7.3.250.0100.01116.25
7.3.240.0140.00316.16
7.3.230.0100.00716.39
7.3.210.0070.01016.49
7.3.200.0130.01019.39
7.3.190.0120.00816.35
7.3.180.0080.00816.04
7.3.170.0070.01316.30
7.3.160.0060.00916.34
7.3.130.0000.01614.61
7.3.120.0050.01114.68
7.3.110.0100.00814.64
7.3.100.0100.00714.59
7.3.90.0020.01214.49
7.3.80.0060.00814.89
7.3.70.0040.00714.62
7.3.60.0040.00814.66
7.3.50.0050.01014.74
7.3.40.0030.00814.79
7.3.30.0070.00714.59
7.3.20.0040.00816.60
7.3.10.0070.00516.47
7.3.00.0100.00216.32
7.2.330.0030.01416.42
7.2.320.0100.00716.21
7.2.310.0130.00316.47
7.2.300.0060.00916.21
7.2.290.0070.00716.45
7.2.260.0000.01615.01
7.2.250.0080.01014.77
7.2.240.0070.01014.90
7.2.230.0040.01514.54
7.2.220.0050.00914.76
7.2.210.0070.00814.98
7.2.200.0070.00714.62
7.2.190.0110.00514.65
7.2.180.0050.01114.79
7.2.170.0050.00814.85
7.2.160.0060.00614.86
7.2.150.0090.00016.72
7.2.140.0080.00316.64
7.2.130.0070.00316.52
7.2.120.0030.01416.62
7.2.110.0030.01016.86
7.2.100.0030.01216.87
7.2.90.0040.01116.50
7.2.80.0060.01016.55
7.2.70.0080.00416.43
7.2.60.0070.00516.71
7.2.50.0000.01116.77
7.2.40.0030.01316.45
7.2.30.0000.01716.86
7.2.20.0030.01416.76
7.2.10.0060.00616.42
7.2.00.0030.01217.92
7.1.330.0100.00615.69
7.1.320.0100.00515.62
7.1.310.0050.00715.72
7.1.300.0080.00415.80
7.1.290.0070.00515.67
7.1.280.0080.00515.53
7.1.270.0060.00415.73
7.1.260.0030.00715.55
7.1.250.0110.00015.40
7.1.240.0070.01015.84
7.1.230.0040.00715.62
7.1.220.0070.00315.69
7.1.210.0110.00715.72
7.1.200.0070.00715.69
7.1.190.0000.01415.49
7.1.180.0000.01315.81
7.1.170.0100.00315.81
7.1.160.0060.00315.71
7.1.150.0060.00615.83
7.1.140.0030.00515.77
7.1.130.0030.01015.47
7.1.120.0070.00715.64
7.1.110.0090.00615.92
7.1.100.0060.00916.84
7.1.90.0030.01015.79
7.1.80.0070.00715.72
7.1.70.0050.01016.35
7.1.60.0040.01517.71
7.1.50.0150.00725.27
7.1.40.0030.01315.88
7.1.30.0070.00715.77
7.1.20.0070.00715.75
7.1.10.0030.00615.52
7.1.00.0090.03819.22
7.0.330.0000.01515.14
7.0.320.0100.00315.41
7.0.310.0060.00915.13
7.0.300.0090.00615.32
7.0.290.0000.00915.41
7.0.280.0070.00715.23
7.0.270.0000.01615.18
7.0.260.0030.00615.34
7.0.250.0000.01315.49
7.0.240.0070.00315.19
7.0.230.0060.00915.43
7.0.220.0030.01015.41
7.0.210.0040.00715.31
7.0.200.0030.00716.11
7.0.190.0060.00615.36
7.0.180.0080.00615.13
7.0.170.0120.00315.50
7.0.160.0030.00615.35
7.0.150.0030.00715.09
7.0.140.0020.04518.69
7.0.130.0090.00615.23
7.0.120.0040.00415.24
7.0.110.0030.01315.22
7.0.100.0090.00315.05
7.0.90.0060.00615.52
7.0.80.0110.00415.26
7.0.70.0030.01315.55
7.0.60.0140.04017.64
7.0.50.0000.02716.46
7.0.40.0070.02416.71
7.0.30.0160.02816.72
7.0.20.0150.04616.70
7.0.10.0060.03016.60
7.0.00.0100.03216.70
5.6.400.0040.00814.23
5.6.390.0040.00714.11
5.6.380.0030.00614.14
5.6.370.0030.01014.48
5.6.360.0130.00313.77
5.6.350.0060.00314.28
5.6.340.0030.01213.86
5.6.330.0070.00414.31
5.6.320.0000.01414.16
5.6.310.0060.00614.56
5.6.300.0030.01014.10
5.6.290.0120.00414.19
5.6.280.0010.04117.77
5.6.270.0000.01014.18
5.6.260.0030.01014.51
5.6.250.0000.00914.21
5.6.240.0000.01314.18
5.6.230.0070.00314.15
5.6.220.0060.00614.27
5.6.210.0120.03717.44
5.6.200.0060.02116.17
5.6.190.0080.04517.61
5.6.180.2080.02317.35
5.6.170.0210.03717.26
5.6.160.0130.03817.28
5.6.150.0030.03116.14
5.6.140.0050.04216.13
5.6.130.0100.03216.11
5.6.120.0040.02917.56
5.6.110.0090.04217.57
5.6.100.0060.03917.65
5.6.90.0100.03817.73
5.6.80.0070.03817.25
5.6.70.0130.00314.21
5.6.60.0030.01414.16
5.6.50.0000.00913.88
5.6.40.0090.00614.24
5.6.30.0030.01014.15
5.6.20.0060.01014.21
5.6.10.0090.00014.16
5.6.00.0100.00314.08
5.5.380.0070.00714.19
5.5.370.0000.01013.91
5.5.360.0070.01013.84
5.5.350.0080.04017.24
5.5.340.0010.02616.04
5.5.330.0090.03916.99
5.5.320.0240.04017.07
5.5.310.0170.02417.09
5.5.300.0060.04516.16
5.5.290.0080.04116.08
5.5.280.0120.03817.49
5.5.270.0070.04517.58
5.5.260.0050.04317.61
5.5.250.0080.03917.33
5.5.240.1930.02017.17
5.5.230.0120.00614.09
5.5.220.0060.00814.05
5.5.210.0090.00314.23
5.5.200.0070.00714.28
5.5.190.0030.01314.14
5.5.180.0030.01013.95
5.5.170.0040.00813.96
5.5.160.0040.00413.73
5.5.150.0000.01413.95
5.5.140.0070.00714.30
5.5.130.0000.01014.11
5.5.120.0030.00614.24
5.5.110.0060.00314.14
5.5.100.0100.00714.17
5.5.90.0000.01613.99
5.5.80.0030.00914.16
5.5.70.0000.01513.98
5.5.60.0140.00314.20
5.5.50.0070.00713.91
5.5.40.0080.00814.04
5.5.30.0150.00314.09
5.5.20.0030.00913.90
5.5.10.0000.01314.26
5.5.00.0070.00714.30
5.4.450.0280.03715.81
5.4.440.0110.03015.75
5.4.430.0160.02715.64
5.4.420.0130.02815.82
5.4.410.0110.02615.50
5.4.400.0210.02515.38
5.4.390.0150.03215.27
5.4.380.0130.02715.35
5.4.370.0080.02415.32
5.4.360.0100.02715.26
5.4.350.0020.02611.99
5.4.340.0090.01911.99
5.4.330.0030.00712.01
5.4.320.0060.02312.23
5.4.310.0060.02512.23
5.4.300.0040.02412.23
5.4.290.0070.02112.23
5.4.280.0050.02212.18
5.4.270.0080.02212.18
5.4.260.0060.02112.18
5.4.250.0040.02212.18
5.4.240.0050.02412.18
5.4.230.0050.02312.18
5.4.220.0020.02512.18
5.4.210.0060.01912.18
5.4.200.0050.02212.18
5.4.190.0070.02112.17
5.4.180.0020.02312.18
5.4.170.0060.02212.18
5.4.160.0060.02212.18
5.4.150.0050.02312.18
5.4.140.0060.02012.02
5.4.130.0080.01612.01
5.4.120.0050.02111.99
5.4.110.0050.02311.99
5.4.100.0040.02211.99
5.4.90.0020.02211.99
5.4.80.0040.02111.99
5.4.70.0070.01811.98
5.4.60.0070.01911.98
5.4.50.0030.02311.98
5.4.40.0040.02311.98
5.4.30.0060.02011.98
5.4.20.0090.01811.98
5.4.10.0070.01911.98
5.4.00.0060.02211.72
5.3.290.0050.02812.41
5.3.280.0040.02412.36
5.3.270.0020.02512.37
5.3.260.0080.02012.37
5.3.250.0070.01812.37
5.3.240.0040.02312.37
5.3.230.0030.02412.36
5.3.220.0040.02312.35
5.3.210.0040.02212.35
5.3.200.0010.02412.35
5.3.190.0070.01812.35
5.3.180.0040.02312.34
5.3.170.0060.02112.34
5.3.160.0020.02212.34
5.3.150.0050.02312.34
5.3.140.0060.02112.34
5.3.130.0060.02212.33
5.3.120.0050.02312.34
5.3.110.0060.02112.34
5.3.100.0080.01912.06
5.3.90.0040.02112.05
5.3.80.0050.02212.04
5.3.70.0040.02112.04
5.3.60.0030.02112.04
5.3.50.0040.02312.01
5.3.40.0050.02212.01
5.3.30.0070.01711.98
5.3.20.0060.01911.87
5.3.10.0090.01611.85
5.3.00.0060.02211.84
5.2.170.0050.0319.18
5.2.160.0060.0289.18
5.2.150.0040.0319.18
5.2.140.0070.0309.18
5.2.130.0050.0309.14
5.2.120.0020.0319.14
5.2.110.0080.0269.14
5.2.100.0050.0299.14
5.2.90.0070.0279.14
5.2.80.0030.0329.13
5.2.70.0070.0299.14
5.2.60.0050.0319.09
5.2.50.0040.0319.05
5.2.40.0060.0279.03
5.2.30.0040.0309.01
5.2.20.0050.0289.00
5.2.10.0060.0278.92
5.2.00.0090.0318.78
5.1.60.0050.0248.07
5.1.50.0030.0278.07
5.1.40.0030.0268.04
5.1.30.0060.0248.39
5.1.20.0030.0278.41
5.1.10.0080.0278.14
5.1.00.0070.0378.14
5.0.50.0060.0256.61
5.0.40.0050.0216.48
5.0.30.0040.0316.29
5.0.20.0030.0206.26
5.0.10.0050.0226.24
5.0.00.0060.0286.23
4.4.90.0030.0164.78
4.4.80.0050.0134.75
4.4.70.0030.0164.75
4.4.60.0050.0144.75
4.4.50.0060.0124.77
4.4.40.0020.0264.71
4.4.30.0050.0134.75
4.4.20.0030.0164.84
4.4.10.0030.0184.85
4.4.00.0050.0244.76
4.3.110.0020.0174.67
4.3.100.0010.0184.67
4.3.90.0010.0174.64
4.3.80.0050.0234.58
4.3.70.0060.0124.63
4.3.60.0070.0114.63
4.3.50.0050.0154.63
4.3.40.0030.0254.54
4.3.30.0040.0153.28
4.3.20.0020.0163.26
4.3.10.0030.0163.22
4.3.00.0070.0237.13

preferences:
47.67 ms | 400 KiB | 5 Q