3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET = array_map(function() { return openssl_random_pseudo_bytes(4); }, range(0, 500)); $before = microtime(1); array_walk_recursive($_GET, function($item) { return stripslashes($item); }); echo microtime(1) - $before;

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)
7.2.00.0000.01519.64
7.1.70.0030.00617.25
7.1.60.0100.01419.29
7.1.50.0110.01816.98
7.1.00.0030.06722.46
7.0.200.0030.00616.81
7.0.140.0030.07722.00
7.0.60.0030.08719.80
7.0.50.0070.08018.00
7.0.40.0230.06320.36
7.0.30.0270.04020.07
7.0.20.0300.05720.25
7.0.10.0000.05020.05
7.0.00.0030.04320.09
5.6.280.0070.06720.96
5.6.210.0030.09020.84
5.6.200.0070.07318.28
5.6.190.0100.05320.83
5.6.180.0270.04320.64
5.6.170.0270.04320.39
5.6.160.0030.09320.57
5.6.150.0170.05718.27
5.6.140.0070.08318.40
5.6.130.0070.08318.27
5.6.120.0100.07021.16
5.6.110.0100.06721.17
5.6.100.0030.06321.03
5.6.90.0170.03321.01
5.6.80.0030.04020.47
5.6.70.4530.03720.57
5.5.350.0170.04020.36
5.5.340.0100.03318.04
5.5.330.0070.07020.47
5.5.320.0030.08020.22
5.5.310.0300.07720.24
5.5.300.0000.05317.94
5.5.290.0000.04718.02
5.5.280.0070.08320.94
5.5.270.0100.07720.89
5.5.260.0070.07320.91
5.5.250.0130.07020.72
5.5.240.0370.06320.25
5.4.450.0030.06319.71
5.4.440.0430.05719.68
5.4.430.0700.06719.24
5.4.420.0670.00019.57
5.4.410.0200.04719.08
5.4.400.0130.07018.68
5.4.390.0230.07018.98
5.4.380.0230.05718.74
5.4.370.0170.04718.71
5.4.360.0130.04719.04
5.4.350.0070.03612.09
5.4.340.0070.04212.09
5.4.320.0050.03712.57
5.4.310.0060.03912.57
5.4.300.0100.03912.57
5.4.290.0050.03812.57
5.4.280.0050.04012.47
5.4.270.0070.03912.47
5.4.260.0060.03812.46
5.4.250.0040.04012.46
5.4.240.0090.03912.47
5.4.230.0090.03912.46
5.4.220.0150.05112.44
5.4.210.0160.04512.43
5.4.200.0150.05312.43
5.4.190.0190.04312.43
5.4.180.0160.04712.43
5.4.170.0130.05212.45
5.4.160.0280.10212.44
5.4.150.0160.04812.43
5.4.140.0160.04612.12
5.4.130.0220.04612.10
5.4.120.0300.06612.06
5.4.110.0240.04012.06
5.4.100.0260.05112.06
5.4.90.0160.05112.06
5.4.80.0150.05012.06
5.4.70.0500.07812.05
5.4.60.0240.05012.05
5.4.50.0160.05212.05
5.4.40.0220.04612.04
5.4.30.0250.04512.03
5.4.20.0160.05112.04
5.4.10.0230.04112.04
5.4.00.0330.09111.53
5.3.290.0090.04412.82
5.3.280.0070.03912.75
5.3.270.0210.04712.73
5.3.260.0140.05212.74
5.3.250.0210.04112.73
5.3.240.0250.05112.74
5.3.230.0190.05212.73
5.3.220.0200.04912.70
5.3.210.0200.05512.70
5.3.200.0240.05012.70
5.3.190.0190.05512.70
5.3.180.0230.05612.69
5.3.170.0230.04212.70
5.3.160.0230.04612.69
5.3.150.0180.05212.70
5.3.140.0260.04812.68
5.3.130.0250.04112.68
5.3.120.0220.05112.68
5.3.110.0240.04712.68
5.3.100.0150.05912.17
5.3.90.0270.04812.15
5.3.80.0210.05212.13
5.3.70.0200.05012.13
5.3.60.0260.04412.11
5.3.50.0380.05112.07
5.3.40.0220.05112.06
5.3.30.0120.05612.03
5.3.20.0220.04411.80
5.3.10.0150.04711.78
5.3.00.0160.04311.75
5.2.170.0140.0379.16
5.2.160.0100.0429.16
5.2.150.0190.0339.16
5.2.140.0160.0459.16
5.2.130.0170.0369.12
5.2.120.0150.0399.12
5.2.110.0140.0419.13
5.2.100.0200.0389.12
5.2.90.0140.0389.11
5.2.80.0160.0359.11
5.2.70.0170.0369.11
5.2.60.0130.0369.07
5.2.50.0190.0309.04
5.2.40.0150.0359.01
5.2.30.0150.0358.98
5.2.20.0160.0368.98
5.2.10.0150.0348.90
5.2.00.0140.0338.75
5.1.60.0100.0328.05
5.1.50.0100.0338.04
5.1.40.0140.0278.03
5.1.30.0190.0378.38
5.1.20.0130.0388.41
5.1.10.0140.0398.12
5.1.00.0180.0328.12
5.0.50.0110.0276.60
5.0.40.0130.0226.45
5.0.30.0140.0336.27
5.0.20.0140.0216.25
5.0.10.0080.0266.22
5.0.00.0120.0366.21
4.4.90.0090.0204.78
4.4.80.0100.0174.75
4.4.70.0060.0204.76
4.4.60.0050.0214.75
4.4.50.0080.0214.77
4.4.40.0100.0274.71
4.4.30.0070.0214.76
4.4.20.0110.0194.85
4.4.10.0060.0234.85
4.4.00.0080.0354.76
4.3.110.0120.0204.67
4.3.100.0140.0174.66
4.3.90.0090.0214.64
4.3.80.0100.0294.58
4.3.70.0080.0174.63
4.3.60.0080.0184.63
4.3.50.0090.0184.63
4.3.40.0080.0294.54
4.3.30.0060.0203.29
4.3.20.0050.0213.27
4.3.10.0050.0223.23
4.3.00.0070.0335.63

preferences:
44.16 ms | 400 KiB | 5 Q