I'm looking at someone else's code. There's class that calls functions like GetSku()
, WriteOrder($order)
, etc., but I unable to find where these are located. I've checked for …
__call
) definedgrep -rHn "n *GetSku" /path/to/codebase
: returns nothingThese mysterious function are called literally like…
$sku = GetSku();
WriteOrder($order);
What could possibly define and them them work? Custom magic functions somehow? Some kind of dynamic functions? I'm scratching my head like a monkey with an iPhone.
Maybe the class was included in a php file that is including some external libraries? The functions might be taken from these libraries.