3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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));
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.2.6
int(0)