java软件工程师学php - 1. 动态数据类型

WBOY
Release: 2016-06-13 13:05:36
Original
780 people have browsed it

java程序员学php -- 1. 动态数据类型
1. php里的数据类型是动态的,不要求在使用变量之前声明变量,如
   $var = 0;

2. php里变量的数据类型可在运行时变换,比如,你可以先后如下赋值:
   $var = 5;
   $var = 'abc';
   不会报错

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template