×
Night mode
Sign up
Login
Night mode
Sign up
Login
Modules
Basics of Programming
Problem Solving
Git
HTML
CSS
Sass
JavaScript
PHP
Laravel
Meetings
Challenges
Projects
Tutorials
Channels
Notes
Resources
Applications.ge
Modules
Basics of Programming
Problem Solving
Git
HTML
CSS
Sass
JavaScript
PHP
Laravel
Meetings
Challenges
Projects
Tutorials
Channels
Notes
Resources
The difference between post-increment and pre-increment
<?php $x= 7; $y= $x ++ // $x = 8; $y = 7 $x= 7; $y= ++$x // $x = 8; $y = 8 ?>
by
ana meskhi
2 years ago
PHP
post-increment
post-decrement
pre-increment
pre-decrement
1
Pro tip: use ```triple backticks around text``` to write in code fences
COMMENT
Delete
×
Are you sure you want to delete
?
×