3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $val = b00010111; $result = $val ^ b00000001; echo decbin($result);
Output for 7.2.0
Warning: Use of undefined constant b00010111 - assumed 'b00010111' (this will throw an Error in a future version of PHP) in /in/8NRgV on line 3 Warning: Use of undefined constant b00000001 - assumed 'b00000001' (this will throw an Error in a future version of PHP) in /in/8NRgV on line 4 0
Output for 5.3.19 - 7.1.10
Notice: Use of undefined constant b00010111 - assumed 'b00010111' in /in/8NRgV on line 3 Notice: Use of undefined constant b00000001 - assumed 'b00000001' in /in/8NRgV on line 4 0