3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row2['checkbox_column1'] = 1; $checked = $row2['checkbox_column1'] == 1 ? "checked='checked'" : ''; echo "<td><input type=checkbox $checked></td>"; echo "</tr>"; $row2['checkbox_column1'] = 0; $checked = $row2['checkbox_column1'] == 1 ? "checked='checked'" : ''; echo "<td><input type=checkbox $checked></td>"; echo "</tr>";

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.80.0060.00317.97
8.3.70.0110.01116.25
8.3.60.0100.00716.75
8.3.50.0140.00821.16
8.3.40.0110.00418.75
8.3.30.0070.00719.21
8.3.20.0060.00320.20
8.3.10.0040.00423.43
8.3.00.0040.00417.50
8.2.200.0050.00516.38
8.2.190.0150.00018.56
8.2.180.0070.01418.29
8.2.170.0160.00318.95
8.2.160.0130.00622.96
8.2.150.0000.00825.66
8.2.140.0110.00724.66
8.2.130.0040.01126.16
8.2.120.0030.00622.11
8.2.110.0060.00321.00
8.2.100.0090.00317.63
8.2.90.0060.00319.18
8.2.80.0050.00317.97
8.2.70.0000.00817.62
8.2.60.0000.00817.88
8.2.50.0040.00418.07
8.2.40.0050.00318.18
8.2.30.0040.00417.98
8.2.20.0050.00217.66
8.2.10.0060.00317.99
8.2.00.0000.00718.19
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0040.00420.38
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00019.58
8.1.230.0060.00617.70
8.1.220.0040.00417.75
8.1.210.0050.00518.77
8.1.200.0000.00917.22
8.1.190.0050.00317.34
8.1.180.0000.00718.10
8.1.170.0040.00418.65
8.1.160.0040.00422.05
8.1.150.0000.00718.83
8.1.140.0000.00817.43
8.1.130.0000.00717.36
8.1.120.0050.00317.46
8.1.110.0070.00017.34
8.1.100.0000.00717.32
8.1.90.0050.00217.46
8.1.80.0030.00517.36
8.1.70.0070.00017.36
8.1.60.0030.00617.57
8.1.50.0060.00317.51
8.1.40.0000.00817.41
8.1.30.0020.00517.63
8.1.20.0000.00717.65
8.1.10.0000.00817.45
8.1.00.0000.00717.36
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0030.00318.44
8.0.270.0000.00717.23
8.0.260.0000.00616.79
8.0.250.0100.00016.85
8.0.240.0030.00316.94
8.0.230.0000.00716.89
8.0.220.0000.00716.90
8.0.210.0000.00716.83
8.0.200.0000.00616.81
8.0.190.0000.00817.00
8.0.180.0030.00716.96
8.0.170.0070.00016.89
8.0.160.0080.00016.94
8.0.150.0030.00316.86
8.0.140.0050.00316.80
8.0.130.0030.00313.27
8.0.120.0000.00816.87
8.0.110.0070.00016.95
8.0.100.0070.00016.82
8.0.90.0000.00716.83
8.0.80.0040.01416.82
8.0.70.0040.00416.87
8.0.60.0030.00616.93
8.0.50.0000.00716.82
8.0.30.0150.00317.30
8.0.20.0110.01117.40
8.0.10.0060.00317.00
8.0.00.0090.00816.61
7.4.330.0000.00515.08
7.4.320.0040.00416.59
7.4.300.0000.00616.63
7.4.290.0000.00716.59
7.4.280.0050.00216.43
7.4.270.0000.00716.60
7.4.260.0030.00316.65
7.4.250.0000.00716.41
7.4.240.0030.00416.58
7.4.230.0000.00716.69
7.4.220.0130.01016.59
7.4.210.0040.01216.57
7.4.200.0000.00716.33
7.4.160.0070.01116.44
7.4.150.0100.00717.40
7.4.140.0140.00817.86
7.4.130.0120.00616.46
7.4.120.0120.00516.46
7.4.110.0100.01316.44
7.4.100.0030.01716.50
7.4.90.0100.00616.56
7.4.80.0100.00719.39
7.4.70.0140.00316.34
7.4.60.0130.00316.38
7.4.50.0000.00916.41
7.4.40.0090.00916.46
7.4.30.0100.00716.61
7.4.00.0030.01314.94
7.3.330.0050.00013.21
7.3.320.0030.00313.18
7.3.310.0080.00016.34
7.3.300.0030.00316.16
7.3.290.0030.00316.36
7.3.280.0100.01016.23
7.3.270.0070.01017.40
7.3.260.0070.01016.41
7.3.240.0120.00616.58
7.3.230.0150.00316.39
7.3.210.0080.01116.43
7.3.200.0170.00719.39
7.3.190.0070.01416.63
7.3.180.0120.00616.46
7.3.170.0060.01316.42
7.3.160.0070.01016.54
7.3.10.0100.00316.70
7.3.00.0000.01416.84
7.2.330.0130.00316.79
7.2.320.0060.01516.62
7.2.310.0130.00416.86
7.2.300.0000.02116.68
7.2.290.0100.00716.72
7.2.130.0040.00816.66
7.2.120.0000.01417.04
7.2.110.0050.00517.21
7.2.100.0100.00316.94
7.2.90.0030.01216.86
7.2.80.0050.00416.84
7.2.70.0000.01716.70
7.2.60.0110.00516.84
7.2.50.0060.00816.73
7.2.40.0000.01216.84
7.2.30.0040.01216.98
7.2.20.0030.01316.62
7.2.10.0060.00917.05
7.2.00.0060.00816.89
7.1.250.0000.00915.99
7.1.200.0050.01015.96
7.1.70.0000.00717.09
7.1.60.0070.00417.07
7.1.50.0140.01017.00
7.1.00.0030.07722.43
7.0.200.0000.00716.88
7.0.60.0070.07019.86
7.0.50.0030.06717.81
7.0.40.0130.08020.41
7.0.30.0270.05720.16
7.0.20.0270.05720.01
7.0.10.0130.08320.09
7.0.00.0100.08020.04
5.6.280.0130.06321.14
5.6.210.0030.07320.54
5.6.200.0170.03718.08
5.6.190.0030.06320.39
5.6.180.0270.07020.61
5.6.170.0270.04020.51
5.6.160.0130.07720.51
5.6.150.0000.09018.07
5.6.140.0000.04318.18
5.6.130.0200.07318.17
5.6.120.0100.05021.01
5.6.110.0100.08320.97
5.6.100.0100.08020.97
5.6.90.0030.08320.97
5.6.80.0070.08320.44
5.5.350.3770.04020.44
5.5.340.0070.08017.99
5.5.330.0100.04020.43
5.5.320.0030.05020.18
5.5.310.0230.07320.11
5.5.300.0070.08317.94
5.5.290.0030.04717.90
5.5.280.0070.08720.73
5.5.270.0070.08020.78
5.5.260.0100.08020.75
5.5.250.0070.08320.57
5.5.240.0400.06020.18
5.4.450.2900.03719.46
5.4.440.3430.04719.20
5.4.430.3000.04019.40
5.4.420.3530.03319.13
5.4.410.2430.04319.30
5.4.400.2970.03318.90
5.4.390.3670.04319.05
5.4.380.4170.04318.80
5.4.370.0070.07318.78
5.4.360.3800.03719.07
5.4.350.3170.03719.13
5.4.340.3430.04319.25
5.4.320.4200.04319.11
5.4.310.3970.04019.21
5.4.300.4370.03319.09
5.4.290.3600.03318.80
5.4.280.4070.04019.21
5.4.270.3870.05019.13
5.4.260.2500.04019.05
5.4.250.3370.03719.23
5.4.240.3400.04019.13
5.4.230.3500.03719.25
5.4.220.3930.04319.12
5.4.210.3630.04019.07
5.4.200.3400.03718.80
5.4.190.3930.03719.07
5.4.180.3570.03318.79
5.4.170.3370.04019.08
5.4.160.3670.03719.23
5.4.150.3830.04718.80
5.4.140.3930.04316.27
5.4.130.4700.03016.22
5.4.120.3570.03016.37
5.4.110.3970.03316.41
5.4.100.3700.03716.43
5.4.90.3670.03716.22
5.4.80.3630.04016.05
5.4.70.3700.03316.39
5.4.60.2370.03716.40
5.4.50.2500.03316.38
5.4.40.3370.03716.18
5.4.30.3630.03316.20
5.4.20.3530.03316.33
5.4.10.3430.03716.43
5.4.00.3500.03315.79
5.3.290.4330.03714.51
5.3.280.3630.04314.50
5.3.270.3630.04314.56
5.3.260.3300.04314.63
5.3.250.3330.03714.48
5.3.240.3900.04314.46
5.3.230.2970.03714.45
5.3.220.3500.03314.41
5.3.210.3530.03014.51
5.3.200.3370.03714.43
5.3.190.3770.04714.61
5.3.180.3730.04014.44
5.3.170.3800.04014.65
5.3.160.3670.03314.44
5.3.150.3770.03314.43
5.3.140.3630.04014.50
5.3.130.3670.04014.59
5.3.120.3600.04314.40
5.3.110.3670.03714.39
5.3.100.3770.03714.00
5.3.90.4130.04013.96
5.3.80.3670.03713.99
5.3.70.3930.03313.89
5.3.60.3730.04013.80
5.3.50.3730.03313.98
5.3.40.3600.03313.85
5.3.30.3670.03313.84
5.3.20.3130.03713.67
5.3.10.3930.03713.53
5.3.00.3470.03313.72
5.2.170.3100.03011.79
5.2.160.3130.02311.79
5.2.150.2700.03311.79
5.2.140.2900.03311.79
5.2.130.3370.02711.79
5.2.120.3300.03011.79
5.2.110.3030.03311.79
5.2.100.3130.03011.79
5.2.90.3300.04711.79
5.2.80.3700.03011.79
5.2.70.3730.03311.79
5.2.60.3830.02711.79
5.2.50.3170.03011.79
5.2.40.2870.03011.79
5.2.30.2930.03011.79
5.2.20.2670.03311.79
5.2.10.2270.03011.79
5.2.00.2400.03711.79
5.1.60.2330.02711.79
5.1.50.2270.02711.79
5.1.40.2100.02311.79
5.1.30.2300.03011.79
5.1.20.2300.03011.79
5.1.10.2370.02011.79
5.1.00.2070.02311.79
5.0.50.1130.02311.79
5.0.40.1100.02311.79
5.0.30.1030.02711.79
5.0.20.1130.01311.79
5.0.10.1200.01711.79
5.0.00.1230.02711.79
4.4.90.1670.02011.79
4.4.80.1430.01311.79
4.4.70.1330.01711.79
4.4.60.1170.02011.79
4.4.50.1030.01711.79
4.4.40.1330.03011.79
4.4.30.1370.01711.79
4.4.20.1200.01711.79
4.4.10.1130.01711.79
4.4.00.1170.02311.79
4.3.110.1170.01311.79
4.3.100.1130.01711.79
4.3.90.1130.01311.79
4.3.80.0970.02011.79
4.3.70.1230.01311.79
4.3.60.1170.01711.79
4.3.50.1230.01311.79
4.3.40.1200.02311.79
4.3.30.0570.01711.79
4.3.20.0630.01711.79
4.3.10.0600.01311.79
4.3.00.0630.01311.79

preferences:
63.06 ms | 401 KiB | 5 Q