3v4l.org

run code in 300+ PHP versions simultaneously
<?php function mde_shortcode_form($selection) { $getVars = [ "abc" => "[gravityform id=\"6\" title=\"false\" description=\"false\"]", "xyz" => "[gravityform id=\"5\" title=\"false\" description=\"false\"]" ]; if (isset($getVars[$selection])) { do_shortcode($getVars[$selection]); } } mde_shortcode_form($_GET['formselect'] ?? null); // add_shortcode('abcde','mde_shortcode_form');

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.0120.00318.68
8.3.50.0060.00818.29
8.3.40.0100.00318.84
8.3.30.0160.00018.63
8.3.20.0080.00020.34
8.3.10.0040.00420.86
8.3.00.0040.00420.95
8.2.180.0070.00718.43
8.2.170.0130.00322.96
8.2.160.0100.01021.06
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00321.18
8.2.120.0080.00026.35
8.2.110.0000.00922.30
8.2.100.0070.00317.79
8.2.90.0030.00620.01
8.2.80.0040.00420.49
8.2.70.0040.00417.63
8.2.60.0040.00418.04
8.2.50.0000.00818.10
8.2.40.0040.00422.34
8.2.30.0050.00219.39
8.2.20.0040.00418.21
8.2.10.0040.00417.95
8.2.00.0040.00417.94
8.1.280.0100.00725.92
8.1.270.0040.00422.14
8.1.260.0040.00426.35
8.1.250.0020.00528.09
8.1.240.0060.00323.84
8.1.230.0070.00421.02
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0040.00417.25
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0040.00419.02
8.1.150.0030.00518.89
8.1.140.0000.00719.59
8.1.130.0030.00318.89
8.1.120.0030.00417.49
8.1.110.0040.00417.51
8.1.100.0000.00717.48
8.1.90.0070.00017.51
8.1.80.0040.00417.34
8.1.70.0080.00017.46
8.1.60.0000.00717.47
8.1.50.0000.00717.45
8.1.40.0040.00417.34
8.1.30.0000.00817.64
8.1.20.0040.00417.56
8.1.10.0050.00317.42
8.1.00.0040.00417.42
8.0.300.0050.00220.13
8.0.290.0000.00716.75
8.0.280.0080.00018.45
8.0.270.0030.00316.83
8.0.260.0060.00019.03
8.0.250.0030.00316.96
8.0.240.0070.00016.84
8.0.230.0040.00416.89
8.0.220.0030.00316.96
8.0.210.0030.00316.86
8.0.200.0030.00316.97
8.0.190.0000.00716.85
8.0.180.0050.00316.96
8.0.170.0000.00716.77
8.0.160.0040.00416.91
8.0.150.0070.00016.81
8.0.140.0000.00816.89
8.0.130.0000.00613.37
8.0.120.0030.00316.92
8.0.110.0040.00416.89
8.0.100.0000.00716.99
8.0.90.0000.00716.80
8.0.80.0090.00616.89
8.0.70.0040.00416.77
8.0.60.0030.00516.80
8.0.50.0000.00716.87
8.0.30.0080.00916.99
8.0.20.0130.01117.40
8.0.10.0040.00417.05
8.0.00.0170.00716.66
7.4.330.0050.00015.55
7.4.320.0000.00716.60
7.4.300.0060.00016.46
7.4.290.0030.00316.50
7.4.280.0040.00416.52
7.4.270.0000.00716.42
7.4.260.0000.00716.60
7.4.250.0030.00316.47
7.4.240.0030.00316.44
7.4.230.0040.00416.59
7.4.220.0070.01416.54
7.4.210.0060.00916.53
7.4.200.0000.00716.69
7.4.160.0100.00816.43
7.4.150.0120.00617.40
7.4.140.0100.00717.86
7.4.130.0120.00616.50
7.4.120.0070.01116.56
7.4.110.0070.01016.58
7.4.100.0090.01716.64
7.4.90.0090.00816.52
7.4.80.0090.00919.39
7.4.70.0090.00616.58
7.4.60.0120.00616.64
7.4.50.0100.00716.37
7.4.40.0100.00616.41
7.4.30.0140.00416.35
7.4.00.0040.01015.07
7.3.330.0050.00013.23
7.3.320.0060.00013.30
7.3.310.0060.00316.48
7.3.300.0070.00016.32
7.3.290.0050.01016.41
7.3.280.0080.00816.37
7.3.270.0180.00017.40
7.3.260.0080.01216.46
7.3.250.0110.00816.34
7.3.240.0070.01016.35
7.3.230.0100.00616.41
7.3.210.0100.00616.51
7.3.200.0060.00916.58
7.3.190.0150.00016.32
7.3.180.0100.00616.29
7.3.170.0080.00816.39
7.3.160.0090.00616.32
7.3.120.0050.01214.82
7.3.110.0050.01114.83
7.3.100.0050.01014.94
7.3.90.0070.00815.01
7.3.80.0070.00814.93
7.3.70.0050.00714.83
7.3.60.0060.00814.79
7.3.50.0060.00814.61
7.3.40.0050.00714.80
7.3.30.0060.00614.79
7.3.20.0030.01016.69
7.3.10.0080.00316.43
7.3.00.0030.01016.56
7.2.330.0150.00316.44
7.2.320.0090.00916.36
7.2.310.0030.01316.57
7.2.300.0070.01016.67
7.2.290.0060.01016.30
7.2.250.0150.00314.99
7.2.240.0050.01414.83
7.2.230.0050.01015.00
7.2.220.0100.00515.05
7.2.210.0070.00815.09
7.2.200.0060.00814.77
7.2.190.0050.00814.89
7.2.180.0080.00714.85
7.2.170.0090.00514.95
7.2.160.0070.01014.70
7.2.150.0070.00716.82
7.2.140.0030.00916.59
7.2.130.0030.00717.03
7.2.120.0030.00916.52
7.2.110.0080.00416.89
7.2.100.0000.01416.56
7.2.90.0160.00016.88
7.2.80.0030.00616.79
7.2.70.0040.01116.55
7.2.60.0050.01117.00
7.2.50.0030.00716.71
7.2.40.0060.00916.99
7.2.30.0040.01116.88
7.2.20.0070.00716.58
7.2.10.0020.01216.88
7.2.00.0030.01016.91
7.1.330.0030.01115.80
7.1.320.0060.00915.69
7.1.310.0030.00815.71
7.1.300.0050.00715.71
7.1.290.0050.01015.37
7.1.280.0060.00515.59
7.1.270.0100.00315.54
7.1.260.0010.00715.70
7.1.250.0060.00615.58
7.1.240.0030.00615.71
7.1.230.0090.00315.71
7.1.220.0060.00915.89
7.1.210.0150.00315.69
7.1.200.0080.00515.84
7.1.190.0000.01015.92
7.1.180.0060.00815.74
7.1.170.0000.01115.89
7.1.160.0070.00715.86
7.1.150.0000.00915.93
7.1.140.0100.00615.77
7.1.130.0090.00615.94
7.1.120.0030.00615.73
7.1.110.0040.01415.71
7.1.100.0060.00915.72
7.1.90.0060.00615.45
7.1.80.0040.01017.04
7.1.70.0000.01416.57
7.1.60.0080.01225.36
7.1.50.0120.00725.36
7.1.40.0090.00925.13
7.1.30.0130.00824.94
7.1.20.0110.00824.99
7.1.10.0020.01216.13
7.1.00.0050.00916.07
7.0.330.0060.00315.32
7.0.320.0070.00715.34
7.0.310.0060.00315.34
7.0.300.0040.00415.23
7.0.290.0000.01415.38
7.0.280.0090.00615.28
7.0.270.0060.00915.33
7.0.260.0090.00615.25
7.0.250.0100.00715.50
7.0.240.0070.01015.57
7.0.230.0040.00415.41
7.0.220.0080.00415.35
7.0.210.0030.00615.28
7.0.200.0040.00915.85
7.0.190.0050.00815.73
7.0.180.0020.00815.78
7.0.170.0030.01115.68
7.0.160.0060.00715.73
7.0.150.0030.01015.88
7.0.140.0030.01115.89
7.0.130.0060.00615.96
7.0.120.0050.00815.95
7.0.110.0060.00415.70
7.0.100.0070.00415.73
7.0.90.0070.00715.86
7.0.80.0060.00615.85
7.0.70.0080.00615.84
7.0.60.0020.01115.66
7.0.50.0000.01215.81
7.0.40.0060.00714.98
7.0.30.0080.00514.87
7.0.20.0070.00314.84
7.0.10.0050.00814.74
7.0.00.0050.00714.83
5.6.400.0090.00613.83
5.6.390.0070.00714.33
5.6.380.0070.01114.03
5.6.370.0080.00413.83
5.6.360.0070.00414.17
5.6.350.0070.00714.19
5.6.340.0090.00314.28
5.6.330.0060.00914.13
5.6.320.0060.00913.98
5.6.310.0000.01614.23
5.6.300.0060.01214.18
5.6.290.0070.01014.36
5.6.280.0040.00814.00
5.6.270.0030.01014.03
5.6.260.0050.00314.18
5.6.250.0100.00014.32
5.6.240.0110.00714.09
5.6.230.0080.00814.29
5.6.220.0080.00314.02
5.6.210.0000.01414.13
5.6.200.0080.00014.03
5.6.190.0040.00813.90
5.6.180.0030.01014.11
5.6.170.0060.00814.05
5.6.160.0040.00714.15
5.6.150.0090.00313.96
5.6.140.0100.00314.17
5.6.130.0060.00614.23
5.6.120.0060.00314.11
5.6.110.0030.01014.17
5.6.100.0060.00614.18
5.6.90.0040.00413.95
5.6.80.0000.01413.92
5.6.70.0050.00314.17
5.6.60.0000.01113.96
5.6.50.0070.01014.00
5.6.40.0110.00414.24
5.6.30.0070.00714.29
5.6.20.0030.01014.23
5.6.10.0030.01013.94
5.6.00.0070.00714.01

preferences:
50.34 ms | 400 KiB | 5 Q