3v4l.org

run code in 300+ PHP versions simultaneously
<?php $oldArray = array(('_wpcf7') => '3', ('_wpcf7_version') => '4.9.2', ('_wpcf7_locale') => 'en_US', ('_wpcf7_unit_tag') => 'wpcf7-f3-p2-o1', ('_wpcf7_container_post') => '2', ('your-name') => 'sad', ('your-subject') => 'sad', ('your-message') => 'sdsa'); $newArray = array(); foreach($oldArray as $key => $value) { if (substr($key,0,6) !== '_wpcf7') $newArray[$key] = $value; } print_r($newArray);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [your-name] => sad [your-subject] => sad [your-message] => sdsa )

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:
85.98 ms | 405 KiB | 5 Q