3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C {} function foo(C $c, $x) { } $reflFunction = new ReflectionFunction('foo'); var_export($reflFunction->getParameters()[0]->getClass());

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.36
8.3.50.0110.00316.27
8.3.40.0090.00618.64
8.3.30.0110.00418.71
8.3.20.0040.00420.20
8.3.10.0040.00421.85
8.3.00.0080.00020.79
8.2.180.0070.00718.51
8.2.170.0070.00722.96
8.2.160.0100.00322.18
8.2.150.0090.00024.18
8.2.140.0000.00924.66
8.2.130.0080.00022.27
8.2.120.0000.00726.35
8.2.110.0060.00320.45
8.2.100.0050.00517.97
8.2.90.0000.00919.22
8.2.80.0040.00417.97
8.2.70.0080.00017.75
8.2.60.0080.00018.03
8.2.50.0080.00018.10
8.2.40.0000.00922.27
8.2.30.0080.00021.04
8.2.20.0040.00418.04
8.2.10.0040.00417.96
8.2.00.0040.00417.94
8.1.280.0070.00725.92
8.1.270.0070.00023.84
8.1.260.0040.00426.35
8.1.250.0030.00328.09
8.1.240.0060.00322.53
8.1.230.0050.00519.02
8.1.220.0080.00017.79
8.1.210.0080.00018.77
8.1.200.0080.00317.25
8.1.190.0050.00317.35
8.1.180.0060.00318.10
8.1.170.0060.00318.62
8.1.160.0040.00419.05
8.1.150.0000.00718.82
8.1.140.0060.00319.42
8.1.130.0000.00718.82
8.1.120.0040.00417.43
8.1.110.0070.00017.28
8.1.100.0030.00517.38
8.1.90.0070.00017.44
8.1.80.0060.00317.28
8.1.70.0000.00817.28
8.1.60.0050.00217.42
8.1.50.0040.00417.43
8.1.40.0040.00417.41
8.1.30.0000.00717.50
8.1.20.0050.00217.59
8.1.10.0080.00017.37
8.1.00.0040.00417.43
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.28
8.0.270.0000.00717.24
8.0.260.0000.00716.81
8.0.250.0070.00016.93
8.0.240.0000.00816.75
8.0.230.0040.00417.02
8.0.220.0000.00716.85
8.0.210.0030.00316.79
8.0.200.0040.00416.85
8.0.190.0040.00416.93
8.0.180.0000.00816.80
8.0.170.0040.00416.91
8.0.160.0030.00316.79
8.0.150.0040.00416.70
8.0.140.0040.00416.86
8.0.130.0050.00213.32
8.0.120.0030.00316.74
8.0.110.0030.00316.89
8.0.100.0040.00416.91
8.0.90.0000.00716.71
8.0.80.0090.00616.77
8.0.70.0040.00416.85
8.0.60.0000.00716.90
8.0.50.0000.00716.70
8.0.30.0120.00816.98
8.0.20.0090.01017.40
8.0.10.0000.00716.86
8.0.00.0070.01416.54
7.4.330.0000.00515.55
7.4.320.0060.00016.51
7.4.300.0030.00316.53
7.4.290.0000.00716.30
7.4.280.0000.00716.41
7.4.270.0070.00016.52
7.4.260.0030.00516.41
7.4.250.0030.00316.36
7.4.240.0070.00016.50
7.4.230.0000.00816.36
7.4.220.0120.01216.47
7.4.210.0080.00616.48
7.4.200.0030.00316.50
7.4.160.0110.00616.31
7.4.150.0070.01117.40
7.4.140.0160.00717.86
7.4.130.0120.01216.40
7.4.120.0120.00716.39
7.4.110.0110.00616.50
7.4.100.0090.00916.57
7.4.90.0140.00416.28
7.4.80.0070.01119.39
7.4.70.0080.00816.51
7.4.60.0150.00716.42
7.4.50.0140.00016.28
7.4.40.0130.00916.21
7.4.30.0030.01616.37
7.4.00.0070.01014.83
7.3.330.0030.00313.20
7.3.320.0030.00313.10
7.3.310.0000.00716.26
7.3.300.0040.00416.15
7.3.290.0030.00316.11
7.3.280.0090.00716.22
7.3.270.0140.00317.40
7.3.260.0080.00916.29
7.3.250.0100.00716.25
7.3.240.0110.00616.39
7.3.230.0060.01516.17
7.3.210.0170.00316.27
7.3.200.0070.00716.18
7.3.190.0040.01216.34
7.3.180.0090.00616.37
7.3.170.0030.01316.59
7.3.160.0040.01116.43
7.2.330.0100.00716.65
7.2.320.0090.00916.25
7.2.310.0170.00016.38
7.2.300.0060.01016.36
7.2.290.0070.01016.73
7.2.60.0060.00916.79
7.2.00.0000.00819.23
7.1.200.0030.01015.41
7.1.100.0000.01118.30
7.1.70.0000.01117.25
7.1.60.0770.00733.23
7.1.50.1000.00332.85
7.1.40.0130.01332.66
7.1.30.0200.00732.56
7.1.20.0170.01032.63
7.1.10.0670.00314.80
7.1.00.0770.01314.72
7.0.200.0570.00314.56
7.0.190.0770.01014.70
7.0.180.0030.00714.19
7.0.170.0030.01014.23
7.0.160.0570.01014.52
7.0.150.0600.00714.18
7.0.140.0600.01014.27
7.0.130.0900.01014.57
7.0.120.0830.01314.30
7.0.110.0530.01314.63
7.0.100.0570.00714.53
7.0.90.0830.01014.61
7.0.80.0500.01314.36
7.0.70.0530.01014.29
7.0.60.0570.00714.25
7.0.50.0570.00314.32
7.0.40.0570.00714.59
7.0.30.0600.00714.47
7.0.20.0570.01014.43
7.0.10.0630.00714.38
7.0.00.0600.00714.70

preferences:
39.21 ms | 400 KiB | 5 Q