> does it make a difference where i locate my functions? i have about 20
> functions on a single php page. function a calls function m but
> function m is all the way on the bottom and function a all the way on
> the top. my new programmer claims this is an issue. i need proof of
> this being true or false.

Not if you are using PHP4 or PHP5 with one or two exceptions.  Good programming
style indicates that you will define the function before you use it.  This is
the reason for function prototypes in C/C++.  However, PHP is very flexible. 
See this page for a discussion on function placement from "the" source.

http://www.php.net/functions

James
_____


James D. Keeline
http://www.Keeline.com  http://www.Keeline.com/articles
http://Stratemeyer.org  http://www.Keeline.com/TSCollection

http://www.ITeachPHP.com -- Free Computer Classes: Linux, PHP, etc.
Spring Semester Begins Jan 31 -- New Classes Start Every Few Weeks.


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to