Re: [PHP-DEV] Can we call Apache 2 API function from a PHP 5 extension module?

2010-01-16 Thread mm w
yep nevermind I don't you post this question on php-internal and don't understand this ugly suggestion, Brian when I read your cv it seems to be something serious ... when I see the line with your type recasting I am not sure you understood something during these 15 years. Best On Sat, Jan 16,

Re: [PHP-DEV] __toString(), __toArray()

2010-01-12 Thread mm w
observable, or a root classObject at all, anyway it's only something for people who are doing OO programming, so don't worry On Tue, Jan 12, 2010 at 2:40 PM, Chris Stockton chrisstockto...@gmail.com wrote: Hello, On Mon, Jan 11, 2010 at 8:32 PM, mm w 0xcafef...@gmail.com wrote: cast is not needed

Re: [PHP-DEV] __toString(), __toArray()

2010-01-12 Thread mm w
the multiplication of magic, the pointed point, need to read more carefully On Tue, Jan 12, 2010 at 6:10 PM, Eddie Drapkin oorza...@gmail.com wrote: How does this have *anything* to do with the discussion at hand? On Tue, Jan 12, 2010 at 9:09 PM, mm w 0xcafef...@gmail.com wrote: don't worry

Re: [PHP-DEV] __toString(), __toArray()

2010-01-12 Thread mm w
of magic, only obfuscate it.  And it certainly offers no alternative to __cast, at least not that I can see. On Tue, Jan 12, 2010 at 9:11 PM, mm w 0xcafef...@gmail.com wrote: the multiplication of magic, the pointed point, need to read more carefully On Tue, Jan 12, 2010 at 6:10 PM, Eddie Drapkin

Re: [PHP-DEV] __toString(), __toArray()

2010-01-12 Thread mm w
() would be most beneficial to all. I think the ambiguity question for some functions accepting mixed as a parameter type could be solved in aforementioned ways. On Tue, Jan 12, 2010 at 9:11 PM, mm w 0xcafef...@gmail.com wrote: the multiplication of magic, the pointed point, need to read more

Re: [PHP-DEV] __toString(), __toArray()

2010-01-12 Thread mm w
move any magics, I'm worried your knowledge of social skills? Theirs people be your friends? Weird On Jan 12, 2010 9:10 PM, mm w 0xcafef...@gmail.com wrote: I don't move any magics,I am worried about your knowledge of php, there's people to give you money ? weird, set get call are only call

Re: [PHP-DEV] __toString(), __toArray()

2010-01-11 Thread mm w
cast is not needed in PHP i 'd rather be more interesting in class Obj { function __catch($data, $type) { //$type [ static_method, method, get_property, set_property] if (observed $type == set_property somevalueIsObserved) {

Re: [PHP-DEV] php for android

2010-01-10 Thread mm w
so why not patching the configure.in ? // give the possibility to add other embedded targets and be able to manage next versions --with-embedded-target=droid- --with-embedded-ldflags= // toolchain ldflags --with-embedded-cflags= // toolchain cflags --with-embedded-cppflags= // toolchain

Re: [PHP-DEV] array position isfirst / islast / valid ?

2010-01-02 Thread mm w
?php interface FastEnumeration extends IteratorAggregate { }; interface FastEnumerator extends Iterator { }; define('EnumerationConcurrent', 0); define('EnumerationReverse', 1); class Enumerator implements FastEnumerator { private $arr; private $reversed;

Re: [PHP-DEV] PHP6's future

2009-12-31 Thread mm w
Those things were already deprecated, it's good thing that php 5.3 finally broke bad code, php 5 (since the first alpha) is there since a while, drupal is drupal if folks don't want to fix it, what's the big deal there? just pach it yourself it's open source isn't it? so nothing stop you to fork,

Re: [PHP-DEV] [PATCH] Fix for 32 bits limit on file size (see bug 48886)

2009-12-22 Thread mm w
Thx, yep a long convertion, not a big deal, we don't work with 4.3GB files :-D, well minded people try to avoid that On Tue, Dec 22, 2009 at 7:10 AM, X Ryl boite.pour.s...@gmail.com wrote: Hi,  I'm not a C developer, so I can't really help with the attached patch. However, I've tried it with

Re: [PHP-DEV] How does the interpreter work

2009-12-21 Thread mm w
Hello, this document is clearly outdated and for me so far confuse just gave a try for 5 mins, and I am worry about the printf tech, lucky you are not to be in multi-thread env..., at least fprintf on the stderr to read un-buffered results, those guys have a job? maybe greenhouse keepers

Re: [PHP-DEV] How does the interpreter work

2009-12-21 Thread mm w
Pas mieux, and I am sure johannes did not find the need to express himself and/or these mind limitations on his blog :) harf I am so bad I know. -mmw 2009/12/21 Johannes Schlüter johan...@php.net: Hi, On Mon, 2009-12-21 at 14:56 +0100, Christian Grobmeier wrote: I would like to learn more

Re: [PHP-DEV] suggestion about ternary operator

2009-11-21 Thread mm w
More interesting behaviors to dig are there: variable = value1 ?? value2; variable = value0 ? value4 : value1 ?? value2; or a la javascript variable = value1 || value2; Best, On Sat, Nov 21, 2009 at 10:21 AM, Rasmus Lerdorf ras...@lerdorf.com wrote: Alban wrote: Le Sat, 21 Nov 2009

Re: [PHP-DEV] Intervals representation with brackets

2009-11-20 Thread mm w
http://code.google.com/p/foundation-kit/source/browse/trunk/FKRange.php http://code.google.com/p/foundation-kit/source/browse/trunk/FKIndexSet.php On Fri, Nov 20, 2009 at 1:56 PM, Samuel ROZE samuel.r...@gmail.com wrote: Hello, I'm working on two classes, Interval and IntervalList which

Re: [PHP-DEV] Intervals representation with brackets

2009-11-20 Thread mm w
trolled you like you did, so please we are people we need a context. Best, On Fri, Nov 20, 2009 at 2:22 PM, Samuel ROZE samuel.r...@gmail.com wrote: Hi, This isn't bad, but it's not really what i want, and... what I wrote! ;-) Samuel. 2009/11/20 mm w 0xcafef...@gmail.com: http://code.google.com

Re: [PHP-DEV] RFC: Custom Factories (SPL)

2009-11-18 Thread mm w
what you call factory objects are more proxy objects, please make the difference, semantics are sometimes important. anyway , what I can read this document is a bit a mess, it needs to be split by topic, your approach is really confuse. Best, On Wed, Nov 18, 2009 at 8:06 AM, Robert Lemke

Re: [PHP-DEV] Request for Karma

2009-11-15 Thread mm w
then an embedded karma is granted karma On Sun, Nov 15, 2009 at 1:14 PM, Pierre Joye pierre@gmail.com wrote: Hi! I second this request as well :) On Sun, Nov 15, 2009 at 9:51 PM, Pierrick Charron pierr...@webstart.fr wrote: Hi, Felipe suggested me to request Karma for php-src to do

Re: [PHP-DEV] Regarding constructions like func()[0]

2009-11-07 Thread mm w
Hi Melfar, from my point of view I am totally to make this a legal call like in python or ruby java, as I liked compact code I liked to avoid temp vars especially on a read-only call, but it might require some effort there and the final patch might be not so simple, anyway this is a community

Re: [PHP-DEV] Feedback requested on using #defines to improve the performance of the TSRMG macro

2009-11-05 Thread mm w
so should be a UUID rather than a user defined int you cannot avoid collision with your system, it's a dangerous way to go. Best, On Thu, Nov 5, 2009 at 11:20 AM, Arvind Srinivasan yoa...@gmail.com wrote: Does the GLOBALS_ID_BASE idea work?  In ts_allocate_reserved_id(GLOBALS_ID_BASE+1...)

Re: [PHP-DEV] PHP socket automatically shuts down after ? hours of idling?

2009-11-01 Thread mm w
Hi what is your platform ?2. Provide a working, migth be a recent problem regarding x socket, can you observe and dump your tcp connexion? On Sunday, November 1, 2009, Chris Jiang jiang...@gmail.com wrote: Hi Hannes, It just shuts down the socket server without any error, warning or notice.

Re: [PHP-DEV] Where is the EG macro defined?

2009-10-28 Thread mm w
grep is your friend, something like that grep -R define EG( /usr/include/php/Zend, it's a quite common issue you crossed Best On Wed, Oct 28, 2009 at 3:03 PM, Graham Kelly sgkel...@gmail.com wrote: Hi, You might find http://lxr.php.net to be a useful tool to help with finding definitions in

Re: [PHP-DEV] bug when using foreach with references?

2009-10-21 Thread mm w
Richard, enumerator exhausted, repeat your sub-sequence again you will get it e.g pointer and pointed Best Regards On Wed, Oct 21, 2009 at 7:01 PM, Richard K Miller richardkmil...@gmail.com wrote: Hi Jill, ?php $items = array('apple', 'banana', 'carrot'); print_r($items); foreach ($items