3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class X{} function f(asdada $x, X $two, ?X $three, @X four) {} $r = new ReflectionFunction('f'); foreach ($r->getParameters() as $p) { var_dump($p->getTypehintText(), $p->getTypeText()); echo "\n\n"; }

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.0130.00316.75
8.3.50.0050.01321.92
8.3.40.0100.00718.54
8.3.30.0110.00418.87
8.3.20.0070.00020.22
8.3.10.0050.00320.48
8.3.00.0040.00417.50
8.2.180.0130.00318.18
8.2.170.0110.00422.96
8.2.160.0130.00020.39
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0030.01026.16
8.2.120.0050.00319.54
8.2.110.0060.00319.21
8.2.100.0060.00617.41
8.2.90.0030.00619.70
8.2.80.0080.00017.50
8.2.70.0000.00817.38
8.2.60.0000.00717.93
8.2.50.0100.00018.07
8.2.40.0040.00419.75
8.2.30.0040.00417.95
8.2.20.0040.00417.56
8.2.10.0080.00017.79
8.2.00.0040.00417.45
8.1.280.0140.00725.92
8.1.270.0030.00620.61
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00322.36
8.1.230.0040.00721.00
8.1.220.0030.00617.74
8.1.210.0000.00818.86
8.1.200.0050.00517.10
8.1.190.0040.00417.10
8.1.180.0040.00422.18
8.1.170.0000.00818.76
8.1.160.0070.00018.74
8.1.150.0040.00418.81
8.1.140.0040.00417.30
8.1.130.0030.00317.65
8.1.120.0040.00417.22
8.1.110.0080.00017.36
8.1.100.0070.00017.20
8.1.90.0000.00817.36
8.1.80.0000.00817.33
8.1.70.0030.00317.31
8.1.60.0050.00317.38
8.1.50.0040.00417.22
8.1.40.0000.00817.38
8.1.30.0040.00417.51
8.1.20.0040.00417.45
8.1.10.0040.00417.23
8.1.00.0030.00517.39
8.0.300.0050.00319.98
8.0.290.0080.00016.58
8.0.280.0000.00718.44
8.0.270.0080.00017.27
8.0.260.0000.00617.22
8.0.250.0070.00016.68
8.0.240.0000.00716.73
8.0.230.0000.00716.75
8.0.220.0050.00216.79
8.0.210.0070.00016.73
8.0.200.0030.00316.80
8.0.190.0030.00316.83
8.0.180.0000.00716.75
8.0.170.0000.00716.84
8.0.160.0070.00016.77
8.0.150.0000.00716.76
8.0.140.0000.00716.63
8.0.130.0030.00613.42
8.0.120.0030.00516.60
8.0.110.0000.00716.69
8.0.100.0000.00716.81
8.0.90.0050.00316.64
8.0.80.0080.00816.63
8.0.70.0040.00416.62
8.0.60.0070.00016.80
8.0.50.0000.00716.52
8.0.30.0100.01316.89
8.0.20.0060.01217.40
8.0.10.0070.00016.70
8.0.00.0090.00916.53
7.4.330.0030.00315.10
7.4.320.0030.00316.41
7.4.300.0060.00016.43
7.4.290.0000.00716.43
7.4.280.0000.00816.33
7.4.270.0070.00016.45
7.4.260.0060.00316.35
7.4.250.0030.00516.32
7.4.240.0050.00216.38
7.4.230.0000.00716.55
7.4.220.0070.01116.53
7.4.210.0090.00616.30
7.4.200.0070.00016.25
7.4.160.0090.00616.39
7.4.150.0150.00417.40
7.4.140.0100.00717.86
7.4.130.0120.00616.38
7.4.120.0030.01316.49
7.4.110.0090.00916.25
7.4.100.0100.00616.23
7.4.90.0100.00716.45
7.4.80.0100.00719.39
7.4.70.0100.00716.55
7.4.60.0130.00316.37
7.4.50.0040.00416.34
7.4.40.0150.01216.53
7.4.30.0140.00316.57
7.3.330.0050.00013.13
7.3.320.0050.00013.15
7.3.310.0000.00716.16
7.3.300.0050.00216.11
7.3.290.0060.01016.11
7.3.280.0100.00516.15
7.3.270.0100.01317.40
7.3.260.0080.00816.57
7.3.240.0170.00016.38
7.3.230.0070.01316.39
7.3.210.0100.01016.43
7.3.200.0100.00719.39
7.3.190.0030.01416.31
7.3.180.0090.00616.43
7.3.170.0100.00616.43
7.3.160.0120.00616.22
7.2.330.0060.01116.54
7.2.320.0090.00916.60
7.2.310.0100.00716.56
7.2.300.0110.00716.26
7.2.290.0160.00716.43
5.4.350.0130.04019.07
5.4.340.0200.04019.01
5.4.320.0170.03719.15
5.4.310.0230.05718.98
5.4.300.0230.04719.15
5.4.290.0270.07319.22
5.4.280.0300.07319.21
5.4.270.0300.06319.24
5.4.260.0270.07318.85
5.4.250.0300.07318.98
5.4.240.0300.06718.94
5.4.230.0200.07719.00
5.4.220.0200.04718.87
5.4.210.0230.07719.21
5.4.200.0230.06018.96
5.4.190.0330.07019.21
5.4.180.0300.05319.18
5.4.170.0430.07018.98
5.4.160.0230.04718.85
5.4.150.0430.06718.83
5.4.140.0430.05016.29
5.4.130.0400.05716.35
5.4.120.0330.06016.38
5.4.110.0270.05316.55
5.4.100.0400.05716.41
5.4.90.0430.05016.56
5.4.80.0270.04316.53
5.4.70.0170.04016.57
5.4.60.0330.06316.23
5.4.50.0330.07016.46
5.4.40.0300.06716.45
5.4.30.0330.06716.37
5.4.20.0300.06716.43
5.4.10.0300.06016.55
5.4.00.0370.04716.11

preferences:
77.18 ms | 401 KiB | 5 Q