3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "AWS-HMAC-SHA256 Credential=eyJhbGciOiJIUzI1NiIsIngtc3MiOjEy/20160911/cn/user-service/request,SignedHeaders=host;x-aws-date, Signature=d9ee2d43f2067e4b8857f15fa8fff27820051d95a4ec31e93be866f201e0797a"; sscanf($str, 'AWS-HMAC-SHA256 Credential=%[^,],SignedHeaders=%[^,], Signature=%[^,]', $credentials, $headers, $signature); var_dump($credentials, $headers, $signature);
Output for git.master, git.master_jit, rfc.property-hooks
string(65) "eyJhbGciOiJIUzI1NiIsIngtc3MiOjEy/20160911/cn/user-service/request" string(15) "host;x-aws-date" string(64) "d9ee2d43f2067e4b8857f15fa8fff27820051d95a4ec31e93be866f201e0797a"

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