![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#10
|
||||
|
||||
![]()
Well a return value is quite simple to understand. Assume you have a math function f(x) = x^2 - 4x + 3, the x value is the input value, while the f(x) value is the return value. Print and echo are technically PHP functions, but of special type since you do not need to write a parenthesis to enclose anything inside these functions. Moreover, these functions' return values are themselves. This is pretty much like f(x) = x in math, in which f(x) has exactly the same value as x.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hall of Famer's PHP Tutorials: Chapter 6 - PHP Arrays | Hall of Famer | Tutorials and Tips | 0 | 03-16-2013 07:14 PM |
Hall of Famer's PHP Tutorials: Chapter 5 - PHP Function Basics | Hall of Famer | Tutorials and Tips | 0 | 11-23-2012 01:05 AM |
Hall of Famer's PHP Tutorials: Chapter 4 - PHP Iteration | Hall of Famer | Tutorials and Tips | 2 | 02-26-2011 09:48 AM |
Hall of Famer's PHP Tutorials: Chapter 3 - PHP Conditional Statements | Hall of Famer | Tutorials and Tips | 0 | 02-23-2011 05:59 PM |
Hall of Famer's PHP Tutorials: Chapter 2 - PHP Operators | Hall of Famer | Tutorials and Tips | 0 | 02-22-2011 07:26 PM |
What's New? |
What's Hot? |
What's Popular? |