3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xmlstr = " <employee> <employeename>test</employeename> <employeeaddress>test123</employeeaddress> <SSN>12343456</SSN> <company>TOPXML</company> </employee> "; $dom = new \DOMDocument; $dom->loadXML($xmlstr); $node = $dom->firstChild->firstChild; $node->normalize(); echo $dom->C14N();echo "\n\n"; echo $node->C14N(); ?>

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.81
8.3.50.0060.00918.30
8.3.40.0100.01019.04
8.3.30.0140.00019.06
8.3.20.0050.00319.54
8.3.10.0000.00823.98
8.3.00.0080.00020.79
8.2.180.0130.00618.66
8.2.170.0060.00922.96
8.2.160.0140.00020.77
8.2.150.0030.00524.18
8.2.140.0000.00724.66
8.2.130.0080.00018.41
8.2.120.0090.00026.35
8.2.110.0100.01019.38
8.2.100.0070.00718.09
8.2.90.0060.00618.00
8.2.80.0030.00617.97
8.2.70.0000.00818.18
8.2.60.0000.00818.41
8.2.50.0080.00018.10
8.2.40.0040.00419.60
8.2.30.0070.00019.60
8.2.20.0110.00018.46
8.2.10.0040.00418.47
8.2.00.0080.00018.15
8.1.280.0110.00725.92
8.1.270.0000.00819.18
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0110.01122.29
8.1.230.0110.00022.51
8.1.220.0060.00317.91
8.1.210.0050.00318.77
8.1.200.0000.00917.38
8.1.190.0000.00817.63
8.1.180.0040.00418.10
8.1.170.0080.00018.80
8.1.160.0040.00419.16
8.1.150.0000.00819.22
8.1.140.0000.00722.53
8.1.130.0000.00720.61
8.1.120.0050.00317.62
8.1.110.0040.00417.60
8.1.100.0040.00417.84
8.1.90.0000.00717.82
8.1.80.0040.00417.79
8.1.70.0030.00317.80
8.1.60.0030.00617.76
8.1.50.0040.00417.88
8.1.40.0040.00417.86
8.1.30.0070.00317.97
8.1.20.0000.00817.82
8.1.10.0000.00718.03
8.1.00.0030.00517.61
8.0.300.0040.00418.77
8.0.290.0050.00517.00
8.0.280.0040.00418.66
8.0.270.0030.00317.53
8.0.260.0030.00318.84
8.0.250.0040.00417.22
8.0.240.0000.00717.35
8.0.230.0000.00717.15
8.0.220.0000.00717.06
8.0.210.0000.00816.98
8.0.200.0040.00417.09
8.0.190.0030.00617.33
8.0.180.0080.00017.04
8.0.170.0060.00317.23
8.0.160.0000.00717.14
8.0.150.0030.00717.09
8.0.140.0080.00017.18
8.0.130.0060.00013.66
8.0.120.0040.00417.24
8.0.110.0030.00517.17
8.0.100.0070.00017.13
8.0.90.0000.00717.13
8.0.80.0110.00717.13
8.0.70.0020.00517.07
8.0.60.0000.00717.16
8.0.50.0000.00717.14
8.0.30.0100.01017.21
8.0.20.0160.00317.40
8.0.10.0050.00317.17
8.0.00.0060.01217.08
7.4.330.0030.00315.55
7.4.320.0070.00016.91
7.4.300.0000.00717.02
7.4.290.0030.00316.95
7.4.280.0040.00416.98
7.4.270.0000.00816.88
7.4.260.0000.00716.78
7.4.250.0000.00816.80
7.4.240.0000.00816.90
7.4.230.0050.00316.82
7.4.220.0040.00416.77
7.4.210.0100.01016.88
7.4.200.0000.00716.84
7.4.160.0080.01016.80
7.4.140.0130.00717.86
7.4.130.0030.01516.88
7.4.120.0090.00916.85
7.4.110.0140.00616.91
7.4.100.0080.00916.84
7.4.90.0070.01016.99
7.4.80.0040.01719.39
7.4.70.0160.00016.84
7.4.60.0120.00316.79
7.4.50.0090.00616.91
7.4.40.0140.00316.62
7.4.00.0070.01015.09
7.3.330.0050.00013.29
7.3.320.0070.00013.38
7.3.310.0000.00716.37
7.3.300.0030.00316.45
7.3.290.0040.00416.43
7.3.280.0060.01516.51
7.3.260.0120.00916.63
7.3.240.0090.01016.62
7.3.230.0080.00816.51
7.3.210.0080.01116.45
7.3.200.0000.01616.82
7.3.190.0090.00616.40
7.3.180.0110.00616.65
7.3.170.0120.01216.95
7.3.160.0120.00316.63
7.2.330.0110.00716.69
7.2.320.0100.01017.07
7.2.310.0070.01017.05
7.2.300.0100.00916.67
7.2.290.0140.00717.07
7.2.110.0120.00414.99
7.2.100.0130.00314.87
7.2.90.0080.00814.77
7.2.80.0770.00015.00
7.2.70.0620.01015.44
7.2.60.0090.00615.04
7.2.50.0560.01314.96
7.2.40.0320.00315.11
7.2.30.0690.01215.23
7.2.20.0030.01315.22
7.2.10.1900.00014.91
7.2.00.0000.01714.89
7.1.230.0030.01114.16
7.1.220.0610.00714.08
7.1.210.0560.00613.74
7.1.200.0050.00813.98
7.1.190.0070.00613.93
7.1.180.0110.00413.95
7.1.170.0090.00913.84
7.1.160.0110.00214.05
7.1.150.0710.00614.04
7.1.140.0050.01013.99
7.1.130.0060.00913.97
7.1.120.0090.00614.21
7.1.110.0470.01013.91
7.1.100.0980.00013.74
7.1.90.0600.01313.87
7.1.80.0780.00713.93
7.1.70.0690.00313.63
7.1.60.1000.00631.96
7.1.50.0970.01731.98
7.1.40.1040.00731.81
7.1.30.1020.01131.86
7.1.20.1120.00331.69
7.1.10.0800.00613.83
7.1.00.0910.01013.63
5.6.380.0040.01114.55

preferences:
64.16 ms | 401 KiB | 5 Q