The name of the scrambled class is passed to spl_autoload_call via call_user_func

I found interesting php behavior while calling different classes dynamically at the same time. For some reason, the class name is scrambled, and its appearance looks like a fragment of a hashed string.

here is an example php code I'm trying to execute:

call_user_func(array('app_event', 'arrayItems'));

Here is the flip side of this event:

Array
(
[0] => Array
    (
        [function] => autoLoader
        [class] => init
        [type] => ::
        [args] => Array
            (
                [0] => j7ltlqmoy
            )

    )

[1] => Array
    (
        [function] => spl_autoload_call
        [args] => Array
            (
                [0] => j7ltlqmoy
            )

    )

[2] => Array
    (
        [file] => /site/class.app.php
        [line] => 107
        [function] => call_user_func
        [args] => Array
            (
                [0] => Array
                    (
                        [0] => app_event
                        [1] => arrayItems
                    )

            )

    )
 ...
 );

Can someone explain what I'm doing wrong, and what could cause the sting app_event to be translated to j7ltlqmoy ?

UPDATE
Script , . , , , ?

2
( PHP 5.3.10), , . , static.

3
, Zend Guard Loader

+3
1

, Zend Guard Loader

0

Source: https://habr.com/ru/post/1760437/


All Articles