On 09/28/2013 11:59 PM, Jim Giner wrote:
ini_set('error_reporting', 'E_ALL | E_STRICT');
Ethan,Ethan,Ethan - what is all this "stuff" you have at the top??? Do
you know how any of this is supposed to be written? You can not put
Constants in quotes - they become just plain strings then, not Constants
with the predefined values you (and the functions) are expecting. For
example, 'on' is NOT the same as the use of the word : on. And your
error_reporting setting (which you are attempting to do TWICE) is
actually causing your script to NOT show any errors, which is preventing
you from seeing that your script dies at the misspelled print statement
and never gets to the pair of if statements that should call your good
and bad functions.
Hate to do this to you, but you've been attempting to pick up PHP for
two years now almost and from this latest post you appear to not have
And WHY would you EVER want to have a time limit of 2400 seconds???????
And stop burying functions in the middle of your straight line code.
It's ridiculous and makes reading your scripts a royal PIA.
Changed error_reporting to -1. No error messages. No change in output.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php