Re: [PHP-DEV] Getting system statistics

2006-05-08 Thread Sean Coates
> Is there any funciton to get the system related statistics like, > meminfo, cpuinfo, etc. Hello, In the future, please use php-general@lists.php.net for anything not related to PHP internals development. As for your question, see http://pecl.php.net/statgrab S -- PHP Internals - PHP Runtime

[PHP-DEV] INIT_CLASS_ENTRY and char*

2006-05-08 Thread Brandon Fosdick
I think I found a bug in the INIT_OVERLOADED_CLASS_ENTRY_EX macro. At least, I think its a bug, somebody else might think its a feature. :) If you do something like INIT_CLASS_ENTRY(ce, "MyClass", ...) everything works fine. However, if you have something like void register_class(char* name, ..

[PHP-DEV] Getting system statistics

2006-05-08 Thread Senthil Murugan
Hi, Is there any funciton to get the system related statistics like, meminfo, cpuinfo, etc. I just searched for that option but I could not find it. In case of linux we can use /proc/meminfo but to make the code portable, i am getting little bit worried. Can any one help me in this regard? Th

Re: [PHP-DEV] class inheritance

2006-05-08 Thread Marcus Boerger
Hello Thomas, sure php is unlike c++ where everything is handled via vmt's that change during construction. In php the ctors are called after the default values are applied to every member variable. Actually the most outer ctor is being called so in your case B's. If that is calling into A's cto

[PHP-DEV] class inheritance

2006-05-08 Thread Thomas Moenicke
Hi, I have two classes, A and B: B inherits from A. B is written in PHP, A is implemented inside of an extension. B has an array: class B extends A { var $myArray = array("one", "two", "three"); function __construct() { parent::__construct(); } }

Re: [PHP-DEV] [php6] accepting an ascii string only

2006-05-08 Thread Andrei Zmievski
There is no way to do it right now. I could see it being useful, though. Anyone else have an opinion on this? On May 8, 2006, at 3:33 PM, Nuno Lopes wrote: Hi, Is there a way (planed or already implemented) to accept an ascii string in zend_parse_parameters()? There is the 't', but then I ha

[PHP-DEV] [php6] accepting an ascii string only

2006-05-08 Thread Nuno Lopes
Hi, Is there a way (planed or already implemented) to accept an ascii string in zend_parse_parameters()? There is the 't', but then I have to convert the string to ascii by-hand and mess around with the types. Isn't there a simpler way? Nuno -- PHP Internals - PHP Runtime Development Maili

[PHP-DEV] ����Ъ�ǵ��ѹ�� ��Ҩ�ҧᾧ�ҡ��Ѻ �����¨�ҧ������ ���Ǻ

2006-05-08 Thread it7man
à¾ÃÒЪÒǵÐÇѹµ¡ ¤èÒ¨éÒ§á¾§ÁÒ¡¤ÃѺ à¢ÒàŨéÒ§àÃÒãËé ´ÙàǺ¢Í§à¢Ò à¢Ò¡éÍä´é àõµÔé§â¤µÃÉ³Ò ¡éÍà»ç¹¡ÒûÃÐÊÒ¹»ÃÐ⪹ìẺ ¡Óäà ¡Óäà ÃѺ¤ÃѺ¿ÃÕ æ 80 euro àÁ×èÍÊÁѤÃà»

Re: [PHP-DEV] PHP 5.2 Branched

2006-05-08 Thread Pierre
On 5/8/06, Antony Dovgal <[EMAIL PROTECTED]> wrote: Agree, we need to enable it by default, otherwise including it in the core doesn't make much sense. Please read my answers in this thread and my post from today about the current filter status. --Pierre -- PHP Internals - PHP Runtime Devel

Re: [PHP-DEV] PHP 5.2 Branched

2006-05-08 Thread Antony Dovgal
On 07.05.2006 20:27, Derick Rethans wrote: On Sun, 7 May 2006, Rasmus Lerdorf wrote: Ilia Alshanetsky wrote: > Well that can still work, we can access the data from PG(http_globals) > without having to duplicate the data at the onset. Not if we don't enable the extension which is what we are t

[PHP-DEV] SoC Reminder

2006-05-08 Thread Rasmus Lerdorf
Guys, the application deadline is today, so there isn't much point in adding more ideas after today. For those of you who have volunteered to mentor, please find some time to go through and rank them this week. Go to http://code.google.com/soc/php/open.html and make sure you click on the tiny

[PHP-DEV] add filter to 5.2, ready

2006-05-08 Thread Pierre
Hello, As discussed in the "5.2 branched" thread [1], I updated pecl/filter before it gets bundled. The default filter is now set to unsafe_raw. It will not affect the current applications, the superglobals are not altered. I also added input_get_args and the new SCALAR/ARRAY mode. I will updat

Re: [PHP-DEV] GSoC Idea: PHP Target for ANTLR 3

2006-05-08 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > http://phpfi.com/116714 Committed, sorry for the noise. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List T

[PHP-DEV] GSoC Idea: PHP Target for ANTLR 3

2006-05-08 Thread Sebastian Bergmann
http://phpfi.com/116714 -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: PHP 5.2 Branched

2006-05-08 Thread Lukas Smith
Ilia Alshanetsky wrote: discontinued. Over the last week a list of planned changes for the 5.2 have been compiled on Lukas' wiki (http://oss.backendmedia.com/PhP52). I have updated the wiki page with Ilia's list. I added a few items that I still marked as todo in my email client into the "o