3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new SimpleXMLElement('<vehicle id="8"> <name>MAREK</name> <recorder>8</recorder> <production-date>0</production-date> <registration-number>SI40996</registration-number> <fuel> <type> </type> <nominal>0</nominal> <drive>0</drive> <work>0</work> <stay>0</stay> </fuel> <attributes> <attribute name="PHONE_NUMBER" type="5">123456789</attribute> <attribute name="EMAIL" type="5">w@wp.pl</attribute> </attributes> </vehicle>'); echo '<pre>'; var_dump($xml);

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.0080.00816.75
8.3.50.0080.01422.00
8.3.40.0210.00018.92
8.3.30.0090.00618.84
8.3.20.0040.00420.41
8.3.10.0130.00322.12
8.3.00.0030.00519.38
8.2.180.0150.00318.76
8.2.170.0150.00022.96
8.2.160.0000.01420.55
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0030.00617.63
8.2.120.0030.00526.35
8.2.110.0070.00321.12
8.2.100.0000.01217.75
8.2.90.0040.00419.33
8.2.80.0050.00317.97
8.2.70.0040.00417.75
8.2.60.0120.00017.93
8.2.50.0030.00618.07
8.2.40.0030.00619.64
8.2.30.0030.00320.84
8.2.20.0000.00817.94
8.2.10.0020.00518.15
8.2.00.0040.00418.16
8.1.280.0140.00425.92
8.1.270.0090.00024.23
8.1.260.0060.00328.09
8.1.250.0070.00028.09
8.1.240.0060.00323.96
8.1.230.0080.00417.91
8.1.220.0040.00417.91
8.1.210.0050.00318.77
8.1.200.0100.00017.48
8.1.190.0070.00017.95
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0000.00722.21
8.1.150.0040.00419.09
8.1.140.0000.00819.73
8.1.130.0030.00317.89
8.1.120.0070.00017.51
8.1.110.0000.00717.57
8.1.100.0000.00717.67
8.1.90.0000.00717.63
8.1.80.0000.00717.64
8.1.70.0000.00717.49
8.1.60.0000.00717.64
8.1.50.0000.00817.72
8.1.40.0090.00017.71
8.1.30.0040.00417.66
8.1.20.0040.00417.81
8.1.10.0000.00817.86
8.1.00.0000.00817.66
8.0.300.0050.00318.77
8.0.290.0000.00716.88
8.0.280.0000.00718.63
8.0.270.0070.00017.42
8.0.260.0070.00017.46
8.0.250.0030.00317.18
8.0.240.0000.00717.00
8.0.230.0070.00016.99
8.0.220.0000.01017.11
8.0.210.0000.00716.95
8.0.200.0000.00817.06
8.0.190.0000.00916.99
8.0.180.0080.00017.04
8.0.170.0040.00416.93
8.0.160.0000.00917.14
8.0.150.0000.00816.90
8.0.140.0000.00716.86
8.0.130.0050.00013.54
8.0.120.0040.00417.00
8.0.110.0040.00416.91
8.0.100.0050.00217.04
8.0.90.0000.00717.02
8.0.80.0120.00617.05
8.0.70.0000.00817.03
8.0.60.0050.00316.91
8.0.50.0000.00717.01
8.0.30.0100.01017.24
8.0.20.0120.00817.40
8.0.10.0040.00417.15
8.0.00.0150.00417.00
7.4.330.0000.00516.95
7.4.320.0030.00316.71
7.4.300.0030.00316.80
7.4.290.0030.00516.57
7.4.280.0040.00416.66
7.4.270.0030.00316.68
7.4.260.0030.00316.61
7.4.250.0040.00416.69
7.4.240.0030.00516.75
7.4.230.0000.00716.80
7.4.220.0030.01616.77
7.4.210.0110.00416.71
7.4.200.0000.00716.64
7.4.160.0110.00716.63
7.4.150.0040.01517.40
7.4.140.0140.00817.86
7.4.130.0150.00516.64
7.4.120.0150.00316.55
7.4.110.0170.00516.68
7.4.100.0150.00916.48
7.4.90.0130.00616.65
7.4.80.0090.00919.39
7.4.70.0120.01016.68
7.4.60.0070.01016.66
7.4.50.0100.00716.69
7.4.40.0110.00716.55
7.4.30.0060.01216.70
7.4.00.0080.01015.17
7.3.330.0060.00013.18
7.3.320.0060.00013.29
7.3.310.0000.00616.28
7.3.300.0030.00516.37
7.3.290.0000.00716.32
7.3.280.0110.00716.36
7.3.270.0160.00317.40
7.3.260.0130.00616.61
7.3.250.0090.00816.61
7.3.240.0070.01316.46
7.3.230.0110.00716.44
7.3.210.0110.00716.49
7.3.200.0140.01016.64
7.3.190.0120.00916.34
7.3.180.0110.00516.38
7.3.170.0140.01016.42
7.3.160.0060.01116.47
7.3.120.0090.00914.97
7.3.110.0090.00714.68
7.3.100.0030.01214.92
7.3.90.0080.00614.78
7.3.80.0110.00514.98
7.3.70.0060.00614.93
7.3.60.0050.00814.84
7.3.50.0070.00814.88
7.3.40.0070.00714.63
7.3.30.0020.01114.89
7.3.20.0060.00616.76
7.3.10.0050.00916.58
7.3.00.0100.00416.71
7.2.330.0130.00716.64
7.2.320.0130.00816.54
7.2.310.0030.01516.75
7.2.300.0150.00316.73
7.2.290.0090.01216.63
7.2.250.0070.01315.03
7.2.240.0120.00815.04
7.2.230.0080.00814.98
7.2.220.0050.01214.90
7.2.210.0030.01015.00
7.2.200.0090.00815.11
7.2.190.0080.00815.10
7.2.180.0070.00815.04
7.2.170.0050.01014.88
7.2.130.0080.00816.69
7.2.120.0180.00017.04
7.2.110.0030.01016.77
7.2.100.0000.01016.87
7.2.90.0100.00616.59
7.2.80.0100.00717.01
7.2.70.0080.00317.06
7.2.60.0010.01016.87
7.2.50.0000.01417.05
7.2.40.0040.01017.02
7.2.30.0060.01016.81
7.2.20.0030.00716.92
7.2.10.0060.01016.79
7.2.00.0100.00818.30
7.1.330.0060.00915.87
7.1.320.0090.00615.67
7.1.310.0090.00715.78
7.1.300.0070.00715.86
7.1.290.0050.00715.84
7.1.280.0060.00815.73
7.1.270.0030.00815.71
7.1.260.0050.00915.61
7.1.250.0110.00315.60
7.1.200.0040.01115.98
7.1.100.0040.01217.85
7.1.70.0000.00816.92
7.1.60.0070.01719.36
7.1.50.0130.01317.02
7.1.00.0030.07322.42
7.0.200.0040.00716.65
7.0.60.0000.07020.12
7.0.50.0070.08317.93
7.0.40.0200.03720.16
7.0.30.0170.04020.17
7.0.20.0300.08020.11
7.0.10.0100.08320.43
7.0.00.0030.06020.14
5.6.280.0070.05321.16
5.6.210.0030.06020.87
5.6.200.0070.04018.27
5.6.190.0070.04320.48
5.6.180.0330.07320.51
5.6.170.0430.05020.79
5.6.160.0100.06320.48
5.6.150.0000.06718.32
5.6.140.0000.04318.24
5.6.130.0130.06718.27
5.6.120.0100.03721.03
5.6.110.0000.04321.00
5.6.100.0130.06321.18
5.6.90.0070.09021.02
5.6.80.0030.05720.41
5.5.350.0330.07020.45
5.5.340.0100.08018.02
5.5.330.0030.06320.61
5.5.320.0230.08020.32
5.5.310.0130.05320.29
5.5.300.0000.04318.14
5.5.290.0030.08318.06
5.5.280.0030.08020.84
5.5.270.0100.04320.87
5.5.260.0070.06721.00
5.5.250.0100.07720.76
5.5.240.0100.08020.23

preferences:
39.95 ms | 401 KiB | 5 Q