3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ref = new ReflectionFunction('array_unique'); var_dump($ref->getParameters()); // outputs "1" in the PHP runtime $ref = new ReflectionFunction('array_search'); var_dump($ref->getParameters()); // always outputs "3"

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.0120.00916.38
8.3.50.0120.00921.85
8.3.40.0150.00018.50
8.3.30.0110.00418.71
8.3.20.0040.00420.21
8.3.10.0030.00523.48
8.3.00.0050.00319.26
8.2.180.0040.01118.43
8.2.170.0070.00722.96
8.2.160.0100.00320.36
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0090.00020.34
8.2.120.0040.00426.35
8.2.110.0060.00322.08
8.2.100.0040.00817.50
8.2.90.0090.00019.05
8.2.80.0100.00017.97
8.2.70.0030.00517.50
8.2.60.0040.00417.90
8.2.50.0050.00318.07
8.2.40.0060.00319.12
8.2.30.0000.00720.53
8.2.20.0070.00317.54
8.2.10.0050.00317.91
8.2.00.0040.00417.89
8.1.280.0070.01525.92
8.1.270.0030.00523.84
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0040.00422.46
8.1.230.0040.00817.42
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0030.00617.36
8.1.190.0070.00017.66
8.1.180.0090.00018.10
8.1.170.0040.00418.57
8.1.160.0040.00421.94
8.1.150.0000.00718.92
8.1.140.0060.00319.56
8.1.130.0040.00417.68
8.1.120.0040.00317.41
8.1.110.0050.00217.38
8.1.100.0000.00817.35
8.1.90.0070.00017.43
8.1.80.0000.00717.43
8.1.70.0000.00917.41
8.1.60.0070.00017.53
8.1.50.0000.00917.45
8.1.40.0000.00817.48
8.1.30.0000.00817.63
8.1.20.0030.00517.64
8.1.10.0000.00717.38
8.1.00.0000.00817.42
8.0.300.0050.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00718.31
8.0.270.0040.00417.19
8.0.260.0040.00417.25
8.0.250.0000.00816.83
8.0.240.0050.00316.86
8.0.230.0000.00716.78
8.0.220.0070.00016.83
8.0.210.0000.00716.69
8.0.200.0030.00316.90
8.0.190.0000.00716.95
8.0.180.0030.00516.87
8.0.170.0090.00016.89
8.0.160.0000.00716.79
8.0.150.0050.00316.75
8.0.140.0070.00016.79
8.0.130.0000.00613.35
8.0.120.0040.00416.68
8.0.110.0000.00716.85
8.0.100.0000.00816.86
8.0.90.0000.00716.70
8.0.80.0080.01516.88
8.0.70.0070.00016.80
8.0.60.0080.00016.62
8.0.50.0070.00016.72
8.0.30.0090.01216.94
8.0.20.0140.00717.40
8.0.10.0040.00416.84
8.0.00.0120.00616.74
7.4.330.0020.00216.83
7.4.320.0030.00316.54
7.4.300.0040.00416.54
7.4.290.0040.00416.43
7.4.280.0030.00616.52
7.4.270.0000.00816.46
7.4.260.0070.00016.44
7.4.250.0030.00316.43
7.4.240.0020.00516.50
7.4.230.0030.00316.54
7.4.220.0060.01216.61
7.4.210.0080.00616.42
7.4.200.0040.00416.34
7.4.160.0060.01016.43
7.4.150.0100.01317.40
7.4.140.0090.01117.86
7.4.130.0100.00716.34
7.4.120.0180.00616.43
7.4.110.0030.01316.49
7.4.100.0030.01616.53
7.4.90.0030.01316.34
7.4.80.0100.00719.39
7.4.70.0110.01116.52
7.4.60.0060.01216.47
7.4.50.0050.00516.36
7.4.40.0110.00516.55
7.4.30.0100.00716.21
7.4.00.0080.00815.06
7.3.330.0080.00313.06
7.3.320.0000.00512.98
7.3.310.0030.00316.00
7.3.300.0030.00316.12
7.3.290.0090.00616.13
7.3.280.0080.00816.19
7.3.270.0100.00717.40
7.3.260.0090.00916.00
7.3.250.0080.01116.27
7.3.240.0120.00516.10
7.3.230.0090.00916.39
7.3.210.0130.00416.39
7.3.200.0100.00716.46
7.3.190.0130.00316.45
7.3.180.0100.00716.18
7.3.170.0130.00316.27
7.3.160.0120.01016.21
7.2.330.0050.01416.59
7.2.320.0070.01016.53
7.2.310.0140.00316.60
7.2.300.0090.00916.60
7.2.290.0040.01416.48
7.2.60.0060.00916.82
7.2.00.0000.01319.31
7.1.200.0000.01115.66
7.1.100.0090.00617.70
7.1.70.0000.01016.68
7.1.60.0000.02419.36
7.1.50.0130.00316.80
7.1.00.0070.07322.27
7.0.200.0000.01016.66
7.0.60.0130.08020.02
7.0.50.0070.05317.89
7.0.40.0100.05320.20
7.0.30.0030.05320.04
7.0.20.0300.06720.21
7.0.10.0030.04719.99
7.0.00.0170.07720.17
5.6.280.0070.07021.02
5.6.210.0070.06320.70
5.6.200.0030.04718.15
5.6.190.0030.07720.67
5.6.180.0670.04320.35
5.6.170.0270.07720.52
5.6.160.0030.05020.33
5.6.150.0070.08018.16
5.6.140.0030.04318.22
5.6.130.0070.08718.11
5.6.120.0070.05021.00
5.6.110.0030.07721.02
5.6.100.0100.06720.98
5.6.90.0200.07721.02
5.6.80.0100.08020.40
5.5.350.0200.08020.41
5.5.340.0100.05017.98
5.5.330.0100.09320.23
5.5.320.0100.07720.21
5.5.310.0300.06720.21
5.5.300.0070.08318.01
5.5.290.0070.08018.01
5.5.280.0130.07720.89
5.5.270.0030.04320.64
5.5.260.0130.07020.67
5.5.250.0070.04020.49
5.5.240.0230.07020.23

preferences:
56.27 ms | 401 KiB | 5 Q