Table of Contents
字符串
对象
资源
Home php教程 php手册 php 七种数据类型介绍

php 七种数据类型介绍

Jun 16, 2016 am 08:39 AM

PHP有7个数据类型。七个类型:

  1. 字符串,
  2. 整数,
  3. 浮动,
  4. 布尔,
  5. 数组,
  6. 对象,
  7. 资源。

 

字符串

字符串保持字符,如“一”、“abc”,“www.manongjc.com”等。PHP字符串是区分大小写的。

 

对象

有多个值对象是复杂的变量,他们可以有自己的功能。

 

资源

资源可能是图片数据,或者一个SQL查询的结果。我们应该使用它们后释放资源。

 

原文地址:http://www.manongjc.com/article/1000.html

相关阅读:

php 获取表单复选框checkbox值一个简单实例

php 使用数组的方式提交表单form数据

php 使用post方式提交表单的实例

select下拉框多选及取值实例

php 一个简单的表单提交实例

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1667
14
PHP Tutorial
1273
29
C# Tutorial
1255
24