NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
array as function argument and tooltips


Joined: 28 Jun 2005
Posts: 3
Reply with quote
If I pass array(item1, item2, ...) as a parameter to a function, the tooltip considers each item in the array() as a separate argument to the function, rather than treating the entire array() entity as one argument for the function.

For example:

function myFunction ($parm1, $parm2) {
// do something
}

// call myFunction
myFunction(array(1, 5, 3), "value2");

When I type the 5 within the array being passed for the first argument, the tooltip highlights $parm2 instead of realizing that the array(1, 5, 3) is all $parm1.

My operating system is Windows XP. My phpED version is 3.3.3 (build 3397e).
View user's profileFind all posts by scottrSend private message


Joined: 15 Aug 2003
Posts: 44
Reply with quote
I already posted about this: code-tooltip-bug-t1343.html

From the lack of response from dimitrie, I am assuming that simply he knows about it and it will be fixed in some future version.
View user's profileFind all posts by Post-O-MaticSend private message
array as function argument and tooltips
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic