search

Home  >  Q&A  >  body text

It cannot run if the variable name is modified.

define('TIME_ZONE','Asia/shanghai');

Why can't this section run if I modify it in shanghai?

shanghai becomes guangzhou


一只圆圆的熊宝一只圆圆的熊宝2695 days ago1266

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-07-14 17:35:02

    China can only be Shanghai.

    reply
    1
  • 卖女孩的小火柴哟

    Okay, you can also try chongqing

    卖女孩的小火柴哟 · 2018-03-06 14:59:23
  • ringa_lee

    ringa_lee2017-07-14 17:29:07

    Your constant is written in the function date_default_timezone_set. It is just for setting the time zone. Generally speaking, PRC is sufficient

    reply
    0
  • Cancelreply