3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "HTTP/1.1 100 Continue HTTP/1.1 302 Found X-GData-User-Country: ID Location: http://www.ibudanaku.com/thankyoumom/success?status=200&id=LfVB_8sxnyM Content-Type: text/html; charset=UTF-8 X-GUploader-UploadID: AEnB2Uq2IeGJccFrGAftR-86Tynur-Svrp-EadB4SmPmfgaA-tus37rnb6tl8X5PoiozBPT40WCO_jdvK0pjzcipWsi0uRQoIw Content-Length: 17 Date: Fri, 15 May 2015 04:26:57 GMT Server: UploadServer ("Built on May 8 2015 11:09:05 (1431108545)") Alternate-Protocol: 80:quic,p=1 Moved Temporarily"; echo $video_id = substr($string, strpos($string, "status=200&id=") + 14, 11);
Output for 5.4.0 - 5.6.9
Parse error: syntax error, unexpected 'Built' (T_STRING) in /in/geu5d on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_STRING in /in/geu5d on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STRING in /in/geu5d on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/geu5d on line 2
Process exited with code 255.