3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = '--uuid:77b9608d-a34e-4272-9978-71f0afd4901a Content-Type: application/xop+xml; charset=UTF-8; type="application/soap+xml" Content-Transfer-Encoding: binary Content-ID: <root.message@cxf.apache.org> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope"></env:Header><soap:Body><ns2:CreditOrderResponse xmlns="http://cmn.sodexo.cz/type/common" xmlns:ns2="http://cm.sodexo.cz/type/cm" xmlns:ns3="http://ntf.sodexo.cz/type/ntf.002" xmlns:ns4="http://ntf.sodexo.cz/type/ntf.001" xmlns:ns5="http://nmc.sodexo.cz/type/ntfcommon"><Envelope><RequestId><IdInApplication>188187</IdInApplication><Application>3</Application></RequestId><ResponseId><IdInApplication>SDX94010000000000828668</IdInApplication><Application>8</Application></ResponseId><ResultCode>EBMCRCCO01</ResultCode><ResultText>Identifikátor extTxnId musí být unikátní.</ResultText><Timestamp>2017-06-06T08:45:28.789</Timestamp></Envelope></ns2:CreditOrderResponse></soap:Body></soap:Envelope> --uuid:77b9608d-a34e-4272-9978-71f0afd4901a--'; var_dump(preg_match('#^Content-Type:.*multipart\/.*#mi', $response));

preferences:
54.31 ms | 402 KiB | 5 Q