Re: functions in a external file [message #173963 is a reply to message #173959] |
Mon, 16 May 2011 01:22 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma:
|
Senior Member |
|
|
.oO(bruceaj)
> 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.
If you get a blank result, it's most likely a parse error. Check if your
error reporting is properly configured in your php.ini:
error_reporting = E_ALL|E_STRICT
display_errors = on
Micha
|
|
|