Results 1 to 2 of 2
- 12-30-2011, 02:50 AM #1
Newbie
- Join Date
- Dec 2011
- Posts
- 19
How can we take advantage of predefined constants ?
PHP features a large number of built-in, predefined constants holding various useful values. Some of these are always available, while other constants become available when certain PHP extensions are enabled. How can we take advantage of predefined constants ? Your ways ?
- 02-06-2012, 12:53 AM #2
Junior WHC Addict
- Join Date
- Aug 2011
- Posts
- 109
I think there are lots of things present in PHP which we can utilize only when we have requirement. Consider the simple example of making currency converter, with help of these constants you can define value to one global parameter to store value of different currency and use it in programming whenever is require.



LinkBack URL
About LinkBacks




Reply With Quote






Bookmarks