3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo\Bar; trait Baz { } namespace Drupal\Tests; // In order to manage different method signatures between PHPUnit versions, we // dynamically load a compatibility trait dependent on the PHPUnit runner // version. if (!trait_exists(PhpunitVersionDependentTestCompatibilityTrait::class, FALSE)) { $x = 'Bar'; class_alias("Foo\\$x\Baz", PhpunitVersionDependentTestCompatibilityTrait::class); } /** * Makes Drupal's test API forward compatible with multiple versions of PHPUnit. */ trait PhpunitCompatibilityTrait { use PhpunitVersionDependentTestCompatibilityTrait; } $ref = new \ReflectionClass(PhpunitCompatibilityTrait::class); var_dump($ref->getStartLine());

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.4.10.0090.00021.13
8.3.140.0090.00616.56
8.3.130.0070.00316.77
8.3.120.0120.00319.02
8.3.110.0060.00320.94
8.3.100.0040.00424.06
8.3.90.0070.00726.77
8.3.80.0060.00316.50
8.3.70.0040.01118.30
8.3.60.0110.00418.05
8.3.50.0080.01023.74
8.3.40.0110.00721.78
8.3.30.0110.00418.71
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.260.0070.01116.92
8.2.250.0080.00018.69
8.2.240.0080.01117.09
8.2.230.0040.00422.58
8.2.220.0110.00837.54
8.2.210.0120.00826.77
8.2.200.0070.00416.50
8.2.190.0150.00616.75
8.2.180.0170.00025.92
8.2.170.0070.00718.83
8.2.160.0100.00322.96
8.2.150.0000.00725.66
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00720.79
8.2.110.0060.00320.56
8.2.100.0090.00317.91
8.2.90.0080.00017.96
8.2.80.0040.00419.94
8.2.70.0000.00917.63
8.2.60.0000.00817.63
8.2.50.0040.00418.10
8.2.40.0000.00819.23
8.2.30.0070.00019.37
8.2.20.0050.00218.12
8.2.10.0040.00419.32
8.2.00.0000.00719.19
8.1.300.0040.01120.24
8.1.290.0110.00018.88
8.1.280.0100.00725.92
8.1.270.0040.00423.99
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00320.96
8.1.230.0040.00820.89
8.1.220.0000.00817.74
8.1.210.0000.00818.95
8.1.200.0000.00817.35
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0040.00418.59
8.1.160.0040.00418.95
8.1.150.0070.00018.81
8.1.140.0000.00718.89
8.1.130.0070.00017.41
8.1.120.0000.00817.48
8.1.110.0000.00817.44
8.1.100.0040.00417.36
8.1.90.0040.00417.50
8.1.80.0040.00417.43
8.1.70.0030.00517.35
8.1.60.0030.00617.60
8.1.50.0000.00717.59
8.1.40.0000.00817.35
8.1.30.0040.00417.66
8.1.20.0060.00317.55
8.1.10.0030.00617.55
8.1.00.0000.00717.55
8.0.300.0070.00020.07
8.0.290.0000.00816.75
8.0.280.0040.00418.37
8.0.270.0030.00316.81
8.0.260.0030.00516.74
8.0.250.0000.00716.83
8.0.240.0030.00316.95
8.0.230.0030.00316.86
8.0.220.0030.00316.90
8.0.210.0000.00716.81
8.0.200.0000.00617.00
8.0.190.0040.00416.95
8.0.180.0030.00616.91
8.0.170.0090.00016.81
8.0.160.0050.00217.02
8.0.150.0030.00716.82
8.0.140.0050.00216.75
8.0.130.0030.00313.29
8.0.120.0040.00416.85
8.0.110.0040.00416.95
8.0.100.0070.00016.77
8.0.90.0000.00816.99
8.0.80.0070.00816.88
8.0.70.0040.00416.78
8.0.60.0070.00016.73
8.0.50.0070.00016.91
8.0.30.0080.00816.93
8.0.20.0100.01017.22
8.0.10.0070.00016.89
8.0.00.0110.01416.50
7.4.330.0000.00515.55
7.4.320.0030.00316.61
7.4.300.0060.00016.49
7.4.290.0040.00416.37
7.4.280.0070.00416.57
7.4.270.0040.00416.46
7.4.260.0030.00313.27
7.4.250.0030.00516.58
7.4.240.0000.00716.63
7.4.230.0000.00716.51
7.4.220.0000.00716.71
7.4.210.0080.00716.57
7.4.200.0040.00416.50
7.4.130.0070.01916.28
7.4.120.0200.00716.42
7.4.110.0060.01916.40
7.4.100.0130.00916.20
7.4.90.0140.01216.11
7.4.80.0140.01116.28
7.4.70.0140.01016.30
7.4.60.0170.00616.10
7.4.50.0130.01016.24
7.4.40.0180.00715.99
7.4.30.0240.00516.19
7.4.20.0210.00016.03
7.4.10.0110.01116.36
7.4.00.0060.01216.35
7.3.330.0070.00016.19
7.3.320.0030.00313.25
7.3.310.0000.00816.35
7.3.300.0030.00316.25
7.3.290.0090.00816.19
7.3.260.0150.00916.54
7.3.250.0130.00916.27
7.3.240.0180.00716.21
7.3.230.0110.00816.38
7.3.220.0160.00815.95
7.3.210.0170.01016.23
7.3.200.0170.00916.49
7.3.190.0170.00416.27
7.3.180.0120.00916.40
7.3.170.0090.01216.31
7.3.160.0090.01216.43
7.3.150.0070.01716.52
7.3.140.0110.00816.37
7.3.130.0120.00816.23
7.3.120.0130.00516.31
7.3.110.0180.00315.94
7.3.100.0150.00616.21
7.3.90.0140.01216.31
7.3.80.0180.01116.31
7.3.70.0170.00316.42
7.3.60.0140.00816.27
7.3.50.0100.02116.21
7.3.40.0110.01116.14
7.3.30.0200.00716.07
7.3.20.0140.00916.18
7.3.10.0630.01116.29
7.3.00.0200.01016.21

preferences:
22.21 ms | 403 KiB | 5 Q