Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不明白在做什么spl_autoload_register或autoload在做什么。
spl_autoload_register
autoload
为什么我不只使用 include 或 require?
我没有看到明确的答案。
自动加载函数或类的优点是:
我的 JSP 的标题中有这一行,<script>var logicalName = "${logicalName}"</script>它正在解析为正确的值。
<script>var logicalName = "${logicalName}"</script>
我想通过 javascript/jquery 访问这个值。我该怎么做呢?
这是行不通的console.log($lo
console.log($lo