gfyte
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
The __destruct() method of the PHPUnit_Extensions_Logger_XML class
(part of PHPUnit) is not beeing called.
To reproduce:
1.) cd pear/PHPUnit
2.) Create FooTest.php with the following code
assertEquals(
'abcdefghijklmnopqrstuvwxyz',
'abcdef
Do you have circular references between 2+ objects? The __destruct()
method won't be called then for those, I suppose.
Cheers,
Michael
Sebastian Bergmann wrote:
The __destruct() method of the PHPUnit_Extensions_Logger_XML class
(part of PHPUnit) is not beeing called.
To reproduce:
1.)
PHP 4 Bug Database summary - http://bugs.php.net
Num Status Summary (812 total including feature requests)
===[*Directory/Filesystem functions]
26574 Assigned basename() cannot work with Chinese Path name
26653 Assigned open_basedir bug
26863 O
Pierre-Alain Joye wrote:
>> It seems there is a problem in either the PHP's shutdown sequence in
>> php_request_shutdown() or destrutor order in ZE2. The problem is quite
>> simple,
I did some debugging and got a segfault in zend_variables.c:61
ZEND_OBJ_HT_P(zvalue)->del_ref(zavlue TSRMLS_
Hello Christian,
Friday, January 16, 2004, 12:20:13 PM, you wrote:
> Marcus Boerger wrote:
>> Just a node: The thing you saw required SXE objects implementing
>> interface RecursiveIterator{reset(), hasMore(), key(), current(),
>> next(), hasChildren(), getChildren()}
> Excuse my ignorance: As I
Hi internals,
casting an object to array gives the possibility to get the values of protected/private
member variables :
class some {
public $pub = 1;
protected $prot = 2;
private $priv = 3;
}
var_dump((array)new some());
?>
Produces :
array(3) {
["pub"]=>
int(1)
["
On Sat, 17 Jan 2004 16:44:29 +0100
Andrey Hristov <[EMAIL PROTECTED]> wrote:
> IMO, when casting to array with (array) only the public-ly visible
> members should returned.
Dunno, E_STRICT (as you can access them without notice/warning without
this flag)?
In the same manner:
dump();
?>
a var_d
Pierre-Alain Joye wrote:
On Sat, 17 Jan 2004 16:44:29 +0100
Andrey Hristov <[EMAIL PROTECTED]> wrote:
IMO, when casting to array with (array) only the public-ly visible
members should returned.
Dunno, E_STRICT (as you can access them without notice/warning without
this flag)?
In the same manner:
Hi internals and Andi,
what do you think about a small exception from the feature freeze for satisfying feature
request http://bugs.php.net/bug.php?id=24258 . The patch is here :
http://www.hristov.com/andrey/projects/php_stuff/array_keys_strict.diff.txt
The change is not big and imo does not intr
Hi,
There is a bug in #6 of README.PHP4-TO-PHP5-THIN-CHANGES. It should read:
6. Starting PHP 5.0.0 the T_ML_COMMENT constant is no longer defined by
the ext/tokenizer extension. If error_reporting is set to E_ALL
notices will be produced. Instead of T_ML_COMMENT for /* */ the
T_COMMENT
On Sat, Jan 17, 2004 at 01:55:15PM -0500, Greg Beaver wrote:
>
> In addition, I noticed that argv and argc don't appear to be registered
> in $_SERVER in the cli version any more - is this expected behavior?
I reported this as a bug in November: http://bugs.php.net/bug.php?id=26206
It doesn't se
This has been discussed on internals before.
See http://www.zend.com/lists/php-dev/200310/msg00026.html and
follow-ups.
--
Regards,
Stefan Walk
<[EMAIL PROTECTED]>
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
learning
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Stefan Walk wrote:
This has been discussed on internals before.
See http://www.zend.com/lists/php-dev/200310/msg00026.html and
follow-ups.
Thanks for pointing out this discussion.
Andrey
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.ph
Indeed, this was very helpful.
Perhaps the best path is to add Rasmus's words to THIN-CHANGES:
$_SERVER should be populated with argc and argv if variables_order
includes "S". If you have specifically configured your system to not
create $_SERVER, then of course it shouldn't be there. The chang
On Sat, Jan 17, 2004 at 03:08:32PM -0500, Greg Beaver wrote:
>
> $_SERVER should be populated with argc and argv if variables_order
> includes "S".
Unfortunately, this isn't working on my system with the
php5-win32-200401161930 snapshot. Perhaps I'm misunderstanding something?
My variables_ord
--- choinet <[EMAIL PROTECTED]> wrote:
> I was helping a user at my ISP support forums. Using
> include on an http:// url generates "Warning: main():
> stream does not support seeking in
> /home/account/public_html/test.php on line 2". This
> occurs for both external/same-server http:// urls.
> Eac
On Fri, 09 Jan 2004 12:03:18 +0100, Pierre-Alain Joye wrote:
> I do not know if that can help but adding $a=null; obviously do not
> crash.
>
> Am I the only one to get such problem within an extension? That makes
> hard to track down the leaks or things like that (in debug mode).
No Pierre. I'm
--- choinet <[EMAIL PROTECTED]> wrote:
> --- choinet <[EMAIL PROTECTED]> wrote:
> > I was helping a user at my ISP support forums. Using
> > include on an http:// url generates "Warning: main():
> > stream does not support seeking in
> > /home/account/public_html/test.php on line 2". This
> > occu
20 matches
Mail list logo