troubleshooting Question

PHP function parameters defined

Avatar of tonelm54
tonelm54 asked on
PHP
14 Comments1 Solution178 ViewsLast Modified:
When I execute some SQL functions I get a list of possible variables, but cant find any documentation on how to complete something similar.

For example:-
class SimpleClass
{
    const $lookupA = 1;
    const $lookupB = 2;
    const $lookupC = 3;

    public function displayVar(llookup*) {
        return $lookup*;
    }
}

So, if I typed myNewClassInstance->displayVar( into my IDE my choices would be lookupA,lookupB or lookupC and would return a value 1-3. This is just a simple class to describe what Im trying to do, its not the best implementation.

Any ideas?
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros