douyanjing8287 2016-03-09 23:30
浏览 122
已采纳

php中“script”的实际含义是什么? [关闭]

I know that php is a scripting language. But some of php codes/docs, like when i tried to use magic methods, still use the "script" word. Like the __invoke() method that is called when "a script tries to call an object as a function". Here, in "script tries" - what exactly does "script" here refer to?

  • 写回答

1条回答 默认 最新

  • doulun1939 2016-03-09 23:42
    关注

    A script is a pretty vague term, generally, a script is a group of code that preforms in and around a root goal, like a script to generate a json file that has some input parameters which slightly modify the final output.

    In PHP, you might have one main script in your project, or you may have many fragments - there is not hard line that says what is a script.

    You may even call other scripts from yours; voting to close as opinion based.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)
  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?