Bug #78214 [Csd]: Class DOTNET not found with PHP 7.4.0alpha1
| From: | cmb@php.net | Date: | Wed, 26 Jun 2019 16:24:58 +0000 |
| Subject: | Bug #78214 [Csd]: 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-221507@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
Updated by: cmb@php.net
Reported by: v-altruo at microsoft dot com
Summary: Class DOTNET not found with PHP 7.4.0alpha1
Status: Closed
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 7.4.0alpha1
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
[1] <https://windows.php.net/downloads/snaps/php-7.4/>
Previous Comments:
------------------------------------------------------------------------
[2019-06-26 15:13:25] cmb@php.net
Thanks! This is not supposed to happen, though. For some reason
the build bot didn't find the installed Net SDK, which is fixed
now for the snapshots[1] starting with r36b7021 and also for the
upcoming PHP 7.4.0alpha2.
------------------------------------------------------------------------
[2019-06-25 18:42:01] v-altruo at microsoft dot com
Similar issue for ext\com_dotnet\tests\bug77177.phpt
------------------------------------------------------------------------
[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