3v4l.org

run code in 300+ PHP versions simultaneously
<?php $domainName = '...cloud.daanscho.one....'; // Strip periods, apply punycode encoding, and convert to lowercase $domainName = strtolower( $this->punyCodeParser->encode( trim($domainName, '.') ) ); var_dump($domainName); $domainName = '...cloud.daanscho.one....'; // Strip periods, apply punycode encoding, and convert to lowercase $domainName = strtolower( $this->punyCodeParser->encode( preg_replace('/^[.]*(?U)(.*)[.]*$/u', '\\1', $domainName) ) ); var_dump($domainName);

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.0090.00618.43
8.3.50.0070.00716.38
8.3.40.0090.00618.83
8.3.30.0120.00318.50
8.3.20.0030.00620.36
8.3.10.0000.00821.84
8.3.00.0080.00020.84
8.2.180.0110.00718.21
8.2.170.0060.01222.96
8.2.160.0110.00322.17
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.27
8.2.120.0040.00426.35
8.2.110.0060.00322.16
8.2.100.0120.00017.78
8.2.90.0030.00519.05
8.2.80.0050.00317.97
8.2.70.0050.00317.63
8.2.60.0040.00417.92
8.2.50.0050.00318.10
8.2.40.0040.00422.32
8.2.30.0040.00420.98
8.2.20.0000.00918.00
8.2.10.0000.00818.06
8.2.00.0070.00018.07
8.1.280.0140.00325.92
8.1.270.0030.00523.79
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0040.00423.88
8.1.230.0090.00322.00
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0100.00017.35
8.1.190.0030.00517.35
8.1.180.0080.00018.10
8.1.170.0000.00818.55
8.1.160.0000.00718.93
8.1.150.0000.00718.75
8.1.140.0000.00819.36
8.1.130.0000.00818.90
8.1.120.0050.00317.45
8.1.110.0050.00317.44
8.1.100.0030.00517.28
8.1.90.0040.00417.42
8.1.80.0060.00317.43
8.1.70.0000.00717.41
8.1.60.0040.00417.52
8.1.50.0000.00817.41
8.1.40.0000.00917.42
8.1.30.0000.00717.70
8.1.20.0040.00417.69
8.1.10.0040.00417.59
8.1.00.0050.00217.54
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.39
8.0.270.0000.00817.25
8.0.260.0030.00316.81
8.0.250.0000.00716.96
8.0.240.0050.00216.79
8.0.230.0040.00416.96
8.0.220.0080.00016.93
8.0.210.0030.00616.79
8.0.200.0000.00716.84
8.0.190.0040.00416.94
8.0.180.0050.00316.93
8.0.170.0070.00016.80
8.0.160.0050.00516.93
8.0.150.0070.00016.82
8.0.140.0000.00816.84
8.0.130.0030.00313.28
8.0.120.0050.00316.84
8.0.110.0040.00416.91
8.0.100.0070.00016.93
8.0.90.0000.00716.84
8.0.80.0140.00316.81
8.0.70.0050.00216.80
8.0.60.0040.00416.84
8.0.50.0050.00216.95
8.0.30.0100.01017.20
8.0.20.0090.00917.40
8.0.10.0060.00317.00
8.0.00.0100.00716.57
7.4.330.0060.00015.55
7.4.320.0000.00616.37
7.4.300.0000.00616.61
7.4.290.0070.00316.50
7.4.280.0060.00316.66
7.4.270.0040.00416.57
7.4.260.0020.00516.56
7.4.250.0030.00316.45
7.4.240.0000.00716.59
7.4.230.0030.00316.50
7.4.220.0140.00316.42
7.4.210.0050.00816.66
7.4.200.0020.00516.44
7.4.160.0100.00716.58
7.4.150.0120.00917.40
7.4.140.0070.01017.86
7.4.130.0070.02616.69
7.4.120.0080.01216.51
7.4.110.0070.01016.64
7.4.100.0110.01416.60
7.4.90.0110.00716.66
7.4.80.0100.00719.39
7.4.70.0060.01316.67
7.4.60.0090.00616.55
7.4.50.0090.00216.48
7.4.40.0100.00716.50
7.4.30.0090.00616.46
7.4.10.0030.01214.87
7.4.00.0070.00614.93
7.3.330.0000.00613.10
7.3.320.0000.00513.00
7.3.310.0000.00716.32
7.3.300.0040.00416.26
7.3.290.0040.00416.28
7.3.280.0090.00816.25
7.3.270.0140.00317.40
7.3.260.0110.00516.32
7.3.250.0110.00916.41
7.3.240.0110.01016.42
7.3.230.0150.00316.30
7.3.210.0100.00616.47
7.3.200.0030.01316.47
7.3.190.0100.00716.26
7.3.180.0070.00716.45
7.3.170.0060.01016.44
7.3.160.0000.01516.30
7.3.130.0100.00714.79
7.3.120.0030.01015.07
7.3.110.0070.01114.72
7.3.100.0090.00615.02
7.3.90.0000.01414.49
7.3.80.0090.00015.06
7.3.70.0060.00914.84
7.3.60.0040.00814.56
7.3.50.0000.01414.67
7.3.40.0030.00714.41
7.3.30.0040.01114.75
7.3.20.0040.00716.67
7.3.10.0100.00316.69
7.3.00.0040.00416.39
7.2.330.0130.01016.73
7.2.320.0190.00416.28
7.2.310.0130.00316.27
7.2.300.0150.00616.24
7.2.290.0120.00916.57
7.2.260.0060.01215.23
7.2.250.0140.00315.15
7.2.240.0060.00915.07
7.2.230.0060.01214.95
7.2.220.0000.01015.15
7.2.210.0070.00715.18
7.2.200.0060.00314.91
7.2.190.0090.00614.94
7.2.180.0080.00914.90
7.2.170.0070.00714.94
7.2.160.0070.01114.98
7.2.150.0100.00717.00
7.2.140.0100.00716.83
7.2.130.0060.00616.64
7.2.120.0030.01016.63
7.2.110.0200.00316.63
7.2.100.0150.00716.46
7.2.90.0190.00216.44
7.2.80.0080.01016.31
7.2.70.0100.00916.75
7.2.60.0070.01116.72
7.2.50.0130.00816.72
7.2.40.0140.01116.58
7.2.30.0130.00916.45
7.2.20.0140.00916.61
7.2.10.0190.00616.42
7.2.00.0070.01317.57
7.1.330.0060.00915.70
7.1.320.0070.00715.85
7.1.310.0100.00315.89
7.1.300.0070.00715.61
7.1.290.0000.01115.59
7.1.280.0000.01315.62
7.1.270.0070.00715.46
7.1.260.0040.01415.65
7.1.250.0060.00615.80
7.1.240.0100.00315.63
7.1.230.0120.00615.47
7.1.220.0050.01115.32
7.1.210.0050.01015.25
7.1.200.0090.00815.44
7.1.190.0150.00815.55
7.1.180.0150.00515.64
7.1.170.0110.00415.59
7.1.160.0110.00515.43
7.1.150.0120.00615.37
7.1.140.0170.00515.33
7.1.130.0140.00915.29
7.1.120.0120.00915.54
7.1.110.0110.00915.37
7.1.100.0130.00416.18
7.1.90.0100.00915.39
7.1.80.0100.00815.26
7.1.70.0120.00615.88
7.1.60.0180.01221.35
7.1.50.0210.01121.10
7.1.40.0200.01121.04
7.1.30.0270.01321.23
7.1.20.0170.01521.12
7.1.10.0190.00515.12
7.1.00.0150.00815.08
7.0.330.0040.01115.42
7.0.320.0080.00015.05
7.0.310.0100.00915.14
7.0.300.0090.00715.28
7.0.290.0120.01215.05
7.0.280.0110.00814.95
7.0.270.0160.00314.98
7.0.260.0140.00515.07
7.0.250.0140.00614.86
7.0.240.0150.00615.05
7.0.230.0100.00914.88
7.0.220.0160.00615.14
7.0.210.0120.00815.10
7.0.200.0160.00515.01
7.0.190.0160.00814.86
7.0.180.0210.00614.79
7.0.170.0190.00814.80
7.0.160.0180.00814.88
7.0.150.0350.00714.78
7.0.140.0130.01014.89
7.0.130.0160.00814.93
7.0.120.0110.01114.79
7.0.110.0150.00814.84
7.0.100.0190.01114.82
7.0.90.0140.00914.87
7.0.80.0170.00814.77
7.0.70.0130.01114.82
7.0.60.0180.00914.76
7.0.50.0150.00714.88
7.0.40.0150.00613.56
7.0.30.0160.00513.67
7.0.20.0110.00613.52
7.0.10.0140.01113.61
7.0.00.0090.01113.70
5.6.400.0040.01114.45
5.6.390.0030.01014.11
5.6.380.0040.01214.01
5.6.370.0100.00614.46
5.6.360.0050.00514.25
5.6.350.0070.00414.12
5.6.340.0040.00713.94
5.6.330.0080.00414.38
5.6.320.0030.01013.92
5.6.310.0100.00314.43
5.6.300.0000.00914.35
5.6.290.0090.00314.10
5.6.280.0000.01014.35
5.6.270.0060.00914.17
5.6.260.0030.01014.32
5.6.250.0030.00914.45
5.6.240.0030.00914.25
5.6.230.0060.00614.39
5.6.220.0040.00814.14
5.6.210.0110.00014.21
5.6.200.0030.00914.23
5.6.190.0070.00713.85
5.6.180.0060.00814.21
5.6.170.0070.00714.11
5.6.160.0030.01013.99
5.6.150.0060.00314.05
5.6.140.0030.00914.16
5.6.130.0040.01114.31
5.6.120.0030.00914.10
5.6.110.0100.00714.04
5.6.100.0090.00614.07
5.6.90.0070.01014.23
5.6.80.0000.01214.14
5.6.70.0040.00714.23
5.6.60.0070.00413.91
5.6.50.0030.01014.11
5.6.40.0040.00713.89
5.6.30.0070.00314.36
5.6.20.0040.00714.16
5.6.10.0070.00714.08
5.6.00.0000.01613.90

preferences:
41.59 ms | 400 KiB | 5 Q