3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Foo { public function bar() { echo "Hi!"; } } $ref = new ReflectionClass('Foo'); var_dump($ref->isAbstract(), $ref->isCloneable());

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.0140.00716.25
8.3.50.0140.00716.35
8.3.40.0090.00918.54
8.3.30.0140.00018.64
8.3.20.0000.00720.16
8.3.10.0000.00821.65
8.3.00.0080.00023.59
8.2.180.0080.00816.35
8.2.170.0150.00022.96
8.2.160.0100.00320.32
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00419.72
8.2.120.0080.00026.35
8.2.110.0060.00322.26
8.2.100.0110.00017.80
8.2.90.0000.00719.14
8.2.80.0040.00417.97
8.2.70.0060.00317.38
8.2.60.0000.00717.93
8.2.50.0080.00018.07
8.2.40.0030.00622.31
8.2.30.0000.00719.43
8.2.20.0040.00417.61
8.2.10.0040.00417.89
8.2.00.0000.00717.91
8.1.270.0000.00823.97
8.1.260.0030.00628.09
8.1.250.0080.00028.09
8.1.240.0060.00322.35
8.1.230.0080.00419.09
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.22
8.1.190.0050.00317.10
8.1.180.0090.00018.10
8.1.170.0060.00318.48
8.1.160.0020.00520.61
8.1.150.0040.00418.84
8.1.140.0040.00419.51
8.1.130.0030.00317.63
8.1.120.0040.00417.44
8.1.110.0040.00417.42
8.1.100.0040.00417.24
8.1.90.0040.00417.42
8.1.80.0040.00417.36
8.1.70.0040.00417.40
8.1.60.0000.00717.45
8.1.50.0040.00417.34
8.1.40.0000.00817.42
8.1.30.0000.00817.58
8.1.20.0030.00617.52
8.1.10.0040.00417.48
8.1.00.0040.00417.38
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0070.00018.37
8.0.270.0080.00017.19
8.0.260.0030.00317.16
8.0.250.0070.00016.77
8.0.240.0000.00716.91
8.0.230.0070.00016.85
8.0.220.0090.00016.84
8.0.210.0000.00716.83
8.0.200.0030.00316.77
8.0.190.0080.00016.76
8.0.180.0070.00016.77
8.0.170.0000.00816.88
8.0.160.0070.00016.79
8.0.150.0000.00716.65
8.0.140.0000.00916.76
8.0.130.0060.00013.29
8.0.120.0030.00516.82
8.0.110.0000.00716.85
8.0.100.0080.00016.69
8.0.90.0040.00416.63
8.0.80.0030.01316.77
8.0.70.0000.00816.77
8.0.60.0050.00216.85
8.0.50.0050.00316.63
8.0.30.0130.00817.10
8.0.20.0110.00817.40
8.0.10.0070.00017.02
8.0.00.0100.00916.75
7.4.330.0000.00616.89
7.4.320.0050.00216.45
7.4.300.0030.00316.51
7.4.290.0000.00816.57
7.4.280.0030.00616.43
7.4.270.0000.00616.38
7.4.260.0050.00316.43
7.4.250.0040.00416.36
7.4.240.0020.00516.48
7.4.230.0030.00316.55
7.4.220.0100.01016.37
7.4.210.0040.01016.56
7.4.200.0030.00316.46
7.4.160.0090.00616.33
7.4.150.0070.01117.40
7.4.140.0100.01217.86
7.4.130.0100.01316.28
7.4.120.0090.01016.35
7.4.110.0110.00716.36
7.4.100.0140.00716.61
7.4.90.0100.00716.46
7.4.80.0100.00719.39
7.4.70.0120.00416.28
7.4.60.0100.00716.50
7.4.50.0060.01116.54
7.4.40.0100.00616.32
7.4.30.0170.00416.28
7.4.00.0060.00915.08
7.3.330.0050.00013.14
7.3.320.0030.00313.03
7.3.310.0000.00716.27
7.3.300.0000.00716.18
7.3.290.0070.00016.06
7.3.280.0100.00416.19
7.3.270.0150.00917.40
7.3.260.0060.01116.39
7.3.240.0080.01016.22
7.3.230.0030.01516.39
7.3.210.0110.01116.16
7.3.200.0120.00816.34
7.3.190.0030.01316.17
7.3.180.0070.01016.20
7.3.170.0040.01216.27
7.3.160.0060.01016.04
7.2.330.0110.00716.30
7.2.320.0130.00316.55
7.2.310.0060.01216.64
7.2.300.0090.00916.57
7.2.290.0150.00616.34
7.2.60.0060.00616.96
7.2.00.0040.01119.32
7.1.200.0040.00815.82
7.1.100.0110.00418.07
7.1.70.0040.00416.88
7.1.60.0060.01819.30
7.1.50.0030.02016.86
7.1.00.0030.07722.46
7.0.200.0090.00016.53
7.0.60.0170.07721.67
7.0.50.0000.06317.88
7.0.40.0070.09020.14
7.0.30.0300.08020.34
7.0.20.0230.03720.21
7.0.10.0030.04320.08
7.0.00.0100.08320.24
5.6.280.0000.07721.12
5.6.210.0170.07020.75
5.6.200.0030.05318.16
5.6.190.0170.08320.77
5.6.180.0470.04020.50
5.6.170.0270.07720.55
5.6.160.0070.05720.55
5.6.150.0070.07718.29
5.6.140.0070.04018.18
5.6.130.0100.05018.18
5.6.120.0130.03320.98
5.6.110.0000.07320.99
5.6.100.0030.04020.96
5.6.90.0100.06320.98
5.6.80.0070.07320.36
5.5.350.0230.08020.38
5.5.340.0100.08318.04
5.5.330.0130.05020.28
5.5.320.0500.05020.35
5.5.310.0430.06720.28
5.5.300.0030.04017.99
5.5.290.0070.08017.98
5.5.280.0030.04720.88
5.5.270.0070.08020.88
5.5.260.0130.06720.77
5.5.250.0030.09020.70
5.5.240.0070.05320.14

preferences:
64.21 ms | 400 KiB | 5 Q