3v4l.org

run code in 300+ PHP versions simultaneously
<?php $offer = 'some text offer with checkboxes '; $offer.= '<input type="checkbox" name="offer100500_1_chk" id = "offer100500_1_chk" value = "1" checked = "checked"/> first chkBox'; $offer.= '<input type="checkbox" name="offer100500_2_chk" id = "offer100500_2_chk" value = "1" checked = "checked"/> second chkBox'; $offer.= '<input type="checkbox" name="offer100500_4_chk" id = "offer100500_4_chk" value = "1" checked = "checked"/> third chkBox'; $offer.= '<input type="checkbox" name="offer100500_9_chk" id = "offer100500_9_chk" value = "1" checked = "checked"/> fours chkBox'; preg_match_all('/type="checkbox".*name="([\w]+)"/', $offer, $matches, PREG_SET_ORDER); var_dump($matches);

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.50
8.3.50.0000.01516.82
8.3.40.0180.00018.91
8.3.30.0120.00318.83
8.3.20.0110.00421.68
8.3.10.0040.00420.70
8.3.00.0050.00323.39
8.2.180.0110.00418.43
8.2.170.0040.01122.96
8.2.160.0100.00319.25
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0060.00321.15
8.2.120.0050.00326.35
8.2.110.0030.00722.30
8.2.100.0090.00317.84
8.2.90.0040.00417.84
8.2.80.0090.00017.97
8.2.70.0080.00017.80
8.2.60.0040.00418.05
8.2.50.0030.00618.10
8.2.40.0070.00020.51
8.2.30.0060.00319.13
8.2.20.0040.00417.95
8.2.10.0040.00417.91
8.2.00.0050.00317.75
8.1.280.0110.00425.92
8.1.270.0080.00023.81
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0060.00322.00
8.1.230.0000.01220.88
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0090.00017.35
8.1.190.0050.00317.36
8.1.180.0040.00418.10
8.1.170.0000.00818.63
8.1.160.0000.00722.20
8.1.150.0040.00418.86
8.1.140.0000.00819.54
8.1.130.0030.00517.65
8.1.120.0060.00317.56
8.1.110.0000.00817.56
8.1.100.0030.00417.50
8.1.90.0080.00017.44
8.1.80.0070.00017.61
8.1.70.0070.00017.48
8.1.60.0000.00817.68
8.1.50.0000.00917.53
8.1.40.0000.00817.49
8.1.30.0040.00417.72
8.1.20.0090.00317.79
8.1.10.0000.00817.55
8.1.00.0030.00617.58
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.40
8.0.270.0070.00217.21
8.0.260.0030.00317.40
8.0.250.0030.00617.02
8.0.240.0030.00317.00
8.0.230.0040.00417.04
8.0.220.0070.00016.99
8.0.210.0040.00417.00
8.0.200.0060.00017.04
8.0.190.0030.00616.92
8.0.180.0000.00817.03
8.0.170.0000.00716.87
8.0.160.0030.00316.98
8.0.150.0100.00016.80
8.0.140.0040.00417.00
8.0.130.0000.00813.41
8.0.120.0000.00816.92
8.0.110.0020.00816.87
8.0.100.0000.00816.80
8.0.90.0000.00716.77
8.0.80.0130.00516.93
8.0.70.0040.00417.02
8.0.60.0000.00717.02
8.0.50.0000.00717.04
8.0.30.0090.00917.18
8.0.20.0080.01017.40
8.0.10.0040.00417.12
8.0.00.0120.00617.07
7.4.330.0070.00015.21
7.4.320.0040.00416.66
7.4.300.0030.00316.66
7.4.290.0040.00416.75
7.4.280.0080.00016.59
7.4.270.0000.00716.68
7.4.260.0000.00716.73
7.4.250.0040.00416.75
7.4.240.0050.00316.77
7.4.230.0000.00716.55
7.4.220.0060.01016.75
7.4.210.0050.00916.67
7.4.200.0030.00316.56
7.4.160.0100.00816.57
7.4.150.0150.00617.40
7.4.140.0090.00917.86
7.4.130.0070.01016.69
7.4.120.0130.00516.61
7.4.110.0110.01016.55
7.4.100.0110.00616.55
7.4.90.0150.00316.53
7.4.80.0110.00719.39
7.4.70.0120.00416.52
7.4.60.0100.00716.76
7.4.50.0080.00216.70
7.4.40.0000.01616.42
7.4.30.0090.01416.66
7.4.00.0070.01015.13
7.3.330.0000.00513.26
7.3.320.0000.00713.19
7.3.310.0000.00816.22
7.3.300.0000.00716.11
7.3.290.0030.00316.13
7.3.280.0110.00916.27
7.3.270.0060.01217.40
7.3.260.0100.00716.44
7.3.250.0100.01016.37
7.3.240.0100.00816.32
7.3.230.0080.00816.72
7.3.210.0100.00716.51
7.3.200.0110.01116.23
7.3.190.0120.00916.55
7.3.180.0070.01116.50
7.3.170.0170.00016.51
7.3.160.0110.00816.33
7.3.120.0070.01014.61
7.3.110.0170.00014.75
7.3.100.0060.00615.01
7.3.90.0100.00314.79
7.3.80.0120.00014.75
7.3.70.0040.01414.70
7.3.60.0160.00014.74
7.3.50.0120.00314.84
7.3.40.0060.01014.86
7.3.30.0060.00914.93
7.3.20.0030.00716.40
7.3.10.0120.00316.43
7.3.00.0030.01016.50
7.2.330.0130.00616.59
7.2.320.0100.01016.74
7.2.310.0080.01516.57
7.2.300.0060.01216.66
7.2.290.0060.01216.52
7.2.250.0030.01615.05
7.2.240.0040.01515.04
7.2.230.0100.00615.13
7.2.220.0090.00015.16
7.2.210.0060.01014.86
7.2.200.0090.00914.81
7.2.190.0000.01314.86
7.2.180.0000.01815.09
7.2.170.0070.01015.21
7.2.60.0220.00316.92
7.2.50.0000.01216.93
7.2.00.0000.01419.35
7.1.330.0110.00315.96
7.1.320.0000.01516.11
7.1.310.0070.01116.07
7.1.300.0100.00315.65
7.1.290.0030.00715.85
7.1.280.0100.00615.80
7.1.270.0030.01215.96
7.1.260.0070.00715.75
7.1.200.0030.00915.65
7.1.70.0040.00417.34
7.1.60.0040.00817.49
7.1.50.0110.01117.16
7.1.00.0000.08022.45
7.0.200.0180.00714.55
7.0.110.0230.06320.35
7.0.100.0330.05720.36
7.0.90.0200.06320.18
7.0.80.0370.05720.30
7.0.70.0200.06320.33
7.0.60.0370.04720.19
7.0.50.0300.05720.23
7.0.40.0270.07020.27
7.0.30.0530.06320.18
7.0.23.8730.05313.79
7.0.10.0400.05020.37
7.0.00.0400.05320.22
5.6.260.0130.07320.84
5.6.250.0200.05020.86
5.6.240.0100.05721.02
5.6.230.0100.06320.98
5.6.220.0170.05021.00
5.6.210.0100.06720.98
5.6.200.0030.06321.00
5.6.190.0230.04321.00
5.6.180.0100.06021.00
5.6.170.0100.05720.74
5.6.160.0200.05020.79
5.6.150.0100.06021.05
5.6.140.0070.06021.00
5.6.130.0270.06020.84
5.6.120.0170.07320.86
5.6.110.0170.05720.99
5.6.100.0100.07020.98
5.6.90.0270.05020.71
5.6.80.0230.07020.18
5.6.70.0230.07020.20
5.6.60.0100.08720.20
5.6.50.0130.08020.44
5.6.40.0230.07020.20
5.6.30.0230.07320.31
5.6.20.0130.08320.10
5.6.10.0200.07320.40
5.6.00.0170.07320.16

preferences:
60.05 ms | 401 KiB | 5 Q