3v4l.org

run code in 300+ PHP versions simultaneously
<?php $default_options = array ( 'public' => true, 'show_ui' => true, 'has_archive' => true, 'capability_type' => 'post', 'hierarchical' => true, 'rewrite' => ['with_front' => false, 'slug' => 'cards'], 'query_var' => 'cards', 'supports' => ['title', 'editor', 'page-attributes'], 'show_in_menu' => true );

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.0130.00918.18
8.3.50.0150.00321.88
8.3.40.0070.01018.38
8.3.30.0070.00719.03
8.3.20.0040.00420.20
8.3.10.0000.00721.73
8.3.00.0080.00019.26
8.2.180.0110.00418.54
8.2.170.0120.00918.82
8.2.160.0170.00322.96
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00019.38
8.2.110.0000.00920.53
8.2.100.0080.00317.78
8.2.90.0080.00019.28
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0040.00419.79
8.2.30.0040.00417.99
8.2.20.0030.00517.50
8.2.10.0040.00417.97
8.2.00.0000.00717.59
8.1.280.0070.00725.92
8.1.270.0080.00020.65
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.79
8.1.230.0040.00822.05
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0080.00417.10
8.1.190.0000.00717.10
8.1.180.0040.00418.10
8.1.170.0080.00018.46
8.1.160.0040.00421.87
8.1.150.0020.00518.73
8.1.140.0070.00017.29
8.1.130.0030.00317.85
8.1.120.0040.00417.30
8.1.110.0040.00417.38
8.1.100.0000.00817.39
8.1.90.0000.00817.27
8.1.80.0000.00717.34
8.1.70.0030.00317.38
8.1.60.0040.00417.40
8.1.50.0060.00317.39
8.1.40.0040.00717.43
8.1.30.0030.00617.48
8.1.20.0000.00717.55
8.1.10.0030.00617.28
8.1.00.0000.00717.26
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0030.00318.36
8.0.270.0030.00317.20
8.0.260.0050.00317.19
8.0.250.0000.00716.79
8.0.240.0060.00316.87
8.0.230.0040.00316.77
8.0.220.0000.00716.70
8.0.210.0000.00716.75
8.0.200.0000.00716.84
8.0.190.0000.00716.75
8.0.180.0040.00416.82
8.0.170.0040.00416.86
8.0.160.0000.00716.80
8.0.150.0000.00716.61
8.0.140.0040.00416.83
8.0.130.0060.00013.33
8.0.120.0040.00416.71
8.0.110.0000.00716.82
8.0.100.0060.00316.64
8.0.90.0000.00716.65
8.0.80.0060.01516.78
8.0.70.0040.00416.85
8.0.60.0070.00016.86
8.0.50.0040.00416.84
8.0.30.0140.01017.03
8.0.20.0120.00617.40
8.0.10.0040.00416.98
8.0.00.0060.01116.61
7.4.330.0000.00515.03
7.4.320.0000.00616.46
7.4.300.0000.00616.53
7.4.290.0060.00316.57
7.4.280.0050.00316.48
7.4.270.0070.00016.44
7.4.260.0080.00016.43
7.4.250.0070.00016.50
7.4.240.0050.00216.52
7.4.230.0000.00716.43
7.4.220.0070.01816.47
7.4.210.0060.01216.42
7.4.200.0040.00416.43
7.4.160.0150.00016.54
7.4.150.0100.00717.40
7.4.140.0120.00817.86
7.4.130.0090.00816.28
7.4.120.0080.00816.36
7.4.110.0070.01116.45
7.4.100.0090.01216.38
7.4.90.0110.00616.16
7.4.80.0100.00619.39
7.4.70.0120.00916.45
7.4.60.0060.01016.35
7.4.50.0000.00916.09
7.4.40.0100.01016.41
7.4.30.0000.01616.51
7.4.00.0080.00514.45
7.3.330.0060.00013.00
7.3.320.0090.00413.04
7.3.310.0000.00716.22
7.3.300.0030.00316.16
7.3.290.0080.00816.10
7.3.280.0110.00616.12
7.3.270.0080.00917.40
7.3.260.0100.00716.39
7.3.250.0080.00816.22
7.3.240.0100.00616.46
7.3.230.0110.00616.39
7.3.210.0060.01316.06
7.3.200.0140.00716.55
7.3.190.0090.00616.15
7.3.180.0040.01116.17
7.3.170.0060.01116.27
7.3.160.0070.01016.30
7.2.330.0070.01116.28
7.2.320.0100.00716.20
7.2.310.0060.01016.38
7.2.300.0090.00816.08
7.2.290.0060.01116.54
7.2.00.0150.00418.98
7.1.100.0060.00617.98
7.1.70.0030.00716.64
7.1.60.0070.00719.50
7.1.50.0140.00716.50
7.1.00.0030.07722.51
7.0.200.0040.00416.61
7.0.140.0070.06322.09
7.0.60.0100.06720.00
7.0.50.0130.04317.68
7.0.40.0130.08320.08
7.0.30.0270.08720.00
7.0.20.0270.05720.15
7.0.10.0270.06720.19
7.0.00.0130.07720.05
5.6.280.0000.07320.81
5.6.210.0100.07720.68
5.6.200.0070.05718.26
5.6.190.0100.05320.36
5.6.180.0170.08020.36
5.6.170.0330.06720.51
5.6.160.0100.06720.37
5.6.150.0170.03318.12
5.6.140.0030.04318.13
5.6.130.0130.05018.21
5.6.120.0100.04021.11
5.6.110.0070.08720.97
5.6.100.0100.03320.98
5.6.90.0030.08021.01
5.6.80.0130.07020.39
5.6.70.0300.06020.39
5.5.350.0270.06720.37
5.5.340.0100.06317.95
5.5.330.0100.03720.46
5.5.320.0070.07720.13
5.5.310.0100.05320.30
5.5.300.0030.08018.00
5.5.290.0100.03717.91
5.5.280.0100.08020.85
5.5.270.0100.07720.68
5.5.260.0070.06320.64
5.5.250.0070.04020.59
5.5.240.0130.08020.27
5.4.450.0800.05719.55
5.4.440.0930.06719.43
5.4.430.0930.06319.41
5.4.420.0530.05019.62
5.4.410.0130.05018.91
5.4.400.0100.05718.51
5.4.390.0270.05718.53
5.4.380.1570.07018.62
5.4.370.0200.06718.69
5.4.360.0330.04718.73
5.4.350.1770.04718.47
5.4.340.0330.05318.64
5.4.320.0370.05018.46
5.4.310.0370.06718.63
5.4.300.0400.07318.56
5.4.290.0400.06718.49
5.4.280.0570.07018.55
5.4.270.4670.05718.52
5.4.260.0370.05718.71
5.4.250.0400.05018.72
5.4.240.0500.07318.55
5.4.230.0430.06718.65
5.4.220.2230.04718.59
5.4.210.0700.06018.71
5.4.200.0270.05716.43
5.4.190.0300.05318.64
5.4.180.0370.05718.71
5.4.170.0370.05718.72
5.4.160.0370.05318.64
5.4.150.0370.05718.60
5.4.140.0400.05716.32
5.4.130.0400.04716.09
5.4.120.0330.05316.19
5.4.110.0500.04016.31
5.4.100.0430.05716.05
5.4.90.0370.04716.12
5.4.80.0200.06016.13
5.4.70.0330.05716.29
5.4.60.0430.04716.04
5.4.50.0430.06316.12
5.4.40.0470.05016.01
5.4.30.1900.04016.21
5.4.20.4030.05016.23
5.4.10.0500.06316.22
5.4.00.0330.05715.48

preferences:
43.12 ms | 401 KiB | 5 Q