|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77593 DOTNET class missing from official Windows builds
Submitted: 2019-02-09 13:24 UTC Modified: 2019-02-09 20:32 UTC
From: Assigned: ab (profile)
Status: Closed Package: COM related
PHP Version: 7.3.2 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2019-02-09 13:24 UTC]
The official Windows builds do not support the DOTNET class.
Apparently, they are compiled on a system where mscoree.h is not

It seems to me that it is sufficient to document this issue.

[1] <>

Test script:

echo (!extension_loaded('com_dotnet') || class_exists('DOTNET')) ? 'ok' : 'hmm';

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-09 13:25 UTC]
-Assigned To: +Assigned To: ab
 [2019-02-09 13:25 UTC]
Anantol, if you agree that this is merely a doc issue, please assign back to me.
 [2019-02-09 20:32 UTC]
-Status: Assigned +Status: Closed -Type: Documentation Problem +Type: Bug
 [2019-02-09 20:32 UTC]
Thanks for the ping, Christoph. Nope, it's missing the required compiler component. I've just installed it, so this should be fine. This might be added to NEWS, if necessary.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Aug 12 02:05:45 2022 UTC