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); $dom->normalize(); echo $dom->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.0110.00818.43
8.3.50.0110.00418.27
8.3.40.0110.01118.93
8.3.30.0120.00318.66
8.3.20.0030.00619.41
8.3.10.0050.00323.91
8.3.00.0040.00420.94
8.2.180.0100.01316.63
8.2.170.0040.01122.96
8.2.160.0130.00320.59
8.2.150.0030.00524.18
8.2.140.0080.00024.66
8.2.130.0070.00018.22
8.2.120.0040.00426.35
8.2.110.0070.00419.58
8.2.100.0080.00419.37
8.2.90.0040.00417.88
8.2.80.0030.00617.97
8.2.70.0040.00418.18
8.2.60.0040.00418.28
8.2.50.0040.00418.10
8.2.40.0080.00019.76
8.2.30.0000.00719.42
8.2.20.0030.00618.17
8.2.10.0080.00018.30
8.2.00.0050.00317.93
8.1.280.0070.01025.92
8.1.270.0040.00420.77
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00622.72
8.1.230.0060.00622.33
8.1.220.0040.00417.89
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0090.00017.35
8.1.180.0040.00418.10
8.1.170.0080.00018.54
8.1.160.0070.00018.96
8.1.150.0040.00419.02
8.1.140.0000.00722.41
8.1.130.0000.00720.45
8.1.120.0050.00217.69
8.1.110.0040.00417.62
8.1.100.0030.00517.50
8.1.90.0000.00717.54
8.1.80.0060.00317.59
8.1.70.0000.00717.62
8.1.60.0030.00617.78
8.1.50.0000.00817.63
8.1.40.0000.00817.68
8.1.30.0040.00717.82
8.1.20.0080.00017.68
8.1.10.0000.00717.72
8.1.00.0040.00417.66
8.0.300.0000.00818.77
8.0.290.0040.00416.88
8.0.280.0080.00018.65
8.0.270.0000.00717.36
8.0.260.0030.00318.63
8.0.250.0060.00317.18
8.0.240.0000.00617.16
8.0.230.0030.00317.11
8.0.220.0030.00317.06
8.0.210.0000.00717.05
8.0.200.0000.00616.99
8.0.190.0030.00517.04
8.0.180.0040.00417.05
8.0.170.0000.00917.09
8.0.160.0030.00317.07
8.0.150.0040.00417.00
8.0.140.0000.00716.82
8.0.130.0000.00613.41
8.0.120.0040.00417.06
8.0.110.0000.00817.04
8.0.100.0050.00317.09
8.0.90.0040.00416.89
8.0.80.0070.00916.94
8.0.70.0000.00717.07
8.0.60.0030.00517.07
8.0.50.0050.00217.14
8.0.30.0100.00817.23
8.0.20.0180.00417.44
8.0.10.0040.00417.18
8.0.00.0120.00516.83
7.4.330.0050.00015.55
7.4.320.0000.00716.76
7.4.300.0050.00216.57
7.4.290.0040.00416.61
7.4.280.0030.00516.65
7.4.270.0030.00316.70
7.4.260.0000.00716.70
7.4.250.0030.00616.63
7.4.240.0030.00316.67
7.4.230.0070.00016.61
7.4.220.0030.00516.70
7.4.210.0070.00716.67
7.4.200.0040.00416.80
7.4.160.0080.00916.64
7.4.140.0100.00917.86
7.4.130.0140.00716.52
7.4.120.0060.01116.66
7.4.110.0080.01216.46
7.4.100.0060.00916.63
7.4.90.0100.01416.62
7.4.80.0090.01019.39
7.4.70.0130.01016.48
7.4.60.0060.00916.56
7.4.50.0120.00416.64
7.4.40.0070.01016.64
7.4.10.0100.00715.11
7.4.00.0090.00615.13
7.3.330.0000.00513.23
7.3.320.0040.00413.11
7.3.310.0030.00316.26
7.3.300.0000.00816.19
7.3.290.0000.00716.29
7.3.280.0000.01616.30
7.3.260.0080.01016.43
7.3.240.0090.01116.59
7.3.230.0120.00916.41
7.3.210.0080.00816.61
7.3.200.0110.00616.27
7.3.190.0090.00916.57
7.3.180.0100.01316.63
7.3.170.0030.01316.34
7.3.160.0090.00916.41
7.3.130.0160.00315.11
7.3.120.0060.01214.89
7.3.110.0100.00814.96
7.3.100.0050.01314.96
7.3.90.0030.01214.91
7.3.80.0040.00915.01
7.3.70.0060.00914.88
7.3.60.0060.01014.99
7.3.50.0040.00814.89
7.3.40.0080.00314.81
7.3.30.0070.00714.86
7.3.20.0060.00816.53
7.3.10.0010.00916.55
7.3.00.0070.00716.62
7.2.330.0100.01016.62
7.2.320.0120.00616.54
7.2.310.0030.01416.88
7.2.300.0080.00816.77
7.2.290.0070.01016.77
7.2.260.0100.01015.11
7.2.250.0070.01015.10
7.2.240.0050.01115.06
7.2.230.0100.00615.03
7.2.220.0080.00815.18
7.2.210.0050.00815.06
7.2.200.0070.00814.98
7.2.190.0080.00814.96
7.2.180.0100.00515.11
7.2.170.0020.01115.01
7.2.160.0060.00615.11
7.2.150.0060.00617.03
7.2.140.0140.00017.03
7.2.130.0000.01716.95
7.2.120.0030.00916.99
7.2.110.0370.00515.72
7.2.100.0180.00315.67
7.2.90.0200.00815.76
7.2.80.0200.00315.72
7.2.70.0160.00715.78
7.2.60.0200.00616.03
7.2.50.0130.00815.70
7.2.40.0170.00515.94
7.2.30.0100.00816.04
7.2.20.0170.00615.90
7.2.10.0130.00916.06
7.2.00.0110.01015.76
7.1.330.0050.00815.86
7.1.320.0030.01015.77
7.1.310.0050.01015.79
7.1.300.0020.01215.69
7.1.290.0030.00915.66
7.1.280.0060.00515.50
7.1.270.0050.00715.68
7.1.260.0060.00815.63
7.1.250.0000.01115.64
7.1.240.0070.00715.36
7.1.230.0110.00714.79
7.1.220.0140.00414.71
7.1.210.0140.00514.56
7.1.200.0200.00214.67
7.1.190.0180.00514.93
7.1.180.0130.00614.95
7.1.170.0130.00614.84
7.1.160.0120.00514.85
7.1.150.0120.00814.80
7.1.140.0150.00514.74
7.1.130.0550.00514.81
7.1.120.0110.00614.63
7.1.110.0140.00514.76
7.1.100.0140.00514.72
7.1.90.0150.00514.57
7.1.80.0130.00814.69
7.1.70.0160.01014.56
7.1.60.0260.00823.61
7.1.50.0180.01223.88
7.1.40.0220.00723.65
7.1.30.0250.00923.55
7.1.20.0240.00623.61
7.1.10.0110.00814.63
7.1.00.0170.00514.60
7.0.330.0090.00615.56
7.0.320.0070.00715.30
7.0.310.0000.01115.18
7.0.300.0030.01215.20
7.0.290.0100.00715.34
7.0.280.0070.00315.26
7.0.270.0070.00715.12
7.0.260.0030.00915.48
7.0.250.0030.00915.38
7.0.240.0040.01115.37
7.0.230.0070.00315.36
7.0.220.0060.00615.60
7.0.210.0040.00715.46
7.0.200.0000.01415.15
7.0.190.0000.01215.13
7.0.180.0030.00715.28
7.0.170.0000.01015.48
7.0.160.0030.00715.41
7.0.150.0140.00015.11
7.0.140.0090.00615.39
7.0.130.0030.01015.50
7.0.120.0090.00615.20
7.0.110.0000.01215.46
7.0.100.0100.00315.43
7.0.90.0060.01115.20
7.0.80.0100.01015.11
7.0.70.0090.01315.19
7.0.60.0170.00715.11
7.0.50.0120.00615.23
7.0.40.0110.00415.11
7.0.30.0070.00715.11
7.0.20.0030.01015.11
7.0.10.0060.00615.11
7.0.00.0050.00815.11
5.6.400.0040.01115.11
5.6.390.0090.00315.11
5.6.380.0060.01014.69
5.6.370.0030.01315.11
5.6.360.0110.00615.11
5.6.350.0040.00715.11
5.6.340.0040.01215.11
5.6.330.0030.00615.11
5.6.320.0080.00615.11
5.6.310.0000.01315.11
5.6.300.0060.00615.11
5.6.290.0040.01115.11
5.6.280.0000.01515.11
5.6.270.0060.00615.11
5.6.260.0050.01015.11
5.6.250.0130.00815.11
5.6.240.0110.01115.11
5.6.230.0030.01615.11
5.6.220.0190.00015.11
5.6.210.0110.01015.11
5.6.200.0040.01515.11
5.6.190.0030.01415.11
5.6.180.0040.00715.11
5.6.170.0000.01015.11
5.6.160.0150.00015.11
5.6.150.0070.00715.11
5.6.140.0060.00915.11
5.6.130.0060.00915.11
5.6.120.0000.01315.11
5.6.110.0000.01315.11
5.6.100.0000.01415.11
5.6.90.0030.01415.11
5.6.80.0070.00715.11
5.6.70.0030.01015.11
5.6.60.0000.01415.11
5.6.50.0000.01415.11
5.6.40.0080.00615.11
5.6.30.0100.00615.11
5.6.20.0100.00315.11
5.6.10.0090.00315.11
5.6.00.0000.01015.11

preferences:
64.68 ms | 400 KiB | 5 Q