ID: 48067 Updated by: [email protected] Reported By: lunter at interia dot pl -Status: Open +Status: Assigned Bug Type: COM related Operating System: winXP PHP Version: 5.3CVS-2009-04-24 (snap) -Assigned To: +Assigned To: pajoye New Comment:
It is not available with the platform SDK 2003/02. 5.2 had a hack by manually copying the mscoree files to enable the DOTNET class. However 5.3 does not have this trick, you can use the VC9 builds for now as they use modern SDKs and support DOTNET. VC9's apache can be found at http://apachelounge.com Previous Comments: ------------------------------------------------------------------------ [2009-04-24 10:43:16] lunter at interia dot pl Description: ------------ Class 'DOTNET' not found introduced in PHP 5.3 Reproduce code: --------------- <?php $stack = new DOTNET("mscorlib", "System.Collections.Stack"); $stack->Push(".Net"); $stack->Push("Hello "); echo $stack->Pop() . $stack->Pop(); ?> Expected result: ---------------- Fatal error: Class 'DOTNET' not found in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\1.php on line 2 Actual result: -------------- Hello .Net ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48067&edit=1
