[PHP-DEV] threads in PHP

2006-11-13 Thread Leonardo Pedretti
there any plan on it, is there any way for me to contribute to it? I am a very skilled C programmer, i have even made some php patches for myself some times, but i can not take responsibility for such a work. However i would be very glad to contribute with code pieces and patches. Thanx! --

[PHP-DEV] threads in PHP

2006-11-13 Thread Leonardo Pedretti
there any plan on it, is there any way for me to contribute to it? I am a very skilled C programmer, i have even made some php patches for myself some times, but i can not take responsibility for such a work. However i would be very glad to contribute with code pieces and patches. Thanx! --

Re: [PHP-DEV] Request for Threads or SRM

2005-11-24 Thread Leonardo Pedretti
eral with all the objects engine as it is now, threads would turn it into a really powerful development framework for everything. Is there any research in the topic, or is it just sleeping waiting for the right moment to be? Leo -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] object stack

2005-06-10 Thread Leonardo Pedretti
Is there any way of accessing the stack to check the objects loaded there? If it should be done through an extension, where would a hook be correctly placed? 10M Thanx Leo -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Mysql socket

2005-06-08 Thread Leonardo Pedretti
ind of omission when considering very small additions is not an "E_NOTICE", but at least an "E_WARNING" ;) On Wednesday 08 June 2005 12:17, Ilia Alshanetsky wrote: > Why not simply instruct your developers to use the proper host name in > the first place? > > Ilia

[PHP-DEV] magic detecting reference deletion

2005-05-11 Thread Leonardo Pedretti
} > > /** > * Retrieve the object's properties from a database row > **/ > abstract public function deserialize($db_object); > } > > Then load objects by calling > > $obj = ObjectStore::loadObject("SomeClass",27); > A

Re: [PHP-DEV] Re: [PHP] Re: [PHP-DEV] make new return a reference to existent object

2005-05-10 Thread Leonardo Pedretti
o > change the behaviour of the new operator, nor are we going to build > some kind of singleton factory thingy into the core language; you have > the tools to do it "the right way", please use them and kill these two > threads. > > --Wez. > > On 5/10/05, Leona

[PHP-DEV] Re: [PHP] Re: [PHP-DEV] make new return a reference to existent object

2005-05-10 Thread Leonardo Pedretti
tance, then they are the same instance. It's for a database persistent object framework. Everyone that tries to program such a framework gets to the same problem. Regards Leo On Tuesday 10 May 2005 11:57, you wrote: > Leonardo Pedretti wrote: > > Yes, the question was pointed

[PHP-DEV] Re: [PHP] Re: [PHP-DEV] make new return a reference to existent object

2005-05-10 Thread Leonardo Pedretti
and never unloaded, is not an option. Leo On Tuesday 10 May 2005 11:26, you wrote: > Leonardo Pedretti wrote: > > It would not be such a problem to write something that does the same task > > through a static or global function, but unfortunately it is impossible, > > due

[PHP-DEV] Re: [PHP] Re: [PHP-DEV] make new return a reference to existent object

2005-05-10 Thread Leonardo Pedretti
g-standards / etc, > I can't see why it couldn't(or shouldn't) be included. When all's said > and done though, it's still just syntactic sugar. It all depends on > how sweet the devs consider it. > > On 5/9/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > &

[PHP-DEV] make new return a reference to existent object

2005-05-09 Thread Leonardo Pedretti
I would like (for code cleanliness purposes) to make 'new' return a reference to an already created object under certain circumstances without using a factory, is it possible? Thanx -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] Basic types hinting and variable hinting

2005-01-14 Thread Leonardo Pedretti
On Monday 10 January 2005 17:58, Derick Rethans wrote: > On Mon, 10 Jan 2005, Leonardo Pedretti wrote: > > Are there any plans to include type hinting with basic types and type > > hinting for variables? (such as optional declaration) > > There are no such things plann

[PHP-DEV] Basic types hinting and variable hinting

2005-01-10 Thread Leonardo Pedretti
Are there any plans to include type hinting with basic types and type hinting for variables? (such as optional declaration) It would be useful to declare the type of a data member of a class, for example, for automation of data fetching from SQL databases or such things. Regards -- Leonardo

Re: [PHP-DEV] [PATCH]Add SO_ORIGINAL_DST support and SOL_IP constant to socket_get_options()

2004-10-01 Thread Leonardo Pedretti
n compiled on anything except linux, > it will break because of #include (at minimum). > > Not that I'm authoritative about PHP adoption; but having submitted > patches before to a variety of projects I've found you're likely > to get farther if you create your pa

[PHP-DEV] Add SO_ORIGINAL_DST support and SOL_IP constant to socket_get_options()

2004-09-30 Thread Leonardo Pedretti
original destination address of the connection using the getsockopt() with the SO_ORIGINAL_DST option. So that is why this option is useful. Regards Leo -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

[PHP-DEV] [PATCH]Add SO_ORIGINAL_DST support and SOL_IP constant to socket_get_options()

2004-09-30 Thread Leonardo Pedretti
s so I can make the changes, It will be appreciated. Regards Leo -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto *** php-5.0.2/ext/sockets/sockets.c 2004-06-07 02:00:37.0 -0300 --- php-5.0.2.new/ext/sockets/sockets.c 2004-09-30 12:32:05.0 -0300 ***

Re: [PHP-DEV] GOTO operator

2004-07-30 Thread Leonardo Pedretti
- Well, althought a little fun, i really found it very illuminating =) I think that promoting the good -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] GOTO operator

2004-07-29 Thread Leonardo Pedretti
atches/opcode_goto_5.1.0.diff > > Talk amongst yourselves... > > -Sara -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] catch of object operations __set and __invoke

2004-07-21 Thread Leonardo Pedretti
where this hook should be placed around the code. If someone can give me a bit of info on this topic, i would love to make the patch. With regards -- Leonardo Pedretti Axon Sistemas Líder de Equipo Proyecto Basalto -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: