ID: 15415
Updated by: [EMAIL PROTECTED]
-Reported By: [EMAIL PROTECTED]
+Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: ANY
PHP Version: PHP 5.0
New Comment:
YES
Previous Comments:
-
From: [EMAIL PROTECTED]
Operating system: Any
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: Bad return value from include_once()
Currently include_once() returns 1 the first time a file is included and
NULL the second time (when the file is already
ID: 12199
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 4.0.6
New Comment:
Fixed in CVS by Zeev on August 2. Thanks!
Previous Comments:
Is there a need for nested funcitons? I don?t think so.
-Marten.
Icq# 38863127
-Original Message-
From: Andrei Zmievski [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 02, 2001 3:22 PM
To: Hartmut Holzgraefe
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] nested functions
On Fri
I have always (although I know this wasn?t the case prior to PHP 4) thought
that unset() removed the variable from memory. Clearly this can?t be the
case if it has a value of NULL.
But if this is the way things work then is_null() ought to be an alias of
isset().
-Marten.
Icq# 38863127
is is not in line with the other is_* functions. To keep in line with
> those I feel whatever we choose it should be ctype_is_* no is* as this is
> used to mean a different test (isset) under the variable functions.
>
> James
Absolutely, go with ctype_is_*
2c
Marten
--
PHP Developm
The above code snippet will result in "a" being printed, is there a reason
why functions execute even when arguments are omitted?
-Marten.
Icq# 38863127
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
> Blah... I see this a lot. We should probably just relent and make a
> function that reads an entire file into a string.
Yes, please do :)
Regards,
Marten.
ps.
This has been requested in #5008, #7213 and #8882.
--
PHP Development Mailing List <http://www.php.net/>
To unsubsc
I think the current behaviour is fine. The user defined error handler should get
silenced errors as well, then it?s up to the developer to decide wether to ignore them
or not.
Marten.
> -Original Message-
> From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March
I?ve also thought about this and think there should be funciton wich returns
the contents of a file as a string. Especially since implode("",
file($filename)) is or is at least said to be much slower than;
$content = fread(fopen($filename, 'r'), filesize($filename));
-Ma
10 matches
Mail list logo