[PHP-DEV] Bug #15415 Updated: [VOTE] case sensitive function/class names for PHP5

2002-02-07 Thread marten
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: -

[PHP-DEV] Bug #12199: Bad return value from include_once()

2001-07-17 Thread marten
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

[PHP-DEV] Bug #12199 Updated: Bad return value from include_once()

2001-08-08 Thread marten
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:

RE: [PHP-DEV] nested functions

2001-02-02 Thread Marten Gustafsson
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

RE: [PHP-DEV] wrong implementation of isset()?

2001-02-06 Thread Marten Gustafsson
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

Re: [PHP-DEV] ctype function (re?)naming

2001-02-26 Thread Marten Gustafsson
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

[PHP-DEV] Functions still execure when arguments are omitted

2001-02-27 Thread Marten Gustafsson
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

[PHP-DEV] Read a file into a string (RE: [PHP-DEV] Sablotron leaks)

2001-06-24 Thread Marten Gustafsson
> 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

RE: [PHP-DEV] error handler callback gets silenced errors

2002-04-09 Thread Marten Gustafsson
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

RE: [PHP-DEV] Additional argument in funtion file($a, $b)

2001-01-24 Thread Marten Gustafsson
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