3v4l.org

run code in 200+ PHP versions simultaneously
<?php var_dump(decbin(~0)); var_dump(decbin(-1)); var_dump(decbin(~PHP_INT_MAX));
based on cHkPX

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for branch php-master
string(64) "1111111111111111111111111111111111111111111111111111111111111111" string(64) "1111111111111111111111111111111111111111111111111111111111111111" string(64) "1000000000000000000000000000000000000000000000000000000000000000"
Output for branch php-master+opcache
string(64) "1111111111111111111111111111111111111111111111111111111111111111" string(64) "1111111111111111111111111111111111111111111111111111111111111111" string(64) "1000000000000000000000000000000000000000000000000000000000000000"
Output for branch php-master+jit
string(64) "1111111111111111111111111111111111111111111111111111111111111111" string(64) "1111111111111111111111111111111111111111111111111111111111111111" string(64) "1000000000000000000000000000000000000000000000000000000000000000"

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