3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fetch_style_title_options_array() { //return array( // "Desktop" => 1, // "Mobile" => 2, // "Topify SEO" => 3); return array("Desktop","Mobile",""); } $HTTP_USER_AGENT = "aaaaaaGoogleBOTbbbbb"; //$_SERVER['HTTP_USER_AGENT'] $TOPIFY_SEO_STYLE = "Topify SEO"; //whatever we name our seo skin $SEO_AGENTS = "test1|Googlebot|test3"; if(in_array($TOPIFY_SEO_STYLE, fetch_style_title_options_array())) { if(preg_match('/('.$SEO_AGENTS.')/i', $HTTP_USER_AGENT, $match)) { echo "display seo skin"; } else { echo "do not display seo skin"; } } else { echo "topify seo not installed"; }

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.01218.28
8.3.60.0070.01416.63
8.3.50.0130.00722.04
8.3.40.0040.01118.73
8.3.30.0090.00619.09
8.3.20.0080.00020.25
8.3.10.0030.00623.66
8.3.00.0050.00319.25
8.2.180.0150.00416.75
8.2.170.0030.01422.96
8.2.160.0060.00620.29
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0050.00322.26
8.2.110.0090.00022.26
8.2.100.0030.00919.57
8.2.90.0040.00419.21
8.2.80.0090.00017.97
8.2.70.0060.00317.59
8.2.60.0060.00317.93
8.2.50.0000.00818.07
8.2.40.0030.00619.76
8.2.30.0000.00718.18
8.2.20.0030.00517.51
8.2.10.0040.00417.95
8.2.00.0040.00417.68
8.1.280.0090.00625.92
8.1.270.0000.00823.82
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0090.00024.02
8.1.230.0070.00319.01
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0050.00317.10
8.1.180.0040.00418.88
8.1.170.0060.00318.43
8.1.160.0000.00721.95
8.1.150.0040.00418.46
8.1.140.0040.00417.38
8.1.130.0030.00317.84
8.1.120.0040.00417.41
8.1.110.0040.00417.32
8.1.100.0000.00817.44
8.1.90.0000.00717.26
8.1.80.0070.00017.45
8.1.70.0030.00317.36
8.1.60.0030.00517.53
8.1.50.0040.00417.45
8.1.40.0000.00817.57
8.1.30.0030.00617.66
8.1.20.0000.00717.60
8.1.10.0050.00317.46
8.1.00.0000.00717.38
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0030.00318.52
8.0.270.0070.00017.38
8.0.260.0000.00617.20
8.0.250.0030.00316.77
8.0.240.0070.00016.79
8.0.230.0040.00416.87
8.0.220.0030.00316.73
8.0.210.0030.00316.84
8.0.200.0060.00016.92
8.0.190.0000.00816.84
8.0.180.0000.00716.82
8.0.170.0050.00316.90
8.0.160.0020.00516.85
8.0.150.0040.00316.77
8.0.140.0040.00416.79
8.0.130.0050.00013.17
8.0.120.0030.00516.86
8.0.110.0000.00716.68
8.0.100.0000.00916.69
8.0.90.0070.00016.66
8.0.80.0070.01016.74
8.0.70.0070.00016.80
8.0.60.0040.00416.70
8.0.50.0000.00716.90
8.0.30.0080.01117.18
8.0.20.0070.01217.40
8.0.10.0030.00616.95
8.0.00.0050.01216.79
7.4.330.0030.00315.08
7.4.320.0030.00316.56
7.4.300.0030.00316.37
7.4.290.0070.00416.50
7.4.280.0070.00016.49
7.4.270.0070.00016.57
7.4.260.0030.00316.54
7.4.250.0040.00416.51
7.4.240.0000.00816.54
7.4.230.0000.00816.72
7.4.220.0060.01316.72
7.4.210.0110.00316.53
7.4.200.0030.00316.71
7.4.190.0000.00716.65
7.4.160.0070.01416.41
7.4.150.0190.00017.40
7.4.140.0130.00517.86
7.4.130.0050.01216.50
7.4.120.0000.01616.51
7.4.110.0170.00316.64
7.4.100.0090.00916.44
7.4.90.0120.00616.54
7.4.80.0160.00719.39
7.4.70.0080.00816.42
7.4.60.0080.00816.36
7.4.50.0000.00416.49
7.4.40.0080.00816.34
7.4.30.0060.01816.45
7.4.00.0110.00715.11
7.3.330.0000.00613.21
7.3.320.0060.00013.01
7.3.310.0030.00316.21
7.3.300.0000.00716.11
7.3.290.0060.00916.23
7.3.280.0080.01016.22
7.3.270.0080.00917.40
7.3.260.0070.01016.50
7.3.250.0060.01216.24
7.3.240.0100.01116.28
7.3.230.0040.01116.39
7.3.210.0070.01016.52
7.3.200.0080.01219.39
7.3.190.0060.01416.52
7.3.180.0080.00816.27
7.3.170.0030.01316.30
7.3.160.0090.00616.27
7.3.120.0000.01114.79
7.2.330.0120.00816.50
7.2.320.0120.00716.29
7.2.310.0130.00316.68
7.2.300.0100.01016.73
7.2.290.0170.00016.49
7.2.00.0070.00719.33
7.1.200.0030.00915.55
7.1.100.0060.00618.29
7.1.70.0040.00416.87
7.1.60.0040.01519.46
7.1.50.0030.01716.86
7.1.00.0070.07022.54
7.0.200.0030.00516.46
7.0.140.0000.07722.15
7.0.60.0070.08019.91
7.0.50.0070.04017.91
7.0.40.0100.08720.09
7.0.30.0200.04020.19
7.0.20.0300.06020.06
7.0.10.0030.09020.28
7.0.00.0100.08020.04
5.6.280.0030.07321.02
5.6.210.0070.09020.46
5.6.200.0130.07018.15
5.6.190.0070.07020.57
5.6.180.0400.07020.63
5.6.170.0230.05320.51
5.6.160.0100.08020.48
5.6.150.0100.03318.22
5.6.140.0030.04718.16
5.6.130.0130.08018.14
5.6.120.0070.07020.90
5.6.110.0030.07321.09
5.6.100.0170.07321.00
5.6.90.0100.08021.03
5.6.80.0000.04020.36
5.5.350.0330.07320.32
5.5.340.0000.05317.98
5.5.330.0170.03720.40
5.5.320.0130.05020.24
5.5.310.0230.07320.36
5.5.300.0100.07717.98
5.5.290.0100.07317.94
5.5.280.0100.08320.98
5.5.270.0130.07720.86
5.5.260.0130.07720.84
5.5.250.0100.07320.68
5.5.240.0030.05320.04
5.4.450.0200.06719.70
5.4.440.0300.05319.20
5.4.430.0330.06019.16
5.4.420.0470.05019.33
5.4.410.0200.06319.48
5.4.400.0400.07018.99
5.4.390.0300.05719.38
5.4.380.0330.04718.85
5.4.370.0330.04718.86
5.4.360.0230.05718.80
5.4.350.0370.05018.45
5.4.340.0370.04318.79
5.4.320.0080.03712.50
5.4.310.0060.05012.49
5.4.300.0060.03812.50
5.4.290.0110.04912.50
5.4.280.0300.06512.40
5.4.270.0080.05612.39
5.4.260.0120.06312.40
5.4.250.0110.05012.40
5.4.240.0120.04812.39
5.4.230.0110.05112.39
5.4.220.0050.05512.39
5.4.210.0090.05212.39
5.4.200.0090.05312.39
5.4.190.0080.04312.38
5.4.180.0090.03712.38
5.4.170.0120.03512.39
5.4.160.0060.03912.39
5.4.150.0070.03812.39
5.4.140.0090.03912.07
5.4.130.0150.03312.05
5.4.120.0070.03812.01
5.4.110.0080.05212.01
5.4.100.0090.05512.01
5.4.90.0110.07112.01
5.4.80.0120.04912.01
5.4.70.0120.04612.00
5.4.60.0080.05112.00
5.4.50.0060.04112.00
5.4.40.0140.04512.00
5.4.30.0060.05111.99
5.4.20.0100.05211.99
5.4.10.0050.05311.99
5.4.00.0060.05311.48
5.3.290.0040.04112.80
5.3.280.0290.05212.71
5.3.270.0100.04312.72
5.3.260.0090.05312.72
5.3.250.0070.04012.72
5.3.240.0060.05412.72
5.3.230.0060.04012.71
5.3.220.0070.04012.68
5.3.210.0090.03912.68
5.3.200.0210.03712.68
5.3.190.0080.03812.68
5.3.180.0060.03812.67
5.3.170.0090.03712.67
5.3.160.0080.03812.68
5.3.150.0090.03712.67
5.3.140.0170.06912.66
5.3.130.0090.03712.66
5.3.120.0090.03712.66
5.3.110.0100.03812.66
5.3.100.0070.04012.12
5.3.90.0080.03812.10
5.3.80.0080.04112.09
5.3.70.0110.03312.09
5.3.60.0060.03812.07
5.3.50.0070.04812.02
5.3.40.0090.05712.02
5.3.30.0090.05211.98
5.3.20.0110.06211.77
5.3.10.0080.04611.72
5.3.00.0120.05911.71
5.2.170.0160.0369.22
5.2.160.0090.0499.21
5.2.150.0190.0639.21
5.2.140.0050.0359.21
5.2.130.0070.0339.17
5.2.120.0060.0409.17
5.2.110.0080.0429.18
5.2.100.0070.0369.18
5.2.90.0070.0329.18
5.2.80.0060.0339.17
5.2.70.0050.0329.17
5.2.60.0030.0359.13
5.2.50.0060.0319.09
5.2.40.0080.0289.07
5.2.30.0130.0499.04
5.2.20.0090.0539.04
5.2.10.0050.0338.94
5.2.00.0060.0358.80
5.1.60.0070.0268.08
5.1.50.0050.0358.09
5.1.40.0150.0528.06
5.1.30.0110.0278.41
5.1.20.0040.0378.43
5.1.10.0120.0378.16
5.1.00.0180.0638.16
5.0.50.0120.0586.63
5.0.40.0160.0556.50
5.0.30.0030.0566.31
5.0.20.0060.0206.28
5.0.10.0030.0226.26
5.0.00.0020.0346.25
4.4.90.0020.0214.78
4.4.80.0030.0204.75
4.4.70.0060.0254.75
4.4.60.0020.0344.76
4.4.50.0050.0384.77
4.4.40.0070.0444.71
4.4.30.0130.0484.76
4.4.20.0060.0174.84
4.4.10.0050.0164.84
4.4.00.0030.0314.76
4.3.110.0050.0194.67
4.3.100.0080.0144.66
4.3.90.0050.0154.63
4.3.80.0030.0274.58
4.3.70.0040.0164.63
4.3.60.0070.0384.63
4.3.50.0090.0334.63
4.3.40.0090.0484.54
4.3.30.0030.0243.31
4.3.20.0020.0233.28
4.3.10.0030.0213.24
4.3.00.0070.0208.93

preferences:
53.84 ms | 401 KiB | 5 Q