3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fc = simplexml_load_string('<p:FatturaElettronica versione="1.0" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:p="http://www.fatturapa.gov.it/sdi/fatturapa/v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><FatturaElettronicaHeader><FatturaElettronicaBody></FatturaElettronicaBody></FatturaElettronicaHeader></p:FatturaElettronica> ','SimpleXMLElement', LIBXML_NOCDATA); /* creo un DOMElements dal SimpleXMLElements */ $domdocument = dom_import_simplexml($fc); /* Creo un DOMElements per ogni elemento della fattura */ $dt = dom_import_simplexml($this->getDatiTrasmissione()); $dt = $domdocument->ownerDocument->FatturaElettronicaHeader->importNode($dt, TRUE); $domdocument->appendChild($dt);

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.00016.63
8.3.50.0100.01222.05
8.3.40.0070.00719.27
8.3.30.0100.01019.34
8.3.20.0080.00020.46
8.3.10.0060.00323.91
8.3.00.0060.00617.75
8.2.180.0110.01118.91
8.2.170.0060.00922.96
8.2.160.0100.01020.68
8.2.150.0060.00324.18
8.2.140.0060.00324.66
8.2.130.0050.00326.16
8.2.120.0030.00622.35
8.2.110.0060.00322.36
8.2.100.0070.00318.28
8.2.90.0080.00019.30
8.2.80.0000.00817.97
8.2.70.0080.00417.88
8.2.60.0040.00418.18
8.2.50.0040.00818.07
8.2.40.0050.00320.01
8.2.30.0000.00718.31
8.2.20.0000.00717.96
8.2.10.0030.00618.16
8.2.00.0020.00517.86
8.1.280.0090.00625.92
8.1.270.0090.00024.09
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0060.00322.23
8.1.230.0090.00319.22
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0050.00517.48
8.1.190.0040.00417.47
8.1.180.0000.00818.10
8.1.170.0030.00518.63
8.1.160.0030.00322.18
8.1.150.0070.00018.78
8.1.140.0070.00017.58
8.1.130.0070.00017.93
8.1.120.0000.00717.69
8.1.110.0000.00817.64
8.1.100.0030.00717.70
8.1.90.0030.00317.51
8.1.80.0030.00517.69
8.1.70.0030.00317.60
8.1.60.0000.00817.77
8.1.50.0040.00417.78
8.1.40.0040.00417.80
8.1.30.0000.00817.87
8.1.20.0040.00417.89
8.1.10.0050.00217.71
8.1.00.0040.00417.74
8.0.300.0000.00718.77
8.0.290.0000.00717.30
8.0.280.0040.00418.57
8.0.270.0000.00817.40
8.0.260.0070.00017.35
8.0.250.0000.00717.12
8.0.240.0070.00017.19
8.0.230.0080.00017.04
8.0.220.0000.00717.16
8.0.210.0070.00017.11
8.0.200.0030.00317.23
8.0.190.0030.00517.01
8.0.180.0060.00317.11
8.0.170.0060.00317.20
8.0.160.0040.00417.19
8.0.150.0030.00717.06
8.0.140.0180.00317.13
8.0.130.0040.00413.55
8.0.120.0040.00417.16
8.0.110.0040.00417.16
8.0.100.0000.00717.21
8.0.90.0070.00016.92
8.0.80.0120.00817.05
8.0.70.0040.00417.04
8.0.60.0070.00017.21
8.0.50.0000.00717.09
8.0.30.0090.00917.44
8.0.20.0120.00717.40
8.0.10.0000.00717.32
8.0.00.0120.01116.91
7.4.330.0050.00015.21
7.4.320.0030.00316.78
7.4.300.0000.00616.82
7.4.290.0030.00316.72
7.4.280.0040.00416.80
7.4.270.0000.00816.63
7.4.260.0030.00316.83
7.4.250.0000.00716.83
7.4.240.0060.00116.68
7.4.230.0040.00416.91
7.4.220.0100.01416.86
7.4.210.0050.01016.79
7.4.200.0040.00416.60
7.4.190.0030.00316.96
7.4.160.0150.00316.80
7.4.150.0090.01217.40
7.4.140.0070.01117.86
7.4.130.0120.00716.69
7.4.120.0050.01516.66
7.4.110.0060.01616.75
7.4.100.0140.00716.73
7.4.90.0100.00716.70
7.4.80.0090.01319.39
7.4.70.0040.01516.56
7.4.60.0160.00016.58
7.4.50.0020.00216.81
7.4.40.0110.00716.77
7.4.30.0140.00316.72
7.4.00.0130.00314.98
7.3.330.0060.00013.41
7.3.320.0050.00013.34
7.3.310.0000.00716.35
7.3.300.0070.00016.50
7.3.290.0120.00316.55
7.3.280.0110.00716.49
7.3.270.0150.00317.40
7.3.260.0120.01216.50
7.3.250.0110.00516.67
7.3.240.0060.01216.54
7.3.230.0140.00416.73
7.3.210.0090.00916.55
7.3.200.0060.01519.39
7.3.190.0100.01016.71
7.3.180.0100.01016.72
7.3.170.0150.00016.80
7.3.160.0090.01216.58
7.3.120.0060.00914.68
7.2.330.0070.01316.47
7.2.320.0110.00716.63
7.2.310.0100.01016.71
7.2.300.0100.00716.73
7.2.290.0130.00316.90
7.2.110.0050.01416.56
7.2.100.0130.00516.58
7.2.90.0220.00616.69
7.2.80.0390.00616.30
7.2.70.0120.00616.83
7.2.60.0090.01016.81
7.2.50.0100.00816.96
7.2.40.0090.00916.87
7.2.30.0170.00317.04
7.2.20.0140.00616.77
7.2.10.0210.00416.68
7.2.00.0100.00518.14
7.1.230.0140.00315.80
7.1.220.0120.00316.02
7.1.210.0140.00015.83
7.1.200.0070.00715.90
7.1.190.0140.00915.75
7.1.180.0190.00915.61
7.1.170.0290.00715.69
7.1.160.0070.00715.81
7.1.150.0070.00715.63
7.1.140.0120.00315.92
7.1.130.0070.01415.80
7.1.120.0150.00015.72
7.1.110.0080.00815.75
7.1.100.0210.00516.88
7.1.90.0100.00515.86
7.1.80.0530.00315.77
7.1.70.0070.00616.65
7.1.60.0090.01417.66
7.1.50.0150.00816.30
7.1.40.0130.00415.66
7.1.30.0170.00315.77
7.1.20.0160.00815.96
7.1.10.0080.00815.77
7.1.00.0080.03819.09
7.0.310.0070.00715.17
7.0.300.0100.00315.52
7.0.290.0150.00315.12
7.0.280.0100.00515.49
7.0.270.0160.00015.65
7.0.260.0370.00715.45
7.0.250.0040.01115.59
7.0.240.0050.01015.57
7.0.230.0120.00515.38
7.0.220.0270.00015.56
7.0.210.0110.00715.56
7.0.200.0040.00516.29
7.0.190.0090.00515.56
7.0.180.0160.00015.48
7.0.170.0080.00315.53
7.0.160.0120.00415.35
7.0.150.0150.00015.26
7.0.140.0050.04318.77
7.0.130.0030.01015.61
7.0.120.0080.00815.55
7.0.110.0100.00715.49
7.0.100.0090.02217.71
7.0.90.0070.04217.79
7.0.80.0060.04617.66
7.0.70.0080.04417.72
7.0.60.0140.03017.71
7.0.50.0090.02917.91
7.0.40.0110.02416.92
7.0.30.0060.04916.86
7.0.20.0100.04316.74
7.0.10.0060.02916.74
7.0.00.0100.04416.68
5.6.380.0110.00714.37
5.6.370.0130.00714.33
5.6.360.0120.00414.46
5.6.350.0100.00313.88
5.6.340.0120.00714.36
5.6.330.0120.00514.64
5.6.320.0150.00414.22
5.6.310.0150.00014.28
5.6.300.0090.00914.28
5.6.290.0120.00814.26
5.6.280.0050.04317.77
5.6.270.0170.00614.32
5.6.260.0120.00314.11
5.6.250.0100.04417.48
5.6.240.0110.03517.69
5.6.230.0070.04017.48
5.6.220.0110.03717.52
5.6.210.0080.04417.41
5.6.200.0090.03217.65
5.6.190.0100.02317.67
5.6.180.0130.03817.92
5.6.170.0080.04217.72
5.6.160.0130.02717.72
5.6.150.0080.04617.53
5.6.140.0080.04317.71
5.6.130.0110.04417.68
5.6.120.0120.04217.69
5.6.110.0170.03017.59
5.6.100.0090.04717.73
5.6.90.0150.03817.66
5.6.80.0050.02617.46
5.6.70.0100.04017.31
5.6.60.0120.04017.41
5.6.50.0080.03817.21
5.6.40.0100.04517.30
5.6.30.0080.04717.51
5.6.20.0100.04217.43
5.6.10.0050.04417.39
5.6.00.0120.03017.32
5.5.380.0080.04216.61
5.5.370.0110.03816.60
5.5.360.0060.03516.62
5.5.350.0080.04616.67
5.5.340.0050.02616.89
5.5.330.0100.04016.91
5.5.320.0070.02316.81
5.5.310.0070.04316.88
5.5.300.0080.04016.88
5.5.290.0030.04816.81
5.5.280.0080.04316.90
5.5.270.0080.04116.75
5.5.260.0040.04616.90
5.5.250.0080.04016.70
5.5.240.0070.04216.55
5.5.230.0030.03916.50
5.5.220.0020.04616.50
5.5.210.0140.03216.60
5.5.200.0050.04416.47
5.5.190.0130.03616.58
5.5.180.0120.02616.58
5.5.170.0090.00914.29
5.5.160.0100.03916.56
5.5.150.0130.03716.53
5.5.140.0110.03916.56
5.5.130.0080.04116.48
5.5.120.0080.04216.47
5.5.110.0080.04116.49
5.5.100.0070.04416.42
5.5.90.0140.03316.50
5.5.80.0120.03516.49
5.5.70.0100.03616.50
5.5.60.0080.03316.44
5.5.50.0020.02416.45
5.5.40.0090.02916.44
5.5.30.0090.03616.50
5.5.20.0050.03716.49
5.5.10.0120.02916.44
5.5.00.0100.04016.51
5.4.450.0110.04015.98
5.4.440.0110.03516.14
5.4.430.0130.03916.15
5.4.420.0050.04216.16
5.4.410.0100.04316.09
5.4.400.0150.03515.95
5.4.390.0050.03915.99
5.4.380.0080.02715.91
5.4.370.0130.03516.01
5.4.360.0080.02516.00
5.4.350.0110.02015.95
5.4.340.0110.03715.99
5.4.330.0080.00312.79
5.4.320.0130.03615.91
5.4.310.0060.03916.00
5.4.300.0070.03815.83
5.4.290.0050.02615.83
5.4.280.0110.02016.07
5.4.270.0060.03715.91
5.4.260.0090.03115.91
5.4.250.0100.03715.95
5.4.240.0100.03815.99
5.4.230.0100.02715.90
5.4.220.0080.02815.98
5.4.210.0020.03915.94
5.4.200.0100.03515.94
5.4.190.0060.04315.99
5.4.180.0080.03815.81
5.4.170.0120.03015.97
5.4.160.0090.03815.97
5.4.150.0110.03715.81
5.4.140.0050.04214.66
5.4.130.0070.03914.50
5.4.120.0070.02214.59
5.4.110.0110.04014.61
5.4.100.0100.03714.65
5.4.90.0020.03914.62
5.4.80.0050.02714.56
5.4.70.0110.03514.57
5.4.60.0080.02314.65
5.4.50.0060.04114.64
5.4.40.0020.03214.69
5.4.30.0040.04214.60
5.4.20.0080.03514.64
5.4.10.0120.02714.60
5.4.00.0060.04014.37
5.3.290.0080.03813.74
5.3.280.0050.02713.75
5.3.270.0080.03813.74
5.3.260.0050.02513.70
5.3.250.0070.03013.73
5.3.240.0120.02413.65
5.3.230.0090.04013.71
5.3.220.0040.03913.73
5.3.210.0110.02213.67
5.3.200.0060.03813.69
5.3.190.0110.03813.72
5.3.180.0050.03313.72
5.3.170.0070.04213.71
5.3.160.0060.03913.62
5.3.150.0050.02613.71
5.3.140.0070.03813.73
5.3.130.0070.02513.63
5.3.120.0080.02313.71
5.3.110.0020.04213.71
5.3.100.0060.02813.38
5.3.90.0050.02013.37
5.3.80.0100.03213.42
5.3.70.0050.02513.37
5.3.60.0060.02313.39
5.3.50.0030.04113.28
5.3.40.0060.02713.34
5.3.30.0120.02313.34
5.3.20.0070.01913.30
5.3.10.0020.02413.26
5.3.00.0100.03613.27
5.2.170.0030.02312.42
5.2.160.0090.03012.42
5.2.150.0070.02812.42
5.2.140.0040.01912.42
5.2.130.0050.03312.42
5.2.120.0050.03312.42
5.2.110.0080.02012.42
5.2.100.0030.03712.42
5.2.90.0080.03012.42
5.2.80.0060.03112.42
5.2.70.0070.03112.42
5.2.60.0020.03512.42
5.2.50.0050.02512.42
5.2.40.0070.02612.42
5.2.30.0050.02212.42
5.2.20.0070.03212.42
5.2.10.0040.03112.42
5.2.00.0050.02812.42
5.1.60.0040.02912.42
5.1.50.0070.02312.42
5.1.40.0060.02412.42
5.1.30.0050.02812.42
5.1.20.0030.02812.42
5.1.10.0030.02712.42
5.1.00.0050.02812.42
5.0.50.0080.02212.42
5.0.40.0040.02212.42
5.0.30.0020.03212.42
5.0.20.0090.02012.42
5.0.10.0030.01812.42
5.0.00.0060.02512.42
4.4.90.0060.01512.42
4.4.80.0000.02112.42
4.4.70.0020.01612.42
4.4.60.0050.00712.42
4.4.50.0030.00812.42
4.4.40.0000.02012.42
4.4.30.0020.01712.42
4.4.20.0060.01312.42
4.4.10.0050.01812.42
4.4.00.0020.01912.42
4.3.110.0050.01712.42
4.3.100.0020.01912.42
4.3.90.0020.01812.42
4.3.80.0020.01812.42
4.3.70.0020.01712.42
4.3.60.0020.01512.42
4.3.50.0080.01012.42
4.3.40.0050.01412.42
4.3.30.0010.01112.42
4.3.20.0020.01312.42
4.3.10.0020.02212.42
4.3.00.0020.01912.42

preferences:
40.07 ms | 401 KiB | 5 Q