3v4l.org

run code in 300+ PHP versions simultaneously
<?php $siret = '13001202400050'; $binval = decbin($siret); printf('O : %b' . PHP_EOL, $binval); $shifted = $binval >> 8; printf('S : %b' . PHP_EOL, $shifted); printf('I : %b' . PHP_EOL, $shifted << 8);
Output for git.master, git.master_jit, rfc.property-hooks
O : 111111111111111111111111111111111111111111111111111111111111111 Deprecated: Implicit conversion from float-string "10111101001100010100000011001111101100110010" to int loses precision in /in/41tTU on line 9 S : 1111111111111111111111111111111111111111111111111111111 I : 111111111111111111111111111111111111111111111111111111100000000

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:
48.87 ms | 402 KiB | 8 Q