php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43566 Logical xor operator crashes PHP under Windows (Zend
Submitted: 2007-12-11 16:06 UTC Modified: 2008-02-01 22:50 UTC
From: phpbugs dot jj05 at xoxy dot net Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.5 OS: Windows Vista
Private report: No CVE-ID: None
 [2007-12-11 16:06 UTC] phpbugs dot jj05 at xoxy dot net
Description:
------------
Using the xor logical operator crashes PHP 5.2.5 under Windows Vista. This does not seem to happen with Linux.

Reproduce code:
---------------
<?php echo (true xor false); ?>

Actual result:
--------------
Fehlerhafte Anwendung php.exe, Version 5.2.5.5, Zeitstempel 0x4733dfab, fehlerhaftes Modul unknown, Version 0.0.0.0, Zeitstempel 0x00000000, Ausnahmecode 0xc0000005, Fehleroffset 0x00000000, Prozess-ID 0x1400, Anwendungsstartzeit 01c83c0ec4d2fef0.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-29 00:45 UTC] tony2001@php.net
Cannot reproduce.
Please try with a working Windows version.
 [2008-01-29 12:14 UTC] phpbugs dot jj05 at xoxy dot net
After further investigation, I've found that the bug is caused by Zend Optimizer 3.3.0 . Disabling Zend Optimizer solved the issue.
 [2008-02-01 22:50 UTC] jani@php.net
Zend Optimizer bugs are not PHP bugs. Please report to Zend.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Dec 03 01:00:01 2025 UTC