3v4l.org

run code in 300+ PHP versions simultaneously
<?php $end = array( "id" => array("value_id_1,value_id_2,value_id_3"), "title"=> array("value_title_1,value_title_2,value_title_3"), "content"=>array("value_content_1,value_content_2,value_content_3") ); $iterator = 0; while ( $iterator < 2) { $api_arr["data"][] = array( "id" => $end["id"][$iterator], "title" => $end["title"][$iterator], "content" => $end["content"][$iterator] ); $iterator ++; } print_r($api_arr);

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.0000.01516.75
8.3.50.0080.00816.30
8.3.40.0200.00018.82
8.3.30.0150.00018.67
8.3.20.0050.00220.20
8.3.10.0030.00623.48
8.3.00.0090.00023.66
8.2.180.0040.01116.50
8.2.170.0100.00722.96
8.2.160.0070.00720.53
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00219.95
8.2.120.0050.00326.35
8.2.110.0100.00022.06
8.2.100.0040.00817.92
8.2.90.0040.00419.20
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0040.00420.60
8.2.30.0070.00020.55
8.2.20.0050.00217.63
8.2.10.0030.00617.88
8.2.00.0050.00317.87
8.1.280.0030.01425.92
8.1.270.0000.00823.96
8.1.260.0100.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.13
8.1.230.0070.00419.06
8.1.220.0000.00817.77
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0040.00418.50
8.1.160.0000.00720.57
8.1.150.0030.00518.81
8.1.140.0040.00419.47
8.1.130.0030.00517.38
8.1.120.0000.00817.38
8.1.110.0000.00817.39
8.1.100.0040.00317.29
8.1.90.0040.00417.34
8.1.80.0070.00017.38
8.1.70.0080.00017.41
8.1.60.0000.00817.52
8.1.50.0060.00317.42
8.1.40.0040.00417.35
8.1.30.0030.00517.53
8.1.20.0000.00717.55
8.1.10.0030.00617.44
8.1.00.0040.00417.43
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0070.00017.30
8.0.260.0000.00716.82
8.0.250.0070.00016.97
8.0.240.0050.00316.96
8.0.230.0070.00016.84
8.0.220.0040.00416.83
8.0.210.0040.00416.78
8.0.200.0000.00716.92
8.0.190.0040.00417.01
8.0.180.0070.00016.84
8.0.170.0000.00816.90
8.0.160.0030.00316.94
8.0.150.0040.00416.89
8.0.140.0060.00316.89
8.0.130.0000.00513.29
8.0.120.0050.00316.88
8.0.110.0000.00816.92
8.0.100.0050.00316.88
8.0.90.0000.00716.77
8.0.80.0100.01016.84
8.0.70.0050.00216.74
8.0.60.0040.00416.78
8.0.50.0000.00716.97
8.0.30.0120.00816.93
8.0.20.0100.01417.40
8.0.10.0000.00717.07
8.0.00.0100.00916.85
7.4.330.0050.00016.67
7.4.320.0030.00316.35
7.4.300.0060.00016.40
7.4.290.0040.00716.55
7.4.280.0070.00316.36
7.4.270.0000.00716.49
7.4.260.0070.00016.38
7.4.250.0040.00416.55
7.4.240.0030.00516.49
7.4.230.0040.00416.51
7.4.220.0160.00316.49
7.4.210.0130.00416.47
7.4.200.0080.00016.54
7.4.160.0080.00816.36
7.4.150.0110.00717.40
7.4.140.0080.01017.86
7.4.130.0090.00916.62
7.4.120.0050.01116.47
7.4.110.0140.00716.35
7.4.100.0090.00916.54
7.4.90.0140.00416.63
7.4.80.0150.00619.39
7.4.70.0080.00816.55
7.4.60.0090.00916.48
7.4.50.0070.00716.33
7.4.40.0060.00916.38
7.4.30.0190.00316.48
7.4.00.0040.01315.04
7.3.330.0050.00013.30
7.3.320.0030.00313.27
7.3.310.0030.00316.35
7.3.300.0000.00716.30
7.3.290.0030.00316.38
7.3.280.0050.01116.40
7.3.270.0030.01417.40
7.3.260.0110.00516.44
7.3.250.0100.00716.41
7.3.240.0080.00816.56
7.3.230.0170.00716.39
7.3.210.0080.00816.36
7.3.200.0180.00419.39
7.3.190.0100.00716.39
7.3.180.0100.00716.48
7.3.170.0100.00716.52
7.3.160.0110.00816.54
7.3.120.0060.01214.96
7.3.110.0060.01215.16
7.3.100.0060.00914.98
7.3.90.0090.00314.84
7.3.80.0070.00414.87
7.3.70.0070.00314.79
7.3.60.0070.00714.72
7.3.50.0030.01414.71
7.3.40.0030.01214.84
7.3.30.0100.00314.86
7.3.20.0060.00616.52
7.3.10.0000.01316.70
7.3.00.0070.01016.66
7.2.330.0110.00716.62
7.2.320.0060.01216.40
7.2.310.0090.00916.39
7.2.300.0100.00716.30
7.2.290.0110.00516.39
7.2.250.0060.01214.77
7.2.240.0130.00715.18
7.2.230.0000.01115.23
7.2.220.0000.01015.07
7.2.210.0090.00614.93
7.2.200.0040.01114.97
7.2.190.0080.00414.93
7.2.180.0000.01114.97
7.2.170.0060.00915.16
7.2.00.0030.00919.55
7.1.330.0100.00615.89
7.1.320.0070.00715.91
7.1.310.0030.00916.11
7.1.300.0040.00715.74
7.1.290.0000.01415.82
7.1.280.0070.00715.70
7.1.270.0060.00315.69
7.1.260.0030.00915.94
7.1.100.0060.00318.12
7.1.70.0050.00317.13
7.1.60.0130.01019.20
7.1.50.0170.00717.04
7.1.00.0100.07022.44
7.0.200.0170.00314.89
7.0.60.0070.05721.73
7.0.50.0030.07017.83
7.0.40.0070.05020.40
7.0.30.0300.08020.12
7.0.20.0430.07020.20
7.0.10.0130.08720.05
7.0.00.0100.07720.21
5.6.280.0070.06021.12
5.6.210.0030.07320.66
5.6.200.0070.04318.25
5.6.190.0030.04320.47
5.6.180.0370.07720.48
5.6.170.0230.04320.47
5.6.160.0130.07720.43
5.6.150.0030.04018.18
5.6.140.0070.07318.24
5.6.130.0100.04018.18
5.6.120.0100.08321.01
5.6.110.0070.08720.89
5.6.100.0070.04020.97
5.6.90.0030.08020.89
5.6.80.0130.05720.51
5.5.350.4130.04720.33
5.5.340.0070.03718.07
5.5.330.0070.05020.27
5.5.320.0170.04320.26
5.5.310.0270.04720.18
5.5.300.0130.06017.95
5.5.290.0070.07717.93
5.5.280.0130.05020.76
5.5.270.0030.04320.75
5.5.260.0070.05020.64
5.5.250.0100.06320.54
5.5.240.4030.04320.19

preferences:
65.41 ms | 400 KiB | 5 Q