3v4l.org

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

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.0190.00016.75
8.3.50.0100.00816.55
8.3.40.0140.00418.59
8.3.30.0090.00618.84
8.3.20.0000.00818.90
8.3.10.0050.00318.77
8.3.00.0080.00019.38
8.2.180.0040.01216.63
8.2.170.0110.00422.96
8.2.160.0090.00618.79
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00626.16
8.2.120.0050.00319.77
8.2.110.0100.00020.44
8.2.100.0070.00417.97
8.2.90.0000.00919.22
8.2.80.0050.00317.97
8.2.70.0080.00017.61
8.2.60.0090.00018.04
8.2.50.0040.00418.05
8.2.40.0030.00619.47
8.2.30.0030.00617.75
8.2.20.0030.00617.80
8.2.10.0030.00519.42
8.2.00.0000.00717.66
8.1.280.0130.00325.92
8.1.270.0030.00623.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00423.97
8.1.230.0120.00017.77
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0040.00417.35
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0040.00417.62
8.1.160.0050.00318.95
8.1.150.0080.00018.60
8.1.140.0000.00817.51
8.1.130.0000.00819.21
8.1.120.0070.00017.40
8.1.110.0000.00717.39
8.1.100.0040.00417.49
8.1.90.0040.00417.52
8.1.80.0070.00017.49
8.1.70.0080.00017.34
8.1.60.0040.00417.61
8.1.50.0000.00817.49
8.1.40.0030.00617.50
8.1.30.0060.00617.61
8.1.20.0000.00817.63
8.1.10.0000.00717.57
8.1.00.0060.00317.51
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0070.00018.50
8.0.270.0000.00717.20
8.0.260.0030.00316.89
8.0.250.0000.00717.04
8.0.240.0030.00316.97
8.0.230.0000.00816.92
8.0.220.0000.00817.02
8.0.210.0000.00716.86
8.0.200.0000.00617.04
8.0.190.0030.00617.01
8.0.180.0040.00417.01
8.0.170.0040.00416.99
8.0.160.0070.00416.87
8.0.150.0030.00616.77
8.0.140.0040.00416.93
8.0.130.0050.00013.45
8.0.120.0000.00916.76
8.0.110.0030.00416.79
8.0.100.0000.00716.89
8.0.90.0040.00416.86
8.0.80.0090.00916.95
8.0.70.0000.00716.79
8.0.60.0040.00416.79
8.0.50.0050.00316.84
8.0.30.0110.00717.23
8.0.20.0050.01317.00
8.0.10.0000.00817.14
8.0.00.0090.01116.95
7.4.330.0000.00513.07
7.4.320.0000.00616.53
7.4.300.0030.00316.64
7.4.290.0000.00716.59
7.4.280.0030.00616.58
7.4.270.0040.00416.57
7.4.260.0000.00613.30
7.4.250.0000.00816.57
7.4.240.0070.00016.62
7.4.230.0000.00716.68
7.4.220.0130.00616.47
7.4.210.0130.00616.61
7.4.200.0040.00416.60
7.4.190.0000.00816.57
7.4.160.0160.00616.71
7.4.150.0090.00916.58
7.4.140.0060.01217.86
7.4.130.0070.01116.58
7.4.120.0100.00716.60
7.4.110.0060.01016.56
7.4.100.0130.01016.60
7.4.90.0040.01416.66
7.4.80.0100.00719.39
7.4.70.0120.00416.62
7.4.60.0100.00616.54
7.4.50.0050.00016.52
7.4.40.0120.00316.26
7.4.30.0140.00616.60
7.4.00.0030.01315.20
7.3.330.0000.00613.37
7.3.320.0050.00013.29
7.3.310.0070.00016.42
7.3.300.0030.00316.32
7.3.290.0130.00516.34
7.3.280.0070.01016.28
7.3.270.0110.00616.53
7.3.260.0130.00316.46
7.3.240.0100.00716.41
7.3.230.0110.00716.25
7.3.210.0050.01116.55
7.3.200.0100.00716.58
7.3.190.0100.00716.38
7.3.180.0140.00616.30
7.3.170.0090.00916.38
7.3.160.0030.01816.45
7.3.120.0100.00315.01
7.3.110.0060.00914.79
7.3.100.0030.00914.84
7.3.90.0060.00714.89
7.3.80.0070.00714.77
7.3.70.0120.00314.63
7.3.60.0070.00414.79
7.3.50.0040.00414.73
7.3.40.0040.01014.85
7.3.30.0070.00714.84
7.3.20.0040.00716.43
7.3.10.0000.01416.63
7.3.00.0110.00016.68
7.2.330.0060.01216.66
7.2.320.0140.01016.57
7.2.310.0100.01316.72
7.2.300.0070.01016.45
7.2.290.0120.00616.45
7.2.240.0060.01215.16
7.2.230.0110.00615.24
7.2.220.0030.00714.90
7.2.210.0060.00914.89
7.2.200.0060.00614.96
7.2.190.0090.00614.99
7.2.180.0040.00714.72
7.2.170.0000.01314.91
7.2.160.0070.01014.82
7.2.150.0080.00416.93
7.2.140.0090.00916.97
7.2.130.0060.00616.75
7.2.120.0070.01016.74
7.2.110.0080.00816.77
7.2.100.0070.00716.89
7.2.90.0030.00717.01
7.2.80.0090.00616.67
7.2.70.0040.00716.93
7.2.60.0060.00916.94
7.2.50.0090.00616.68
7.2.40.0030.01216.97
7.2.30.0030.00917.05
7.2.20.0070.00717.01
7.2.10.0120.00316.97
7.2.00.0040.01118.17
7.1.330.0070.01015.92
7.1.320.0090.00315.86
7.1.310.0060.00615.63
7.1.300.0080.00415.75
7.1.290.0070.00715.75
7.1.280.0100.00015.86
7.1.270.0110.00415.83
7.1.260.0060.01215.61
7.1.250.0040.01115.85
7.1.200.0030.00715.68
7.1.100.0070.00717.96
7.1.70.0000.00817.19
7.1.60.0070.01719.21
7.1.50.0030.01417.05
7.1.00.0070.03022.30
7.0.200.0030.00516.78
7.0.140.0030.07021.95
7.0.120.0000.08322.17
7.0.60.0100.04321.72
7.0.50.0100.08317.86
7.0.40.0000.06319.96
7.0.30.0330.04320.36
7.0.20.0270.06020.16
7.0.10.0270.03720.15
7.0.00.0100.08020.36
5.6.280.0030.07320.89
5.6.210.0100.07020.71
5.6.200.0030.04318.23
5.6.190.0070.09020.50
5.6.180.0200.05020.48
5.6.170.0370.07320.62
5.6.160.0070.08720.57
5.6.150.0100.07318.18
5.6.140.0070.08318.17
5.6.130.0170.07318.18
5.6.120.0030.04321.12
5.6.110.0070.07321.01
5.6.100.0100.05021.13
5.6.90.0070.07721.02
5.6.80.0030.04020.48
5.5.350.0030.05320.43
5.5.340.0030.07717.98
5.5.330.0300.06020.41
5.5.320.0600.05020.20
5.5.310.0200.08720.26
5.5.300.0100.03717.91
5.5.290.0100.08318.08
5.5.280.0030.04320.87
5.5.270.0130.08020.84
5.5.260.0070.08320.75
5.5.250.0100.03720.61
5.5.240.0170.07020.26
5.4.450.0100.04019.56
5.4.440.0130.04319.21
5.4.430.0000.04319.30
5.4.420.0100.05319.44
5.4.410.0130.07019.44
5.4.400.0170.06719.10
5.4.390.0000.06019.12
5.4.380.0070.05319.24
5.4.370.0000.04319.15
5.4.360.0070.08019.24
5.4.350.0070.05019.24
5.4.340.0130.04719.08
5.4.320.0030.04719.15
5.4.310.0070.08019.20
5.4.300.0100.03019.13
5.4.290.0070.06019.14
5.4.280.0000.05719.14
5.4.270.0030.04719.24
5.4.260.0100.06719.24
5.4.250.0030.05019.23
5.4.240.0030.04719.23
5.4.230.0100.06319.11
5.4.220.0030.05719.20
5.4.210.0130.07319.16
5.4.200.0070.07719.14
5.4.190.0070.06318.88
5.4.180.0030.04319.13
5.4.170.0100.07318.99
5.4.160.0030.05719.18
5.4.150.0070.04019.22
5.4.140.0070.06016.30
5.4.130.0130.06716.37
5.4.120.0030.08016.47
5.4.110.0070.05316.30
5.4.100.0200.06016.30
5.4.90.0070.04016.43
5.4.80.0070.06016.32
5.4.70.0070.03316.46
5.4.60.0030.04016.36
5.4.50.0030.03716.50
5.4.40.0100.03016.44
5.4.30.0070.03316.42
5.4.20.0000.03716.44
5.4.10.0000.03716.52
5.4.00.0030.03315.99
5.3.290.0070.03714.80
5.3.280.0030.07714.63
5.3.270.0070.04714.66
5.3.260.0130.07014.63
5.3.250.0070.05714.62
5.3.240.0030.07014.64
5.3.230.0030.04714.68
5.3.220.0000.07014.61
5.3.210.0070.06314.72
5.3.200.0070.06714.60
5.3.190.0070.08014.57
5.3.180.0100.07714.60
5.3.170.0070.06014.57
5.3.160.0070.03314.61
5.3.150.0000.08714.55
5.3.140.0070.03314.54
5.3.130.0030.03714.69
5.3.120.0100.03714.60
5.3.110.0000.04014.56
5.3.100.0030.04014.18
5.3.90.0070.03014.17
5.3.80.0070.03713.98
5.3.70.0030.04014.01
5.3.60.0000.04014.05
5.3.50.0000.04013.94
5.3.40.0000.04314.09
5.3.30.0000.03713.87
5.3.20.0030.03713.70
5.3.10.0000.04013.81
5.3.00.0030.03713.66
5.2.170.0030.03311.21
5.2.160.0000.03011.03
5.2.150.0030.02711.09
5.2.140.0000.03011.19
5.2.130.0030.02711.09
5.2.120.0000.03311.11
5.2.110.0130.03311.26
5.2.100.0030.02711.05
5.2.90.0000.03011.09
5.2.80.0070.02311.11
5.2.70.0030.03011.09
5.2.60.0000.03011.09
5.2.50.0030.02711.04
5.2.40.0000.03011.02
5.2.30.0000.03010.86
5.2.20.0030.02710.96
5.2.10.0030.02710.91
5.2.00.0070.02310.59
5.1.60.0030.02010.00
5.1.50.0030.02310.01
5.1.40.0000.0239.97
5.1.30.0000.02710.36
5.1.20.0070.02710.38
5.1.10.0070.02010.22
5.1.00.0030.0239.97
5.0.50.0030.0208.45
5.0.40.0000.0208.37
5.0.30.0000.0308.29
5.0.20.0000.0238.14
5.0.10.0070.0178.18
5.0.00.0100.0278.18
4.4.90.0030.0138.14
4.4.80.0030.0138.14
4.4.70.0030.0138.14
4.4.60.0030.0138.14
4.4.50.0000.0138.14
4.4.40.0030.0208.14
4.4.30.0030.0138.14
4.4.20.0030.0138.14
4.4.10.0000.0178.14
4.4.00.0030.0208.14
4.3.110.0030.0138.14
4.3.100.0000.0138.14
4.3.90.0000.0138.14
4.3.80.0000.0238.14
4.3.70.0030.0138.14
4.3.60.0030.0138.14
4.3.50.0000.0208.14
4.3.40.0000.0278.14
4.3.30.0030.0208.14
4.3.20.0000.0238.14
4.3.10.0030.0338.14
4.3.00.0070.0278.14

preferences:
45.74 ms | 401 KiB | 5 Q