Home
PHP
Chart
Class
Components
Cookie Session
Data Structure
Data Type
Date
Design Patterns
Development
DNS
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
Operator
PDF
Reflection
Statement
String
Utility Function
Web Services SOAP WSDL
XML
static variables « Language Basics « PHP
PHP
Language Basics
static variables
1.
A static variable remembering its last value
2.
Using the static Statement to Remember the Value of a Variable Between Function Calls
3.
Using the static modifier to change a member or method so it is accessible without instantiating the class
4.
static variables
5.
Working with Static Variables in Functions