3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = '<input type="radio" name="alright" id="alright-1" value="1">'; echo preg_replace( '/<input([a-zA-Z_0-9 ={}"]*)type="radio"([a-zA-Z_0-9 ={}"]*)name="alright"([a-zA-Z_0-9 ={}"]*)value="1">/', '<input$1type="radio"$2name="alright"$3value="1" checked>', $val );

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.0070.01418.43
8.3.50.0150.00722.01
8.3.40.0040.01119.02
8.3.30.0110.00419.05
8.3.20.0040.00420.20
8.3.10.0060.00321.68
8.3.00.0050.00319.25
8.2.180.0110.00416.63
8.2.170.0000.01522.96
8.2.160.0110.00420.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0060.00319.48
8.2.110.0090.00019.45
8.2.100.0000.01217.99
8.2.90.0030.00519.23
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0040.00417.80
8.2.50.0030.00518.10
8.2.40.0000.00818.16
8.2.30.0030.00518.00
8.2.20.0040.00417.90
8.2.10.0020.00517.95
8.2.00.0000.00717.66
8.1.280.0130.00725.92
8.1.270.0040.00418.70
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.75
8.1.230.0060.00617.82
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0000.00817.48
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00420.63
8.1.160.0040.00422.03
8.1.150.0030.00518.82
8.1.140.0090.00017.48
8.1.130.0000.00717.78
8.1.120.0040.00317.55
8.1.110.0040.00417.46
8.1.100.0070.00017.59
8.1.90.0000.00717.40
8.1.80.0000.00717.60
8.1.70.0000.00717.44
8.1.60.0060.00317.73
8.1.50.0000.00917.51
8.1.40.0050.00217.50
8.1.30.0050.00517.70
8.1.20.0030.00617.68
8.1.10.0070.00317.67
8.1.00.0040.00417.61
8.0.300.0070.00018.77
8.0.290.0050.00216.75
8.0.280.0000.00818.46
8.0.270.0030.00317.21
8.0.260.0040.00417.25
8.0.250.0030.00316.99
8.0.240.0000.00817.04
8.0.230.0070.00016.88
8.0.220.0030.00316.90
8.0.210.0000.00716.93
8.0.200.0030.00316.99
8.0.190.0000.00817.00
8.0.180.0070.00016.91
8.0.170.0030.00617.01
8.0.160.0080.00017.05
8.0.150.0080.00016.90
8.0.140.0030.00516.83
8.0.130.0050.00313.45
8.0.120.0050.00316.84
8.0.110.0050.00317.04
8.0.100.0070.00016.83
8.0.90.0000.00816.86
8.0.80.0070.01516.99
8.0.70.0040.00417.05
8.0.60.0040.00416.90
8.0.50.0060.00317.01
8.0.30.0150.01017.38
8.0.20.0080.01317.40
8.0.10.0070.00017.14
8.0.00.0090.00916.81
7.4.330.0060.00015.03
7.4.320.0000.00616.80
7.4.300.0040.00416.64
7.4.290.0030.00316.59
7.4.280.0060.00316.76
7.4.270.0030.00316.66
7.4.260.0050.00316.54
7.4.250.0070.00016.62
7.4.240.0000.00716.63
7.4.230.0050.00316.79
7.4.220.0110.00816.74
7.4.210.0040.01116.63
7.4.200.0070.00016.87
7.4.160.0080.00816.70
7.4.150.0120.00617.40
7.4.140.0160.00317.86
7.4.130.0050.01316.64
7.4.120.0110.00616.74
7.4.110.0100.00716.77
7.4.100.0120.00616.60
7.4.90.0090.00916.74
7.4.80.0080.01319.39
7.4.70.0100.00716.62
7.4.60.0100.00716.61
7.4.50.0040.00016.41
7.4.40.0130.00316.50
7.4.30.0120.00616.85
7.4.00.0030.01015.18
7.3.330.0000.00513.22
7.3.320.0120.00013.13
7.3.310.0000.00716.23
7.3.300.0040.00416.28
7.3.290.0040.01216.31
7.3.280.0130.00616.33
7.3.270.0130.01017.40
7.3.260.0110.01416.67
7.3.250.0100.01016.38
7.3.240.0100.00716.29
7.3.230.0120.00916.40
7.3.210.0130.00316.29
7.3.200.0070.01019.39
7.3.190.0050.01116.46
7.3.180.0090.00916.34
7.3.170.0090.00916.27
7.3.160.0130.00316.53
7.2.330.0150.00916.60
7.2.320.0130.00416.50
7.2.310.0180.00016.68
7.2.300.0060.01216.62
7.2.290.0110.00816.58
7.2.00.0030.00919.30
7.1.100.0050.00518.32
7.1.70.0000.00817.30
7.1.60.0100.00317.06
7.1.50.0030.01616.93
7.1.00.0030.07322.43
7.0.200.0030.00716.59
7.0.140.0030.07022.12
7.0.60.0100.08019.96
7.0.50.0100.07717.90
7.0.40.0230.07020.42
7.0.30.0270.07720.11
7.0.20.0170.04020.12
7.0.10.0370.07320.13
7.0.00.0030.04720.10
5.6.280.0030.07020.89
5.6.210.0100.04720.75
5.6.200.0070.07718.17
5.6.190.0000.04720.32
5.6.180.0270.05320.40
5.6.170.0300.07720.71
5.6.160.0030.05320.46
5.6.150.0100.06018.07
5.6.140.0000.08018.13
5.6.130.0100.03318.23
5.6.120.0030.06720.98
5.6.110.0170.07321.11
5.6.100.0170.07720.96
5.6.90.0130.07020.87
5.6.80.0070.07320.37
5.6.70.0200.07720.29
5.5.350.0300.06720.51
5.5.340.0070.06017.89
5.5.330.0100.08020.56
5.5.320.0000.05320.37
5.5.310.0370.06320.30
5.5.300.0070.04017.98
5.5.290.0030.08317.96
5.5.280.0100.06720.76
5.5.270.0070.07020.86
5.5.260.0030.04720.64
5.5.250.0070.09020.69
5.5.240.0030.07320.27
5.4.450.0030.04019.43
5.4.440.1700.04319.41
5.4.430.3200.03719.40
5.4.420.3130.03019.57
5.4.410.3430.03719.43
5.4.400.3130.04019.25
5.4.390.2970.04019.07
5.4.380.3370.03718.80
5.4.370.3570.04018.89
5.4.360.3570.04018.93
5.4.350.3630.03718.78
5.4.340.3730.04019.06
5.4.320.3430.04018.78
5.4.310.3000.04019.09
5.4.300.3630.03719.11
5.4.290.3730.04019.23
5.4.280.3400.04319.21
5.4.270.3670.04319.24
5.4.260.3600.03719.09
5.4.250.3900.03318.93
5.4.240.2900.04019.12
5.4.230.3330.03319.14
5.4.220.3270.03318.80
5.4.210.3100.03719.20
5.4.200.2400.04018.93
5.4.190.0070.07718.76
5.4.180.0000.04718.76
5.4.170.0030.04718.90
5.4.160.2930.03719.07
5.4.150.4300.03719.07
5.4.140.3630.04016.23
5.4.130.3830.03016.16
5.4.120.2730.03716.30
5.4.110.3170.04016.46
5.4.100.2870.04016.44
5.4.90.3170.03716.19
5.4.80.3170.03716.05
5.4.70.3230.03716.46
5.4.60.3130.03716.36
5.4.50.3170.04016.36
5.4.40.3170.04016.35
5.4.30.2970.03316.36
5.4.20.2900.04016.40
5.4.10.3670.03316.22
5.4.00.3230.04015.70
5.3.290.3170.04314.49
5.3.280.3230.03714.60
5.3.270.3230.03314.48
5.3.260.3030.03714.51
5.3.250.3230.03314.45
5.3.240.3470.03314.43
5.3.230.3230.03314.52
5.3.220.3200.03314.50
5.3.210.2970.03314.46
5.3.200.3130.03314.66
5.3.190.3230.03714.52
5.3.180.3000.03014.40
5.3.170.3370.03714.50
5.3.160.3270.03314.42
5.3.150.2930.03714.53
5.3.140.3230.03714.46
5.3.130.3300.03314.38
5.3.120.3200.03714.39
5.3.110.2800.04314.39
5.3.100.3300.04013.87
5.3.90.3530.03014.00
5.3.80.3130.03713.97
5.3.70.3200.03313.86
5.3.60.2730.04013.95
5.3.50.3330.04013.73
5.3.40.3300.04013.88
5.3.30.3330.03313.71
5.3.20.3230.04013.63
5.3.10.3200.03713.56
5.3.00.2970.03313.62
5.2.170.2630.03712.24
5.2.160.2430.03712.24
5.2.150.2630.03012.24
5.2.140.2770.02712.24
5.2.130.2530.02712.24
5.2.120.2930.03312.24
5.2.110.2700.03012.24
5.2.100.2600.02712.24
5.2.90.2270.03012.24
5.2.80.2470.03012.24
5.2.70.2430.03312.24
5.2.60.2270.03012.24
5.2.50.2600.03012.24
5.2.40.1870.02712.24
5.2.30.2130.02712.24
5.2.20.2070.03012.24
5.2.10.1930.03312.24
5.2.00.1800.03712.24
5.1.60.1970.02312.24
5.1.50.2170.01712.24
5.1.40.1700.02712.24
5.1.30.2000.02012.24
5.1.20.2030.02312.24
5.1.10.2030.02712.24
5.1.00.1770.02312.24
5.0.50.1130.01312.24
5.0.40.0970.02012.24
5.0.30.1200.02712.24
5.0.20.1000.01712.24
5.0.10.1000.02012.24
5.0.00.1030.03312.24
4.4.90.0970.01712.24
4.4.80.1070.01712.24
4.4.70.1030.01312.24
4.4.60.1000.01312.24
4.4.50.0970.01712.24
4.4.40.1100.02312.24
4.4.30.1000.01312.24
4.4.20.0970.01312.24
4.4.10.1170.01012.24
4.4.00.1170.02712.24
4.3.110.1100.01712.24
4.3.100.1230.01712.24
4.3.90.1130.01312.24
4.3.80.1170.02712.24
4.3.70.1000.01312.24
4.3.60.1130.01712.24
4.3.50.1270.01712.24
4.3.40.1030.02312.24
4.3.30.0570.01712.24
4.3.20.0570.01712.24
4.3.10.0670.02712.24
4.3.00.0570.01312.24

preferences:
95.92 ms | 401 KiB | 5 Q