You are here: Re: Are there static functions in PHP? « PHP Programming Language « IT news, forums, messages
Re: Are there static functions in PHP?

Posted by Jerry Stuckle on 10/29/36 11:26

cyberhorse wrote:
> This is the way I would go about doing this:
> filea.php:
> include_once('parse.php');
> fileb.php:
> include_once('parse.php');
> parse.php:
> function parseArguments(){...}
>
> php can detect if the file parse.php is already included and not
> include it again, hence not redeclaring the function. Give that a go.
>

Read again. This won't help as he has "parseArguments" in both
filea.php and fileb.php

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация