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.
コード「abs(070000)」は 28672 を返しますが、コード「abs(70000)」は 70000 を返します。
先頭のゼロは、数値が 16 進数として解釈されることを意味しますか?
ありがとうございました!
ゼロで始まる数値は 8 進数として解釈されます。
PHP ドキュメントを参照してください。