我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP脚本在蜂窝连接的输出结尾处有额外的0

I have a very simple PHP script as follows:

<?php

    echo "$$";

?>

On wifi or wired connections, the output is normal, as follows:

$$

But on my cellular connection (which is LTE on AT&T), the output is:

$$0

What's up with the zero in the output?

The issue only seems to happen on AT&T network, I tried on Verizon network and it was working.

Adding this line of code solved the problem:

header('Content-Type: text/plain; charset=utf-8');

近期文章

  • numpy中两个矩阵如何按行交叉连接?具体如图所示。
  • 安卓在cmd中在debug模式编译签名打包hellocommandline出现错误
  • mantisbt的修改
  • ideal出现这个问题要怎么解决呢,一直依赖包下载不成功
  • sql查询出来的数量与表中不一致
  • 数据相关问题,运算符的操作
  • 下载的VMware无法打开
  • 关于信息安全专业内容的微信小程序制作
  • android中的svg如何分块进行修改颜色?
  • Python爬虫第一次尝试
  • PHP:if(!empty($ array [“key”]))VS if(@ $ array [“key”])。 有什么区别吗?
  • 关于#vscode#的问题:问题遇到的现象和发生背景
  • wireshark好像有点东西显示不出来
  • 背景图片去哪里啦?background-image
  • mantisbt的屏蔽
  • 递归函数求二进制中1的个数
  • Altium 16集成库编译后问题
  • verilog 中有条件例化
  • PHP如果函数内部变量
  • mysql的ibd的日志是否起作用的问题?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华