There is a problem in PHP. Please analyze it.

related codes

clipboard.png


clipboard.png

After

is exported, the variable $_ _ menu__ should exist. Here is NULL

.

Note:
the code here is a framework of my website program, provided by others.

this _ _ menu__ is a piece of data used by all page templates, and all other pages are normal, except for this page (in addition, this page of my online program is also normal).

I"ve tried to change the name _ _ menu__, and the problem is the same. I"ve tried everything else I can think of.

is there a boss here who can help me analyze the problems here?

Development environment PHP version PHP 7.0.1 (cli) (built: Dec 25 2017 12:02:03) (NTS)

Php
Mar.21,2021
There is a data key of the same name in the

$data variable, and extract is performed twice in the program (after $data), first exported the data in data, the $data was replaced so that the second exported data does not exist


Don't talk nonsense, where did the second extract ($data);

) come from?
Menu