3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m_shop = '56921075'; $m_orderid = '1'; $m_amount = number_format(100, 2, '.', ''); $m_curr = 'USD'; $m_desc = base64_encode('Test'); $m_key = 'secret_key'; $arHash = array( $m_shop, $m_orderid, $m_amount, $m_curr, $m_desc, $m_key ); $sign = strtoupper(hash('sha256', implode(':', $arHash))); print implode(':', $arHash); print $sign; ?>
Output for git.master, git.master_jit, rfc.property-hooks
56921075:1:100.00:USD:VGVzdA==:secret_keyE65A1DE654DBB2BA4A33E4712B4396DC0C7244E50471C168E9A742FDECCA0AFE

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