3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'call_user_func_array'; echo ${test}('strtoupper', ('test'));

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.0030.01416.63
8.3.50.0120.00721.88
8.3.40.0140.00318.79
8.3.30.0120.00318.51
8.3.20.0060.00320.13
8.3.10.0050.00321.82
8.3.00.0000.00919.38
8.2.180.0070.00718.54
8.2.170.0140.00022.96
8.2.160.0030.01020.53
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0060.00317.75
8.2.120.0050.00326.35
8.2.110.0070.00322.12
8.2.100.0120.00017.91
8.2.90.0030.00619.26
8.2.80.0030.00617.97
8.2.70.0030.00517.74
8.2.60.0050.00317.80
8.2.50.0000.00818.07
8.2.40.0000.00819.27
8.2.30.0000.00820.55
8.2.20.0030.00617.65
8.2.10.0030.00518.11
8.2.00.0000.00918.11
8.1.280.0030.01725.92
8.1.270.0030.00623.97
8.1.260.0140.00028.09
8.1.250.0040.00428.09
8.1.240.0080.00023.98
8.1.230.0090.00319.10
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0000.01017.35
8.1.190.0000.00917.35
8.1.180.0090.00018.10
8.1.170.0000.01018.63
8.1.160.0000.00722.01
8.1.150.0000.00718.93
8.1.140.0040.00419.49
8.1.130.0040.00417.61
8.1.120.0000.00717.37
8.1.110.0000.00717.44
8.1.100.0000.00717.35
8.1.90.0050.00317.33
8.1.80.0040.00417.39
8.1.70.0040.00417.46
8.1.60.0000.00817.53
8.1.50.0040.00417.55
8.1.40.0000.00817.44
8.1.30.0060.00317.70
8.1.20.0070.00017.55
8.1.10.0000.00917.62
8.1.00.0080.00417.48
8.0.300.0040.00419.73
8.0.290.0030.00716.75
8.0.280.0040.00418.37
8.0.270.0030.00317.32
8.0.260.0040.00417.25
8.0.250.0000.00816.95
8.0.240.0070.00017.09
8.0.230.0000.00716.89
8.0.220.0040.00416.89
8.0.210.0030.00316.94
8.0.200.0030.00316.90
8.0.190.0000.00716.99
8.0.180.0050.00316.86
8.0.170.0000.00816.88
8.0.160.0080.00017.04
8.0.150.0030.00716.91
8.0.140.0040.00316.80
8.0.130.0030.00313.42
8.0.120.0040.00416.95
8.0.110.0050.00316.88
8.0.100.0000.00716.84
8.0.90.0040.00416.87
8.0.80.0120.00916.98
8.0.70.0030.00317.02
8.0.60.0000.00817.06
8.0.50.0040.00416.82
8.0.30.0120.00817.09
8.0.20.0160.00417.40
8.0.10.0050.00317.11
8.0.00.0080.00916.84
7.4.330.0020.00216.79
7.4.320.0000.00616.49
7.4.300.0000.00616.64
7.4.290.0030.00316.50
7.4.280.0030.00616.47
7.4.270.0060.00016.48
7.4.260.0000.00716.57
7.4.250.0070.00016.45
7.4.240.0020.00516.54
7.4.230.0000.00716.52
7.4.220.0090.00916.44
7.4.210.0060.00916.61
7.4.200.0000.00816.59
7.4.160.0000.01616.48
7.4.150.0070.01017.40
7.4.140.0100.01017.86
7.4.130.0130.01116.50
7.4.120.0090.01016.63
7.4.110.0060.01916.59
7.4.100.0110.01116.44
7.4.90.0080.00816.48
7.4.80.0050.01019.39
7.4.70.0120.00616.58
7.4.60.0060.01016.42
7.4.50.0070.00516.48
7.4.40.0060.00916.46
7.4.30.0080.00816.58
7.4.00.0110.00414.93
7.3.330.0000.00713.16
7.3.320.0070.00013.24
7.3.310.0000.00716.13
7.3.300.0000.00716.30
7.3.290.0090.00816.18
7.3.280.0070.00916.20
7.3.270.0070.01117.40
7.3.260.0100.00716.53
7.3.250.0100.00716.28
7.3.240.0100.01016.24
7.3.230.0100.00716.39
7.3.210.0120.00916.23
7.3.200.0100.01016.23
7.3.190.0100.00716.16
7.3.180.0090.00616.21
7.3.170.0080.00816.30
7.3.160.0090.01216.36
7.2.330.0120.01216.52
7.2.320.0150.01516.42
7.2.310.0120.00616.69
7.2.300.0070.01016.72
7.2.290.0150.00316.73
7.2.60.0060.00916.59
7.2.00.0000.01219.05
7.1.200.0070.00015.87
7.1.100.0520.00715.60
7.1.70.0040.00816.68
7.1.60.0060.00919.36
7.1.50.0100.01316.88
7.1.00.0100.07022.34
7.0.200.0000.00816.76
7.0.60.0070.05319.85
7.0.50.0070.06317.80
7.0.40.0070.05019.90
7.0.30.0230.04320.17
7.0.20.0130.04720.17
7.0.10.0070.09020.30
7.0.00.0070.06020.08
5.6.280.0030.05021.02
5.6.210.0070.07320.56
5.6.200.0030.04018.22
5.6.190.0200.07320.43
5.6.180.0300.08320.41
5.6.170.0230.07720.45
5.6.160.0070.08320.37
5.6.150.0100.07718.17
5.6.140.0100.05018.07
5.6.130.0070.04018.15
5.6.120.0070.08320.96
5.6.110.0030.04021.01
5.6.100.0000.06320.98
5.6.90.0130.04720.98
5.6.80.0070.07720.37
5.5.350.0130.08020.29
5.5.340.0030.08317.98
5.5.330.0170.07020.57
5.5.320.0070.04720.13
5.5.310.0230.04320.27
5.5.300.0030.04017.95
5.5.290.0200.06318.01
5.5.280.0000.09320.84
5.5.270.0170.07320.79
5.5.260.0070.04020.67
5.5.250.0100.04320.68
5.5.240.0330.07020.02

preferences:
57.41 ms | 401 KiB | 5 Q