3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = '------- Begin forwarded message: From: Sarah Johnson <blabla@gmail.com> Subject: email subject Date: February 22, 2013 3:48:12 AM To: Email Recipient <thatwouldbe@yayyy.com> Cc: Ralph Johnson <johnson@gmail.com> Hi, hello, thank you and goodbye! blabla@gmail.com'; preg_match_all('/^([^:\v]+): *(.+)/m', $body, $m); var_export( array_combine($m[1], $m[2]) );
Output for rfc.property-hooks, git.master, git.master_jit
array ( 'From' => 'Sarah Johnson <blabla@gmail.com>', 'Subject' => 'email subject', 'Date' => 'February 22, 2013 3:48:12 AM', 'To' => 'Email Recipient <thatwouldbe@yayyy.com>', 'Cc' => 'Ralph Johnson <johnson@gmail.com>', )

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:
40.73 ms | 1013 KiB | 4 Q