#32758 [NEW]: Cannot access safearray properties in VB6 objects

From: Date: Tue, 19 Apr 2005 05:53:00 +0000
Subject: #32758 [NEW]: Cannot access safearray properties in VB6 objects
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-77849@lists.php.net to get a copy of this message
From: wez@php.net Operating system: win32 PHP version: 5.0.3 PHP Bug Type: COM related Bug description: Cannot access safearray properties in VB6 objects Description: ------------ echo $obj->arr[3]; on objects written using VB6 would produce the error DISP_E_NOTACOLLECTION and not allow the data to be accessed. The same object written using ATL works fine. Reproduce code: --------------- echo $obj->arr[3]; Expected result: ---------------- the value Actual result: -------------- a com_exception -- Edit bug report at http://bugs.php.net/?id=32758&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32758&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32758&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32758&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32758&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32758&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32758&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32758&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32758&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32758&r=support Expected behavior: http://bugs.php.net/fix.php?id=32758&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32758&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32758&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32758&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32758&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32758&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32758&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32758&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32758&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32758&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32758&r=mysqlcfg

« previous php.bugs (#77849) next »