3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (get_magic_quotes_gpc()) {if (!function_exists("strips")) {function strips(&$arr,$k="") {if (is_array($arr)) {foreach($arr as $k=>$v) {if (strtoupper($k) != "GLOBALS") {strips($arr["$k"]);}}} else {$arr = stripslashes($arr);}}} strips($GLOBALS);}

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.70.0090.00918.18
8.3.60.0110.00716.50
8.3.50.0100.00720.96
8.3.40.0100.00718.87
8.3.30.0040.01420.08
8.3.20.0000.00720.21
8.3.10.0050.00522.09
8.3.00.0040.00422.64
8.2.180.0110.01116.63
8.2.170.0150.00022.96
8.2.160.0070.00720.38
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0110.00626.16
8.2.120.0040.00419.41
8.2.110.0070.00322.33
8.2.100.0070.00417.84
8.2.90.0040.00417.82
8.2.80.0080.00017.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00718.03
8.2.30.0000.00818.03
8.2.20.0030.00517.52
8.2.10.0040.00417.73
8.2.00.0030.00617.55
8.1.280.0070.01025.92
8.1.270.0040.00420.32
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00422.42
8.1.230.0000.01121.04
8.1.220.0080.00017.74
8.1.210.0000.00818.95
8.1.200.0090.00017.13
8.1.190.0080.00017.30
8.1.180.0030.00620.08
8.1.170.0000.00818.41
8.1.160.0030.00522.12
8.1.150.0000.00718.39
8.1.140.0070.00017.32
8.1.130.0070.00017.75
8.1.120.0030.00317.32
8.1.110.0000.00917.23
8.1.100.0040.00417.41
8.1.90.0040.00417.32
8.1.80.0040.00417.28
8.1.70.0040.00417.31
8.1.60.0080.00017.50
8.1.50.0070.00017.46
8.1.40.0060.00317.46
8.1.30.0040.00417.57
8.1.20.0040.00417.58
8.1.10.0040.00417.59
8.1.00.0030.00517.40
8.0.300.0060.00319.90
8.0.290.0000.00716.63
8.0.280.0000.00718.38
8.0.270.0070.00017.20
8.0.260.0070.00016.90
8.0.250.0080.00016.85
8.0.240.0030.00517.00
8.0.230.0030.00316.95
8.0.220.0070.00016.81
8.0.210.0000.00716.79
8.0.200.0050.00316.88
8.0.190.0070.00017.00
8.0.180.0000.00816.81
8.0.170.0040.00416.98
8.0.160.0050.00316.88
8.0.150.0030.00516.75
8.0.140.0060.00316.80
8.0.130.0000.00513.33
8.0.120.0000.00816.81
8.0.110.0040.00416.85
8.0.100.0050.00216.78
8.0.90.0080.00016.91
8.0.80.0060.01116.95
8.0.70.0040.00416.86
8.0.60.0040.00416.82
8.0.50.0070.00016.73
8.0.30.0120.00817.18
8.0.20.0080.01117.40
8.0.10.0000.00716.91
8.0.00.0080.00816.62
7.4.330.0050.00015.00
7.4.320.0030.00316.51
7.4.300.0030.00316.46
7.4.290.0040.00416.48
7.4.280.0050.00316.45
7.4.270.0030.00316.48
7.4.260.0030.00316.35
7.4.250.0040.00416.33
7.4.240.0030.00516.29
7.4.230.0050.00216.45
7.4.220.0100.01016.50
7.4.210.0040.01316.40
7.4.200.0040.00416.31
7.4.190.0000.00816.56
7.4.160.0060.01016.50
7.4.150.0060.01517.40
7.4.140.0120.00517.86
7.4.130.0060.01016.35
7.4.120.0050.01216.17
7.4.110.0160.00616.37
7.4.100.0120.00616.31
7.4.90.0060.01616.36
7.4.80.0090.00919.39
7.4.70.0100.01016.23
7.4.60.0030.01316.45
7.4.50.0000.00816.46
7.4.40.0030.01422.77
7.4.30.0090.00616.27
7.4.00.0100.00014.75
7.3.330.0000.00613.13
7.3.320.0000.00613.05
7.3.310.0030.00316.03
7.3.300.0030.00316.20
7.3.290.0110.00316.22
7.3.280.0090.00616.17
7.3.270.0120.00617.40
7.3.260.0070.01016.25
7.3.250.0080.00816.40
7.3.240.0120.00616.14
7.3.230.0070.01016.39
7.3.210.0100.01016.23
7.3.200.0080.00819.39
7.3.190.0040.01916.30
7.3.180.0130.00316.43
7.3.170.0060.00916.31
7.3.160.0100.00616.35
7.3.120.0030.01314.59
7.2.330.0140.00316.55
7.2.320.0140.00816.56
7.2.310.0070.01016.22
7.2.300.0090.01216.55
7.2.290.0120.00616.30
7.2.00.0000.01519.21
7.1.100.0060.00917.67
7.1.70.0000.00917.04
7.1.60.0100.01419.50
7.1.50.0130.00916.72
7.1.00.0030.05722.32
7.0.200.0000.00716.57
7.0.140.0100.06722.09
7.0.60.0170.07719.94
7.0.50.0100.03317.89
7.0.40.0070.08020.14
7.0.30.0330.07020.18
7.0.20.0370.07320.19
7.0.10.0330.07720.25
7.0.00.0030.08020.09
5.6.280.0030.07320.95
5.6.210.0100.07020.68
5.6.200.0000.06018.19
5.6.190.0100.08720.55
5.6.180.3630.04320.63
5.6.170.0300.08020.57
5.6.160.0070.07320.61
5.6.150.0070.08018.29
5.6.140.0030.07718.33
5.6.130.0170.07718.28
5.6.120.0070.05320.86
5.6.110.0230.05321.12
5.6.100.0170.06720.96
5.6.90.0130.06320.95
5.6.80.0030.07720.39
5.6.70.0130.07020.40
5.5.350.0230.03720.32
5.5.340.0030.08317.96
5.5.330.0070.09020.21
5.5.320.0100.04720.30
5.5.310.0470.06720.35
5.5.300.0130.07717.96
5.5.290.0130.07717.93
5.5.280.0030.06320.85
5.5.270.0130.07720.80
5.5.260.0100.08020.89
5.5.250.0100.07320.62
5.5.240.0070.07720.13
5.4.450.0170.05719.61
5.4.440.0230.05719.16
5.4.430.0130.06019.48
5.4.420.0230.04319.19
5.4.410.0270.07019.17
5.4.400.1700.07318.49
5.4.390.1630.06318.55
5.4.380.0270.05718.76
5.4.370.0030.07318.78
5.4.360.0070.06018.50
5.4.350.0070.03612.02
5.4.340.0080.03612.01
5.4.320.0040.03812.50
5.4.310.0030.04012.50
5.4.300.0040.03612.51
5.4.290.0060.04312.49
5.4.280.0080.03212.39
5.4.270.0040.03612.39
5.4.260.0050.03612.40
5.4.250.0030.08018.96
5.4.240.0130.04718.80
5.4.230.0030.06318.75
5.4.220.0230.06018.80
5.4.210.0070.06718.97
5.4.200.0170.04319.04
5.4.190.0100.04718.79
5.4.180.0130.04718.83
5.4.170.0030.05719.00
5.4.160.0130.04718.79
5.4.150.0070.05318.99
5.4.140.0030.07016.44
5.4.130.0100.07316.41
5.4.120.0070.05016.40
5.4.110.0030.05316.38
5.4.100.0030.05016.39
5.4.90.0100.04316.65
5.4.80.0070.04316.40
5.4.70.0030.05016.48
5.4.60.0130.04016.45
5.4.50.0100.04316.45
5.4.40.0130.04316.44
5.4.30.0100.04316.64
5.4.20.0070.05016.48
5.4.10.0030.05716.48
5.4.00.0030.05315.86
5.3.290.0070.03912.80
5.3.280.0070.05314.69
5.3.270.0100.05014.70
5.3.260.0030.05714.77
5.3.250.0070.06314.63
5.3.240.0070.05314.71
5.3.230.0100.05014.67
5.3.220.0130.04714.71
5.3.210.0170.04314.76
5.3.200.0070.05014.74
5.3.190.0170.04014.41
5.3.180.0130.04014.79
5.3.170.0070.04714.55
5.3.160.0000.05314.54
5.3.150.0070.05014.54
5.3.140.0030.05014.65
5.3.130.0070.05014.64
5.3.120.0030.05314.54
5.3.110.0030.05714.46
5.3.100.0100.04714.13
5.3.90.0100.06013.99
5.3.80.0030.05714.10
5.3.70.0030.05013.86
5.3.60.0130.04313.97
5.3.50.0070.04714.04
5.3.40.0100.04713.78
5.3.30.0130.06014.13
5.3.20.0070.05013.60
5.3.10.0130.06013.64
5.3.00.0070.07313.55
5.2.170.0100.03711.22
5.2.160.0070.04311.22
5.2.150.0100.04011.25
5.2.140.0000.04711.32
5.2.130.0070.04011.27
5.2.120.0070.05711.09
5.2.110.0030.05011.27
5.2.100.0030.04011.09
5.2.90.0070.03711.11
5.2.80.0100.04711.26
5.2.70.0130.04311.07
5.2.60.0100.04310.89
5.2.50.0030.04310.93
5.2.40.0070.03710.98
5.2.30.0070.04011.07
5.2.20.0130.04311.18
5.2.10.0000.05310.94
5.2.00.0030.05310.70
5.1.60.0000.05010.09
5.1.50.0070.03310.15
5.1.40.0100.02710.08
5.1.30.0070.03310.52
5.1.20.0070.03310.43
5.1.10.0030.0379.99
5.1.00.0030.03310.06
5.0.50.0030.0378.49
5.0.40.0100.0208.46
5.0.30.0070.0408.32
5.0.20.0030.0308.16
5.0.10.0030.0378.13
5.0.00.0070.0378.16
4.4.90.0000.0237.32
4.4.80.0000.0277.32
4.4.70.0030.0207.32
4.4.60.0000.0237.32
4.4.50.0030.0237.32
4.4.40.0030.0337.32
4.4.30.0000.0237.32
4.4.20.0000.0237.32
4.4.10.0000.0237.32
4.4.00.0000.0377.32
4.3.110.0030.0237.32
4.3.100.0030.0207.32
4.3.90.0000.0237.32
4.3.80.0030.0307.32
4.3.70.0000.0237.32
4.3.60.0000.0237.32
4.3.50.0000.0237.32
4.3.40.0000.0437.32
4.3.30.0070.0207.32
4.3.20.0000.0307.32
4.3.10.0030.0207.32
4.3.00.0000.0236.84

preferences:
60.31 ms | 401 KiB | 5 Q