Req #70268 [NEW]: DotNet

From: Date: Fri, 14 Aug 2015 11:20:32 +0000
Subject: Req #70268 [NEW]: DotNet
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195201@lists.php.net to get a copy of this message
From: admin at angosso dot net Operating system: PHP_OS PHP version: 5.6.12 Package: Dynamic loading Bug Type: Feature/Change Request Bug description:DotNet Description: ------------ class allows you to instantiate a class from a .Net assembly and call its methods and access its properties. Test script: --------------- DOTNET::__construct ( string $assembly_name , string $class_name [, int $codepage ] ) <?php $stack = new DOTNET("varcorlib", "System.Collections.Stack"); $stack->Push(".Net"); $stack->Push("Hello "); echo $stack->Pop() . $stack->Pop(); Expected result: ---------------- $stack->Push(".Net"); $stack->Push("Hello "); echo $stack->server() . $stack->server(); $manager->RegisterClass('varcorlib', 'System.IO.File', 'File'); $manager->RegisterClass('varcorlib', 'System.IO.FileOptions', 'FileOptions'); $file = $manager->Create('varcorlib', 'File'); $fileoptions = $manager->Create('varcorlib', 'System.IO.FileOptions')->Enum('Encrypted'); Actual result: -------------- Dynamic load related : dynamic dotnet classes can't be called -- Edit bug report at https://bugs.php.net/bug.php?id=70268&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70268&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70268&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70268&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70268&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70268&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70268&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70268&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70268&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70268&r=support Expected behavior: https://bugs.php.net/fix.php?id=70268&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70268&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70268&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70268&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70268&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70268&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70268&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70268&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70268&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70268&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70268&r=mysqlcfg

« previous php.bugs (#195201) next »