From:             v-altruo at microsoft dot com
Operating system: Windows
PHP version:      7.4.0alpha1
Package:          Testing related
Bug Type:         Bug
Bug description:Class DOTNET not found with PHP 7.4.0alpha1

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 bug report at https://bugs.php.net/bug.php?id=78214&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=78214&r=trysnapshot54
Try a snapshot (PHP 5.5):   
https://bugs.php.net/fix.php?id=78214&r=trysnapshot55
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=78214&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=78214&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=78214&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=78214&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=78214&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=78214&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=78214&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=78214&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=78214&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=78214&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=78214&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78214&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=78214&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=78214&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=78214&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78214&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=78214&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=78214&r=mysqlcfg

Reply via email to