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; $node->normalize(); echo $dom->C14N(); 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.0180.00018.80
8.3.50.0000.01518.38
8.3.40.0180.00318.92
8.3.30.0150.00018.70
8.3.20.0000.00819.29
8.3.10.0040.00423.86
8.3.00.0040.00421.02
8.2.180.0120.00617.00
8.2.170.0040.01122.96
8.2.160.0040.01120.72
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0050.00320.20
8.2.120.0070.00426.35
8.2.110.0000.00919.59
8.2.100.0090.00318.30
8.2.90.0050.00318.00
8.2.80.0080.00417.97
8.2.70.0030.00618.18
8.2.60.0040.00418.41
8.2.50.0050.00318.10
8.2.40.0040.00419.63
8.2.30.0000.00719.62
8.2.20.0030.00618.41
8.2.10.0040.00418.53
8.2.00.0050.00318.10
8.1.280.0140.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0060.00322.56
8.1.230.0070.00419.15
8.1.220.0060.00318.04
8.1.210.0050.00318.77
8.1.200.0060.00317.50
8.1.190.0050.00317.38
8.1.180.0000.00818.10
8.1.170.0050.00318.92
8.1.160.0040.00419.00
8.1.150.0000.00819.22
8.1.140.0040.00422.32
8.1.130.0030.00520.45
8.1.120.0040.00417.79
8.1.110.0040.00417.61
8.1.100.0040.00417.82
8.1.90.0030.00617.62
8.1.80.0000.00817.64
8.1.70.0070.00017.85
8.1.60.0060.00317.75
8.1.50.0080.00017.85
8.1.40.0060.00317.70
8.1.30.0060.00718.01
8.1.20.0040.00417.93
8.1.10.0000.00717.74
8.1.00.0040.00417.71
8.0.300.0000.01018.77
8.0.290.0040.00417.12
8.0.280.0040.00418.67
8.0.270.0030.00317.52
8.0.260.0030.00318.83
8.0.250.0060.00317.24
8.0.240.0070.00017.19
8.0.230.0030.00317.09
8.0.220.0000.00717.15
8.0.210.0070.00017.20
8.0.200.0040.00417.32
8.0.190.0020.00517.29
8.0.180.0030.00517.28
8.0.170.0090.00017.16
8.0.160.0050.00217.25
8.0.150.0030.00717.03
8.0.140.0030.00517.18
8.0.130.0030.00313.68
8.0.120.0040.00417.04
8.0.110.0070.00017.15
8.0.100.0030.00517.04
8.0.90.0040.00417.15
8.0.80.0070.01017.18
8.0.70.0040.00417.07
8.0.60.0040.00417.24
8.0.50.0040.00417.10
8.0.30.0080.01117.34
8.0.20.0110.01117.49
8.0.10.0040.00417.25
8.0.00.0110.00717.11
7.4.330.0000.00515.55
7.4.320.0050.00316.84
7.4.300.0070.00016.73
7.4.290.0030.00316.82
7.4.280.0000.00716.94
7.4.270.0070.00016.86
7.4.260.0040.00416.74
7.4.250.0030.00616.70
7.4.240.0000.00716.84
7.4.230.0000.00716.88
7.4.220.0040.00416.68
7.4.210.0090.00916.83
7.4.200.0070.00016.77
7.4.160.0100.00816.75
7.4.140.0140.00617.86
7.4.130.0120.00616.93
7.4.120.0110.00916.77
7.4.110.0090.01216.67
7.4.100.0070.01016.60
7.4.90.0030.01416.82
7.4.80.0170.00019.39
7.4.70.0120.00616.68
7.4.60.0060.01116.69
7.4.50.0100.01016.64
7.4.40.0040.01216.77
7.4.00.0040.01415.11
7.3.330.0020.00213.35
7.3.320.0030.00313.31
7.3.310.0000.00716.25
7.3.300.0070.00016.43
7.3.290.0050.00216.44
7.3.280.0100.00616.57
7.3.260.0100.00816.75
7.3.240.0130.00716.67
7.3.230.0140.00316.57
7.3.210.0110.00716.61
7.3.200.0080.00816.80
7.3.190.0070.01116.76
7.3.180.0160.00016.57
7.3.170.0150.00616.58
7.3.160.0090.00616.62
7.3.10.0180.01116.11
7.3.00.0180.00416.20
7.2.330.0070.01116.95
7.2.320.0080.00816.95
7.2.310.0100.00716.61
7.2.300.0090.00916.82
7.2.290.0140.00416.79
7.2.130.0160.00616.94
7.2.120.0160.01217.01
7.2.110.0230.00315.73
7.2.100.0150.00815.85
7.2.90.0200.00716.00
7.2.80.0240.00515.65
7.2.70.0260.00415.75
7.2.60.0290.00815.69
7.2.50.0200.00615.67
7.2.40.0140.01315.96
7.2.30.0200.00915.97
7.2.20.0210.00715.90
7.2.10.0230.00916.01
7.2.00.0250.00816.00
7.1.250.0170.01015.70
7.1.230.0330.00013.99
7.1.220.0200.01013.79
7.1.210.0280.00013.84
7.1.200.0390.00713.79
7.1.190.0250.00613.88
7.1.180.0310.01214.00
7.1.170.0300.00313.68
7.1.160.0260.00413.95
7.1.150.0270.00714.09
7.1.140.0260.00713.87
7.1.130.0330.00013.80
7.1.120.0380.00014.09
7.1.110.0390.00614.03
7.1.100.1140.00613.70
7.1.90.0520.00614.13
7.1.80.0230.01314.04
7.1.70.0330.00314.09
7.1.60.0390.01331.54
7.1.50.0470.00931.97
7.1.40.0450.00631.96
7.1.30.0450.00631.57
7.1.20.0660.01331.92
7.1.10.0260.01313.64
7.1.00.0400.00413.84
5.6.380.0070.01014.36

preferences:
48.31 ms | 400 KiB | 5 Q