3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj = new class { /** @var \PHPStan\Parser\Parser */ private $parser; /** @var \PHPStan\Parser\FunctionCallStatementFinder */ private $functionCallStatementFinder; public function create(\PHPStan\Reflection\ClassReflection $declaringClass, \ReflectionMethod $reflection) : \PHPStan\Reflection\Php\PhpMethodReflection { return new \PHPStan\Reflection\Php\PhpMethodReflection($declaringClass, $reflection, $this->parser, $this->functionCallStatementFinder, true); } };

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.0170.00316.50
8.3.50.0140.00721.04
8.3.40.0110.00418.46
8.3.30.0040.01118.54
8.3.20.0070.00020.33
8.3.10.0000.00821.72
8.3.00.0100.01021.62
8.2.180.0060.00916.38
8.2.170.0120.00922.96
8.2.160.0100.01020.53
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00020.95
8.2.120.0040.00426.35
8.2.110.0030.00621.18
8.2.100.0100.00717.84
8.2.90.0040.00419.23
8.2.80.0050.00317.97
8.2.70.0080.00017.63
8.2.60.0070.00417.90
8.2.50.0040.00418.09
8.2.40.0110.00020.24
8.2.30.0050.00219.48
8.2.20.0040.00417.62
8.2.10.0000.00718.11
8.2.00.0050.00318.16
8.1.280.0090.01225.92
8.1.270.0040.00424.01
8.1.260.0040.00428.09
8.1.250.0110.00728.09
8.1.240.0090.00022.14
8.1.230.0040.00719.00
8.1.220.0050.00317.79
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.23
8.1.180.0050.00318.10
8.1.170.0030.00618.59
8.1.160.0030.00420.69
8.1.150.0030.00319.01
8.1.140.0080.00019.61
8.1.130.0000.00717.57
8.1.120.0000.00717.43
8.1.110.0050.00317.31
8.1.100.0000.00717.46
8.1.90.0000.00717.42
8.1.80.0050.00317.35
8.1.70.0000.00717.45
8.1.60.0050.00317.63
8.1.50.0030.00517.53
8.1.40.0030.00617.56
8.1.30.0080.00017.59
8.1.20.0020.00517.64
8.1.10.0080.00017.54
8.1.00.0000.00717.48
8.0.300.0070.00018.77
8.0.290.0000.00816.63
8.0.280.0040.00418.51
8.0.270.0000.00717.18
8.0.260.0000.00617.25
8.0.250.0000.00716.96
8.0.240.0050.00216.96
8.0.230.0030.00316.82
8.0.220.0030.00316.87
8.0.210.0030.00316.81
8.0.200.0050.00516.99
8.0.190.0030.00516.84
8.0.180.0030.00516.93
8.0.170.0030.00716.90
8.0.160.0020.00516.77
8.0.150.0070.00016.90
8.0.140.0000.00716.91
8.0.130.0060.00013.30
8.0.120.0000.00816.91
8.0.110.0040.00416.87
8.0.100.0000.00816.72
8.0.90.0080.00016.75
8.0.80.0040.01716.91
8.0.70.0050.00316.86
8.0.60.0080.00016.84
8.0.50.0000.00716.95
8.0.30.0140.00317.05
8.0.20.0100.01117.40
8.0.10.0000.00817.03
8.0.00.0120.00716.77
7.4.330.0000.00516.83
7.4.320.0000.00616.49
7.4.300.0080.00016.46
7.4.290.0070.00016.37
7.4.280.0070.00016.49
7.4.270.0070.00016.42
7.4.260.0040.00416.51
7.4.250.0070.00016.47
7.4.240.0000.00716.40
7.4.230.0040.00416.47
7.4.220.0100.01416.61
7.4.210.0080.00816.54
7.4.200.0040.00316.55
7.4.160.0170.00016.42
7.4.150.0070.01117.40
7.4.140.0130.00717.86
7.4.130.0080.00816.42
7.4.120.0050.01316.42
7.4.110.0030.01316.56
7.4.100.0160.00916.54
7.4.90.0070.01016.29
7.4.80.0130.00819.39
7.4.70.0130.00316.37
7.4.60.0160.00316.40
7.4.50.0030.01016.61
7.4.40.0070.01416.62
7.4.30.0100.01016.25
7.4.00.0100.00714.80
7.3.330.0000.00612.96
7.3.320.0000.00613.04
7.3.310.0030.00316.13
7.3.300.0000.00716.23
7.3.290.0040.00416.17
7.3.280.0110.00716.17
7.3.270.0120.01217.40
7.3.260.0070.01016.25
7.3.250.0110.00816.26
7.3.240.0040.01216.37
7.3.230.0030.01316.39
7.3.210.0100.00616.39
7.3.200.0070.01019.39
7.3.190.0140.00916.46
7.3.180.0100.01316.32
7.3.170.0190.00316.27
7.3.160.0030.01316.35
7.2.330.0100.01016.40
7.2.320.0120.00616.60
7.2.310.0030.01916.73
7.2.300.0070.01016.55
7.2.290.0060.01116.38
7.2.60.0070.00716.46
7.2.00.0000.01219.05
7.1.200.0000.01115.67
7.1.100.0030.00917.88
7.1.70.0030.00717.14
7.1.60.0130.01019.40
7.1.50.0110.00716.70
7.1.00.0070.07322.38
7.0.200.0360.01014.73
7.0.60.0130.07321.72
7.0.50.0170.07017.86
7.0.40.0100.07020.11
7.0.30.0200.04720.25
7.0.20.0200.04720.12
7.0.10.0030.04320.29
7.0.00.0100.05320.08
5.6.280.0030.05321.07
5.6.210.0130.03320.60
5.6.200.0100.05018.19
5.6.190.0100.08320.33
5.6.180.0270.08020.58
5.6.170.0300.04320.54
5.6.160.0100.07720.43
5.6.150.0000.08718.25
5.6.140.0100.05018.23
5.6.130.0200.03718.14
5.6.120.0130.08021.07
5.6.110.0030.05720.86
5.6.100.0130.07321.00
5.6.90.0070.08020.97
5.6.80.0130.05720.38
5.5.350.0070.07320.46
5.5.340.0070.04718.07
5.5.330.0130.06720.25
5.5.320.0430.04720.37
5.5.310.0270.05020.39
5.5.300.0100.06317.95
5.5.290.0070.04317.96
5.5.280.0130.05320.84
5.5.270.0100.06720.79
5.5.260.0100.05720.95
5.5.250.0070.04020.57
5.5.240.0230.06320.14

preferences:
45.61 ms | 401 KiB | 5 Q