Nusphere PHPEd: PHP Function Hints Lost Arguments?

Posted by Eli on Stack Overflow See other posts from Stack Overflow or by Eli
Published on 2009-01-30T21:33:18Z Indexed on 2010/05/30 3:02 UTC
Read the original article Hit count: 347

Filed under:
|
|

Hi All,

My PHPEd suddenly stopped showing arguments and arg order in the hints, and now just shows a basic description of the function.

Before I go digging around in the config files, has anyone else had this problem?

Thanks!

Edit:

Sorry, I may not have been entirely clear on this. There is no problem with my own classes, only with the actual php functions.

Example:

How it used to work:

I type a PHP function, say strpos. As soon as I type the '(' at the end of it, I get the little yellow box, showing something like this:

int strpos  ( string $haystack  , mixed $needle  [, int $offset=0  ] )

with the first argument bold. If I type it, and then a comma, it bolds the second arg, and so on. This is really nice, since PHP functions are a bit scrambled as far as argument order, and I don't have to look them up every time.

How it works now:

I type a php function, say strpos. As soon as I type the '(' at the end of it, I get the little yellow box. It says something like "strpos - Returns the numeric position of the first occurrence of needle in the haystack string."

There are no arguments shown, which makes the little box basically worthless - I know what strpos does, I just want a reminder of the argument order.

I think this may be a problem with the included PHPDoc, which I never use, but may be the source of the data for the hint box.

I did recently upgrade to 5.6, but ended up removing it and restoring 5.2. I installed to a different folder, and uninstalled from there, but it may have overwritten something in the original folder?

I'm using v5.2 (5220).

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about ide