dongzhan7909 2016-05-20 16:19
浏览 16

为什么php表达式会返回值?

For example, echo and print output similarly but print returns 1. My book says this is useful for expressions.

I'm what scenarios should I expect to return values in my expressions? What use is it?

  • 写回答

1条回答 默认 最新

  • dpw43061 2016-05-20 16:40
    关注

    for example : if you are dealing with post method and something went wrong you can use print_r($_POST); to see if the values are stored correctly.. hope that will help

    评论

报告相同问题?

悬赏问题

  • ¥50 三种调度算法报错 采用的你的方案
  • ¥15 关于#python#的问题,请各位专家解答!
  • ¥15 对于这个问题的解释说明
  • ¥200 询问:python实现大地主题正反算的程序设计,有偿
  • ¥15 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败