Re: functions in a external file [message #173960 is a reply to message #173959] |
Mon, 16 May 2011 00:48 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 5/15/2011 8:35 PM, bruceaj wrote:
> Is there a maximum number of functions that can be contained in
> "require_once" php file?
>
> I have this simple function (for testing this problem).
>
> function GetTelephoneNumber () {
>
> return "123 456-6789";
> }
>
> If this function is in my main routine. No problem.
> If this function is in it's own file. No problem.
> If this function is in my main "function.php" file, I get the php
> blank. screen. l am using firefox and don't know how to get errors.
>
> Appreciate help and suggestions....
>
> Thanks...
>
> Bruce
No limit, other than the amount of code which has to be parsed.
You have another problem. Enable error reporting and see what you get
for an error. You probably are not including the file properly.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|