Bug #78214 [Opn]: Class DOTNET not found with PHP 7.4.0alpha1
| From: | v-altruo at microsoft dot com | Date: | Tue, 25 Jun 2019 18:42:01 +0000 |
| Subject: | Bug #78214 [Opn]: Class DOTNET not found with PHP 7.4.0alpha1 | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-221496@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78214&edit=1
ID: 78214
User updated by: v-altruo at microsoft dot com
Reported by: v-altruo at microsoft dot com
Summary: Class DOTNET not found with PHP 7.4.0alpha1
Status: Open
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 7.4.0alpha1
Block user comment: N
Private report: N
New Comment:
Similar issue for ext\com_dotnet\tests\bug77177.phpt
Previous Comments:
------------------------------------------------------------------------
[2019-06-25 18:40:36] v-altruo at microsoft dot com
Description:
------------
Could only test for x64 builds, where it failed for both NTS and TS regardless of opcache on/off.
Failed Test File: ext\com_dotnet\tests\bug73679.phpt
Test script:
---------------
$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 Error: Class 'DOTNET' not found in
C:\...\php-test-pack-7.4.0alpha1\ext\com_dotnet\tests\bug73679.php:3
Stack trace:
#0 {main}
thrown in C:\...\php-test-pack-7.4.0alpha1\ext\com_dotnet\tests\bug73679.php on line 3
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78214&edit=1