ID: 46078 User updated by: ja dot doma at gmail dot com Reported By: ja dot doma at gmail dot com Status: Open Bug Type: Reproducible crash Operating System: Windows PHP Version: 5.2.6 New Comment:
This is clearly 'xor' problem, since this cause crash too: $ch = (1 xor 3); var_dump($ch); //this not $ch = 1 xor 3; var_dump($ch); //result will be 1, expecting 2 Previous Comments: ------------------------------------------------------------------------ [2008-09-14 19:44:27] ja dot doma at gmail dot com Description: ------------ PHP CLI (console mode) crashes when executing: var_dump(120 xor 111); //or any other number reproducible: always //this works fine $ch = 120 xor 111; var_dump($ch); //this works too var_dump(120); var_dump(120 + 3); weird because other numerical expressions do not cause the crash, only xor. Reproduce code: --------------- 1) make test.php 2) put <?php var_dump(120 xor 111); ?> into the file 3) php test.php Expected result: ---------------- int(120) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46078&edit=1
