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());

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.0100.00716.63
8.3.50.0120.00316.26
8.3.40.0120.00318.59
8.3.30.0040.01118.54
8.3.20.0040.00420.33
8.3.10.0040.00421.85
8.3.00.0000.00723.64
8.2.180.0120.00316.63
8.2.170.0040.01122.96
8.2.160.0070.00720.39
8.2.150.0000.00824.18
8.2.140.0050.00224.66
8.2.130.0080.00019.70
8.2.120.0000.00826.35
8.2.110.0060.00319.39
8.2.100.0060.00617.80
8.2.90.0030.00519.07
8.2.80.0050.00317.97
8.2.70.0050.00317.50
8.2.60.0030.00517.80
8.2.50.0000.00818.07
8.2.40.0100.00320.50
8.2.30.0000.00719.27
8.2.20.0000.01017.49
8.2.10.0050.00217.99
8.2.00.0000.00717.86
8.1.280.0030.01325.92
8.1.270.0000.00823.96
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0060.00323.84
8.1.230.0070.00318.97
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0040.00417.22
8.1.180.0000.00818.10
8.1.170.0060.00318.51
8.1.160.0000.00720.60
8.1.150.0000.00718.80
8.1.140.0030.00519.45
8.1.130.0040.00417.67
8.1.120.0030.00317.30
8.1.110.0030.00517.29
8.1.100.0000.00717.31
8.1.90.0030.00517.33
8.1.80.0070.00017.38
8.1.70.0070.00017.33
8.1.60.0040.00417.47
8.1.50.0040.00417.45
8.1.40.0030.00617.45
8.1.30.0000.00817.52
8.1.20.0080.00017.53
8.1.10.0070.00017.42
8.1.00.0040.00417.43
8.0.300.0060.00318.77
8.0.290.0050.00316.63
8.0.280.0030.00318.25
8.0.270.0030.00317.10
8.0.260.0030.00317.25
8.0.250.0030.00316.84
8.0.240.0070.00016.78
8.0.230.0000.00716.82
8.0.220.0030.00616.76
8.0.210.0000.00716.73
8.0.200.0060.00016.89
8.0.190.0040.00416.83
8.0.180.0000.00816.82
8.0.170.0000.00816.86
8.0.160.0030.00316.88
8.0.150.0030.00316.84
8.0.140.0080.00316.76
8.0.130.0000.00513.21
8.0.120.0030.00516.85
8.0.110.0000.00916.83
8.0.100.0000.00716.84
8.0.90.0040.00416.87
8.0.80.0100.00716.78
8.0.70.0000.00716.74
8.0.60.0050.00216.83
8.0.50.0070.00016.83
8.0.30.0080.00816.99
8.0.20.0110.00917.40
8.0.10.0040.00417.01
8.0.00.0140.00616.69
7.4.330.0000.00516.76
7.4.320.0030.00316.29
7.4.300.0070.00016.53
7.4.290.0000.00716.42
7.4.280.0030.00616.43
7.4.270.0000.00716.53
7.4.260.0060.00316.34
7.4.250.0030.00516.41
7.4.240.0000.00716.52
7.4.230.0030.00316.54
7.4.220.0120.00616.41
7.4.210.0050.01316.47
7.4.200.0040.00416.34
7.4.160.0060.01016.41
7.4.150.0090.00917.40
7.4.140.0120.00717.86
7.4.130.0120.00616.41
7.4.120.0080.01216.28
7.4.110.0040.01316.54
7.4.100.0210.00316.30
7.4.90.0140.00316.21
7.4.80.0000.01719.39
7.4.70.0100.00716.54
7.4.60.0090.01216.29
7.4.50.0070.01016.25
7.4.40.0090.00616.23
7.4.30.0100.00716.33
7.4.00.0100.00314.95
7.3.330.0030.00313.04
7.3.320.0030.00313.16
7.3.310.0070.00016.08
7.3.300.0070.00016.17
7.3.290.0050.00216.18
7.3.280.0090.00716.17
7.3.270.0060.01217.40
7.3.260.0080.01116.44
7.3.250.0100.00816.34
7.3.240.0060.01416.30
7.3.230.0080.00816.39
7.3.210.0030.01316.23
7.3.200.0120.00919.39
7.3.190.0070.01016.34
7.3.180.0100.00616.36
7.3.170.0140.00716.27
7.3.160.0170.00016.25
7.2.330.0070.01116.38
7.2.320.0120.00316.50
7.2.310.0140.00316.65
7.2.300.0070.01016.63
7.2.290.0080.01216.52
7.2.60.0110.00716.69
7.2.00.0070.01019.30
7.1.200.0060.00615.61
7.1.70.0040.00417.00
7.1.60.0030.00917.28
7.1.50.0140.01834.56
7.1.00.0030.07722.46
7.0.200.0030.01016.72
7.0.70.0400.04319.92
7.0.60.0270.04019.89
7.0.50.0330.04720.40
7.0.40.0070.05020.18
7.0.30.0030.03720.18
7.0.20.0100.03720.04
7.0.10.0030.04020.11
7.0.00.0000.04320.14
5.6.280.0070.05320.90
5.6.220.0070.03020.47
5.6.210.0070.03720.62
5.6.200.0000.04720.97
5.6.190.0100.03721.06
5.6.180.0070.04021.11
5.6.170.0070.04021.17
5.6.160.0070.03321.07
5.6.150.0100.04021.02
5.6.140.0130.05021.04
5.6.130.0070.08721.10
5.6.120.0030.05321.01
5.6.110.0030.04320.95
5.6.100.0070.05721.00
5.6.90.0070.04021.00
5.6.80.0070.08320.43
5.6.70.0070.05020.34
5.6.60.0030.04020.45
5.6.50.0100.04320.43
5.6.40.0100.03720.53
5.6.30.0030.08020.47
5.6.20.0000.05720.40
5.6.10.0030.08720.33
5.6.00.0170.07320.52
5.5.360.0030.03720.35
5.5.350.0130.03020.38
5.5.340.0070.03720.80
5.5.330.0030.04020.88
5.5.320.0030.03320.89
5.5.310.0000.05320.73
5.5.300.0000.08320.93
5.5.290.0100.08320.89
5.5.280.0030.08720.73
5.5.270.0130.08020.79
5.5.260.0000.04720.88
5.5.250.0000.06020.67
5.5.240.0030.04320.30
5.5.230.0030.08020.21
5.5.220.0030.04019.98
5.5.210.0100.07720.14
5.5.200.0030.04020.18
5.5.190.0000.08720.28
5.5.180.0070.08020.11
5.5.160.0170.07720.23
5.5.150.0100.07720.16
5.5.140.0100.08020.20
5.5.130.0030.08020.24
5.5.120.0000.08320.24
5.5.110.0070.07720.22
5.5.100.0100.07020.08
5.5.90.0030.04319.98
5.5.80.0000.04319.97
5.5.70.0030.04720.04
5.5.60.0070.08320.10
5.5.50.0100.06020.03
5.5.40.0170.07320.02
5.5.30.0030.06020.05
5.5.20.0070.07720.07
5.5.10.0030.08020.04
5.5.00.0170.07020.04

preferences:
37.81 ms | 400 KiB | 5 Q