ID: 40480 User updated by: tetikr at spytech dot cz Reported By: tetikr at spytech dot cz -Status: Feedback +Status: Open Bug Type: COM related Operating System: Windows XP, IIS 5.1 PHP Version: 5.2.1 New Comment:
5.2.0 works fine, I'm sure. There is no php_com.dll or similiar in the ext folder. COM is built-in I think. Previous Comments: ------------------------------------------------------------------------ [2007-02-14 12:10:19] [EMAIL PROTECTED] >A custom COM object is involved -> reproduce code is useless Well, I doubt we can fix something that we can't reproduce. Are you sure 5.2.0 works fine for you? What if you take php_com.dll (or whatever it's name) from 5.2.0 and put it instead of the one from 5.2.1? ------------------------------------------------------------------------ [2007-02-14 11:48:46] tetikr at spytech dot cz Description: ------------ I'm executing this line of code: $o is a custom COM object $s = $o->Fields['ICON']->Images[0]->GetResizedUrl(55,55,0); It works fine in PHP 5.2.0. After installing 5.2.1 it tells me "Cannot pass parameter 1 by reference". Note that no used COM methods/properties use byref parameters. --------------- I can make it work after any of these work-arounds: 1) $x = o->Fields['ICON']->Images[0]; $s = $x->GetResizedUrl(55,55,0); 2) $n = 0; $s = $o->Fields['ICON']->Images[$n]->GetResizedUrl(55,55,0); 3) $n=55; $n2=0; $s = $o->Fields['ICON']->Images[0]->GetResizedUrl($n,$n,$n2); Reproduce code: --------------- A custom COM object is involved -> reproduce code is useless ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40480&edit=1
