3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = new SimpleXMLElement('<vehicle id="8" identyfikator="23"> <name>MAREK</name> <recorder ppp="fdfd">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> <attr> <at name="PHONE_NUMBER" type="5">123456789</at> <at name="EMAIL" type="5">w@wp.pl</at> </attr> </vehicle>'); echo '<pre>'; var_dump($xml); var_dump($xml->recorder->attributes());

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.0140.00716.63
8.3.50.0070.01418.06
8.3.40.0090.00918.97
8.3.30.0100.01018.91
8.3.20.0080.00020.20
8.3.10.0040.00423.95
8.3.00.0050.00519.25
8.2.180.0090.00918.66
8.2.170.0150.00022.96
8.2.160.0110.00320.35
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0080.00017.63
8.2.120.0040.00426.35
8.2.110.0070.00319.46
8.2.100.0040.00818.28
8.2.90.0040.00419.34
8.2.80.0030.00518.02
8.2.70.0030.00617.75
8.2.60.0040.00418.18
8.2.50.0030.00618.16
8.2.40.0000.00820.85
8.2.30.0060.00319.40
8.2.20.0030.00617.82
8.2.10.0040.00418.25
8.2.00.0040.00418.15
8.1.280.0090.00625.92
8.1.270.0070.01324.05
8.1.260.0000.00828.09
8.1.250.0000.00728.09
8.1.240.0090.00023.95
8.1.230.0080.00319.36
8.1.220.0080.00017.79
8.1.210.0000.00818.77
8.1.200.0030.00717.48
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0050.00318.62
8.1.160.0040.00419.07
8.1.150.0040.00419.04
8.1.140.0070.00419.61
8.1.130.0040.00417.73
8.1.120.0000.00717.66
8.1.110.0000.00717.54
8.1.100.0000.00817.57
8.1.90.0000.00717.58
8.1.80.0000.00817.66
8.1.70.0000.00717.49
8.1.60.0060.00317.83
8.1.50.0060.00317.58
8.1.40.0030.00517.70
8.1.30.0090.00017.69
8.1.20.0080.00017.73
8.1.10.0050.00217.74
8.1.00.0040.00417.73
8.0.300.0050.00218.77
8.0.290.0000.00716.88
8.0.280.0000.00718.60
8.0.270.0080.00017.45
8.0.260.0000.00618.52
8.0.250.0000.00817.14
8.0.240.0050.00316.94
8.0.230.0080.00017.04
8.0.220.0030.00517.05
8.0.210.0040.00416.95
8.0.200.0070.00017.04
8.0.190.0040.00417.15
8.0.180.0000.00816.91
8.0.170.0030.00517.08
8.0.160.0070.00017.01
8.0.150.0050.00317.02
8.0.140.0000.00817.04
8.0.130.0050.00013.52
8.0.120.0030.00617.02
8.0.110.0040.00416.88
8.0.100.0000.00717.03
8.0.90.0070.00016.90
8.0.80.0100.00617.07
8.0.70.0080.00017.07
8.0.60.0030.00516.95
8.0.50.0040.00416.85
8.0.30.0160.00217.06
8.0.20.0120.00917.40
8.0.10.0040.00417.04
8.0.00.0090.00916.91
7.4.330.0000.00516.88
7.4.320.0070.00016.63
7.4.300.0070.00016.65
7.4.290.0000.00716.62
7.4.280.0030.00616.70
7.4.270.0000.00716.75
7.4.260.0080.00316.73
7.4.250.0000.00916.73
7.4.240.0020.00516.66
7.4.230.0070.00016.75
7.4.220.0120.00616.77
7.4.210.0090.00916.72
7.4.200.0050.00316.73
7.4.160.0090.01316.46
7.4.150.0140.01117.40
7.4.140.0180.00517.86
7.4.130.0140.01016.64
7.4.120.0100.00816.64
7.4.110.0030.01516.71
7.4.100.0100.01316.87
7.4.90.0150.00316.62
7.4.80.0110.00819.39
7.4.70.0160.00816.62
7.4.60.0140.00316.73
7.4.50.0030.01016.47
7.4.40.0040.01416.76
7.4.30.0090.00916.63
7.4.00.0100.00714.92
7.3.330.0000.00513.25
7.3.320.0000.00513.24
7.3.310.0000.00716.41
7.3.300.0030.00316.36
7.3.290.0040.00416.27
7.3.280.0130.00516.34
7.3.270.0030.01417.40
7.3.260.0060.01216.32
7.3.250.0100.01216.37
7.3.240.0150.00816.46
7.3.230.0060.01316.66
7.3.210.0060.01216.54
7.3.200.0100.00716.53
7.3.190.0140.00416.66
7.3.180.0030.01416.42
7.3.170.0080.00916.55
7.3.160.0090.00616.61
7.3.120.0000.01115.04
7.3.110.0080.00414.76
7.3.100.0040.00914.64
7.3.90.0040.00814.73
7.3.80.0080.00014.71
7.3.70.0060.00614.93
7.3.60.0040.00714.91
7.3.50.0000.01114.77
7.3.40.0030.00714.71
7.3.30.0100.00614.57
7.3.20.0110.00016.84
7.3.10.0080.00516.58
7.3.00.0070.00616.50
7.2.330.0060.01316.84
7.2.320.0140.01716.84
7.2.310.0080.01516.82
7.2.300.0140.00416.94
7.2.290.0060.01216.91
7.2.240.0100.00314.75
7.2.230.0080.00415.34
7.2.220.0030.00915.05
7.2.210.0030.00915.16
7.2.200.0100.00315.10
7.2.190.0000.01015.12
7.2.180.0030.00714.94
7.2.170.0040.00414.89
7.2.160.0070.00715.20
7.2.150.0070.01116.93
7.2.140.0070.00416.86
7.2.130.0030.00916.87
7.2.120.0060.00617.06
7.2.110.0100.00016.94
7.2.100.0060.00617.17
7.2.90.0080.00417.05
7.2.80.0040.01117.04
7.2.70.0040.01116.52
7.2.60.0050.00817.02
7.2.50.0070.00716.96
7.2.40.0030.01016.97
7.2.30.0080.00816.97
7.2.20.0070.00716.80
7.2.10.0090.00616.91
7.2.00.0120.00518.14
7.1.330.0040.00816.01
7.1.320.0030.00915.70
7.1.310.0060.00315.71
7.1.300.0150.00015.85
7.1.290.0000.01416.02
7.1.280.0030.00915.94
7.1.270.0070.00715.84
7.1.260.0060.00315.96
7.1.250.0000.00815.77
7.1.200.0030.00915.94
7.1.100.0030.01418.02
7.1.70.0040.00417.09
7.1.60.0070.01619.36
7.1.50.0060.01616.99
7.1.00.0130.06322.55
7.0.200.0000.00916.89
7.0.60.0030.08019.99
7.0.50.0100.08018.00
7.0.40.0030.05720.44
7.0.30.0230.03320.23
7.0.20.0270.08020.11
7.0.10.0070.09020.14
7.0.00.0130.08320.24
5.6.280.0070.03321.16
5.6.210.0030.08320.81
5.6.200.0030.04718.22
5.6.190.0000.09720.51
5.6.180.0130.04720.53
5.6.170.0230.04020.70
5.6.160.0170.07720.46
5.6.150.0100.06018.29
5.6.140.0030.04718.29
5.6.130.0130.08018.26
5.6.120.0070.08321.02
5.6.110.0030.04321.20
5.6.100.0000.06021.00
5.6.90.0000.06021.00
5.6.80.0100.07720.42
5.5.350.0330.05320.45
5.5.340.0170.05318.08
5.5.330.0030.07720.61
5.5.320.0170.04320.49
5.5.310.0230.08320.49
5.5.300.0070.03318.05
5.5.290.0130.04318.06
5.5.280.0030.04020.97
5.5.270.0130.07721.00
5.5.260.0070.03720.97
5.5.250.0030.08320.54
5.5.240.0230.07720.11

preferences:
76.6 ms | 400 KiB | 5 Q