Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jun 5, 2024
1 parent 6704e16 commit 8bf5c69
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions program/unnamespaced-legacy-classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@
) {
$legacyAutoloadClassName = $trace[2]['args'][0];
}

var_dump($legacyAutoloadClassName ?? null);
var_dump($trace[2]);
var_dump(($trace[2]['class'] ?? null));
var_dump(($trace[2]['function'] ?? null));
var_dump($trace[2]['args'][0] ?? null);
var_dump([


($trace[2]['class'] ?? null) === ClassLoader::class,
($trace[2]['function'] ?? null) === 'loadClass',
is_string($trace[2]['args'][0] ?? null),


]);
debug_print_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
}

if (!isset($legacyAutoloadClassName)) {
Expand Down

0 comments on commit 8bf5c69

Please sign in to comment.