3v4l.org

run code in 500+ PHP versions simultaneously
<?php function intval32bits($value) { $value = ($value & 0xFFFFFFFF); if ($value & 0x80000000) $value = -((~$value & 0xFFFFFFFF) + 1); return $value; } function shift_left_32( $a, $b ):int { return intval32bits( $a << $b ); } echo shift_left_32(0, 5);
Output for git.master, git.master_jit, rfc.property-hooks
0

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:
101.13 ms | 1434 KiB | 4 Q