3v4l.org

run code in 300+ PHP versions simultaneously
<?php $credentials = "Authorization: OAuth oauth_consumer_key=g3PdEVqZnBgaecDGpQjODcSLm, oauth_nonce=3346472044-54KLfYYlu9P1eAXN3Le3P8hgtzt4creTd41tfJRg3PdEVqZnBgaecDGpQjODcSLm1444413587932, oauth_signature=FHnxlpBl9h3ckb8GQLfw+D3FCaU=, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1444413587, oauth_token=3346472044-54KLfYYlu9P1eAXN3Le3P8hgtzt4creTd41tfJR, oauth_version=1.0"; $arrayCredentials = explode(',',$credentials); dd($arrayCredentials); $needle = 'oauth_signature'; $ret = array_keys(array_filter($arrayCredentials, function($var) use ($needle){ return strpos($var, $needle) !== false; })); echo($ret);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function dd() in /in/05eSX:5 Stack trace: #0 {main} thrown in /in/05eSX on line 5
Process exited with code 255.

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:
55.9 ms | 401 KiB | 8 Q