#48067 [Opn->Asn]: Class 'DOTNET' not found
| From: | pajoye@php.net | Date: | Fri, 24 Apr 2009 11:58:30 +0000 |
| Subject: | #48067 [Opn->Asn]: Class 'DOTNET' not found | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136198@lists.php.net to get a copy of this message | ||
ID: 48067
Updated by: pajoye@php.net
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