3v4l.org

run code in 300+ PHP versions simultaneously
<?php // load the XML file $songs = '<!--?xml version="1.0"?--> <property last_update="2019-11-28 00:00:00"> <reference_number>Lld.v. 2445</reference_number> <offering_type>RR</offering_type> <property_type>VH</property_type> <price>11500</price> <city>Marrakech</city> <community>Rte de Casablanca</community> <title_en>magnifique villa a louer</title_en> <description_en> Dans une résidence sécurisée, villa de 300m² sur deux niveaux  avec jardin prive comprenant un salon/séjour coin cheminée  donnant sur  jardin, 4 chambres  avec placards, une suite parentale avec SDB, cuisine et  toilettes invités. </description_en> <size>300</size> <bedroom>4</bedroom> <bathroom>4</bathroom> <agent> <name>Mme. Fadwa Driwa</name> <email>fadwa@palm-real-estate.net</email> <phone>+212 661 791 163</phone> </agent> <furnished>No</furnished> <photo> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0056.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0055.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0054.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0053.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0052.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0051.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0050.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0049.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0048.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0047.jpg</url> <url last_update="2019-11-28 00:00:00" watermark="no">https://www.immobilier-a-marrakech.com/images/produits/amg-20191126-wi0057.jpg</url> <test>test</test> </photo> </property>'; $xml = simplexml_load_string($songs); echo json_encode($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.70.0090.01516.75
8.3.60.0090.00618.43
8.3.50.0140.00016.55
8.3.40.0110.00418.79
8.3.30.0100.00318.82
8.3.20.0080.00022.06
8.3.10.0040.00420.58
8.3.00.0050.00320.93
8.2.190.0110.00716.75
8.2.180.0060.00918.91
8.2.170.0070.01122.96
8.2.160.0070.00722.37
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0070.00026.16
8.2.110.0140.00420.70
8.2.100.0060.00617.91
8.2.90.0000.00818.00
8.2.80.0050.00318.98
8.2.70.0080.00017.63
8.2.60.0040.00418.05
8.2.50.0040.00418.29
8.2.40.0050.00320.04
8.2.30.0040.00418.01
8.2.20.0040.00418.25
8.2.10.0080.00019.52
8.2.00.0040.00419.48
8.1.280.0130.00325.92
8.1.270.0080.00020.94
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0070.00318.94
8.1.230.0080.00417.83
8.1.220.0030.00517.77
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0000.00817.35
8.1.180.0030.00518.10
8.1.170.0040.00420.82
8.1.160.0000.00719.09
8.1.150.0000.00719.05
8.1.140.0040.00422.33
8.1.130.0070.00020.31
8.1.120.0070.00317.54
8.1.110.0080.00017.54
8.1.100.0040.00417.59
8.1.90.0050.00317.69
8.1.80.0040.00417.61
8.1.70.0030.00617.46
8.1.60.0030.00817.64
8.1.50.0040.00417.75
8.1.40.0050.00517.52
8.1.30.0000.00817.84
8.1.20.0090.00317.80
8.1.10.0000.00717.76
8.1.00.0030.00517.59
8.0.300.0000.00818.77
8.0.290.0040.00417.13
8.0.280.0030.00318.68
8.0.270.0000.00718.25
8.0.260.0040.00420.31
8.0.250.0070.00017.23
8.0.240.0070.00017.19
8.0.230.0030.00317.02
8.0.220.0070.00017.08
8.0.210.0070.00017.01
8.0.200.0040.00417.14
8.0.190.0000.00817.05
8.0.180.0030.00717.17
8.0.170.0030.00617.02
8.0.160.0040.00417.16
8.0.150.0040.00416.89
8.0.140.0070.00016.93
8.0.130.0000.00613.40
8.0.120.0000.00717.09
8.0.110.0040.00416.97
8.0.100.0040.00417.12
8.0.90.0050.00517.03
8.0.80.0090.01216.99
8.0.70.0070.00017.16
8.0.60.0070.00017.12
8.0.50.0040.00416.96
8.0.30.0130.00417.43
8.0.20.0100.01417.26
8.0.10.0070.00017.16
8.0.00.0130.00517.02
7.4.330.0000.00515.55
7.4.320.0000.00616.80
7.4.300.0000.00616.70
7.4.290.0000.00816.68
7.4.280.0040.00416.69
7.4.270.0030.00316.78
7.4.260.0000.00613.52
7.4.250.0070.00016.63
7.4.240.0020.00516.60
7.4.230.0000.00716.54
7.4.220.0070.00016.70
7.4.210.0060.01016.76
7.4.200.0000.00716.83
7.4.130.0090.00916.83
7.4.120.0140.01116.64
7.4.110.0100.00716.78
7.4.100.0080.01016.64
7.4.90.0040.01416.48
7.4.80.0180.00619.39
7.4.70.0090.00616.79
7.4.60.0100.00616.70
7.4.50.0050.00516.40
7.4.40.0030.01316.68
7.4.00.0120.00315.03
7.3.330.0030.00316.47
7.3.320.0060.00013.20
7.3.310.0000.00716.46
7.3.300.0030.00316.23
7.3.290.0040.00416.37
7.3.280.0100.01016.45
7.3.260.0150.00316.40
7.3.230.0060.01016.46
7.3.210.0100.00716.56
7.3.200.0030.01316.44
7.3.190.0100.00616.60
7.3.180.0030.01316.53
7.3.170.0100.00716.51
7.3.160.0060.01016.40
7.3.120.0080.00814.75
7.3.110.0050.01414.87
7.3.100.0100.00714.86
7.3.90.0030.00914.55
7.3.80.0070.00714.90
7.3.70.0110.00314.51
7.3.60.0090.00414.56
7.3.50.0060.01214.52
7.3.40.0050.00814.76
7.3.30.0100.00314.44
7.3.20.0040.01014.72
7.3.10.0100.00514.59
7.3.00.0040.01114.77
7.2.330.0070.01016.68
7.2.320.0100.00716.79
7.2.310.0160.00016.52
7.2.300.0090.01016.75
7.2.290.0090.01216.85
7.2.250.0050.01015.07
7.2.240.0060.01514.83
7.2.230.0070.01014.96
7.2.220.0100.00515.14
7.2.210.0100.01014.92
7.2.200.0090.00914.66
7.2.190.0080.01114.80
7.2.180.0060.01215.06
7.2.170.0100.00314.94
7.1.330.0060.01214.02
7.1.320.0080.00913.99
7.1.310.0040.01513.92
7.1.300.0090.00914.14
7.1.290.0140.00313.92
7.1.280.0070.00713.99
7.1.270.0100.00313.87
7.1.260.0060.00914.02

preferences:
43.87 ms | 401 KiB | 5 Q