This is a discussion on Argument vs Parameter within the PHP Programming forums, part of the Web Development category; I was writing a tutorial earlier and I said something I wasnt sure of but it didnt make a big ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| I was writing a tutorial earlier and I said something I wasnt sure of but it didnt make a big difference... Code: PHP Code:
<?php
function EmailValidation($email) {
//function code
}
?> |
| Sponsored Links |
| |||
| In everyday usage, “parameter” and “argument” are used interchangeably to refer to the things that you use to define and call methods or functions. Often this interchangeability doesn’t cause ambiguity. It should be noted, though, that conventionally, they refer to different things. A “parameter” is the thing used to define a method or function while an “argument” is the thing you use to call a method or function. Parameter: def foo(param) ... end Argument: foo(arg) # => obj Ultimately, it doesn’t really matter what you say. People will understand from the context.
__________________ Thanks & Regards Sabari... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to get out parameter of stored procedure ? | Murali | PHP Programming | 0 | 12-16-2007 04:57 AM |
| Difference Between an Argument and a Parameter | Pvinothkumar | HTML, CSS and Javascript Coding Techniques | 1 | 10-18-2007 12:05 AM |
| Difference between a Return parameter and an OUTPUT parameter? | KiruthikaSambandam | ASP and ASP.NET Programming | 1 | 08-25-2007 02:25 AM |
| How can I send parameter value for Reporting service? | H2o | Database Support | 2 | 07-19-2007 01:11 AM |