php.net |  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: cmb@php.net Assigned: ab (profile)
Status: Closed Package: COM related
PHP Version: 7.3.2 OS: Windows
Private report: No CVE-ID: None
 [2019-02-09 13:24 UTC] cmb@php.net
Description:
------------
The official Windows builds do not support the DOTNET class.
Apparently, they are compiled on a system where mscoree.h is not
available[1].

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

[1] <https://windows.php.net/downloads/snaps/php-7.3/r03f6b16/logs/configure-ts-windows-vc15-x64-r03f6b16.txt>

Test script:
---------------
<?php

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

Expected result:
----------------
ok

Actual result:
--------------
hmm

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-09 13:25 UTC] cmb@php.net
-Assigned To: +Assigned To: ab
 [2019-02-09 13:25 UTC] cmb@php.net
Anantol, if you agree that this is merely a doc issue, please assign back to me.
 [2019-02-09 20:32 UTC] ab@php.net
-Status: Assigned +Status: Closed -Type: Documentation Problem +Type: Bug
 [2019-02-09 20:32 UTC] ab@php.net
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.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC