3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ListarDetalhamentosResponse xmlns="http://tempuri.org/"> <ListarDetalhamentosResult> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true"> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="ListarDetalhamentos"> <xs:complexType> <xs:sequence> <xs:element name="CodDetalhe" type="xs:int" minOccurs="0" /> <xs:element name="Detalhe" type="xs:string" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element> </xs:schema> <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"> <NewDataSet xmlns=""> <ListarDetalhamentos diffgr:id="ListarDetalhamentos1" msdata:rowOrder="0"> <CodDetalhe>1800</CodDetalhe> <Detalhe>MAL FUNCIONAMIENTO</Detalhe> </ListarDetalhamentos> <ListarDetalhamentos diffgr:id="ListarDetalhamentos2" msdata:rowOrder="1"> <CodDetalhe>1801</CodDetalhe> <Detalhe>INFORMACION ERRADA</Detalhe> </ListarDetalhamentos> <ListarDetalhamentos diffgr:id="ListarDetalhamentos3" msdata:rowOrder="2"> <CodDetalhe>1802</CodDetalhe> <Detalhe>FALTA DE INFORMACIÓN</Detalhe> </ListarDetalhamentos> </NewDataSet> </diffgr:diffgram> </ListarDetalhamentosResult> </ListarDetalhamentosResponse> </soap:Body> </soap:Envelope> XML; print_r(simplexml_load_string($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)
5.4.390.0230.05718.76
5.4.380.0270.06718.76
5.4.370.0330.06718.75
5.4.360.0400.06018.68
5.4.350.0570.04718.77
5.4.340.0430.04718.75
5.4.320.0300.05718.72
5.4.310.0370.05318.77
5.4.300.0330.05718.75
5.4.290.0300.05718.73
5.4.280.0330.05318.72
5.4.270.0330.05018.61
5.4.260.0330.05018.77
5.4.250.0330.05018.67
5.4.240.0430.05718.58
5.4.230.0370.06018.45
5.4.220.0370.08018.70
5.4.210.0370.08018.73
5.4.200.0330.05316.79
5.4.190.0370.05318.60
5.4.180.0600.03018.71
5.4.170.0400.05718.51
5.4.160.0230.06018.79
5.4.150.0500.06018.56
5.4.140.0330.07316.26
5.4.130.0430.06016.23
5.4.120.0300.05716.20
5.4.110.0300.05316.25
5.4.100.0400.04316.27
5.4.90.0330.05316.25
5.4.80.0370.05016.36
5.4.70.0370.05316.28
5.4.60.0430.04316.18
5.4.50.0400.04016.39
5.4.40.0370.04716.27
5.4.30.0330.04316.39
5.4.20.0300.05316.25
5.4.10.0370.04716.29
5.4.00.0430.03715.62
5.3.290.0400.05714.67
5.3.280.0230.05714.64
5.3.270.0470.04714.57
5.3.260.0330.05014.59
5.3.250.0100.06714.53
5.3.240.0400.06714.71
5.3.230.0470.06714.51
5.3.220.0370.07714.56
5.3.210.0330.06314.62
5.3.200.0270.06714.55
5.3.190.0300.05714.64
5.3.180.0270.05714.59
5.3.170.0270.05314.49
5.3.160.0200.05314.57
5.3.150.0300.05314.54
5.3.140.0300.05714.46
5.3.130.0230.05314.46
5.3.120.0330.05014.52
5.3.110.0400.06014.46
5.3.100.0400.05313.97
5.3.90.0300.04714.02
5.3.80.0200.05314.02
5.3.70.0300.05713.91
5.3.60.0500.06313.91
5.3.50.0300.05713.92
5.3.40.0270.05714.02
5.3.30.0300.05313.85
5.3.20.0270.07013.67
5.3.10.0300.06313.65
5.3.00.0300.07313.53
5.2.170.0230.04711.20
5.2.160.0430.03011.30
5.2.150.0330.04311.20
5.2.140.0200.04711.17
5.2.130.0370.03311.09
5.2.120.0300.04011.24
5.2.110.0300.04711.08
5.2.100.0200.05711.06
5.2.90.0370.05311.07
5.2.80.0270.03711.13
5.2.70.0300.04011.13
5.2.60.0170.04711.11
5.2.50.0200.04311.15
5.2.40.0230.04310.95
5.2.30.0500.03710.93
5.2.20.0130.06311.02
5.2.10.0470.03710.95
5.2.00.0330.03310.71
5.1.60.0230.0339.97
5.1.50.0130.04310.06
5.1.40.0100.0409.93
5.1.30.0200.04010.37
5.1.20.0300.03310.49
5.1.10.0200.03710.13
5.1.00.0170.04310.04
5.0.50.0070.0408.67
5.0.40.0100.0278.52
5.0.30.0230.0438.25
5.0.20.0130.0278.23
5.0.10.0170.0378.15
5.0.00.0170.0508.18
4.4.90.0100.0235.93
4.4.80.0130.0205.86
4.4.70.0030.0275.94
4.4.60.0200.0205.88
4.4.50.0070.0235.91
4.4.40.0070.0405.88
4.4.30.0070.0235.85
4.4.20.0130.0235.95
4.4.10.0100.0275.97
4.4.00.0130.0375.92
4.3.110.0130.0235.75
4.3.100.0100.0205.74
4.3.90.0030.0235.79
4.3.80.0100.0335.80
4.3.70.0130.0205.79
4.3.60.0170.0135.88
4.3.50.0170.0135.77
4.3.40.0130.0305.75
4.3.30.0070.0234.87
4.3.20.0030.0274.87
4.3.10.0000.0304.87
4.3.00.0000.0236.74

preferences:
132.8 ms | 1398 KiB | 7 Q