3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = array( 'appid' => 10647, 'apikey' => '5ce0020a-efa7-1180-2339-b6a6-9800fcff', 'secretkey' => 'QFwpPRp+g7Zdr9p5LwvPlG4WEh7XFJ1WupsO/Uu9GPRXxXqnGoodfERyuOo4', 'timestamp' => 1408522094, ); ksort($params);//对数组键值进行升序排序 $param_uri = http_build_query($params,'','&'); echo base64_encode(hash_hmac('sha1', $param_uri, $secretkey));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $secretkey in /in/vLonS on line 10 Deprecated: hash_hmac(): Passing null to parameter #3 ($key) of type string is deprecated in /in/vLonS on line 10 YjI5NzVmMGMzMjQ0MTFhMzFkMTE2MjhiZGIxMmU4MTUwMzZkMzhkMg==

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:
47.6 ms | 405 KiB | 9 Q