3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SubObject {} // Besides the methods listed here, this class also has an __invoke method. // This is for consistency with other classes that implement calling magic, // as this method is not used for calling the function. // Source: http://php.net/manual/en/class.closure.php var_dump(\method_exists(\SplObjectStorage::class, '__clone'));

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.0170.00318.66
8.3.30.0070.01418.77
8.3.20.0050.00320.79
8.3.10.0000.00723.66
8.3.00.0040.00420.69
8.2.170.0140.00022.96
8.2.160.0070.00720.32
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0050.00319.52
8.2.120.0050.00326.35
8.2.110.0060.00322.16
8.2.100.0080.00417.78
8.2.90.0000.00817.63
8.2.80.0000.00917.97
8.2.70.0050.00317.68
8.2.60.0040.00718.09
8.2.50.0090.00018.10
8.2.40.0070.00019.30
8.2.30.0070.00022.28
8.2.20.0070.00017.84
8.2.10.0080.00019.00
8.2.00.0040.00417.75
8.1.270.0030.00622.08
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.91
8.1.230.0090.00719.23
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0030.00616.98
8.1.180.0080.00018.10
8.1.170.0050.00318.46
8.1.160.0040.00418.67
8.1.150.0040.00418.68
8.1.140.0000.00718.88
8.1.130.0000.00920.31
8.1.120.0040.00417.30
8.1.110.0070.00017.23
8.1.100.0000.00817.18
8.1.90.0050.00317.33
8.1.80.0030.00617.20
8.1.70.0000.00817.34
8.1.60.0030.00617.42
8.1.50.0050.00317.40
8.1.40.0000.00917.27
8.1.30.0050.00317.49
8.1.20.0090.00017.51
8.1.10.0040.00417.35
8.1.00.0040.00417.29
8.0.300.0000.00819.79
8.0.290.0030.00616.63
8.0.280.0000.00718.32
8.0.270.0070.00017.18
8.0.260.0000.00618.28
8.0.250.0070.00016.87
8.0.240.0030.00316.82
8.0.230.0030.00316.86
8.0.220.0070.00016.82
8.0.210.0000.00716.66
8.0.200.0070.00016.78
8.0.190.0060.00616.88
8.0.180.0000.00716.67
8.0.170.0030.00616.74
8.0.160.0040.00416.77
8.0.150.0060.00316.65
8.0.140.0090.00016.73
8.0.130.0030.00313.17
8.0.120.0040.00416.64
8.0.110.0040.00416.66
8.0.100.0000.00716.80
8.0.90.0000.00716.74
8.0.80.0090.00616.74
8.0.70.0080.00016.82
8.0.60.0050.00216.88
8.0.50.0000.00716.79
8.0.30.0060.01016.83
8.0.20.0100.01316.99
8.0.10.0030.00516.73
8.0.00.0110.00716.71
7.4.330.0000.00515.55
7.4.320.0000.00616.48
7.4.300.0000.00716.44
7.4.290.0000.00716.44
7.4.280.0050.00316.48
7.4.270.0110.00016.29
7.4.260.0000.00716.44
7.4.250.0040.00416.40
7.4.240.0000.00816.39
7.4.230.0030.00316.57
7.4.220.0040.00416.48
7.4.210.0040.01116.40
7.4.200.0040.00416.30
7.4.160.0120.00516.43
7.4.130.0100.00716.25
7.4.120.0080.00916.23
7.4.110.0110.00616.46
7.4.100.0090.00916.23
7.4.90.0070.01016.32
7.4.80.0100.01019.39
7.4.70.0060.01216.42
7.4.60.0130.00316.31
7.4.50.0040.00716.07
7.4.40.0100.00716.48
7.4.00.0070.01114.86
7.3.330.0030.00313.17
7.3.320.0030.00313.17
7.3.310.0000.00716.02
7.3.300.0070.00016.19
7.3.290.0060.01016.19
7.3.280.0100.00816.14
7.3.260.0110.00716.29
7.3.240.0140.00416.14
7.3.230.0050.01316.17
7.3.210.0130.00316.48
7.3.200.0120.01116.26
7.3.190.0120.00416.30
7.3.180.0070.01016.35
7.3.170.0100.01016.31
7.3.160.0070.01416.15
7.3.40.0140.00714.60
7.3.30.0100.01014.56
7.3.20.0120.00014.77
7.3.10.0160.00614.41
7.3.00.0100.00314.65
7.2.330.0070.01016.59
7.2.320.0100.00716.59
7.2.310.0130.00316.34
7.2.300.0090.00816.21
7.2.290.0100.00616.47
7.2.170.0150.01114.95
7.2.160.0000.01114.61
7.2.150.0030.01414.91
7.2.140.0090.00614.78
7.2.130.0130.01714.75
7.2.120.0150.00314.70
7.2.110.0100.00714.67
7.2.100.0280.00414.50
7.2.90.0130.00314.74
7.2.80.0120.00614.65
7.2.70.0100.00415.04
7.2.60.0120.01214.96
7.2.50.0140.00314.66
7.2.40.0210.00314.82
7.2.30.0050.00814.77
7.2.20.0100.00715.06
7.2.10.0090.00915.05
7.2.00.0820.00314.79
7.1.280.0080.00813.86
7.1.270.0060.00613.53
7.1.260.0120.00313.79
7.1.250.0080.00813.69

preferences:
78.8 ms | 400 KiB | 5 Q