|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2020-02-07 16:30 UTC] cmb@php.net
 
-Assigned To:
+Assigned To: cmb
  [2020-02-07 17:12 UTC] cmb@php.net
  [2020-02-07 17:12 UTC] cmb@php.net
 
-Status: Assigned
+Status: Closed
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 07:00:01 2025 UTC | 
Description: ------------ All four available COM error constants actually have the value -1, what makes them indistinguishable, but more importantly makes them useless for checking com_exception codes; the latter can be seen when running 27974.phpt, which fails due to this mismatch. Test script: --------------- <?php var_dump( DISP_E_DIVBYZERO, DISP_E_OVERFLOW, DISP_E_BADINDEX, MK_E_UNAVAILABLE ); ?> Expected result: ---------------- int(-2147352558) int(-2147352566) int(-2147352565) int(-2147221021) Actual result: -------------- int(-1) int(-1) int(-1) int(-1)