php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48067 Class 'DOTNET' not found
Submitted: 2009-04-24 10:43 UTC Modified: 2009-06-18 15:11 UTC
Votes:8
Avg. Score:4.5 ± 1.3
Reproduced:7 of 7 (100.0%)
Same Version:5 (71.4%)
Same OS:1 (14.3%)
From: lunter at interia dot pl Assigned: pajoye (profile)
Status: Wont fix Package: COM related
PHP Version: 5.3CVS-2009-04-24 (snap) OS: winXP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lunter at interia dot pl
New email:
PHP Version: OS:

 

 [2009-04-24 10:43 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-24 11:58 UTC] pajoye@php.net
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
 [2009-06-18 15:11 UTC] pajoye@php.net
We can't fix the 2003/02 SDK. You can use the VC9 builds with FastCGI or apache as described in the previous comment.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC