3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = '<?xml version="1.0" encoding="UTF-8"?> <store name="adamos_rihardos"> <date>2017-12-16 13:47:59</date> <products> <product> <id>3</id> <name><![CDATA[ΜΙΚΡΟΦΩΝΟ SAMSON G-TRACK]]></name> <manufacturer><![CDATA[SAMSON]]></manufacturer> <sku><![CDATA[550.SAM.060]]></sku> <description_greek><![CDATA[Samson G-Track - large diaphragm USB studio condenser microphone (USB bus-powered), built-in audio interface and mixer, allows simultaneous input of vocals and guitar, bass, or keyboard while also providing monitoring through an on-board headphone output. Specifications: mic and instrument/line gain control with clip LED, stereo input jacks for (3.5mm stereo-jack) instrument or line level signal, stereo headphone jack for zero latency monitoring with level control, 3-position headphone switch for stereo, mono and computer monitoring. USB bus-powered. Includes desktop microphone stand, audio I/O cables, USB cables and Cakewalk Sonar LE software. Optional shockmount available.]]></description_greek> <short_description_greek><![CDATA[Samson G-Track - large diaphragm USB studio condenser microphone (USB bus-powered)]]></short_description_greek> <price>155.00</price> <msrp>185.00</msrp> <instock>no</instock> <images total="2"> <image_1>http://test.com/media/catalog/product/5/5/550.sam.060-mi- 01.jpg</image_1> <image_2>http://test.com/media/catalog/product/5/5/550.sam.060-mi- 02.jpg</image_2> </images> </product> <product> <id>3</id> <name><![CDATA[ΜΙΚΡΟΦΩΝΟ SAMSON G-TRACK]]></name> <manufacturer><![CDATA[SAMSON]]></manufacturer> <sku><![CDATA[550.SAM.060]]></sku> <description_greek><![CDATA[Samson G-Track - large diaphragm USB studio condenser microphone (USB bus-powered), built-in audio interface and mixer, allows simultaneous input of vocals and guitar, bass, or keyboard while also providing monitoring through an on-board headphone output. Specifications: mic and instrument/line gain control with clip LED, stereo input jacks for (3.5mm stereo-jack) instrument or line level signal, stereo headphone jack for zero latency monitoring with level control, 3-position headphone switch for stereo, mono and computer monitoring. USB bus-powered. Includes desktop microphone stand, audio I/O cables, USB cables and Cakewalk Sonar LE software. Optional shockmount available.]]></description_greek> <short_description_greek><![CDATA[Samson G-Track - large diaphragm USB studio condenser microphone (USB bus-powered)]]></short_description_greek> <price>155.00</price> <msrp>185.00</msrp> <instock>no</instock> <images total="2"> <image_1>http://test.com/media/catalog/product/5/5/550.sam.060-mi- 01.jpg</image_1> <image_2>http://test.com/media/catalog/product/5/5/550.sam.060-mi- 02.jpg</image_2> </images> </product> </products> </store>'; $products = simplexml_load_string($xml); foreach( $products->xpath("*/product") as $p ) { $p->addChild("newsku", "NEW".$p->sku); } echo $products->asXML();

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.4.120.0090.01218.39
8.4.110.0120.00924.59
8.4.100.0150.00617.89
8.4.90.0080.00320.99
8.4.80.0100.00319.34
8.4.70.0060.00319.39
8.4.60.0110.00519.38
8.4.50.0050.00620.92
8.4.40.0100.01318.11
8.4.30.0150.00617.96
8.4.20.0080.01219.86
8.4.10.0090.00018.07
8.3.250.0100.01018.80
8.3.240.0140.00617.03
8.3.230.0110.00917.00
8.3.220.0150.00619.26
8.3.210.0090.00917.20
8.3.200.0060.00316.91
8.3.190.0110.00917.33
8.3.180.0060.00219.28
8.3.170.0120.00618.66
8.3.160.0040.00819.23
8.3.150.0140.00419.25
8.3.140.0150.00019.25
8.3.130.0090.00018.74
8.3.120.0030.00619.57
8.3.110.0070.00420.94
8.3.100.0030.00717.00
8.3.90.0190.00026.77
8.3.80.0060.00617.13
8.3.70.0130.01017.00
8.3.60.0120.00618.73
8.3.50.0040.01018.55
8.3.40.0090.00619.17
8.3.30.0070.00719.06
8.3.20.0070.00722.23
8.3.10.0080.00023.95
8.3.00.0050.00322.23
8.2.290.0130.00617.25
8.2.280.0100.01018.75
8.2.270.0110.00722.58
8.2.260.0150.00316.63
8.2.250.0030.01216.99
8.2.240.0080.00817.50
8.2.230.0090.00022.58
8.2.220.0060.00324.06
8.2.210.0040.00426.77
8.2.200.0060.00318.79
8.2.190.0110.01117.13
8.2.180.0070.00725.92
8.2.170.0110.01119.33
8.2.160.0070.01022.96
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00422.89
8.2.120.0040.00426.35
8.2.110.0080.00321.57
8.2.100.0110.00018.16
8.2.90.0000.00818.66
8.2.80.0000.00818.47
8.2.70.0040.00418.13
8.2.60.0000.00817.88
8.2.50.0040.00417.88
8.2.40.0030.00619.85
8.2.30.0000.00719.65
8.2.20.0000.00918.46
8.2.10.0030.00618.57
8.2.00.0000.00718.44
8.1.330.0100.01016.31
8.1.320.0120.00418.29
8.1.310.0040.00417.15
8.1.300.0040.00418.23
8.1.290.0070.00730.84
8.1.280.0130.00925.92
8.1.270.0060.00322.48
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00324.33
8.1.230.0070.00721.46
8.1.220.0100.00018.28
8.1.210.0050.00319.28
8.1.200.0050.00317.85
8.1.190.0040.00417.86
8.1.180.0080.00018.10
8.1.170.0040.00419.46
8.1.160.0000.00719.35
8.1.150.0040.00419.25
8.1.140.0000.00819.44
8.1.130.0040.00419.33
8.1.120.0000.00717.95
8.1.110.0000.00817.70
8.1.100.0080.00017.97
8.1.90.0000.00817.89
8.1.80.0000.00717.71
8.1.70.0030.00317.92
8.1.60.0000.00918.09
8.1.50.0000.00918.02
8.1.40.0000.00818.04
8.1.30.0040.00418.18
8.1.20.0080.00018.07
8.1.10.0030.00617.76
8.1.00.0050.00317.73
8.0.300.0070.00020.45
8.0.290.0040.00417.13
8.0.280.0000.00718.86
8.0.270.0080.00017.22
8.0.260.0060.00317.19
8.0.250.0070.00017.34
8.0.240.0030.00617.20
8.0.230.0030.00317.17
8.0.220.0000.00717.26
8.0.210.0000.00717.41
8.0.200.0040.00417.33
8.0.190.0080.00417.18
8.0.180.0070.00017.29
8.0.170.0060.00317.43
8.0.160.0140.00017.37
8.0.150.0040.00417.23
8.0.140.0070.00017.37
8.0.130.0000.00613.68
8.0.120.0000.00817.31
8.0.110.0040.00417.25
8.0.100.0040.00417.28
8.0.90.0020.00517.26
8.0.80.0070.01417.23
8.0.70.0050.00217.21
8.0.60.0050.00217.37
8.0.50.0040.00417.30
8.0.30.0110.00817.35
8.0.20.0100.01017.60
8.0.10.0070.00017.32
8.0.00.0060.01117.27
7.4.330.0000.00517.25
7.4.320.0030.00317.03
7.4.300.0060.00016.85
7.4.290.0000.00816.96
7.4.280.0030.00616.84
7.4.270.0030.00316.77
7.4.260.0080.00016.79
7.4.250.0000.00716.99
7.4.240.0000.00716.93
7.4.230.0030.00516.99
7.4.220.0000.00816.82
7.4.210.0130.00317.03
7.4.200.0040.00416.94
7.4.160.0080.01216.85
7.4.150.0150.00317.40
7.4.140.0080.01317.86
7.4.130.0120.01216.86
7.4.120.0120.00816.89
7.4.110.0030.01316.90
7.4.100.0030.01417.00
7.4.90.0060.01316.79
7.4.80.0060.01819.39
7.4.70.0110.00716.96
7.4.60.0070.01416.86
7.4.50.0100.00316.79
7.4.40.0170.00017.00
7.4.30.0070.01016.91
7.4.00.0070.01015.20
7.3.330.0030.00313.54
7.3.320.0060.00013.53
7.3.310.0050.00316.72
7.3.300.0020.00516.67
7.3.290.0110.01016.63
7.3.280.0060.01116.70
7.3.270.0090.00917.40
7.3.260.0090.00816.69
7.3.250.0140.00716.76
7.3.240.0120.00916.91
7.3.230.0150.00316.97
7.3.210.0030.01316.90
7.3.200.0070.01016.95
7.3.190.0060.01016.65
7.3.180.0140.00716.95
7.3.170.0080.00816.66
7.3.160.0100.01316.91
7.2.330.0070.01017.14
7.2.320.0100.00717.08
7.2.310.0040.01317.13
7.2.300.0100.00717.10
7.2.290.0140.00317.31
7.2.80.0000.01216.91
7.2.60.0100.00316.80
7.2.00.0070.01020.01
7.1.200.0040.00816.19
7.1.120.0000.01519.03
7.1.110.0000.01418.28
7.1.100.0000.01218.28
7.1.90.0040.01118.33
7.1.80.0050.01018.15
7.1.70.0030.01017.32
7.1.60.0240.00935.21
7.1.50.0180.01035.17
7.1.40.0200.01034.58
7.1.30.0200.01034.88
7.1.20.0160.01634.99
7.1.10.0000.01416.78
7.1.00.0040.01116.86

preferences:
28.85 ms | 403 KiB | 5 Q