3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public $prop; } $foo = new MyClass(); $foo->prop = 'test1'; $bar = new MyClass(); $bar->prop = 'test1'; $bam = new MyClass(); $bam->prop = 'test2'; $test = array($foo, $bar, $bam); print_r(array_unique($test, SORT_REGULAR));

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.00916.63
8.3.50.0120.00716.46
8.3.40.0070.00718.62
8.3.30.0000.01518.67
8.3.20.0040.00418.60
8.3.10.0000.00820.54
8.3.00.0060.00317.50
8.2.180.0150.00616.34
8.2.170.0120.00622.96
8.2.160.0150.00622.04
8.2.150.0140.00024.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0060.00319.72
8.2.110.0060.00320.89
8.2.100.0030.00717.91
8.2.90.0000.00819.09
8.2.80.0060.00318.04
8.2.70.0030.00617.50
8.2.60.0080.00018.05
8.2.50.0000.00918.07
8.2.40.0120.00117.86
8.2.30.0090.00417.83
8.2.20.0090.00517.68
8.2.10.0130.00317.64
8.2.00.0120.00117.61
8.1.280.0090.00925.92
8.1.270.0000.00824.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00922.66
8.1.230.0090.00320.86
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.36
8.1.190.0000.00817.66
8.1.180.0000.00818.10
8.1.170.0060.00618.21
8.1.160.0060.00518.20
8.1.150.0090.00318.13
8.1.140.0100.00217.49
8.1.130.0080.00317.68
8.1.120.0100.00317.48
8.1.110.0050.00617.52
8.1.100.0090.00317.55
8.1.90.0090.00317.48
8.1.80.0060.00617.45
8.1.70.0100.00117.52
8.1.60.0100.00617.54
8.1.50.0160.00117.47
8.1.40.0100.00717.47
8.1.30.0140.00417.60
8.1.20.0130.00517.65
8.1.10.0100.00817.49
8.1.00.0150.00317.50
8.0.300.0030.00420.04
8.0.290.0030.00616.75
8.0.280.0070.00517.99
8.0.270.0090.00317.44
8.0.260.0080.00317.17
8.0.250.0070.00517.27
8.0.240.0070.00517.27
8.0.230.0120.00017.26
8.0.220.0100.00117.27
8.0.210.0110.00217.25
8.0.200.0080.00517.27
8.0.190.0050.00617.17
8.0.180.0090.00617.11
8.0.170.0110.00517.12
8.0.160.0100.00717.09
8.0.150.0100.00617.04
8.0.140.0090.00716.96
8.0.130.0130.00216.09
8.0.120.0120.00416.98
8.0.110.0090.00616.95
8.0.100.0080.00516.97
8.0.90.0070.00616.96
8.0.80.0100.00516.93
8.0.70.0070.00716.92
8.0.60.0100.00417.00
8.0.50.0080.00516.98
8.0.30.0150.00616.95
8.0.20.0150.00616.98
8.0.10.0180.00517.11
8.0.00.0130.00617.02
7.4.330.0070.00115.35
7.4.320.0070.00417.05
7.4.300.0080.00317.04
7.4.290.0100.00516.70
7.4.280.0090.00716.87
7.4.270.0110.00616.81
7.4.260.0090.00815.93
7.4.250.0120.00416.81
7.4.240.0080.00516.76
7.4.230.0130.00116.68
7.4.220.0130.00416.73
7.4.210.0090.00816.65
7.4.200.0080.00516.75
7.4.190.0070.00416.81
7.4.180.0070.00516.82
7.4.160.0120.00516.70
7.4.150.0150.00516.69
7.4.140.0130.00816.61
7.4.130.0130.00616.56
7.4.120.0150.00416.60
7.4.110.0130.00616.56
7.4.100.0120.00616.59
7.4.90.0130.00716.57
7.4.80.0120.00716.98
7.4.70.0100.00816.53
7.4.60.0130.00616.57
7.4.50.0090.00816.52
7.4.40.0110.00716.49
7.4.30.0120.00616.53
7.4.20.0100.00616.54
7.4.10.0100.00616.57
7.4.00.0080.00816.24
7.3.330.0110.00515.84
7.3.320.0130.00215.84
7.3.310.0100.00416.56
7.3.300.0090.00516.55
7.3.290.0090.00616.47
7.3.280.0100.00716.43
7.3.270.0160.00416.43
7.3.260.0130.00716.43
7.3.250.0120.00816.42
7.3.240.0160.00516.47
7.3.230.0160.00416.46
7.3.220.0160.00416.37
7.3.210.0120.00716.41
7.3.200.0150.00616.43
7.3.190.0140.00616.43
7.3.180.0110.00616.39
7.3.170.0110.00616.47
7.3.160.0150.00516.37
7.3.150.0130.00716.42
7.3.140.0120.00716.39
7.3.130.0120.00716.35
7.3.120.0110.00716.13
7.3.110.0130.00616.23
7.3.100.0140.00616.21
7.3.90.0120.00716.43
7.3.80.0130.00816.20
7.3.70.0130.00816.21
7.3.60.0090.00916.33
7.3.50.0120.00716.22
7.3.40.0100.00816.34
7.3.30.0140.00516.29
7.3.20.0240.00716.69
7.3.10.0250.00716.66
7.3.00.0260.00716.53
7.2.340.0130.00716.47
7.2.330.0150.00516.51
7.2.320.0130.00716.52
7.2.310.0130.00916.59
7.2.300.0140.00616.50
7.2.290.0150.00516.46
7.2.280.0150.00616.58
7.2.270.0130.00716.50
7.2.260.0130.00616.52
7.2.250.0130.00716.33
7.2.240.0120.00816.36
7.2.230.0110.01016.33
7.2.220.0140.00516.38
7.2.210.0120.00716.32
7.2.200.0120.00816.42
7.2.190.0100.00816.36
7.2.180.0110.00716.41
7.2.170.0120.00716.41
7.2.160.0140.00716.59
7.2.150.0350.00716.83
7.2.140.0270.00816.84
7.2.130.0170.00716.74
7.2.120.0190.00616.56
7.2.110.0330.00616.50
7.2.100.0370.00516.48
7.2.90.0400.00716.47
7.2.80.0260.00616.51
7.2.70.0230.00716.53
7.2.60.0220.00816.61
7.2.50.0280.00716.57
7.2.40.0260.00816.72
7.2.30.0260.00516.71
7.2.20.0260.00716.64
7.2.10.0310.00816.61
7.2.00.0400.00816.69
7.1.330.0120.00716.35
7.1.320.0200.00716.16
7.1.310.0130.00816.14
7.1.300.0150.00516.16
7.1.290.0140.00716.14
7.1.280.0170.00716.12
7.1.270.0190.00816.11
7.1.260.0150.00616.07
7.1.250.0290.00615.70
7.1.240.0350.00915.50
7.1.230.0330.00715.51
7.1.220.0320.00615.58
7.1.210.0290.00615.54
7.1.200.0260.00915.59
7.1.190.0280.00715.55
7.1.180.0250.00715.51
7.1.170.0230.00615.55
7.1.160.0330.00915.60
7.1.150.0330.00815.62
7.1.140.0270.00815.59
7.1.130.0290.00815.63
7.1.120.0290.00815.61
7.1.110.0280.00515.55
7.1.100.0340.00715.56
7.1.90.0260.00815.63
7.1.80.0230.00815.73
7.1.70.0240.00715.71
7.1.60.0220.00819.01
7.1.50.0260.00819.06
7.1.40.0230.00918.96
7.1.30.0280.00918.98
7.1.20.0300.00818.99
7.1.10.0220.00815.57
7.1.00.0210.00915.61
7.0.330.0240.00615.40
7.0.320.0310.00715.16
7.0.310.0260.00715.23
7.0.300.0280.00715.17
7.0.290.0340.00815.28
7.0.280.0310.00615.22
7.0.270.0570.00715.25
7.0.260.0280.00815.26
7.0.250.0300.00715.37
7.0.240.0310.00915.29
7.0.230.0250.00915.36
7.0.220.0240.00915.31
7.0.210.0290.00815.21
7.0.200.0240.00715.43
7.0.190.0240.00715.36
7.0.180.0270.00615.36
7.0.170.0240.00615.36
7.0.160.0260.00815.31
7.0.150.0220.00715.33
7.0.140.0280.00615.36
7.0.130.0240.00815.42
7.0.120.0210.00715.40
7.0.110.0210.00815.35
7.0.100.0410.00615.32
7.0.90.0230.00715.36
7.0.80.0220.00815.30
7.0.70.0190.00615.33
7.0.60.0220.00815.30
7.0.50.0210.00715.37
7.0.40.0240.00815.44
7.0.30.0210.00715.39
7.0.20.0200.00915.33
7.0.10.0190.00715.37
7.0.00.0190.00815.40
5.6.400.0140.00716.08
5.6.390.0110.01016.14
5.6.380.0150.00715.54
5.6.370.0130.01015.52
5.6.360.0160.00715.55
5.6.350.0140.00615.50
5.6.340.0140.00715.55
5.6.330.0130.00915.53
5.6.320.0120.00815.54
5.6.310.0150.00715.57
5.6.300.0120.01716.52
5.6.290.0110.01916.50
5.6.280.0110.01916.52
5.6.270.0130.01616.55
5.6.260.0130.01616.53
5.6.250.0150.01516.55
5.6.240.0120.01916.56
5.6.230.0140.01616.55
5.6.220.0120.01716.61
5.6.210.0130.01616.58
5.6.200.0160.01516.55
5.6.190.0140.01616.53
5.6.180.0110.01816.53
5.6.170.0130.01516.61
5.6.160.0120.01716.60
5.6.150.0120.01816.62
5.6.140.0130.01616.54
5.6.130.0140.01516.59
5.6.120.0120.01716.59
5.6.110.0130.01616.49
5.6.100.0140.01616.60
5.6.90.0140.01616.52
5.6.80.0150.01616.40
5.6.70.0130.01516.40
5.6.60.0120.01816.42
5.6.50.0120.01616.39
5.6.40.0110.01716.40
5.6.30.0120.01916.37
5.6.20.0130.01516.36
5.6.10.0110.01716.37
5.6.00.0110.01816.36
5.5.380.0130.01615.16
5.5.370.0120.01515.11
5.5.360.0120.01915.09
5.5.350.0130.01615.02
5.5.340.0130.01615.14
5.5.330.0120.01715.11
5.5.320.0110.01815.19
5.5.310.0140.01415.11
5.5.300.0110.01615.09
5.5.290.0110.01515.13
5.5.280.0130.01615.13
5.5.270.0130.01515.09
5.5.260.0130.01715.13
5.5.250.0130.01515.10
5.5.240.0120.01615.03
5.5.230.0110.01714.93
5.5.220.0120.01415.05
5.5.210.0140.01414.98
5.5.200.0140.01414.99
5.5.190.0110.01514.96
5.5.180.0120.01515.00
5.5.170.0130.00714.87
5.5.160.0120.01514.95
5.5.150.0110.01614.92
5.5.140.0120.01714.93
5.5.130.0130.01414.96
5.5.120.0120.01614.97
5.5.110.0130.01514.93
5.5.100.0120.01614.97
5.5.90.0130.01414.96
5.5.80.0130.01414.99
5.5.70.0110.01714.94
5.5.60.0120.01514.94
5.5.50.0130.01414.92
5.5.40.0110.01614.97
5.5.30.0110.01614.98
5.5.20.0110.01614.98
5.5.10.0110.01514.94
5.5.00.0120.01614.94
5.4.450.0100.01713.83
5.4.440.0100.01413.84
5.4.430.0100.01513.81
5.4.420.0110.01513.87
5.4.410.0120.01513.81
5.4.400.0110.01813.72
5.4.390.0110.01313.71
5.4.380.0100.01513.72
5.4.370.0100.01513.73
5.4.360.0120.01413.70
5.4.350.0110.01413.72
5.4.340.0110.01713.70
5.4.330.0110.00512.49
5.4.320.0110.01313.79
5.4.310.0100.01513.71
5.4.300.0110.01313.74
5.4.290.0110.01313.75
5.4.280.0110.01413.75
5.4.270.0110.01513.71
5.4.260.0120.01413.70
5.4.250.0110.01513.64
5.4.240.0110.01413.70
5.4.230.0110.01513.64
5.4.220.0120.01213.68
5.4.210.0100.01513.64
5.4.200.0090.01513.65
5.4.190.0110.01513.67
5.4.180.0100.01613.65
5.4.170.0110.01513.70
5.4.160.0100.01513.68
5.4.150.0110.01513.66
5.4.140.0120.01313.32
5.4.130.0100.01313.33
5.4.120.0100.01513.32
5.4.110.0100.01413.35
5.4.100.0090.01413.33
5.4.90.0110.01413.30
5.4.80.0120.01313.34
5.4.70.0100.01413.35
5.4.60.0110.01313.32
5.4.50.0110.01413.24
5.4.40.0100.01413.33
5.4.30.0110.01413.34
5.4.20.0110.01413.32
5.4.10.0110.01413.31
5.4.00.0090.01413.19
5.3.290.0110.01413.24
5.3.280.0110.01413.14
5.3.270.0130.01213.20
5.3.260.0110.01313.19
5.3.250.0090.01613.21
5.3.240.0120.01313.10
5.3.230.0100.01613.15
5.3.220.0100.01413.04
5.3.210.0110.01413.00
5.3.200.0110.01412.95
5.3.190.0120.01313.08
5.3.180.0100.01513.11
5.3.170.0100.01513.11
5.3.160.0110.01413.11
5.3.150.0110.01513.08
5.3.140.0110.01513.09
5.3.130.0110.01613.06
5.3.120.0130.01313.06
5.3.110.0120.01213.02
5.3.100.0100.01413.00
5.3.90.0100.01413.04
5.3.80.0100.01412.91
5.3.70.0100.01412.98
5.3.60.0100.01313.02
5.3.50.0110.01212.90
5.3.40.0100.01512.92
5.3.30.0130.01212.97
5.3.20.0100.01512.94
5.3.10.0120.01212.75
5.3.00.0100.01312.76

preferences:
35.09 ms | 401 KiB | 5 Q