3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a(array $a) { } try { a('s'); } catch (\Exception) {}

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.0070.01016.63
8.3.50.0170.00517.43
8.3.40.0100.00618.73
8.3.30.0070.01118.61
8.3.20.0000.01018.80
8.3.10.0070.01020.64
8.3.00.0040.00419.25
8.2.180.0120.00618.54
8.2.170.0040.01122.96
8.2.160.0090.00618.80
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0100.00319.76
8.2.110.0090.00022.31
8.2.100.0090.00018.83
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0000.01018.47
8.1.230.0060.00318.54
5.5.90.0130.06717.22
5.5.80.0030.07717.19
5.5.70.0100.04017.20
5.5.60.0070.07017.22
5.5.50.0030.08017.29
5.5.40.0030.04317.23
5.5.30.0070.03317.25
5.5.20.0130.06017.18
5.5.10.0030.07317.30
5.5.00.0000.04017.27
5.4.250.0070.07319.12
5.4.240.0200.06719.05
5.4.230.0130.06719.04
5.4.220.0100.03319.13
5.4.210.0130.07319.03
5.4.200.0070.07019.26
5.4.190.0030.06719.00
5.4.180.0100.03018.94
5.4.170.0030.03719.00
5.4.160.0030.04018.99
5.4.150.0000.04019.01
5.4.140.0070.04716.54
5.4.130.0000.05016.38
5.4.120.0070.06016.40
5.4.110.0070.04716.43
5.4.100.0070.04016.55
5.4.90.0070.06316.32
5.4.80.0030.04016.41
5.4.70.0070.04716.40
5.4.60.0070.07716.48
5.4.50.0100.06716.38
5.4.40.0030.03716.43
5.4.30.0070.05016.49
5.4.20.0030.04316.37
5.4.10.0130.06316.45
5.4.00.0070.03315.83
5.3.280.0030.04314.80
5.3.270.0000.06314.59
5.3.260.0000.04014.63
5.3.250.0130.02714.63
5.3.240.0030.03714.68
5.3.230.0030.08014.63
5.3.220.0070.06714.61
5.3.210.0070.03714.42
5.3.200.0000.04014.78
5.3.190.0130.04714.67
5.3.180.0030.03714.41
5.3.170.0170.06714.53
5.3.160.0170.05314.53
5.3.150.0030.04714.61
5.3.140.0100.08014.63
5.3.130.0000.04314.51
5.3.120.0100.07014.39
5.3.110.0000.06014.61
5.3.100.0130.06313.99
5.3.90.0030.05014.02
5.3.80.0030.04014.22
5.3.70.0070.05014.04
5.3.60.0030.05314.02
5.3.50.0130.06314.02
5.3.40.0000.04314.02
5.3.30.0030.07313.91
5.3.20.0000.03713.79
5.3.10.0000.03713.64
5.3.00.0030.03313.64

preferences:
43.86 ms | 400 KiB | 5 Q