3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filter = array( "grant_type" => array("filter" => FILTER_VALIDATE_REGEXP, "options" => array("regexp" => "/^(authorization_code|password|assertion|refresh_token|none)$/"), "flags" => FILTER_REQUIRE_SCALAR), "scope" => array("flags" => FILTER_REQUIRE_SCALAR), "code" => array("flags" => FILTER_REQUIRE_SCALAR), "redirect_uri" => array("filter" => FILTER_SANITIZE_URL), "username" => array("flags" => FILTER_REQUIRE_SCALAR), "password" => array("flags" => FILTER_REQUIRE_SCALAR), "assertion_type" => array("flags" => FILTER_REQUIRE_SCALAR), "assertion" => array("flags" => FILTER_REQUIRE_SCALAR), "refresh_token" => array("flags" => FILTER_REQUIRE_SCALAR), "user_id" => array("filter" => FILTER_VALIDATE_INT), ); $arResult = filter_input_array(INPUT_GET, $filter); var_dump($arResult);

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.0100.00316.50
8.3.50.0070.00822.00
8.3.40.0100.00318.75
8.3.30.0120.00818.98
8.3.20.0070.00020.20
8.3.10.0040.00423.56
8.3.00.0030.00619.38
8.2.180.0090.00618.04
8.2.170.0000.01522.96
8.2.160.0110.00418.79
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0030.01026.16
8.2.120.0040.00422.20
8.2.110.0060.00320.35
8.2.100.0090.00317.91
8.2.90.0080.00017.91
8.2.80.0040.00417.97
8.2.70.0050.00318.04
8.2.60.0000.00818.16
8.2.50.0080.00018.10
8.2.40.0040.00419.36
8.2.30.0000.00719.25
8.2.20.0040.00417.50
8.2.10.0000.00718.02
8.2.00.0060.00317.59
8.1.280.0070.01025.92
8.1.270.0030.00622.25
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0040.00422.02
8.1.230.0120.00022.73
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.13
8.1.180.0080.00018.10
8.1.170.0030.00618.58
8.1.160.0000.00818.74
8.1.150.0000.00720.06
8.1.140.0040.00417.45
8.1.130.0000.00717.81
8.1.120.0040.00417.44
8.1.110.0040.00417.40
8.1.100.0030.00417.44
8.1.90.0070.00017.41
8.1.80.0080.00017.42
8.1.70.0030.00317.33
8.1.60.0050.00317.51
8.1.50.0000.00817.49
8.1.40.0000.00817.33
8.1.30.0040.00417.56
8.1.20.0030.00517.64
8.1.10.0040.00417.43
8.1.00.0000.00717.38
8.0.300.0040.00420.04
8.0.290.0040.00416.75
8.0.280.0000.00718.37
8.0.270.0000.00717.20
8.0.260.0000.00716.76
8.0.250.0040.00416.88
8.0.240.0040.00416.91
8.0.230.0040.00416.88
8.0.220.0040.00416.89
8.0.210.0030.00316.71
8.0.200.0070.00016.93
8.0.190.0030.00616.90
8.0.180.0040.00416.84
8.0.170.0030.00516.91
8.0.160.0040.00416.71
8.0.150.0070.00016.80
8.0.140.0030.00516.79
8.0.130.0000.00513.25
8.0.120.0060.00316.81
8.0.110.0050.00316.85
8.0.100.0040.00416.84
8.0.90.0000.00716.79
8.0.80.0030.01216.78
8.0.70.0040.00416.70
8.0.60.0050.00216.71
8.0.50.0000.00816.73
8.0.30.0120.00716.91
8.0.20.0120.00917.40
8.0.10.0070.00016.84
8.0.00.0070.01116.64
7.4.330.0000.00515.08
7.4.320.0030.00316.56
7.4.300.0000.00616.54
7.4.290.0000.00716.54
7.4.280.0030.00316.34
7.4.270.0030.00316.35
7.4.260.0000.00816.44
7.4.250.0040.00416.41
7.4.240.0020.00516.44
7.4.230.0000.00716.25
7.4.220.0030.01416.53
7.4.210.0070.00816.55
7.4.200.0000.00716.63
7.4.190.0050.00216.69
7.4.160.0080.00816.43
7.4.150.0100.00717.40
7.4.140.0110.00817.86
7.4.130.0070.01016.46
7.4.120.0100.00716.42
7.4.110.0060.01616.57
7.4.100.0100.00716.39
7.4.90.0120.00616.49
7.4.80.0140.00719.39
7.4.70.0060.01216.32
7.4.60.0060.01116.25
7.4.50.0050.00016.41
7.4.40.0030.01122.77
7.4.30.0130.00316.38
7.4.10.0130.00714.97
7.4.00.0090.00814.88
7.3.330.0000.00512.97
7.3.320.0050.00212.93
7.3.310.0030.00316.20
7.3.300.0030.00316.10
7.3.290.0110.00416.10
7.3.280.0080.00916.17
7.3.270.0140.00317.40
7.3.260.0140.00416.14
7.3.250.0070.01016.40
7.3.240.0120.00416.04
7.3.230.0100.00616.39
7.3.210.0030.01416.33
7.3.200.0110.00519.39
7.3.190.0090.01016.24
7.3.180.0190.00316.32
7.3.170.0060.00916.27
7.3.160.0110.00616.17
7.3.130.0090.00914.61
7.3.120.0070.01014.92
7.3.110.0080.01014.70
7.3.100.0060.00814.65
7.3.90.0060.00714.60
7.3.80.0050.00714.52
7.3.70.0060.00814.57
7.3.60.0070.00914.73
7.3.50.0050.00814.74
7.3.40.0050.01014.75
7.3.30.0060.00914.43
7.3.20.0060.00816.59
7.3.10.0040.00916.55
7.3.00.0080.00516.41
7.2.330.0110.00716.45
7.2.320.0030.01416.51
7.2.310.0120.00916.52
7.2.300.0140.01116.43
7.2.290.0080.01616.32
7.2.260.0150.00014.80
7.2.250.0090.00714.87
7.2.240.0060.01015.07
7.2.230.0080.00814.83
7.2.220.0070.00814.61
7.2.210.0060.00814.74
7.2.200.0060.00614.79
7.2.190.0070.00714.79
7.2.180.0080.00314.61
7.2.170.0070.00914.99
7.2.160.0070.01114.89
7.2.150.0030.00916.54
7.2.140.0060.01016.41
7.2.130.0080.00616.71
7.2.120.0000.01116.62
7.2.110.0000.01416.57
7.2.100.0000.01616.58
7.2.90.0040.01216.83
7.2.80.0000.01116.71
7.2.70.0100.00716.58
7.2.60.0070.01016.91
7.2.50.0030.00716.67
7.2.40.0090.00616.85
7.2.30.0040.01116.54
7.2.20.0060.00616.68
7.2.10.0070.01016.82
7.2.00.0060.00616.36
7.1.330.0020.01315.77
7.1.320.0030.00615.74
7.1.310.0030.01215.82
7.1.300.0050.00715.65
7.1.290.0030.01015.73
7.1.280.0060.01015.68
7.1.270.0060.00915.54
7.1.260.0050.00715.60
7.1.250.0040.01215.74
7.1.240.0040.00715.80
7.1.230.0070.00715.71
7.1.220.0030.00615.70
7.1.210.0070.00715.70
7.1.200.0030.01215.88
7.1.190.0000.01315.63
7.1.180.0070.00715.59
7.1.170.0040.00715.77
7.1.160.0060.00615.68
7.1.150.0000.01115.82
7.1.140.0040.01115.84
7.1.130.0070.00415.43
7.1.120.0090.00315.70
7.1.110.0030.01015.75
7.1.100.0110.00015.65
7.1.90.0000.01215.78
7.1.80.0000.01515.76
7.1.70.0080.00316.50
7.1.60.0050.01117.50
7.1.50.0070.00216.33
7.1.40.0070.00715.65
7.1.30.0060.00915.79
7.1.20.0030.01015.57
7.1.10.0000.00915.86
7.1.00.0030.04419.02
7.0.330.0110.00415.29
7.0.320.0040.01115.33
7.0.310.0060.00615.54
7.0.300.0040.00715.45
7.0.290.0000.00815.48
7.0.280.0060.00615.47
7.0.270.0030.00615.46
7.0.260.0080.00415.21
7.0.250.0030.01015.59
7.0.240.0030.01015.29
7.0.230.0030.01015.46
7.0.220.0080.00415.14
7.0.210.0040.00815.39
7.0.200.0030.01015.98
7.0.190.0100.00315.25
7.0.180.0040.01115.30
7.0.170.0070.00715.28
7.0.160.0030.00915.47
7.0.150.0070.00715.27
7.0.140.0020.03918.76
7.0.130.0040.00815.41
7.0.120.0030.01015.14
7.0.110.0000.01315.48
7.0.100.0030.00615.48
7.0.90.0090.00615.31
7.0.80.0080.00315.20
7.0.70.0030.01015.48
7.0.60.0050.03618.55
7.0.50.0080.02316.75
7.0.40.0070.02516.69
7.0.30.0200.04316.66
7.0.20.0170.04116.81
7.0.10.0020.04716.85
7.0.00.0050.04716.62
5.6.400.0110.00414.02
5.6.390.0090.00014.20
5.6.380.0100.00014.06
5.6.370.0090.00014.06
5.6.360.0090.00614.10
5.6.350.0000.00814.18
5.6.340.0130.00314.46
5.6.330.0030.00714.25
5.6.320.0070.00713.98
5.6.310.0000.01314.08
5.6.300.0080.00414.19
5.6.290.0060.00314.44
5.6.280.0040.00814.54
5.6.270.0060.01014.10
5.6.260.0030.00614.14
5.6.250.0000.01213.99
5.6.240.0050.00514.18
5.6.230.0030.00914.18
5.6.220.0030.01314.28
5.6.210.0030.04217.52
5.6.200.0100.02216.21
5.6.190.0030.04717.32
5.6.180.0120.04317.23
5.6.170.0170.03817.24
5.6.160.0070.02217.21
5.6.150.0000.04416.26
5.6.140.0060.02316.24
5.6.130.0050.04216.31
5.6.120.0080.04117.53
5.6.110.0030.02817.57
5.6.100.0080.03617.61
5.6.90.0080.03517.64
5.6.80.0120.02717.26
5.6.70.0070.01114.24
5.6.60.0070.01013.97
5.6.50.0000.01414.10
5.6.40.0040.01113.95
5.6.30.0060.00314.06
5.6.20.0070.00714.25
5.6.10.0100.00714.39
5.6.00.0080.00814.16
5.5.380.0120.00314.08
5.5.370.0100.00014.34
5.5.360.0070.01013.84
5.5.350.0190.03517.37
5.5.340.0030.03316.15
5.5.330.0070.03817.38
5.5.320.0100.03817.39
5.5.310.0130.03417.24
5.5.300.0080.04016.04
5.5.290.0030.03216.14
5.5.280.0050.02717.39
5.5.270.0050.04417.41
5.5.260.0080.04517.50
5.5.250.0100.04217.29
5.5.240.0090.04217.16
5.5.230.0090.00914.21
5.5.220.0060.01014.43
5.5.210.0030.01014.13
5.5.200.0000.01414.28
5.5.190.0130.00013.98
5.5.180.0060.00913.88
5.5.170.0070.00714.10
5.5.160.0120.00314.28
5.5.150.0040.01114.24
5.5.140.0030.01014.11
5.5.130.0070.00714.24
5.5.120.0080.00814.34
5.5.110.0070.00413.83
5.5.100.0090.00314.31
5.5.90.0060.00614.20
5.5.80.0040.01113.96
5.5.70.0070.00714.35
5.5.60.0030.00714.23
5.5.50.0030.01013.67
5.5.40.0000.01413.89
5.5.30.0000.00913.81
5.5.20.0090.00313.98
5.5.10.0060.00614.23
5.5.00.0070.00713.82
5.4.450.0230.03615.21
5.4.440.0180.02915.26
5.4.430.0250.02215.18
5.4.420.0250.03515.24
5.4.410.0250.03514.97
5.4.400.0290.03015.03
5.4.390.0270.03914.86
5.4.380.0280.03515.21
5.4.370.0240.02114.91
5.4.360.0210.02515.13
5.4.350.0300.02715.14
5.4.340.0200.02615.00
5.4.330.0030.00811.02
5.4.320.0250.03914.83
5.4.310.0270.03315.18
5.4.300.0250.01915.00
5.4.290.0210.04015.09
5.4.280.0200.02714.92
5.4.270.0250.03614.64
5.4.260.0230.03514.81
5.4.250.0200.03714.81
5.4.240.0280.03014.94
5.4.230.0250.03314.91
5.4.220.0230.03414.95
5.4.210.0260.03915.12
5.4.200.0280.02315.07
5.4.190.0250.02214.83
5.4.180.0180.02114.88
5.4.170.0220.02114.84
5.4.160.0250.01315.11
5.4.150.0240.01814.89
5.4.140.0210.01813.46
5.4.130.0200.02113.48
5.4.120.0200.02013.62
5.4.110.0200.02113.58
5.4.100.0200.02013.50
5.4.90.0190.02513.67
5.4.80.0200.02013.76
5.4.70.0250.02113.62
5.4.60.0180.02013.70
5.4.50.0200.01913.53
5.4.40.0230.02013.54
5.4.30.0220.02013.54
5.4.20.0150.02113.69
5.4.10.0240.02313.55
5.4.00.0250.02213.24
5.3.290.0200.02212.56
5.3.280.0230.03212.45
5.3.270.0220.02512.51
5.3.260.0200.02212.52
5.3.250.0230.03712.46
5.3.240.0200.02612.46
5.3.230.0220.02412.40
5.3.220.0200.02212.41
5.3.210.0180.02212.43
5.3.200.0170.02412.35
5.3.190.0200.01812.41
5.3.180.0200.02212.43
5.3.170.0220.01712.44
5.3.160.0230.01812.51
5.3.150.0280.02112.55
5.3.140.0220.01712.42
5.3.130.0200.02112.46
5.3.120.0200.02912.31
5.3.110.0230.02712.38
5.3.100.0180.02112.21
5.3.90.0210.02012.15
5.3.80.0200.02112.05
5.3.70.0230.02512.03
5.3.60.0170.02012.08
5.3.50.0180.02312.05
5.3.40.0200.02412.07
5.3.30.0200.02011.98
5.3.20.0130.02311.81
5.3.10.0220.02311.85
5.3.00.0150.02311.95
5.2.170.0300.03012.42
5.2.160.0300.02712.42
5.2.150.0230.03312.42
5.2.140.0430.02712.42
5.2.130.0230.03312.42
5.2.120.0270.02712.42
5.2.110.0270.03012.42
5.2.100.0300.02712.42
5.2.90.0330.03012.42
5.2.80.0270.03012.42
5.2.70.0370.03012.42
5.2.60.0270.03012.42
5.2.50.0330.02312.42
5.2.40.0230.02712.42
5.2.30.0230.03012.42
5.2.20.0200.03012.42
5.2.10.0330.01712.42
5.2.00.0300.02712.42
5.1.60.0230.03012.42
5.1.50.0200.02712.42
5.1.40.0230.03312.42
5.1.30.0200.02712.42
5.1.20.0230.02312.42
5.1.10.0170.03012.42
5.1.00.0230.02712.42
5.0.50.0130.02012.42
5.0.40.0130.01712.42
5.0.30.0230.04712.42
5.0.20.0100.02012.42
5.0.10.0100.02312.42
5.0.00.0100.03012.42
4.4.90.0170.02012.42
4.4.80.0170.03312.42
4.4.70.0130.02012.42
4.4.60.0130.01712.42
4.4.50.0130.02012.42
4.4.40.0130.03012.42
4.4.30.0130.03712.42
4.4.20.0130.02012.42
4.4.10.0170.01712.42
4.4.00.0100.04312.42
4.3.110.0130.02012.42
4.3.100.0130.02012.42
4.3.90.0170.02712.42
4.3.80.0200.03712.42
4.3.70.0170.03312.42
4.3.60.0130.03012.42
4.3.50.0100.02012.42
4.3.40.0130.02312.42
4.3.30.0130.02312.42
4.3.20.0100.02312.42
4.3.10.0070.02312.42
4.3.00.0030.02012.42

preferences:
72.55 ms | 401 KiB | 5 Q