3v4l.org

run code in 300+ PHP versions simultaneously
<?php $headers = ['first name', 'last name']; $post_examples = ['first_name' => 'Bob', 'second_name' => 'Marley', 'submit' => null]; $i = 0; foreach($post_examples as $k => $v) { if($k == 'submit') continue; echo $headers[$i++] . ' = ' . $v . '/'; }

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.00820.09
8.5.00.0110.01121.57
8.4.150.0020.00114.05
8.4.140.0130.00917.74
8.4.130.0160.00519.49
8.4.120.0030.00520.58
8.4.110.0100.01022.40
8.4.100.0130.00618.71
8.4.90.0070.00318.66
8.4.80.0100.00618.75
8.4.70.0110.01017.88
8.4.60.0030.00518.73
8.4.50.0070.00120.58
8.4.40.0100.01019.23
8.4.30.0030.01519.27
8.4.20.0130.00317.41
8.4.10.0130.00619.67
8.3.280.0110.00918.24
8.3.270.0100.01016.86
8.3.260.0060.00216.86
8.3.250.0140.00618.87
8.3.240.0120.00617.35
8.3.230.0140.00516.66
8.3.220.0110.00618.88
8.3.210.0120.00416.70
8.3.200.0060.00316.60
8.3.190.0080.01017.36
8.3.180.0090.00916.84
8.3.170.0110.00716.44
8.3.160.0160.00016.61
8.3.150.0090.00917.19
8.3.140.0060.00318.39
8.3.130.0030.01218.53
8.3.120.0000.00919.08
8.3.110.0060.00320.94
8.3.100.0000.00824.06
8.3.90.0030.00626.77
8.3.80.0060.00318.18
8.3.70.0140.00716.50
8.3.60.0090.00916.50
8.3.50.0090.00922.00
8.3.40.0110.01118.80
8.3.30.0070.00718.73
8.3.20.0040.00418.60
8.3.10.0050.00321.95
8.3.00.0030.00621.01
8.2.290.0110.00720.47
8.2.280.0090.01118.55
8.2.270.0150.00616.71
8.2.260.0030.00318.88
8.2.250.0060.00316.69
8.2.240.0070.00018.74
8.2.230.0090.00022.58
8.2.220.0060.01237.54
8.2.210.0000.00726.77
8.2.200.0070.00318.16
8.2.190.0090.00918.29
8.2.180.0140.00716.38
8.2.170.0170.00322.96
8.2.160.0120.00320.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00421.06
8.2.120.0040.00426.35
8.2.110.0000.00922.20
8.2.100.0160.00017.75
8.2.90.0000.00818.34
8.2.80.0090.00018.16
8.2.70.0050.00318.03
8.2.60.0040.00417.92
8.2.50.0060.00318.24
8.2.40.0000.00720.48
8.2.30.0080.00019.19
8.2.20.0040.00418.13
8.2.10.0070.00018.01
8.2.00.0000.00717.65
8.1.330.0120.01021.87
8.1.320.0130.00616.03
8.1.310.0040.01416.52
8.1.300.0140.00717.96
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0000.00722.18
8.1.260.0070.00028.09
8.1.250.0050.00228.09
8.1.240.0060.00323.98
8.1.230.0070.00420.86
8.1.220.0030.00517.78
8.1.210.0090.00018.85
8.1.200.0040.00417.35
8.1.190.0000.00817.22
8.1.180.0030.00518.10
8.1.170.0040.00418.65
8.1.160.0040.00420.58
8.1.150.0030.00320.32
8.1.140.0040.00419.48
8.1.130.0040.00417.75
8.1.120.0000.00717.36
8.1.110.0080.00417.36
8.1.100.0100.00217.44
8.1.90.0080.00417.38
8.1.80.0120.00017.41
8.1.70.0100.00117.38
8.1.60.0070.00617.51
8.1.50.0050.00817.42
8.1.40.0070.00517.52
8.1.30.0050.00917.62
8.1.20.0030.01017.61
8.1.10.0090.00317.46
8.1.00.0050.00917.47
8.0.300.0040.00420.00
8.0.290.0040.00416.75
8.0.280.0070.00018.50
8.0.270.0030.00317.29
8.0.260.0030.00317.24
8.0.250.0000.00716.93
8.0.240.0020.00916.86
8.0.230.0100.00316.85
8.0.220.0110.00316.79
8.0.210.0060.00516.74
8.0.200.0050.00616.88
8.0.190.0060.00516.89
8.0.180.0050.00716.75
8.0.170.0080.00416.84
8.0.160.0030.00916.82
8.0.150.0070.00416.80
8.0.140.0060.00616.75
8.0.130.0030.00715.01
8.0.120.0070.00416.86
8.0.110.0090.00116.87
8.0.100.0050.00516.80
8.0.90.0060.00616.89
8.0.80.0100.00716.89
8.0.70.0050.00716.85
8.0.60.0070.00416.86
8.0.50.0060.00516.85
8.0.30.0100.00616.88
8.0.20.0120.00617.27
8.0.10.0060.00616.91
8.0.00.0130.00716.77
7.4.330.0020.00215.55
7.4.320.0080.00316.58
7.4.300.0060.00416.52
7.4.290.0070.00216.62
7.4.280.0020.00616.58
7.4.270.0000.00816.57
7.4.260.0040.00416.54
7.4.250.0040.00416.48
7.4.240.0040.00516.41
7.4.230.0030.00516.49
7.4.220.0100.00516.27
7.4.210.0040.00916.44
7.4.200.0060.00316.31
7.4.190.0070.00316.05
7.4.180.0100.00016.10
7.4.160.0090.00616.41
7.4.150.0110.00316.85
7.4.140.0110.00617.39
7.4.130.0090.00916.40
7.4.120.0080.00716.37
7.4.110.0070.00616.39
7.4.100.0080.00516.23
7.4.90.0120.00216.26
7.4.80.0080.00517.81
7.4.70.0070.00616.38
7.4.60.0050.00816.19
7.4.50.0010.01016.37
7.4.40.0060.00816.41
7.4.30.0090.00716.34
7.4.20.0050.00516.19
7.4.10.0070.00715.58
7.4.00.0060.00915.17
7.3.330.0060.00514.61
7.3.320.0030.00814.65
7.3.310.0050.00616.11
7.3.300.0040.00716.13
7.3.290.0090.00316.21
7.3.280.0100.00916.22
7.3.270.0100.00616.76
7.3.260.0100.00816.34
7.3.250.0080.01016.31
7.3.240.0070.01016.38
7.3.230.0090.00716.22
7.3.220.0100.00516.01
7.3.210.0110.00516.26
7.3.200.0110.00616.19
7.3.190.0100.00816.35
7.3.180.0090.00916.27
7.3.170.0100.00516.29
7.3.160.0130.00316.29
7.3.150.0150.00016.29
7.3.140.0150.00016.30
7.3.130.0100.00615.51
7.3.120.0110.00515.49
7.3.110.0080.00715.51
7.3.100.0070.00615.50
7.3.90.0110.00215.61
7.3.80.0070.00715.33
7.3.70.0080.00615.63
7.3.60.0060.00915.73
7.3.50.0040.01215.63
7.3.40.0070.00715.58
7.3.30.0110.00215.63
7.3.20.0050.00717.55
7.3.10.0100.00517.08
7.3.00.0080.00617.14
7.2.340.0080.00516.29
7.2.330.0060.01016.50
7.2.320.0110.00416.40
7.2.310.0040.01016.35
7.2.300.0120.00616.51
7.2.290.0100.00616.40
7.2.280.0150.00016.38
7.2.270.0100.00316.34
7.2.260.0100.00415.78
7.2.250.0070.01015.65
7.2.240.0120.00515.54
7.2.230.0080.00615.79
7.2.220.0110.00515.79
7.2.210.0070.00515.63
7.2.200.0080.00815.80
7.2.190.0110.00615.74
7.2.180.0090.00415.79
7.2.170.0050.00915.61
7.2.160.0080.00715.57
7.2.150.0100.00517.69
7.2.140.0100.00617.69
7.2.130.0080.00517.50
7.2.120.0090.00717.41
7.2.110.0100.00517.53
7.2.100.0080.00517.44
7.2.90.0080.00717.35
7.2.80.0130.00317.30
7.2.70.0040.01017.39
7.2.60.0090.00517.37
7.2.50.0100.00417.43
7.2.40.0070.00917.43
7.2.30.0050.00817.32
7.2.20.0090.00617.47
7.2.10.0100.00617.44
7.2.00.0090.00617.86
7.1.330.0060.00816.47
7.1.320.0060.00916.38
7.1.310.0040.00616.40
7.1.300.0160.00416.45
7.1.290.0070.00416.50
7.1.280.0050.00916.45
7.1.270.0090.00616.56
7.1.260.0080.00716.47
7.1.250.0050.00716.18
7.1.240.0080.00616.54
7.1.230.0080.00916.40
7.1.220.0080.00616.39
7.1.210.0070.00916.46
7.1.200.0080.00616.00
7.1.190.0070.00616.42
7.1.180.0070.00516.50
7.1.170.0060.01316.45
7.1.160.0070.00516.44
7.1.150.0090.00716.57
7.1.140.0070.00416.37
7.1.130.0070.00716.45
7.1.120.0070.00716.50
7.1.110.0070.00716.60
7.1.100.0070.00816.63
7.1.90.0080.00416.64
7.1.80.0060.00816.54
7.1.70.0070.00416.69
7.1.60.0040.00816.88
7.1.50.0060.00816.57
7.1.40.0080.00416.56
7.1.30.0070.00816.54
7.1.20.0070.00516.55
7.1.10.0090.00616.40
7.1.00.0040.03318.38
7.0.330.0090.00416.19
7.0.320.0080.00615.99
7.0.310.0090.00616.26
7.0.300.0060.00716.21
7.0.290.0080.00716.21
7.0.280.0080.00516.23
7.0.270.0110.00616.20
7.0.260.0080.00616.19
7.0.250.0060.00616.30
7.0.240.0050.00616.17
7.0.230.0070.00516.24
7.0.220.0080.00816.23
7.0.210.0080.00516.23
7.0.200.0040.00815.80
7.0.190.0100.00416.03
7.0.180.0070.00616.23
7.0.170.0070.00416.15
7.0.160.0070.00416.20
7.0.150.0120.00216.21
7.0.140.0020.01116.08
7.0.130.0040.02618.17
7.0.120.0090.02418.12
7.0.110.0090.02318.08
7.0.100.0070.02818.02
7.0.90.0080.02418.10
7.0.80.0070.02718.09
7.0.70.0080.02418.00
7.0.60.0070.02318.21
7.0.50.0100.01818.21
7.0.40.0050.02517.49
7.0.30.0110.02117.53
7.0.20.0050.02417.53
7.0.10.0110.01917.42
7.0.00.0080.02317.58
5.6.400.0020.01115.09
5.6.390.0070.00615.22
5.6.380.0080.00714.95
5.6.370.0070.00714.95
5.6.360.0100.00314.97
5.6.350.0070.00514.85
5.6.340.0050.00915.05
5.6.330.0110.00414.98
5.6.320.0070.00514.92
5.6.310.0070.00814.94
5.6.300.0110.00215.03
5.6.290.0070.00814.88
5.6.280.0090.02217.00
5.6.270.0070.03117.04
5.6.260.0090.02217.13
5.6.250.0110.01916.96
5.6.240.0080.02417.00
5.6.230.0130.02117.13
5.6.220.0060.02617.15
5.6.210.0090.02517.14
5.6.200.0070.03017.09
5.6.190.0090.02117.04
5.6.180.0070.02316.98
5.6.170.0090.02217.14
5.6.160.0090.02617.12
5.6.150.0070.02717.05
5.6.140.0150.01817.04
5.6.130.0120.01916.96
5.6.120.0110.02217.08
5.6.110.0070.02616.99
5.6.100.0080.02217.05
5.6.90.0090.02016.98
5.6.80.0080.02116.75
5.6.70.0070.02216.82
5.6.60.0090.02116.78
5.6.50.0110.01816.80
5.6.40.0080.02316.80
5.6.30.0080.02316.76
5.6.20.0090.02116.81
5.6.10.0080.02216.72
5.6.00.0100.02016.73

preferences:
153.07 ms | 403 KiB | 5 Q