3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(bool $in) { return $in; } $inParam = (new ReflectionParameter('foo', 'in')); echo "Param: ", $inParam, PHP_EOL, "Type: ", $inParam->getType();

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.75
8.3.50.0070.00716.46
8.3.40.0120.00318.71
8.3.30.0040.01118.36
8.3.20.0040.00420.20
8.3.10.0060.00321.60
8.3.00.0030.00520.95
8.2.180.0030.01218.42
8.2.170.0090.00622.96
8.2.160.0070.00722.08
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0040.00422.11
8.2.120.0040.00426.35
8.2.110.0100.00022.24
8.2.100.0090.00317.67
8.2.90.0080.00019.05
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0030.00517.93
8.2.50.0000.00818.10
8.2.40.0040.00422.22
8.2.30.0040.00420.96
8.2.20.0000.00818.04
8.2.10.0040.00418.04
8.2.00.0040.00418.04
8.1.280.0070.00725.92
8.1.270.0040.00423.96
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00823.96
8.1.230.0000.01122.20
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00016.99
8.1.190.0080.00017.22
8.1.180.0000.00718.10
8.1.170.0050.00318.56
8.1.160.0030.00518.96
8.1.150.0040.00418.88
8.1.140.0040.00419.49
8.1.130.0040.00418.78
8.1.120.0000.00717.29
8.1.110.0040.00417.41
8.1.100.0040.00417.41
8.1.90.0020.00517.31
8.1.80.0070.00317.39
8.1.70.0070.00017.37
8.1.60.0050.00317.47
8.1.50.0070.00017.42
8.1.40.0000.00817.35
8.1.30.0050.00217.62
8.1.20.0030.00517.61
8.1.10.0030.00617.53
8.1.00.0000.00717.54
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0070.00017.30
8.0.260.0030.00316.75
8.0.250.0080.00016.96
8.0.240.0030.00316.93
8.0.230.0070.00016.90
8.0.220.0000.00716.83
8.0.210.0040.00416.76
8.0.200.0000.00816.90
8.0.190.0040.00416.78
8.0.180.0050.00216.86
8.0.170.0040.00416.87
8.0.160.0000.00716.82
8.0.150.0030.00316.76
8.0.140.0050.00316.83
8.0.130.0070.00013.23
8.0.120.0000.00816.66
8.0.110.0000.00716.89
8.0.100.0000.00716.88
8.0.90.0000.00816.77
8.0.80.0060.00916.76
8.0.70.0000.00716.88
8.0.60.0000.00716.71
8.0.50.0050.00216.79
8.0.30.0130.00916.90
8.0.20.0120.00617.40
8.0.10.0070.00016.89
8.0.00.0150.00316.80
7.4.330.0060.00015.55
7.4.320.0030.00316.54
7.4.300.0060.00016.52
7.4.290.0030.00316.36
7.4.280.0000.00816.48
7.4.270.0000.00816.45
7.4.260.0000.00816.40
7.4.250.0030.00316.46
7.4.240.0040.00416.41
7.4.230.0030.00316.60
7.4.220.0160.01016.63
7.4.210.0000.01616.38
7.4.200.0030.00316.41
7.4.160.0120.00816.50
7.4.150.0100.01017.40
7.4.140.0120.01017.86
7.4.130.0090.00916.36
7.4.120.0080.01316.51
7.4.110.0070.01116.34
7.4.100.0120.00616.41
7.4.90.0120.01116.68
7.4.80.0180.00319.39
7.4.70.0120.01016.29
7.4.60.0130.00316.42
7.4.50.0030.01216.75
7.4.40.0120.00916.39
7.4.30.0030.01816.43
7.4.00.0040.01115.01
7.3.330.0080.00013.23
7.3.320.0030.00313.24
7.3.310.0030.00316.23
7.3.300.0070.00016.12
7.3.290.0110.00916.17
7.3.280.0060.01116.24
7.3.270.0060.01117.40
7.3.260.0120.00716.31
7.3.250.0120.00516.35
7.3.240.0030.01516.43
7.3.230.0060.01416.22
7.3.210.0130.00816.61
7.3.200.0000.01616.26
7.3.190.0090.01216.32
7.3.180.0090.00616.57
7.3.170.0090.00616.28
7.3.160.0150.00616.60
7.2.330.0030.01416.41
7.2.320.0160.00916.32
7.2.310.0150.00316.42
7.2.300.0120.00416.41
7.2.290.0100.00716.53
7.2.60.0070.00816.80
7.2.00.0040.01119.32
7.1.200.0080.00515.56
7.1.100.0000.01017.96
7.1.70.0030.00716.90
7.1.60.0170.00735.09
7.1.50.0130.01034.63
7.1.40.0070.01734.23
7.1.30.0130.01034.36
7.1.20.0130.01034.47
7.1.10.0030.00716.51
7.1.00.0000.01016.51
7.0.200.0070.00316.71
7.0.190.0100.00016.75
7.0.180.0030.00716.10
7.0.170.0000.01016.07
7.0.160.0030.00716.02
7.0.150.0030.00716.05
7.0.140.0000.01016.41
7.0.130.0030.00716.59
7.0.120.0030.00716.32
7.0.110.0000.01016.34
7.0.100.0030.00716.28
7.0.90.0000.01015.99
7.0.80.0030.00716.54
7.0.70.0070.00316.42
7.0.60.0070.00315.95
7.0.50.0000.01016.14
7.0.40.0030.00716.37
7.0.30.0070.00316.43
7.0.20.0030.00716.29
7.0.10.0000.01016.39
7.0.00.0100.00016.26

preferences:
51 ms | 401 KiB | 5 Q