3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Rick { public static function catchphrase() { echo 'wubba lubba dub dub'; echo PHP_EOL; } public static function say(string ...$words) { echo implode('.. ',$words); } } Rick::say('wubba','lubba','dub','dub');

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.0140.00716.38
8.3.50.0130.00522.00
8.3.40.0110.00418.79
8.3.30.0130.00618.79
8.3.20.0060.00920.07
8.3.10.0000.00823.48
8.3.00.0040.00421.76
8.2.180.0170.00018.29
8.2.170.0110.00422.96
8.2.160.0030.01022.14
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00520.71
8.2.120.0070.00026.35
8.2.110.0060.00319.22
8.2.100.0090.00317.80
8.2.90.0000.00819.17
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0080.00017.91
8.2.50.0000.00818.09
8.2.40.0040.00422.33
8.2.30.0000.00819.41
8.2.20.0050.00317.60
8.2.10.0000.00817.84
8.2.00.0000.00717.80
8.1.280.0110.00425.92
8.1.270.0070.00722.18
8.1.260.0000.00928.09
8.1.250.0000.00728.09
8.1.240.0030.00622.22
8.1.230.0060.00617.64
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0080.00018.50
8.1.160.0040.00420.56
8.1.150.0000.00720.61
8.1.140.0040.00419.44
8.1.130.0000.00717.69
8.1.120.0030.00417.39
8.1.110.0040.00417.31
8.1.100.0080.00017.29
8.1.90.0040.00417.21
8.1.80.0040.00417.24
8.1.70.0030.00317.23
8.1.60.0000.00717.53
8.1.50.0000.00817.46
8.1.40.0040.00417.34
8.1.30.0090.00017.57
8.1.20.0070.00017.52
8.1.10.0000.00717.58
8.1.00.0050.00217.43
8.0.300.0090.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.41
8.0.270.0030.00317.25
8.0.260.0070.00017.26
8.0.250.0060.00316.96
8.0.240.0000.00716.92
8.0.230.0050.00216.91
8.0.220.0000.00716.81
8.0.210.0000.00816.79
8.0.200.0030.00316.88
8.0.190.0040.00416.93
8.0.180.0020.00516.88
8.0.170.0030.00516.85
8.0.160.0030.00316.82
8.0.150.0000.00716.82
8.0.140.0030.00316.80
8.0.130.0000.00613.34
8.0.120.0040.00416.82
8.0.110.0040.00416.88
8.0.100.0000.00716.82
8.0.90.0040.00416.64
8.0.80.0100.01316.71
8.0.70.0000.00716.80
8.0.60.0080.00016.86
8.0.50.0000.00716.87
8.0.30.0070.01117.06
8.0.20.0090.01017.40
8.0.10.0040.00416.96
8.0.00.0120.00716.68
7.4.330.0000.00616.67
7.4.320.0000.00716.51
7.4.300.0030.00316.52
7.4.290.0030.00316.46
7.4.280.0030.00616.53
7.4.270.0070.00016.62
7.4.260.0080.00416.45
7.4.250.0000.00716.37
7.4.240.0000.00716.47
7.4.230.0000.00716.43
7.4.220.0080.00916.63
7.4.210.0080.00916.59
7.4.200.0000.00716.35
7.4.160.0070.01016.41
7.4.150.0090.00917.40
7.4.140.0080.01217.86
7.4.130.0110.00616.48
7.4.120.0140.00416.52
7.4.110.0110.01116.48
7.4.100.0060.01116.50
7.4.90.0030.01416.54
7.4.80.0040.01219.39
7.4.70.0100.00716.50
7.4.60.0120.00316.53
7.4.50.0070.00716.48
7.4.40.0150.00716.20
7.4.30.0060.01616.51
7.4.00.0070.01014.77
7.3.330.0050.00313.23
7.3.320.0000.00513.30
7.3.310.0040.00416.22
7.3.300.0030.00316.20
7.3.290.0070.00016.24
7.3.280.0110.00716.25
7.3.270.0140.00317.40
7.3.260.0110.00616.43
7.3.250.0090.00916.37
7.3.240.0070.01016.29
7.3.230.0090.00916.48
7.3.210.0110.00716.36
7.3.200.0060.01219.39
7.3.190.0100.00716.32
7.3.180.0140.00316.54
7.3.170.0080.01216.27
7.3.160.0040.01216.41
7.2.330.0100.00716.26
7.2.320.0070.01116.38
7.2.310.0120.00416.55
7.2.300.0130.01016.51
7.2.290.0040.01716.41
7.2.110.1140.00016.13
7.2.60.0180.00816.61
7.2.00.0070.00719.06
7.1.200.0050.00515.48
7.1.100.0060.00618.11
7.1.70.0000.00716.95
7.1.60.0030.01819.40
7.1.50.0100.01016.80
7.1.00.0030.07322.43
7.0.200.0080.00016.49
7.0.60.0230.07021.73
7.0.50.0030.04017.94
7.0.40.0130.03720.11
7.0.30.0200.07020.07
7.0.20.0200.05720.24
7.0.10.0170.07020.02
7.0.00.0100.09020.06
5.6.280.0030.03020.84
5.6.210.0030.08320.61
5.6.200.0100.08018.29
5.6.190.0070.07720.50
5.6.180.0270.08020.48
5.6.170.0270.08020.54
5.6.160.0030.05320.48
5.6.150.0100.09018.29
5.6.140.0070.06718.12
5.6.130.0070.04018.19
5.6.120.0130.04721.15
5.6.110.0070.08021.03
5.6.100.0000.04321.05
5.6.90.0070.08321.01
5.6.80.0170.07720.38
5.5.350.0270.07320.47
5.5.340.0030.07317.98
5.5.330.0070.04320.27
5.5.320.0500.04020.34
5.5.310.0370.07020.19
5.5.300.0030.07317.98
5.5.290.0070.08718.07
5.5.280.0070.05720.87
5.5.270.0070.05320.96
5.5.260.0030.05020.84
5.5.250.0100.03320.65
5.5.240.0230.07720.28

preferences:
59.22 ms | 401 KiB | 5 Q