I was working on something else and suddenly realized I've got a handful of weird-looking functions defined in PHP. Here's my script:

$v = get_defined_functions();
sort($v["internal"]);
foreach($v["internal"] as $key => $fn) {
	if (preg_match('/^_/', $fn)) {
		echo $fn . PHP_EOL;
	}
}

And here's the output:

_
_dyuweyrj4
_dyuweyrj4r

Those are some REALLY suspicious-looking function names. Can anyone tell me what they do or what extension might have defined them?

    OK so I have traced the latter two functions to and ioncube extension I have installed. Still not sure where the _ function comes from.

      sneakyimp wrote:

      Still not sure where the _ function comes from.

      Do you have [man]gettext[/man] installed? That defines it.

        Weedpacket;11043197 wrote:

        Do you have [man]gettext[/man] installed? That defines it.

        Yes I do.

          bradgrafelman;11043213 wrote:

          Man page: [man]_[/man] 🙂

          Oh weird. Not familiar with this extension at all. Thanks, guys.

            Ooh, my new favorite function name! 😃

              Write a Reply...