What do 2 plus signs mean in php

藏色散人
Release: 2023-03-14 18:36:01
Original
2769 people have browsed it

The two plus signs in php represent self-increment. For example, "i" means to take the value of i first, and then add 1 to the value of i, and "i" means to add 1 to the value of i first, and then take i. value.

What do 2 plus signs mean in php

#The operating environment of this article: Windows 7 system, PHP version 7.1, Dell G3 computer.

What do the two plus signs in php mean?

means self-adding.

The basic syntax of php is the same as C

i: First take the value of i, and then add 1 to the value of i.

i: First add 1 to the value of i, and then take the value of i.

There is also something similar in VB ASP i=i 1 which is equivalent to i in C

Note: $i=$i 1; cannot replace $i; appears in the program.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of What do 2 plus signs mean in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
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