User-submitted PHP Projects

21
2434 reads
CPUinfo
ru_oublock: block output operations ru_inblock: block input operations ru_msgsnd: messages sent ru_msgrcv: messages received ru_maxrss: maximum resident set size ru_ixrss: integral shared memory
Run It Now!
36
1023 reads
MemoryUsage
Tells us about the memory taken by an application made in php
Run It Now!
34
922 reads
UsingRealPathFunction
RealPath Function is used to get the path of the particular file.
Run It Now!
33
1089 reads
UsingGLOBFunctions
Glob() function is used to get name of all the files inside a folder with particular extension in form of array.
Run It Now!
387
3073 reads

February 22, 2013

Creating a new object


This example demonstrates how to create a new object and assign it to a variable.

35
1343 reads

February 22, 2013

Using COMPACT() function to create an array


The compact() function creates an array from variables and their values.
33
1444 reads

February 22, 2013

Using EXTR_PREFIX_ALL on a numeric array


Prefix all variable names with prefix. It adds the word to the prefix of array. So that if there is element outside the array don't get ambiguous.
37
1498 reads

February 22, 2013

Using extract with the EXTR_PREFIX_ALL directive


Prefix all variable names with prefix. It adds the word to the prefix of array. So that if there is element outside the array don't get ambiguous.
39
1514 reads

February 22, 2013

Using extract on an associative array


Using Extract we can get value of specific element
24
1392 reads

February 22, 2013

Displaying a multidimensional array


Displaying Multidimensional Array