3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <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.0270.05718.77
5.4.380.0370.05718.78
5.4.370.0400.04718.56
5.4.360.0430.05318.59
5.4.350.0330.05718.50
5.4.340.0330.05018.53
5.4.320.0330.05018.77
5.4.310.0470.04718.58
5.4.300.0370.05718.50
5.4.290.0430.06718.61
5.4.280.0330.05318.80
5.4.270.0300.05318.68
5.4.260.0430.05018.72
5.4.250.0430.05018.80
5.4.240.0400.05718.71
5.4.230.0330.05318.71
5.4.220.0270.06318.76
5.4.210.0370.05018.61
5.4.200.0230.06316.56
5.4.190.0370.06018.76
5.4.180.0400.04718.51
5.4.170.0370.04718.45
5.4.160.0370.06318.75
5.4.150.0530.03718.45
5.4.140.0330.06716.27
5.4.130.0530.04016.28
5.4.120.0300.05716.23
5.4.110.0500.04316.41
5.4.100.0370.05716.20
5.4.90.0300.05716.27
5.4.80.0270.05716.26
5.4.70.0370.05316.25
5.4.60.0600.05716.18
5.4.50.0570.06016.26
5.4.40.0430.07716.20
5.4.30.0400.06316.39
5.4.20.0270.05716.24
5.4.10.0370.05016.27
5.4.00.0370.04315.89
5.3.290.0370.05014.60
5.3.280.0300.05714.63
5.3.270.0300.06714.52
5.3.260.0300.06714.66
5.3.250.0600.06014.70
5.3.240.0500.06314.58
5.3.230.0370.06714.67
5.3.220.0300.05314.53
5.3.210.0270.06314.54
5.3.200.0430.06714.60
5.3.190.0430.05014.55
5.3.180.0430.06014.55
5.3.170.0370.05314.55
5.3.160.0230.05014.53
5.3.150.0370.05314.48
5.3.140.0370.04714.52
5.3.130.0330.07314.65
5.3.120.0530.05314.62
5.3.110.0200.06714.53
5.3.100.0330.05014.14
5.3.90.0300.05714.11
5.3.80.0470.04713.95
5.3.70.0400.05314.01
5.3.60.0400.06013.91
5.3.50.0270.06314.02
5.3.40.0570.04013.98
5.3.30.0370.04713.86
5.3.20.0430.05013.58
5.3.10.0370.04713.55
5.3.00.0170.06313.55
5.2.170.0200.04011.28
5.2.160.0230.04011.10
5.2.150.0230.04311.18
5.2.140.0170.05011.17
5.2.130.0170.04311.08
5.2.120.0230.04011.14
5.2.110.0230.04311.07
5.2.100.0130.04711.05
5.2.90.0330.04011.11
5.2.80.0270.04311.02
5.2.70.0330.05011.16
5.2.60.0330.04011.08
5.2.50.0330.04311.05
5.2.40.0330.03710.98
5.2.30.0170.04710.94
5.2.20.0370.03310.89
5.2.10.0300.04010.83
5.2.00.0230.04310.77
5.1.60.0270.0279.98
5.1.50.0230.03710.02
5.1.40.0330.0279.99
5.1.30.0230.03310.36
5.1.20.0130.04710.32
5.1.10.0230.03310.18
5.1.00.0230.04010.14
5.0.50.0170.0238.69
5.0.40.0070.0338.44
5.0.30.0200.0508.24
5.0.20.0030.0338.32
5.0.10.0100.0338.15
5.0.00.0130.0438.14
4.4.90.0170.0275.91
4.4.80.0130.0335.87
4.4.70.0130.0305.91
4.4.60.0100.0305.81
4.4.50.0170.0235.95
4.4.40.0100.0375.87
4.4.30.0100.0235.89
4.4.20.0070.0275.88
4.4.10.0100.0205.98
4.4.00.0130.0335.92
4.3.110.0070.0235.81
4.3.100.0200.0135.85
4.3.90.0100.0205.80
4.3.80.0100.0335.80
4.3.70.0170.0135.82
4.3.60.0070.0235.77
4.3.50.0100.0235.77
4.3.40.0100.0305.74
4.3.30.0030.0234.87
4.3.20.0070.0204.87
4.3.10.0030.0234.87
4.3.00.0070.0277.23

preferences:
135.31 ms | 1446 KiB | 7 Q