Regarding the LazyPHP framework, need guidance?
$data[‘title’] = $data[‘top_title’] = ‘Homepage’;
Finally, what does the equal sign “Home Page” mean?
Is the render function equivalent to $ob->assign?
Share to:
——Solution——————–
$data[ ‘title’] = $data[‘top_title’] = ‘Homepage’;
Assign values to $data[‘title’] and $data[‘top_title’] at the same time
The render function is used to load and execute templates
The template is still php-html mixed code
LazyPHP is only responsible for scheduling between modules
The sample files need to be run in an environment with short tags enabled
Since there is no template engine and ORM, 1.18M seems too bloated
——Solution—————- —-
Lao Han, can you do it?
——Solution——————–
Doesn’t the equal sign mean assignment?