3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '"dhcp-class-identifier ""Wireless Broadband R,outer""", "dhcp-client-identifier """"", "host-name ""Wireless_Broadband_Router""", "domain-name ""home"""'; $options = str_getcsv($string, ',', '"', '\\'); foreach ($options as $option) { $send_options .= "\tsend " . trim($option) . ";\n"; } echo $send_options;

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.40.0040.01118.76
8.3.30.0150.00018.89
8.3.20.0050.00320.29
8.3.10.0050.00320.50
8.3.00.0040.00420.88
8.2.170.0070.00722.96
8.2.160.0100.01020.30
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0030.00519.48
8.2.120.0050.00226.35
8.2.110.0100.00021.00
8.2.100.0080.00418.04
8.2.90.0030.00618.27
8.2.80.0000.00819.14
8.2.70.0050.00318.05
8.2.60.0040.00418.34
8.2.50.0000.00818.10
8.2.40.0040.00719.46
8.2.30.0000.00719.32
8.2.20.0090.00017.77
8.2.10.0040.00418.13
8.2.00.0000.00718.00
8.1.270.0080.00023.92
8.1.260.0060.00328.09
8.1.250.0090.00028.09
8.1.240.0060.00322.19
8.1.230.0070.00321.03
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.23
8.1.180.0060.00318.10
8.1.170.0000.00918.46
8.1.160.0000.00718.96
8.1.150.0000.00718.81
8.1.140.0040.00419.59
8.1.130.0030.00517.58
8.1.120.0040.00417.36
8.1.110.0060.00317.43
8.1.100.0000.00817.42
8.1.90.0000.00717.45
8.1.80.0030.00517.46
8.1.70.0030.00517.50
8.1.60.0000.00817.54
8.1.50.0050.00317.48
8.1.40.0050.00317.56
8.1.30.0030.00617.62
8.1.20.0040.00417.57
8.1.10.0070.00017.55
8.1.00.0040.00417.33
8.0.300.0070.00020.11
8.0.290.0040.00416.75
8.0.280.0000.00718.50
8.0.270.0030.00317.27
8.0.260.0030.00317.16
8.0.250.0040.00416.93
8.0.240.0000.00617.01
8.0.230.0060.00317.02
8.0.220.0030.00316.96
8.0.210.0040.00416.88
8.0.200.0000.00716.92
8.0.190.0000.00817.07
8.0.180.0030.00517.05
8.0.170.0000.00817.01
8.0.160.0050.00216.99
8.0.150.0020.00516.80
8.0.140.0000.00816.84
8.0.130.0000.00513.45
8.0.120.0000.00816.96
8.0.110.0050.00217.05
8.0.100.0020.00516.96
8.0.90.0000.00716.88
8.0.80.0110.00316.96
8.0.70.0050.00317.07
8.0.60.0040.00416.85
8.0.50.0000.00716.76
8.0.30.0080.01116.94
8.0.20.0110.00817.40
8.0.10.0000.00717.14
8.0.00.0060.01116.79
7.4.330.0000.00516.77
7.4.320.0000.00616.59
7.4.300.0030.00316.62
7.4.290.0000.00816.49
7.4.280.0040.00416.49
7.4.270.0060.00016.50
7.4.260.0030.00316.43
7.4.250.0080.00016.46
7.4.240.0000.00716.43
7.4.230.0030.00316.40
7.4.220.0060.00916.57
7.4.210.0120.00616.63
7.4.200.0030.00316.42
7.4.160.0050.01016.56
7.4.150.0110.00817.40
7.4.140.0120.00617.86
7.4.130.0110.00616.52
7.4.120.0100.00716.49
7.4.110.0120.00616.45
7.4.100.0070.01116.55
7.4.90.0130.00416.47
7.4.80.0130.00319.39
7.4.70.0100.00616.44
7.4.60.0130.00716.36
7.4.50.0090.00616.61
7.4.40.0070.01016.61
7.4.30.0090.00916.73
7.4.10.0110.00714.89
7.4.00.0090.00814.94
7.3.330.0000.00513.31
7.3.320.0030.00313.09
7.3.310.0040.00416.30
7.3.300.0040.00416.37
7.3.290.0050.00216.31
7.3.280.0080.00816.37
7.3.270.0070.01117.40
7.3.260.0110.00516.30
7.3.250.0090.00716.31
7.3.240.0100.01016.48
7.3.230.0110.00616.45
7.3.210.0060.01116.62
7.3.200.0150.00319.39
7.3.190.0060.01016.52
7.3.180.0030.01316.26
7.3.170.0130.00316.30
7.3.160.0090.00616.36
7.3.130.0100.01015.02
7.3.120.0110.00714.65
7.3.110.0030.01314.88
7.3.100.0050.01014.69
7.3.90.0050.01014.72
7.3.80.0030.00814.78
7.3.70.0060.00914.82
7.3.60.0060.00514.78
7.3.50.0090.00714.73
7.3.40.0050.00914.75
7.3.30.0060.00614.72
7.3.20.0080.00516.62
7.3.10.0050.01116.54
7.3.00.0070.00816.78
7.2.330.0000.01816.64
7.2.320.0180.00316.28
7.2.310.0080.00816.43
7.2.300.0170.00016.59
7.2.290.0170.00016.64
7.2.260.0070.01014.84
7.2.250.0030.01514.98
7.2.240.0080.00815.12
7.2.230.0070.01015.24
7.2.220.0090.00615.10
7.2.210.0070.00715.27
7.2.200.0020.01115.02
7.2.190.0080.00715.00
7.2.180.0000.01515.00
7.2.170.0030.01115.06
7.2.160.0030.01214.87
7.2.150.0050.01116.93
7.2.140.0040.00916.85
7.2.130.0000.01216.98
7.2.120.0100.00716.92
7.2.110.0050.00917.02
7.2.100.0080.00816.85
7.2.90.0040.00916.96
7.2.80.0040.00816.99
7.2.70.0050.01016.98
7.2.60.0020.01117.03
7.2.50.0080.00516.96
7.2.40.0060.00816.88
7.2.30.0040.01016.96
7.2.20.0100.00516.82
7.2.10.0080.00616.79
7.2.00.0080.00417.78
7.1.330.0040.00715.80
7.1.320.0020.01015.79
7.1.310.0040.01015.68
7.1.300.0060.00715.75
7.1.290.0050.00915.82
7.1.280.0050.01115.76
7.1.270.0040.00915.84
7.1.260.0030.01115.88
7.1.250.0090.00515.64
7.1.240.0100.00315.77
7.1.230.0100.00015.89
7.1.220.0030.01015.62
7.1.210.0060.00315.96
7.1.200.0050.00715.88
7.1.190.0130.00016.04
7.1.180.0040.00815.47
7.1.170.0030.01016.00
7.1.160.0040.00715.82
7.1.150.0000.01415.73
7.1.140.0050.00515.70
7.1.130.0000.01315.46
7.1.120.0040.00415.89
7.1.110.0060.00615.83
7.1.100.0030.00916.82
7.1.90.0040.01115.95
7.1.80.0000.01315.65
7.1.70.0030.01016.57
7.1.60.0070.01017.57
7.1.50.0040.00815.74
7.1.40.0060.00615.84
7.1.30.0100.00315.84
7.1.20.0000.01615.86
7.1.10.0070.00315.60
7.1.00.0050.04119.05
7.0.330.0070.00715.10
7.0.320.0150.00415.38
7.0.310.0030.01015.57
7.0.300.0100.00315.63
7.0.290.0060.00615.52
7.0.280.0030.01015.48
7.0.270.0000.01515.58
7.0.260.0100.00315.40
7.0.250.0030.00915.65
7.0.240.0000.00815.55
7.0.230.0070.00315.36
7.0.220.0030.01015.25
7.0.210.0070.00715.59
7.0.200.0030.00916.03
7.0.190.0000.01215.29
7.0.180.0110.00015.49
7.0.170.0040.01115.39
7.0.160.0060.00915.50
7.0.150.0160.00015.50
7.0.140.0040.00415.35
7.0.130.0030.00915.56
7.0.120.0030.01215.29
7.0.110.0000.00915.39
7.0.100.0100.00315.31
7.0.90.0060.00315.61
7.0.80.0070.00715.38
7.0.70.0520.04217.68
7.0.60.0470.05217.68
7.0.50.0450.03917.72
7.0.40.0100.04416.91
7.0.30.0120.04016.74
7.0.20.0070.04416.68
7.0.10.0100.03316.88
7.0.00.0060.03816.69
5.6.400.0090.00314.63
5.6.390.0090.00614.46
5.6.380.0090.00614.52
5.6.370.0060.00614.12
5.6.360.0100.00714.52
5.6.350.0030.01014.32
5.6.340.0000.01314.07
5.6.330.0120.00014.36
5.6.320.0030.00714.46
5.6.310.0040.00814.47
5.6.300.0070.01014.11
5.6.290.0080.00014.23
5.6.280.0060.04017.64
5.6.270.0120.00314.64
5.6.260.0030.00914.09
5.6.250.0050.00514.38
5.6.240.0030.01014.42
5.6.230.0090.00614.14
5.6.220.0080.04817.55
5.6.210.0020.04217.53
5.6.200.0090.04317.65
5.6.190.0050.03017.71
5.6.180.0110.04217.83
5.6.170.0180.03817.68
5.6.160.0110.04417.54
5.6.150.0070.04717.54
5.6.140.0140.03817.67
5.6.130.0020.05017.74
5.6.120.0060.04017.74
5.6.110.0050.02817.60
5.6.100.0080.04517.69
5.6.90.0070.04217.77
5.6.80.0030.04717.39
5.6.70.0080.04317.38
5.6.60.0050.04317.39
5.6.50.0070.04517.33
5.6.40.0070.04517.40
5.6.30.0110.03617.51
5.6.20.0070.04717.41
5.6.10.0070.03317.27
5.6.00.0050.03817.29
5.5.380.0030.01014.39
5.5.370.0070.00714.25
5.5.360.0090.03017.31
5.5.350.0050.04517.37
5.5.340.0120.04317.63
5.5.330.0090.04517.43
5.5.320.0030.05017.59
5.5.310.0030.03117.52
5.5.300.0050.04417.59
5.5.290.0030.03717.67
5.5.280.0050.04517.48
5.5.270.0050.02617.51
5.5.260.0120.03917.62
5.5.250.0070.03417.44
5.5.240.0080.03317.00
5.5.230.0090.04117.05
5.5.220.0080.04417.27
5.5.210.0090.04017.26
5.5.200.0030.03417.25
5.5.190.0070.03217.11
5.5.180.0050.05017.18
5.5.170.0060.01014.14
5.5.160.0060.04417.25
5.5.150.0100.02817.20
5.5.140.0040.04317.16
5.5.130.0060.04117.24
5.5.120.0070.02817.10
5.5.110.0100.03417.16
5.5.100.0030.03917.20
5.5.90.0070.03417.08
5.5.80.0050.02917.16
5.5.70.0060.04017.13
5.5.60.0030.03317.15
5.5.50.0050.03217.15
5.5.40.0030.04317.25
5.5.30.0080.04017.04
5.5.20.0050.04817.22
5.5.10.0050.04817.03
5.5.00.0110.03817.25
5.4.450.0130.07319.31
5.4.440.0130.06319.46
5.4.430.0000.06719.46
5.4.420.0070.04319.36
5.4.410.0100.04319.02
5.4.400.0070.07319.06
5.4.390.0030.06719.06
5.4.380.0100.07319.23
5.4.370.0030.05319.07
5.4.360.0070.06719.04
5.4.350.0130.07319.09
5.4.340.0070.07319.03
5.4.320.0070.08019.11
5.4.310.0100.04318.81
5.4.300.0030.08018.94
5.4.290.0070.07019.01
5.4.280.0070.03719.03
5.4.270.0030.08319.09
5.4.260.0030.06718.78
5.4.250.0070.06719.09
5.4.240.0170.04319.09
5.4.230.0170.07019.02
5.4.220.0030.04018.77
5.4.210.0100.07318.77
5.4.200.0070.08018.91
5.4.190.0130.07318.95
5.4.180.0170.03319.13
5.4.170.0170.07319.21
5.4.160.0130.05718.81
5.4.150.0170.07318.91
5.4.140.0170.06716.34
5.4.130.0030.05716.39
5.4.120.0000.06316.37
5.4.110.0130.06716.44
5.4.100.0130.05016.34
5.4.90.0070.05016.30
5.4.80.0130.06716.29
5.4.70.0070.07716.43
5.4.60.0030.05016.18
5.4.50.0030.06016.33
5.4.40.0130.04316.25
5.4.30.0030.03716.23
5.4.20.0070.07716.19
5.4.10.0100.07316.32
5.4.00.0000.07015.71
5.3.290.0070.05714.50
5.3.280.0070.08014.43
5.3.270.0100.03714.57
5.3.260.0100.08014.52
5.3.250.0130.07714.59
5.3.240.0070.08014.43
5.3.230.0100.06714.57
5.3.220.0000.08014.55
5.3.210.0070.07314.55
5.3.200.0070.07714.55
5.3.190.0070.07014.43
5.3.180.0030.08014.55
5.3.170.0030.07714.55
5.3.160.0030.07314.38
5.3.150.0130.03314.50
5.3.140.0070.04314.52
5.3.130.0200.07014.48
5.3.120.0030.07714.41
5.3.110.0170.06314.54
5.3.100.0030.05714.03
5.3.90.0030.05713.99
5.3.80.0070.07313.88
5.3.70.0030.08013.92
5.3.60.0070.07714.00
5.3.50.0070.07713.82
5.3.40.0070.05713.94
5.3.30.0130.06013.85
5.3.20.0070.07013.67
5.3.10.0100.04713.61
5.3.00.0070.03313.60
5.2.170.0100.06012.31
5.2.160.0070.05712.31
5.2.150.0170.06012.31
5.2.140.0000.05312.31
5.2.130.0000.06312.31
5.2.120.0030.06712.31
5.2.110.0100.04012.31
5.2.100.0070.06012.31
5.2.90.0030.04312.31
5.2.80.0030.05712.31
5.2.70.0070.06312.31
5.2.60.0030.07012.31
5.2.50.0030.06312.31
5.2.40.0100.05012.31
5.2.30.0170.05312.31
5.2.20.0030.06312.31
5.2.10.0130.05012.31
5.2.00.0030.06012.31
5.1.60.0000.04012.31
5.1.50.0030.03312.31
5.1.40.0000.06012.31
5.1.30.0030.04712.31
5.1.20.0030.06012.31
5.1.10.0100.05312.31
5.1.00.0070.05712.31
5.0.50.0030.04312.31
5.0.40.0000.04712.31
5.0.30.0000.06312.31
5.0.20.0000.04712.31
5.0.10.0000.04312.31
5.0.00.0030.07012.31
4.4.90.0000.03712.31
4.4.80.0000.03712.31
4.4.70.0070.02312.31
4.4.60.0000.03312.31
4.4.50.0000.03712.31
4.4.40.0070.03012.31
4.4.30.0070.03312.31
4.4.20.0070.02712.31
4.4.10.0000.03312.31
4.4.00.0030.04312.31
4.3.110.0100.03012.31
4.3.100.0070.03012.31
4.3.90.0000.03012.31
4.3.80.0030.05012.31
4.3.70.0030.03312.31
4.3.60.0070.03012.31
4.3.50.0030.02012.31
4.3.40.0070.05312.31
4.3.30.0030.03712.31
4.3.20.0000.03312.31
4.3.10.0030.03312.31
4.3.00.0000.04012.31

preferences:
67.69 ms | 400 KiB | 5 Q