3v4l.org

run code in 300+ PHP versions simultaneously
<?php function someFunction(int $param, $param2) {} $reflectionFunc = new ReflectionFunction('someFunction'); $reflectionParams = $reflectionFunc->getParameters(); $reflectionType1 = $reflectionParams[0]->getType(); var_dump((string) $reflectionType1, $reflectionType1->isBuiltin());

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.40.0040.01118.87
8.3.30.0000.01518.62
8.3.20.0070.00720.21
8.3.10.0040.00421.73
8.3.00.0060.00323.53
8.2.170.0040.01122.96
8.2.160.0100.00320.24
8.2.150.0080.00024.18
8.2.140.0000.00724.66
8.2.130.0050.00320.66
8.2.120.0040.00426.35
8.2.110.0060.00321.04
8.2.100.0000.01117.93
8.2.90.0000.00719.04
8.2.80.0050.00317.97
8.2.70.0030.00717.63
8.2.60.0050.00318.03
8.2.50.0060.00618.09
8.2.40.0000.00820.67
8.2.30.0000.00819.36
8.2.20.0000.00717.72
8.2.10.0020.00518.12
8.2.00.0030.00617.93
8.1.270.0070.00022.14
8.1.260.0070.00028.09
8.1.250.0050.00228.09
8.1.240.0050.00522.47
8.1.230.0060.00617.83
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.35
8.1.190.0050.00317.13
8.1.180.0000.00818.10
8.1.170.0040.00418.38
8.1.160.0000.00820.70
8.1.150.0060.00320.55
8.1.140.0080.00019.57
8.1.130.0000.00717.68
8.1.120.0030.00317.30
8.1.110.0040.00417.38
8.1.100.0040.00417.30
8.1.90.0040.00417.41
8.1.80.0060.00517.41
8.1.70.0030.00317.45
8.1.60.0040.00417.47
8.1.50.0000.00817.51
8.1.40.0050.00517.55
8.1.30.0040.00417.52
8.1.20.0030.00517.57
8.1.10.0000.00717.55
8.1.00.0040.00417.46
8.0.300.0080.00018.77
8.0.290.0000.00816.63
8.0.280.0070.00018.43
8.0.270.0000.00717.20
8.0.260.0030.00317.21
8.0.250.0000.00716.95
8.0.240.0030.00516.86
8.0.230.0000.00716.83
8.0.220.0000.00716.80
8.0.210.0050.00216.83
8.0.200.0000.00816.83
8.0.190.0110.00016.90
8.0.180.0000.00716.90
8.0.170.0030.00516.86
8.0.160.0020.00516.69
8.0.150.0000.00816.84
8.0.140.0040.00416.75
8.0.130.0070.00013.30
8.0.120.0000.00816.81
8.0.110.0000.00716.75
8.0.100.0000.00716.68
8.0.90.0040.00416.82
8.0.80.0150.00016.86
8.0.70.0000.00716.75
8.0.60.0040.00416.90
8.0.50.0000.00916.61
8.0.30.0090.00816.95
8.0.20.0080.01117.40
8.0.10.0040.00417.00
8.0.00.0110.00916.71
7.4.330.0050.00016.71
7.4.320.0060.00016.43
7.4.300.0040.00416.44
7.4.290.0030.00316.59
7.4.280.0050.00316.37
7.4.270.0040.00416.59
7.4.260.0000.00716.56
7.4.250.0070.00016.43
7.4.240.0070.00016.52
7.4.230.0000.00716.70
7.4.220.0090.00916.58
7.4.210.0070.00916.56
7.4.200.0000.00716.50
7.4.160.0130.00316.37
7.4.150.0110.00717.40
7.4.140.0100.00817.86
7.4.130.0070.01616.48
7.4.120.0110.00916.52
7.4.110.0060.01316.49
7.4.100.0070.01016.48
7.4.90.0090.00916.50
7.4.80.0130.00319.39
7.4.70.0210.00316.50
7.4.60.0090.01516.68
7.4.50.0110.00716.37
7.4.40.0180.00916.32
7.4.30.0160.00616.40
7.4.00.0100.00714.63
7.3.330.0030.00313.30
7.3.320.0000.00513.30
7.3.310.0030.00316.30
7.3.300.0030.00316.36
7.3.290.0070.00016.32
7.3.280.0100.00716.25
7.3.270.0100.00717.40
7.3.260.0200.00316.42
7.3.250.0110.01116.36
7.3.240.0050.01216.51
7.3.230.0130.00716.52
7.3.210.0110.01116.33
7.3.200.0080.01319.39
7.3.190.0080.00816.38
7.3.180.0110.01116.29
7.3.170.0090.01216.57
7.3.160.0060.00916.36
7.3.120.0070.01014.68
7.3.110.0090.00814.74
7.3.100.0020.00614.73
7.3.90.0040.00914.63
7.3.80.0030.01214.61
7.3.70.0030.01114.81
7.3.60.0060.00614.79
7.3.50.0060.00814.73
7.3.40.0030.01014.69
7.3.30.0040.00714.76
7.3.20.0090.00316.52
7.3.10.0070.00916.48
7.3.00.0130.00916.36
7.2.330.0070.01116.54
7.2.320.0070.01016.74
7.2.310.0060.01316.55
7.2.300.0090.00916.59
7.2.290.0040.01416.64
7.2.240.0050.01114.86
7.2.230.0090.00515.01
7.2.220.0060.00815.08
7.2.210.0090.00514.92
7.2.200.0020.01414.95
7.2.190.0040.00914.81
7.2.180.0050.00714.99
7.2.170.0070.00914.87
7.2.160.0070.00814.79
7.2.150.0070.00616.72
7.2.140.0040.01116.69
7.2.130.0080.01116.71
7.2.120.0090.00716.76
7.2.110.0060.01116.72
7.2.100.0120.00916.65
7.2.90.0110.00716.63
7.2.80.0130.01116.73
7.2.70.0090.01016.96
7.2.60.0060.00816.78
7.2.50.0150.00416.81
7.2.40.0130.00816.68
7.2.30.0140.00616.63
7.2.20.0110.00716.69
7.2.10.0190.00716.52
7.2.00.0090.01017.47
7.1.330.0080.00615.67
7.1.320.0110.00315.53
7.1.310.0040.00715.79
7.1.300.0080.00915.69
7.1.290.0020.01115.84
7.1.280.0060.00815.65
7.1.270.0050.00915.78
7.1.260.0080.00715.72
7.1.250.0100.00715.73
7.1.200.0100.00015.80
7.1.100.0080.00317.98
7.1.70.0030.01016.95
7.1.60.0210.00419.40
7.1.50.0110.00016.99
7.1.00.0100.07022.44
7.0.200.0420.00314.64
7.0.60.0400.07019.98
7.0.50.0100.07717.86
7.0.40.0030.08020.02
7.0.30.0170.04020.24
7.0.20.0230.08320.05
7.0.10.0070.09320.10
7.0.00.0070.04020.10
5.6.280.0000.04320.82
5.6.210.0170.07320.53
5.6.200.0070.08318.13
5.6.190.0070.04320.68
5.6.180.0200.05020.41
5.6.170.0270.05020.55
5.6.160.0030.08320.76
5.6.150.0070.05018.15
5.6.140.0130.04018.20
5.6.130.0070.03718.16
5.6.120.0030.04020.98
5.6.110.0100.03321.14
5.6.100.0030.07321.14
5.6.90.0200.07020.96
5.6.80.0070.06720.51
5.5.350.0130.04020.39
5.5.340.0070.07017.99
5.5.330.0100.08720.32
5.5.320.0430.04720.35
5.5.310.0300.07720.27
5.5.300.0030.04718.04
5.5.290.0100.05018.08
5.5.280.0070.08720.75
5.5.270.0030.05020.79
5.5.260.0100.07720.74
5.5.250.0030.08320.71
5.5.240.0130.06720.15

preferences:
42.19 ms | 400 KiB | 5 Q