|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-02-14 23:12 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2019-02-14 23:40 UTC] cmb@php.net
[2019-02-14 23:40 UTC] cmb@php.net
-Status: Assigned
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 15:00:02 2025 UTC |
Description: ------------ When a typelib is imported which defines a constant which has already been defined, the COM extension is supposed to report this, if com.autoregister_verbose is enabled and the imported constant has the same value as the already defined constant. This (usually) does not happen, though. Test script: --------------- <?php ini_set('com.autoregister_verbose', 1); define('ADSTYPE_INVALID', 0); $root = dirname(array_change_key_case($_SERVER, CASE_UPPER)['COMSPEC']); com_load_typelib("$root\activeds.tlb"); echo "---DONE---\n"; Expected result: ---------------- Warning: com_load_typelib(): Type library constant ADSTYPE_INVALID is already defined in %s on line %d ---DONE--- Actual result: -------------- ---DONE---