3v4l.org

run code in 300+ PHP versions simultaneously
<?php // disabling when flag was enabled before var_dump(decbin(bindec('111') ^ bindec('100'))); // disabling when flag was not enabled before var_dump(decbin(bindec('11') ^ bindec('100'))); // disabling when flag was enabled before var_dump(decbin(bindec('111') & ~bindec('100'))); // disabling when flag was not enabled before var_dump(decbin(bindec('11') & ~bindec('100')));

preferences:
22.49 ms | 406 KiB | 5 Q