Home  >  Article  >  Backend Development  >  what is scalar data in php

what is scalar data in php

WBOY
WBOYOriginal
2016-07-25 08:45:571921browse

Like Boolean values, integers, floating point numbers, and string data, these types are all scalar data.

Constants in PHP can only store data types such as Boolean values, integers, floating point numbers, and string data.

Note: In PHP, once a constant value is set, it cannot be changed elsewhere in the script.

php


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn