Edit report at https://bugs.php.net/bug.php?id=79123&edit=1
ID: 79123 Updated by: c...@php.net Reported by: v-altruo at microsoft dot com Summary: Failed to init .Net runtime -Status: Open +Status: Feedback Type: Bug Package: Testing related Operating System: Windows Server 2012 R2 PHP Version: 7.3.14RC1 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Is .NET Framework installed on that machine? If so, which version(s)? Previous Comments: ------------------------------------------------------------------------ [2020-01-15 18:09:21] v-altruo at microsoft dot com Description: ------------ Test fails for x64 builds (did not have x86 machine to test this) regardless of nts/ts and opcache on/off. It also fails for php-7.4.2RC1. Failed Test Location: ext\com_dotnet\tests\bug73679.phpt Test script: --------------- <?php $stack = new DOTNET("mscorlib", "System.Collections.Stack", -2200000000); $stack->Push(".Net"); $stack->Push("Hello "); echo $stack->Pop() . $stack->Pop(); ?> Expected result: ---------------- Fatal error: Uncaught com_exception: Could not create .Net object - invalid codepage! in %sbug73679.php:%d Stack trace: #0 %sbug73679.php(%d): dotnet->dotnet('mscorlib', 'System.Collecti...', -2200000000) #1 {main} thrown in %sbug73679.php on line %d Actual result: -------------- Fatal error: Uncaught com_exception: Failed to init .Net runtime [CoCreateInstance] Class not registered in C:\..\php-test-pack-7.4.2RC1\ext\com_dotnet\tests\bug73679.php:3 Stack trace: #0 C:\..\php-test-pack-7.4.2RC1\ext\com_dotnet\tests\bug73679.php(3): dotnet->dotnet('mscorlib', 'System.Collecti...', -2200000000) #1 {main} thrown in C:\..\php-test-pack-7.4.2RC1\ext\com_dotnet\tests\bug73679.php on line 3 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79123&edit=1