GoConqr has a new look! Let us know what you think.

Notes

Array

Ajay Sarwara English 5 pages

Content of the notes (5)

Page 1

Arrays

1:ways to create array.

2:how array indexing works.

3:how to access arrays values in single,associative and multidimensional array.

4:How to unset any particular key,empty a array , delete an array using unset() function.

5:Possible data type of array keys.

6:Type conversion when "key" of an array is integer,string,float,null.

http://php.net/manual/en/language.types.array.php

Page 2

NUll Type

is_null() function to determine weather a variable is null or not.

http://php.net/manual/en/language.types.null.php

Callback functions

1:How to call methods using call_user_func().

2:How to call methods of class and static methods of class using call_user_func().

http://php.net/manual/en/language.types.callable.php

Page 3

Variable

1:Assigning variable by reference.

http://php.net/manual/en/language.variables.basics.php

2:variable Scope.

3:Global variable.

4:Static variable

http://php.net/manual/en/language.variables.scope.php

5:Variable variable

http://php.net/manual/en/language.variables.variable.php

6:Constant variable

-multiple ways to define constant.

-how to assign array to a constant. (http://php.net/manual/en/language.constants.syntax.php)

http://php.net/manual/en/language.constants.php

7:Magic Constants

-examples of magic constants.

http://php.net/manual/en/language.constants.predefined.php

Page 4

Operators

1: ** exponentiation operator

2: preincrement,postincrement,predecriment,postdecriment operators.

3: xor operator.

4:Addition of arrays.

5:instanceof operator

http://php.net/manual/en/language.operators.type.php

Page 5

Control Structures

1:While Loop.

2:for loop

http://php.net/manual/en/control-structures.for.php

2:goto operator

http://php.net/manual/en/control-structures.goto.php

Information

Description
Note on Array, created by Ajay Sarwara on 09/03/2018.
Created by
Ajay Sarwara
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?