3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( 'id' => 1, 'channel_id' => 1, 'field_group' => 1, 'url_title' => 'the_very_first_entry', 'title' => 'The Very First Entry', 'fields' => array ( 0 => array ( 'label' => 'Enter Item Name:', 'type' => 'text', 'channel_data_id' => 1, 'value' => 'Item one', 'field_id' => 1 ), 1 => array ( 'label' => 'Enter Item Description', 'type' => 'textarea', 'channel_data_id' => 2, 'value' => 'Some long text blah blah', 'field_id' => 2 ) ) ); $field = array_pop($array); var_dump($field, $array);

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.5.10.0100.00920.23
8.5.00.0080.01319.99
8.4.150.0020.00114.05
8.4.140.0110.00917.35
8.4.130.0120.00817.57
8.4.120.0100.01020.31
8.4.110.0140.00622.52
8.4.100.0040.00417.90
8.4.90.0130.00817.54
8.4.80.0070.00417.66
8.4.70.0020.00618.62
8.4.60.0090.01118.88
8.4.50.0080.01122.57
8.4.40.0200.00019.32
8.4.30.0100.01017.32
8.4.20.0140.00717.61
8.4.10.0060.00317.61
8.3.280.0020.00014.05
8.3.270.0090.01016.42
8.3.260.0090.01016.54
8.3.250.0110.00718.68
8.3.240.0150.00516.31
8.3.230.0150.00516.46
8.3.220.0040.00316.96
8.3.210.0050.00618.18
8.3.200.0040.00416.63
8.3.190.0060.01216.99
8.3.180.0090.00918.50
8.3.170.0070.01117.08
8.3.160.0030.00617.97
8.3.150.0110.00719.02
8.3.140.0050.00316.89
8.3.130.0000.00818.24
8.3.120.0040.00418.83
8.3.110.0050.00520.94
8.3.100.0070.00324.06
8.3.90.0040.00426.77
8.3.80.0060.00317.97
8.3.70.0090.00618.18
8.3.60.0080.01116.38
8.3.50.0210.01021.09
8.3.40.0070.00718.57
8.3.30.0150.00018.59
8.3.20.0030.00518.66
8.3.10.0040.00419.94
8.3.00.0040.00417.66
8.2.290.0100.00820.21
8.2.280.0100.00818.26
8.2.270.0110.01117.16
8.2.260.0040.00416.57
8.2.250.0070.00716.54
8.2.240.0060.00318.84
8.2.230.0080.00022.58
8.2.220.0070.00337.54
8.2.210.0090.00626.77
8.2.200.0000.00916.63
8.2.190.0120.00316.58
8.2.180.0160.00318.17
8.2.170.0110.00422.96
8.2.160.0070.00719.13
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00019.83
8.2.110.0060.00322.07
8.2.100.0000.01217.72
8.2.90.0090.00018.09
8.2.80.0050.00317.97
8.2.70.0080.00417.63
8.2.60.0050.00317.55
8.2.50.0040.00418.10
8.2.40.0040.00422.10
8.2.30.0040.00420.55
8.2.20.0040.00417.64
8.2.10.0030.00517.98
8.2.00.0000.00717.98
8.1.330.0110.00718.36
8.1.320.0100.00916.15
8.1.310.0100.00718.34
8.1.300.0050.00317.61
8.1.290.0040.00430.84
8.1.280.0040.01125.92
8.1.270.0000.00723.92
8.1.260.0090.00026.35
8.1.250.0000.00828.09
8.1.240.0060.00324.02
8.1.230.0040.00820.88
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0000.00817.23
8.1.180.0030.00518.10
8.1.170.0050.00218.93
8.1.160.0050.00219.02
8.1.150.0030.00518.83
8.1.140.0100.00019.62
8.1.130.0070.00017.74
8.1.120.0050.00217.46
8.1.110.0000.00817.37
8.1.100.0050.00317.29
8.1.90.0030.00417.39
8.1.80.0040.00417.31
8.1.70.0000.00717.37
8.1.60.0040.00417.54
8.1.50.0030.00617.46
8.1.40.0000.00817.48
8.1.30.0040.00417.61
8.1.20.0100.00017.64
8.1.10.0040.00417.39
8.1.00.0040.00417.40
8.0.300.0040.00420.16
8.0.290.0040.00416.63
8.0.280.0000.00818.27
8.0.270.0000.00917.11
8.0.260.0000.00617.18
8.0.250.0000.00716.93
8.0.240.0080.00016.91
8.0.230.0030.00516.79
8.0.220.0000.00716.85
8.0.210.0030.00316.83
8.0.200.0000.00716.96
8.0.190.0000.00816.82
8.0.180.0000.00716.75
8.0.170.0000.00816.75
8.0.160.0050.00216.92
8.0.150.0040.00416.78
8.0.140.0060.00616.86
8.0.130.0060.00013.20
8.0.120.0000.00816.81
8.0.110.0040.00416.87
8.0.100.0030.00516.66
8.0.90.0050.00216.74
8.0.80.0060.01016.79
8.0.70.0000.00816.94
8.0.60.0040.00416.68
8.0.50.0000.00716.77
8.0.30.0150.00717.04
8.0.20.0100.01317.40
8.0.10.0000.00717.00
8.0.00.0140.01016.65
7.4.330.0000.00615.08
7.4.320.0030.00316.41
7.4.300.0060.00016.45
7.4.290.0040.00416.46
7.4.280.0040.00416.58
7.4.270.0070.00016.54
7.4.260.0070.00016.43
7.4.250.0000.00816.44
7.4.240.0000.00716.55
7.4.230.0000.00716.40
7.4.220.0120.00616.65
7.4.210.0100.01016.45
7.4.200.0030.00316.44
7.4.160.0040.01316.54
7.4.150.0140.00617.40
7.4.140.0090.01017.86
7.4.130.0110.01216.42
7.4.120.0080.01116.32
7.4.110.0120.00516.42
7.4.100.0130.01016.42
7.4.90.0120.00616.52
7.4.80.0100.01019.39
7.4.70.0170.00016.36
7.4.60.0120.00316.27
7.4.50.0110.00416.41
7.4.40.0060.00916.45
7.4.30.0060.01616.34
7.4.00.0070.01014.78
7.3.330.0060.00012.89
7.3.320.0000.00512.89
7.3.310.0070.00016.18
7.3.300.0040.00416.00
7.3.290.0060.01016.12
7.3.280.0050.01216.11
7.3.270.0080.01617.40
7.3.260.0080.00816.13
7.3.250.0080.01016.28
7.3.240.0130.00816.20
7.3.230.0120.00616.39
7.3.210.0110.00516.18
7.3.200.0130.00319.39
7.3.190.0140.00316.60
7.3.180.0150.00616.40
7.3.170.0160.00016.37
7.3.160.0110.00616.24
7.3.120.0040.01514.41
7.3.110.0030.01414.81
7.3.100.0110.00314.68
7.3.90.0030.01014.69
7.3.80.0100.00714.55
7.3.70.0070.01014.67
7.3.60.0080.00314.60
7.3.50.0090.00614.45
7.3.40.0030.01114.76
7.3.30.0100.00714.53
7.3.20.0030.00916.63
7.3.10.0070.00716.71
7.3.00.0030.01416.57
7.2.330.0030.01416.55
7.2.320.0080.01816.32
7.2.310.0120.00616.35
7.2.300.0130.01016.40
7.2.290.0080.00816.31
7.2.250.0100.01014.97
7.2.240.0060.01214.60
7.2.230.0060.00914.71
7.2.220.0080.00414.90
7.2.210.0070.00714.82
7.2.200.0000.00915.07
7.2.190.0030.00714.90
7.2.180.0030.00714.83
7.2.170.0030.01614.90
7.2.60.0100.00616.46
7.2.00.0030.01019.21
7.1.330.0120.00315.79
7.1.320.0100.00315.41
7.1.310.0060.00915.88
7.1.300.0060.01015.49
7.1.290.0120.00315.87
7.1.280.0060.01215.40
7.1.270.0100.00715.72
7.1.260.0070.00715.95
7.1.200.0030.01315.69
7.1.100.0040.00917.88
7.1.70.0050.00217.07
7.1.60.0100.01419.20
7.1.00.0070.07322.40
7.0.200.0690.00714.34
7.0.60.0230.07319.81
7.0.50.0270.05720.40
7.0.40.0370.04720.42
7.0.30.0230.07320.23
7.0.20.0200.06320.33
7.0.10.0370.05320.32
7.0.00.0500.06320.21
5.6.280.0070.07020.79
5.6.210.0070.07720.66
5.6.200.0070.07721.16
5.6.190.0370.05721.19
5.6.180.0470.04721.05
5.6.170.0270.06021.05
5.6.160.0330.05321.13
5.6.150.0370.06021.05
5.6.140.0370.05321.04
5.6.130.0170.05321.14
5.6.120.0070.06721.11
5.6.110.0100.07021.18
5.6.100.0330.05321.03
5.6.90.0270.06321.08
5.6.80.0400.04320.40
5.6.70.0270.05020.45
5.6.60.0470.05020.41
5.6.50.0330.06020.43
5.6.40.0170.06720.51
5.6.30.0200.05720.51
5.6.20.0200.06020.48
5.6.10.0370.06720.48
5.6.00.0270.05020.53
5.5.350.0230.07320.41
5.5.340.0200.05020.88
5.5.330.0330.05720.88
5.5.320.0370.05320.83
5.5.310.0230.06320.79
5.5.300.0130.07320.85
5.5.290.0270.04720.88
5.5.280.0070.06720.93
5.5.270.0300.06020.83
5.5.260.0330.05320.96
5.5.250.0270.05720.47
5.5.240.0270.05720.29
5.5.230.0330.05320.17
5.5.220.0330.07720.17
5.5.210.0300.05320.31
5.5.200.0200.05720.37
5.5.190.0230.05720.21
5.5.180.0330.04720.20
5.5.160.0200.05020.21
5.5.150.0230.04720.23
5.5.140.0230.05320.26
5.5.130.0300.05020.23
5.5.120.0300.05320.23
5.5.110.0200.05720.00
5.5.100.0170.06720.13
5.5.90.0270.05020.17
5.5.80.0230.05320.16
5.5.70.0200.05720.08
5.5.60.0230.05020.11
5.5.50.0270.05020.23
5.5.40.0230.05320.14
5.5.30.0300.04720.10
5.5.20.0270.05720.10
5.5.10.0230.05720.09
5.5.00.0370.05020.07

preferences:
169.24 ms | 403 KiB | 5 Q