3v4l.org

run code in 300+ PHP versions simultaneously
<?php function ROTR( $x, $t ){ return gmp_and(gmp_or(gmp_div($x, 1 << $t), gmp_mul($x, 1 << (32 - $t))), "4294967295"); } function Σ0( $x ){ echo("SIG INPUT: " . $x . "\n" ); $s0 = ROTR( $x, 2 ); $s1 = ROTR( $x, 13 ); $s2 = ROTR( $x, 22 ); echo( "SIGMA0 2: " . gmp_strval($s0, 10) . "\n" ); echo( "SIGMA0 13: " . gmp_strval($s1, 10) . "\n" ); echo( "SIGMA0 22: " . gmp_strval($s2, 10) . "\n" ); return ( gmp_xor($s0, gmp_xor($s1, $s2)) ); } Σ0( 1779033703 );
Output for git.master, git.master_jit, rfc.property-hooks
SIG INPUT: 1779033703 SIGMA0 2: 3665983897 SIGMA0 13: 859525199 SIGMA0 22: 664378792

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