3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Data = " HTTP/1.1 200 OK Date: Mon, 17 Jun 2019 19:32:37 GMT Server: Apache/2.4.38 (Win32) OpenSSL/1.1.1a PHP/7.2.15 X-Powered-By: PHP/7.2.15 Set-Cookie: Avisistema=ihk9t1ms6r8i0u1j5t6jpjrqei; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate Pragma: no-cache Set-Cookie: Avisistema=ihk9t1ms6r8i0u1j5t6jpjrqei; expires=Tue, 18-Jun-2019 03:32:37 GMT; Max-Age=28799; path=/; HttpOnly Set-Cookie: SageFirmeware=Avisistema.A.0.2015.01.10; expires=Tue, 18-Jun-2019 03:32:37 GMT; Max-Age=28799; path=/; HttpOnly Content-Length: 232 Content-Type: application/json Some-Garbage: test string"; echo preg_match('~^Content-Type: \K.+~m', $Data, $match) ? $match[0] : 'fail';
Output for git.master, git.master_jit, rfc.property-hooks
application/json

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.03 ms | 405 KiB | 5 Q