3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numberOfShards = 20; $route = '/ca/living/articles/839577/3-essential-software-buys-for-teens'; $site = 'sheknows.com'; $type = 301; $dest = 'http://somewhere.com'; $shard = floor(crc32($route) % $numberOfShards); $key = sprintf('redirects:%s:%s', $site, $shard); echo $key;

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.0150.00716.50
8.3.50.0090.00721.20
8.3.40.0120.00918.71
8.3.30.0120.00418.71
8.3.20.0030.01020.29
8.3.10.0080.00022.09
8.3.00.0070.00022.57
8.2.180.0070.00716.38
8.2.170.0040.01122.96
8.2.160.0100.00320.38
8.2.150.0050.00324.18
8.2.140.0090.00024.66
8.2.130.0110.00726.16
8.2.120.0070.00019.66
8.2.110.0090.00022.24
8.2.100.0130.00017.59
8.2.90.0030.00619.23
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0030.00518.04
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00718.05
8.2.20.0000.00817.71
8.2.10.0030.00617.69
8.2.00.0070.00017.79
8.1.280.0040.01125.92
8.1.270.0050.00520.27
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00622.06
8.1.230.0040.00719.19
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0110.00017.23
8.1.190.0030.00517.30
8.1.180.0000.00918.57
8.1.170.0040.00418.66
8.1.160.0030.00322.26
8.1.150.0040.00418.57
8.1.140.0000.00717.44
8.1.130.0040.00417.82
8.1.120.0070.00017.40
8.1.110.0000.00817.41
8.1.100.0040.00417.39
8.1.90.0070.00017.37
8.1.80.0000.00717.27
8.1.70.0030.00317.35
8.1.60.0060.00317.54
8.1.50.0000.00717.50
8.1.40.0040.00417.46
8.1.30.0040.00417.52
8.1.20.0000.00917.45
8.1.10.0000.00817.41
8.1.00.0000.00817.46
8.0.300.0070.00018.77
8.0.290.0030.00617.05
8.0.280.0080.00018.31
8.0.270.0030.00317.25
8.0.260.0060.00016.83
8.0.250.0060.00016.86
8.0.240.0030.00516.89
8.0.230.0070.00016.90
8.0.220.0000.00716.93
8.0.210.0070.00016.79
8.0.200.0000.00716.84
8.0.190.0040.00416.93
8.0.180.0000.00716.86
8.0.170.0000.00816.80
8.0.160.0030.00416.94
8.0.150.0030.00516.80
8.0.140.0040.00416.77
8.0.130.0050.00013.27
8.0.120.0060.00316.72
8.0.110.0070.00016.89
8.0.100.0050.00216.86
8.0.90.0040.00416.92
8.0.80.0110.00716.91
8.0.70.0000.00716.87
8.0.60.0000.00716.82
8.0.50.0050.00216.93
8.0.30.0080.01116.96
8.0.20.0140.00517.40
8.0.10.0040.00417.05
8.0.00.0040.01316.79
7.4.330.0000.00515.00
7.4.320.0030.00316.33
7.4.300.0030.00316.32
7.4.290.0030.00316.50
7.4.280.0030.00316.53
7.4.270.0000.00716.39
7.4.260.0030.00316.46
7.4.250.0030.00616.26
7.4.240.0000.00716.56
7.4.230.0000.00816.43
7.4.220.0070.01716.57
7.4.210.0080.00716.42
7.4.200.0000.00716.60
7.4.190.0040.00416.60
7.4.160.0130.00316.20
7.4.150.0120.01217.40
7.4.140.0150.00517.86
7.4.130.0100.01016.54
7.4.120.0030.01316.28
7.4.110.0110.00616.36
7.4.100.0100.00716.49
7.4.90.0110.00816.59
7.4.80.0080.00919.39
7.4.70.0060.01016.44
7.4.60.0100.00616.49
7.4.50.0000.00916.29
7.4.40.0060.01022.77
7.4.30.0110.00816.37
7.4.00.0080.00915.03
7.3.330.0050.00013.09
7.3.320.0000.00613.10
7.3.310.0040.00416.29
7.3.300.0070.00016.22
7.3.290.0100.00316.25
7.3.280.0100.00716.17
7.3.270.0100.00617.40
7.3.260.0110.00616.49
7.3.250.0100.01116.31
7.3.240.0120.00616.19
7.3.230.0080.01116.39
7.3.210.0100.00716.33
7.3.200.0150.00419.39
7.3.190.0180.00316.58
7.3.180.0130.00316.35
7.3.170.0080.01216.32
7.3.160.0060.01216.17
7.3.120.0080.00914.72
7.3.110.0090.00914.36
7.3.100.0090.00014.82
7.3.90.0040.01115.01
7.3.80.0060.00614.70
7.3.70.0100.00314.68
7.3.60.0070.00314.68
7.3.50.0090.00614.59
7.3.40.0080.00014.73
7.3.30.0000.01214.81
7.3.20.0040.01116.57
7.3.10.0040.01116.65
7.3.00.0070.01016.77
7.2.330.0120.00916.59
7.2.320.0070.01116.61
7.2.310.0090.01016.48
7.2.300.0060.00916.52
7.2.290.0130.00316.66
7.2.250.0040.01214.92
7.2.240.0040.01214.96
7.2.230.0070.00314.95
7.2.220.0100.00714.95
7.2.210.0070.00714.53
7.2.200.0090.00614.66
7.2.190.0070.00315.08
7.2.180.0070.00714.82
7.2.170.0080.00614.88
7.2.60.0190.00016.61
7.2.00.0030.00919.20
7.1.330.0000.01015.83
7.1.320.0000.01215.49
7.1.310.0140.00015.73
7.1.300.0070.00315.77
7.1.290.0030.01015.83
7.1.280.0000.00915.60
7.1.270.0080.00415.66
7.1.260.0130.00315.70
7.1.200.0060.00715.66
7.1.100.0000.01318.06
7.1.70.0050.00317.04
7.1.60.0130.00319.82
7.1.50.0130.01017.00
7.1.00.0000.03722.42
7.0.200.0030.00716.40
7.0.140.0030.07021.92
7.0.60.0100.07720.02
7.0.50.0030.04317.82
7.0.40.0100.07720.05
7.0.30.0270.05320.12
7.0.20.0200.07020.02
7.0.10.0030.09020.18
7.0.00.0030.06320.16
5.6.280.0070.07020.77
5.6.210.0170.07020.74
5.6.200.0000.04318.15
5.6.190.0070.08020.43
5.6.180.4330.02720.35
5.6.170.0300.07720.47
5.6.160.0170.03720.46
5.6.150.0070.03718.12
5.6.140.0100.07718.11
5.6.130.0030.04018.21
5.6.120.0030.04721.00
5.6.110.0130.07721.03
5.6.100.0200.07021.12
5.6.90.0130.06721.00
5.6.80.0000.07320.37
5.6.70.4330.04320.47
5.5.350.0070.06020.34
5.5.340.0100.04717.93
5.5.330.0130.07320.47
5.5.320.0100.04720.17
5.5.310.0270.07320.26
5.5.300.0030.04017.91
5.5.290.0070.05717.93
5.5.280.0000.04720.74
5.5.270.0130.08020.71
5.5.260.0030.07020.76
5.5.250.0070.06320.57
5.5.240.0100.07020.15
5.4.450.0630.05719.31
5.4.440.0830.05019.45
5.4.430.0800.07019.44
5.4.420.0170.05719.51
5.4.410.0130.05019.00
5.4.400.0830.06019.00
5.4.390.0700.05719.25
5.4.380.0130.06018.59
5.4.370.0370.03318.70
5.4.360.0400.03718.55
5.4.350.0080.04011.97
5.4.340.0080.03711.96
5.4.320.0070.03612.45
5.4.310.0050.03912.45
5.4.300.0070.04512.45
5.4.290.0090.03912.45
5.4.280.0040.03912.34
5.4.270.0060.04412.35
5.4.260.0080.03812.35
5.4.250.0070.06318.65
5.4.240.0130.07318.87
5.4.230.0130.04718.70
5.4.220.0130.04718.90
5.4.210.0170.06718.78
5.4.200.0070.05318.93
5.4.190.0130.07018.72
5.4.180.0100.06718.93
5.4.170.0170.06718.89
5.4.160.0100.06718.76
5.4.150.0170.06018.98
5.4.140.0170.04016.46
5.4.130.0070.04716.48
5.4.120.0100.07016.23
5.4.110.0030.06716.48
5.4.100.0030.05016.41
5.4.90.0030.05716.49
5.4.80.0070.05016.18
5.4.70.0130.04316.47
5.4.60.0000.06316.21
5.4.50.0030.05016.42
5.4.40.0030.05316.37
5.4.30.0170.06016.17
5.4.20.0100.04316.44
5.4.10.0070.05316.31
5.4.00.0170.03715.97
5.3.290.0040.05012.80
5.3.280.0030.05714.51
5.3.270.0230.06314.61
5.3.260.0070.06714.48
5.3.250.0170.06314.49
5.3.240.0030.06314.61
5.3.230.0130.05714.62
5.3.220.0070.07714.45
5.3.210.0070.07014.48
5.3.200.0200.06014.72
5.3.190.0070.05314.42
5.3.180.0100.05014.58
5.3.170.0100.07314.65
5.3.160.0100.05014.26
5.3.150.0030.05314.57
5.3.140.0130.06314.43
5.3.130.0030.06014.55
5.3.120.0100.05314.55
5.3.110.0030.08314.56
5.3.100.0000.06014.08
5.3.90.0100.04713.71
5.3.80.0170.05714.16
5.3.70.0070.05314.03
5.3.60.0170.04314.02
5.3.50.0030.07313.80
5.3.40.0070.04713.83
5.3.30.0100.05013.77
5.3.20.0100.04713.71
5.3.10.0070.05313.35
5.3.00.0170.04713.41
5.2.170.0100.05311.15
5.2.160.0070.04011.05
5.2.150.0070.04311.05
5.2.140.0070.06011.14
5.2.130.0100.05310.98
5.2.120.0030.06011.01
5.2.110.0030.05011.00
5.2.100.0100.03711.10
5.2.90.0030.04710.86
5.2.80.0170.05011.00
5.2.70.0070.04010.99
5.2.60.0100.03711.16
5.2.50.0070.04711.12
5.2.40.0070.03711.00
5.2.30.0070.03710.87
5.2.20.0030.04010.96
5.2.10.0130.03311.04
5.2.00.0030.06010.70
5.1.60.0100.03010.22
5.1.50.0070.0339.99
5.1.40.0100.04010.21
5.1.30.0070.05010.48
5.1.20.0070.03710.17
5.1.10.0130.03010.13
5.1.00.0130.03710.11
5.0.50.0030.0308.53
5.0.40.0070.0208.49
5.0.30.0030.0408.13
5.0.20.0070.0238.34
5.0.10.0070.0278.25
5.0.00.0070.0408.22
4.4.90.0000.0276.84
4.4.80.0030.0206.84
4.4.70.0030.0206.84
4.4.60.0000.0236.84
4.4.50.0000.0236.84
4.4.40.0000.0406.84
4.4.30.0070.0236.84
4.4.20.0000.0306.84
4.4.10.0000.0236.84
4.4.00.0000.0336.84
4.3.110.0000.0236.84
4.3.100.0030.0276.84
4.3.90.0030.0236.84
4.3.80.0100.0336.84
4.3.70.0000.0236.84
4.3.60.0030.0206.83
4.3.50.0030.0206.83
4.3.40.0030.0306.83
4.3.30.0000.0236.83
4.3.20.0000.0236.83
4.3.10.0000.0236.83
4.3.00.0130.0207.22

preferences:
41.64 ms | 401 KiB | 5 Q