[PHP-DEV] Re: New Operator

2006-03-14 Thread Cristiano Duarte
Jason Garber wrote: Hello internals, Since nobody could seem to agree on a language construct for accessing a variable that you don't know exists (ifsetor), I would like to propose a simpler approach. It returns the value of the passed variable, or NULL if the variable does

[PHP-DEV] Re: ZSTR cast to union not working on g++

2006-03-14 Thread Cristiano Duarte
Should I have opened a BUG report instead ? It's just an one line patch... Let me know if I need to open a BUG report. Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: New Operator

2006-03-14 Thread Cristiano Duarte
, just an empty default value(string, zero, etc.). You can't i.e. initialize $_GET[ConfirmCode] with Yes using settype... Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] ZSTR cast to union not working on g++

2006-03-13 Thread Cristiano Duarte
(__GNUG__) # define ZSTR(x)((zstr)(x)) # define NULL_ZSTR ZSTR((void*)NULL) # define EMPTY_ZSTR ZSTR(\0\0) Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] 1.5Gb PHP process, lots of swap

2005-10-28 Thread Cristiano Duarte
end to be freed' ? Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: CLI in PHP6

2005-10-23 Thread Cristiano Duarte
please tell me before they know about it (so I have time to give it up: I really don't want to). Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: is_writable ACLs (Bug #14923)

2005-10-23 Thread Cristiano Duarte
Simon Kissane wrote: Bug #14923 concerns PHP's is_writable, etc., functions POSIX ACLs. Likewise, Bug #30931 concerns the same thing. This bug has been fixed in CVS as pointed by Bug #34957. So Bugs #14923, #30931 and #34957 are all finally closed, thanks to Wez. Regards, Cristiano Duarte

[PHP-DEV] Bug #30931 is_writable() and is_readable() return false when access is permitted via ACL

2005-10-14 Thread Cristiano Duarte
This bug has many comments waiting for answer. Can someone, please, take a look at it? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Interfaces and access types

2005-01-15 Thread Cristiano Duarte
on line 6 I need a way to force a class to have a static method using interfaces. Now I can't do it anymore. Is it possible to put this feature back on CVS again ? Best Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

RE: [PHP-DEV] Type hints with null default values

2004-10-26 Thread Cristiano Duarte
) Optional argument (with typehint) publicfunctionCompare($cmpFunc,BaseClass$objA=null); Ex: Compare('func1'); Am I right ? Is it possible to implement all three syntaxes ? IMH it would satisfy everybody's needs. Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Type hints with null default values

2004-10-22 Thread Cristiano Duarte
to make typehinted parameters optional, just use syntax #3. I really don't see any problem allowing this three syntaxes(but I'm not very clever since I'm for syntax #1) :-P Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

RE: [PHP-DEV] Type hints with null default values

2004-10-22 Thread Cristiano Duarte
to make typehinted parameters optional, just use syntax #3. I really don't see any problem allowing this three syntaxes(but I'm not very clever since I'm for syntax #1) :-P Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Type hints with null default values

2004-10-19 Thread Cristiano Duarte
. If someone wants to make typehinted parameters optional, just use syntax #3. I really don't see any problem allowing this three syntaxes(but I'm not very clever since I'm for syntax #1) :-P Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

RE: [PHP-DEV] Type hints with null default values

2004-10-17 Thread Cristiano Duarte
. Downside - you cant pass optional params after the first one. -1 (...)Typed optional params that cannot be null. -1 Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Type hints with null default values

2004-10-16 Thread Cristiano Duarte
or null. Am I right ? The use of null (I know it's not a value it's a type...) is justified because we don't have a value to represent a NULL OBJECT(or NO OBJECT). IMO, this is a necessary feature (maybe others thing this way too) and that's why I brought it back. Cristiano Duarte -- PHP

Re: [PHP-DEV] Type hints with null default values

2004-10-16 Thread Cristiano Duarte
Georg Richter wrote: Am Sa, den 16.10.2004 schrieb Cristiano Duarte um 21:13: Hi @ll, Now that 5.0.3 is out Doohh 5.0.3? I didn't see any announcement and I planned to commit several stuff before :( Sorry Georg. I meant: Now that 5.0.2 is out... Cristiano Duarte -- PHP Internals - PHP

RE: [PHP-DEV] Type hints with null default values

2004-10-16 Thread Cristiano Duarte
and construction-2 supports it. IMHO, everybody would be happy. Any comments ? Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Cristiano Duarte
Andrey Hristov wrote: is make test showing problems? (i am just currious). I will try to review the patch later today (atm i am sick). Nope. Make test shows the same errors before and after the patch. I decided to attach the patch since it will keep tabs... Cristiano Duarte --- array.c 2004

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Cristiano Duarte
() I have added these already. :-) Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Cristiano Duarte
() I changed the function name from array_udiff_key to array_diff_ukey. Is this ok ? Patch attached. Cristiano Duarte --- array.c 2004-07-11 18:15:04.0 -0300 +++ /home/aluno/php-5.0.0-new/ext/standard/array.c 2004-07-21 11:47:58.0 -0300 @@ -77,6 +77,7 @@ #define DIFF_NORMAL 0

[PHP-DEV] array_intersect_key

2004-07-20 Thread Cristiano Duarte
the intersection only comparing the array keys. If someone would like to commit it, maybe it would be useful to other users. Regards, Cristiano Duarte ***Patch for PHP 5.0.0 --- array.c 2004-07-11 18:15:04.0 -0300 +++ /home/aluno/php-5.0.0-new/ext/standard

Re: [PHP-DEV] Re: Static weirdness..

2004-02-20 Thread Cristiano Duarte
On Wed, 18 Feb 2004 17:37:31 +, Wez Furlong wrote: C++ allows $a-bar() when bar() is a static method (yes, it is called in a static context there too). IMO, there should be no error, warning or notice here. I Agree. PHP is fine the way it is. Cristiano Duarte -- PHP Internals - PHP

Re: [PHP-DEV] more on interface inheritance issues

2004-02-17 Thread Cristiano Duarte
overriding(with a different signature - arguments). The only way is overloading, but PHP doesn't support it(you can do overloading with __call, __get and __set but that's not the case). BTW, overriding with default arguments will be a nice feature. Cristiano Duarte -- PHP Internals - PHP Runtime

Re: [PHP-DEV] more on interface inheritance issues

2004-02-17 Thread Cristiano Duarte
, PHP shouldn't allow the overriding of methods with different signatures or register, at parse time, that the child break the inheritance for each parent that has methods overriden with different signatures. Best Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_default_classes.c zend_default_classes.h zend_execute.h zend_execute_API.c

2004-02-15 Thread Cristiano Duarte
instances of classes wich implement this interface should be throw or caught(language enforcement). With this enforcement, we can have a catch all for exceptions with less pain. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_default_classes.c zend_default_classes.h zend_execute.h zend_execute_API.c

2004-02-15 Thread Cristiano Duarte
' operands, but I would prefer it to be an interface instead of a class. In that case, it is a lot easier to plug your own class (hierarchy) into the exception framework. I agree. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_default_classes.c zend_default_classes.h zend_execute.h zend_execute_API.c

2004-02-15 Thread Cristiano Duarte
is becoming real it's because of you. Cristiano Duarte. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ZE2, dl() and objects

2004-01-17 Thread Cristiano Duarte
experiencing the same problem with my PHP5 CORBA extension. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] __toString()

2003-12-14 Thread Cristiano Duarte
returned from thrownException() has a __toString() method? IMHO I think it should be supported by print (echo). Without, this support, it will be only a naming convention... Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Cristiano Duarte
. If the DOM extension (and many others) must use StudlyCaps (because of W3C specifications), all OO-based extension or code should use too. We can live with a CS for procedural and other CS for OOP. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Beta 3

2003-12-04 Thread Cristiano Duarte
Derick Rethans wrote: From what I saw more people don't want those suckyCaps . Sorry Derick, but it seems that more people want studlyCaps in Object-Oriented PHP and underscores in procedural PHP. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

[PHP-DEV] Re: When is php going to grow up?? (fwd)

2003-11-27 Thread Cristiano Duarte
till then, but PHP5 is a start and there are a lot of developers contributing for it. Best Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [PATCH] Streams file:// bug

2003-11-23 Thread Cristiano Duarte
that (*path_for_open)++ will make it. Best Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Streams file:// bug

2003-11-23 Thread Cristiano Duarte
Andi Gutmans wrote: This should be changed to (*path_for_open)++ In fact, it's (*path_for_open)-- :-) Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] Streams file:// bug

2003-11-22 Thread Cristiano Duarte
Hi all, The current implementation of file:// support under main/streams/strems.c has a little bug. Maybe it's my gcc 3.2.2 compiler... I don't know... Anyway, the attached patch fixes it. Best Regards, Cristiano Duarte ? php-src/ZendEngine1 Index: php-src/main/streams/streams.c

[PHP-DEV] [PATCH] Internal Hashtables bug

2003-11-11 Thread Cristiano Duarte
Regards, Cristiano Duarte ? php-src/ZendEngine1 Index: php-src/Zend/zend_compile.c === RCS file: /repository/ZendEngine2/zend_compile.c,v retrieving revision 1.491 diff -u -r1.491 zend_compile.c --- php-src/Zend/zend_compile.c 7 Nov

[PHP-DEV] internal hashtables [patch included]

2003-11-09 Thread Cristiano Duarte
, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: internal hashtables [patch included]

2003-11-09 Thread Cristiano Duarte
, Cristiano Duarte ? php-src/ZendEngine1 Index: php-src/Zend/zend_alloc.c === RCS file: /repository/ZendEngine2/zend_alloc.c,v retrieving revision 1.129 diff -u -r1.129 zend_alloc.c --- php-src/Zend/zend_alloc.c 17 Oct 2003 02:29:06

[PHP-DEV] Re: internal hashtables [patch included]

2003-11-09 Thread Cristiano Duarte
, Cristiano Duarte ? php-src/ZendEngine1 Index: php-src/Zend/zend_compile.c === RCS file: /repository/ZendEngine2/zend_compile.c,v retrieving revision 1.491 diff -u -r1.491 zend_compile.c --- php-src/Zend/zend_compile.c 7 Nov 2003 10:22

Re: [PHP-DEV] Re: finally again

2003-11-07 Thread Cristiano Duarte
to make code redundancy... I know it's not critical, but IMHO it's important. I hope I was clear enough... :-) Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: finally again

2003-10-30 Thread Cristiano Duarte
Hi internals ! I really need an opinion about this. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: finally again

2003-10-30 Thread Cristiano Duarte
to make code redundancy... I know it's not critical, but IMHO it's important. I hope I was clear enough... :-) Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-28 Thread Cristiano Duarte
Can you please not send uuencoded stuff but just attach the files as plain text? Sorry Derick, I didn't mean to. The patch is now included as plain text. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-28 Thread Cristiano Duarte
Can you please not send uuencoded stuff but just attach the files as plain text? Sorry Derick, I didn't mean to. The patch is now included as plain text. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-28 Thread Cristiano Duarte
Derick Rethans wrote: Can you please not send uuencoded stuff but just attach the files as plain text? Sorry Derick, I didn't mean to. :-( The patch is attached as plain text now. Cristiano Duarte ? php-src/ZendEngine1 Index: php-src/Zend/zend_alloc.c

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-27 Thread Cristiano Duarte
Oops, I figure out that the patch was incorrect, since the function call should be zend_hash_destroy instead of zend_hash_clean. Sorry. :-p New patch included. Now the memory leaks are gone forever ! Cristiano Duarte begin 666 ze2_internal_symtables.patch M/R!P:' MW)C+UIE;F1%;F=I;F4QDEN95X.B!P

[PHP-DEV] Re: finally again

2003-10-26 Thread Cristiano Duarte
without finally and without code redundancy, I really need it. Any ideas ? Best Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: finally again

2003-10-26 Thread Cristiano Duarte
out an example that really needs finally. Thanx I can't think of another solution right now. But if I figure out something I'll let you know. Ok. Best Regards, Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] internal hashtables [patch included]

2003-10-26 Thread Cristiano Duarte
Hi Andi, In fact Moriyoshi pointed out this problem in hist Registering constants to internal classes (ZE2) message: http://www.zend.com/lists/php-dev/200307/msg00023.html The code I provided fix this problem, if it's a problem... Cristiano Duarte -- PHP Internals - PHP Runtime Development

[PHP-DEV] internal hashtables [patch included]

2003-10-26 Thread Cristiano Duarte
. This patch introduces a new macro called ZEND_INIT_INTERNAL_SYMTABLE wich is to be used instead of ZEND_INIT_SYMTABLE when the hashtables is internal. That's the only change that should be done in sources that needs internal hashtables. Best Regards, Cristiano Duarte begin 666

[PHP-DEV] Re: finally again

2003-10-24 Thread Cristiano Duarte
to mention that there must be one catch all clause(wich is impossible in PHP) with a copy of the finally code and a rethrowing exception statement otherwise an exception that is not caugh will propagate without executing the replicated code of finally. Cristiano Duarte -- PHP Internals - PHP Runtime

Re: [PHP-DEV] class constants bugs

2003-09-30 Thread Cristiano Duarte
Derick Rethans [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] On Mon, 29 Sep 2003, Cristiano Duarte wrote: Shouldn't class constants support simple expressions ? No. So It's a compiler bug if it not complaining abount contant expressions... P.S.: I remember that on this list

[PHP-DEV] class constants bugs

2003-09-29 Thread Cristiano Duarte
; } ? Results in segmentation fault. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: problem with interfaces

2003-09-08 Thread Cristiano Duarte
Did anyone think about it ? Any opinions ? Cristiano Duarte. Cristiano Duarte [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi all, Is this supposed to work? interface test { function my_function ($mandatory_parameter); } class test_class implements test

Re: [PHP-DEV] Default exception handler

2003-09-06 Thread Cristiano Duarte
. Instead, if we can catch this (at the moment) unknown exception, maybe it would be possible to recover the program stability. Cristiano Duarte Andi Gutmans [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi Marcus, I implemented this functionality about a year ago (if I'm not mistaken

[PHP-DEV] before beta2 (is alive again) :-)

2003-09-06 Thread Cristiano Duarte
- Original Message - MBFrom: Marcus Börger [EMAIL PROTECTED] MBTo: Cristiano Duarte [EMAIL PROTECTED] MBSent: Saturday, September 06, 2003 5:12 PM MBSubject: Re: before beta 2 MB MB MBHello Cristiano, MB MByou should have asked on the list Sorry about that. It's on the list now

Re: [PHP-DEV] Re: Concerning Thies's and Sterling's Hack

2003-09-01 Thread Cristiano Duarte
, and after a day, our patch would be broken, or we'd constantly have to remerge. Nearly every optimization applys to Zend Engine 2, with the exception of the optimizations that are already in Zend Engine 2 that is :) -Sterling Am Mo, 2003-09-01 um 01.29 schrieb Cristiano Duarte: Does these hacks

[PHP-DEV] problem with interfaces

2003-08-31 Thread Cristiano Duarte
PHP does not allow multiple explicit method declarations (explicit overloading). IMHO, if all additional parameters are optional, the interface commitment is preserved. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Constant Scope PHP5

2003-08-22 Thread Cristiano Duarte
. Cristiano Duarte. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] variable_exists() patch

2003-08-16 Thread Cristiano Duarte
be used this way, but it shouldn't. The function name has a meaning specific for arrays. We must have a not so specific way to detect if a variable(or attribute) exists or not. Cristiano Duarte. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] variable_exists() patch

2003-08-16 Thread Cristiano Duarte
. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: hook cast_object handler in userspace

2003-08-14 Thread Cristiano Duarte
) Cristiano Duarte. Alan Knowles [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] switch/case removed and patch attached. Is it ok? Should the method be named to_string(), tostring() or __tostring() ? According to the current Coding Standard document.. it should be toString() : even

Re: [PHP-DEV] Re: hook cast_object handler in userspace

2003-08-14 Thread Cristiano Duarte
and Andi on this :) I agree. Regards, Cristiano Duarte begin 666 toString.patch M/R!P:' MW)C+UIE;F1%;F=I;F4QC\@AP+7-R8R]P:'!?=5S=%]R97-U M;'1S7S(P,#,P.# [EMAIL PROTECTED]'ATDEN95X.B!P:' MW)C+UIE;F0OF5N M9YCCT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D

Re: Re[2]: [PHP-DEV] Re: hook cast_object handler in userspace

2003-08-14 Thread Cristiano Duarte
Hello Marcus, Did you think of a better interface name instead of Printable ? Do you think Zeev or Andi will accept this patch ? Cristiano. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP archive

2003-08-14 Thread Cristiano Duarte
Wez Furlong wrote: Please, take it off this list. Excuse me? What's the matter? Cristiano Duarte. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: variable_exists() patch

2003-08-14 Thread Cristiano Duarte
+1 for variable_exists Cristiano Duarte Lars Torben Wilson [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] On Thu, 2003-08-14 at 08:42, Andi Gutmans wrote: I am not really convinced either that variable_exists() is function_exists() parallel. Under what circumstances

Re: [PHP-DEV] Apache2

2003-08-10 Thread Cristiano Duarte
EXPERIMENTAL status. Are these bugs related to Apache2 interface or Apache2 multithreaded (worker) ? Redhat released a beta compiler despite warnings from developers of said compiler. Shame on them. :-( Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

[PHP-DEV] Re: implementing a JDBC like api in PHP

2003-08-09 Thread Cristiano Duarte
This discussion simply doesn't belong on internals@, please, take it off this list. Try pear.devl. Cristiano Duarte. Daniel Penning [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi PHP5 should support a standardized oo way to access databases of any type. I heard that mysqli

Re: [PHP-DEV] PHP archive

2003-08-08 Thread Cristiano Duarte
the filesystem. IMHO the par file must be searched first (for security reasons). Maybe, we can store the par file structure in memory to speed the file seaching. Cristiano Duarte -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP archive

2003-08-07 Thread Cristiano Duarte
(like .tar.bz2). If we can have native support for .tar.bz2 I agree with your point of view. Cristiano Duarte. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: try/catch/FINALLY

2003-08-05 Thread Cristiano Duarte
, Cristiano Duarte Cristiano Duarte [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hi all, I know there was a lot of discussion about try/catch, but I will bring it up again: What about finally ? I know someone posted that finally isn't necessary since PHP destroy all variables

Re: [PHP-DEV] Re: hook cast_object handler in userspace

2003-08-03 Thread Cristiano Duarte
Best regards, Cristiano Duarte PS: the patch file needs to be applied inside ./Zend Hello Cristiano, Sunday, August 3, 2003, 5:33:25 AM, you wrote: CD I made a patch to the latest PHP5-CVS wich implements this hook. I think CD it's useful to make a meaningful object stringfied value. CD Can

Re: [PHP-DEV] Re: hook cast_object handler in userspace

2003-08-03 Thread Cristiano Duarte
I read README.SUBMITING_PATCH and attached the patch as specified. Cristiano Duarte Cristiano Duarte [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Marcus BöRger [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] The patch doesn't compile (always use confugure

Re: Re[2]: [PHP-DEV] Re: hook cast_object handler in userspace

2003-08-03 Thread Cristiano Duarte
another patch. Cristiano Duarte Marcus BöRger [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hello Cristiano, Sunday, August 3, 2003, 9:54:55 PM, you wrote: CD I read README.SUBMITING_PATCH and attached the patch as specified. Not good enough it seems :-( Some comments

Re: [PHP-DEV] Re: hook cast_object handler in userspace

2003-08-03 Thread Cristiano Duarte
the method be named to_string(), tostring() or __tostring() ? Do you commit it to CVS ? Cristiano Duarte begin 666 to_string.patch M/R!P:' MW)C+UIE;F1%;F=I;F4QC\@AP+7-R8R]P:'!?=5S=%]R97-U M;'1S7S(P,#,P.# [EMAIL PROTECTED]'ATDEN95X.B!P:' MW)C+UIE;F0OF5N M9YCCT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T

[PHP-DEV] Re: hook cast_object handler in userspace

2003-08-02 Thread Cristiano Duarte
Sorry guys, $o = new xxx(); should be $o = new my_object(); And if there is a way to hook into zend_standard_class (stdClass) what would make all objects inherit the to_string method, it would be great ! Cristiano Duarte Cristiano Duarte [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL

[PHP-DEV] Re: hook cast_object handler in userspace

2003-08-02 Thread Cristiano Duarte
for some people */ expr_copy-value.str.len = sizeof(Object)-1; Thanx, Cristiano Duarte. Cristiano Duarte [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Sorry guys, $o = new xxx(); should be $o = new my_object(); And if there is a way to hook into zend_standard_class (stdClass

Re: [PHP-DEV] Feature proposal

2003-08-02 Thread Cristiano Duarte
Sorry, but didn't all there error/warnings/info got logged if you want ? I think you can set loggin on in php.ini and IMHO that's the best place to dig for bugs... Cristiano Duarte. Wojtek Meler [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Timm Friebe wrote: On Tue, 2003-07

[PHP-DEV] Re: removing bundled libmysql

2003-06-22 Thread Cristiano Duarte
+1 Cristiano Duarte Sterling Hughes [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] Hey, I'm putting this message out as a feeler. I'm going to go ahead and remove the mysql library from the PHP source tree. This won't affect the extension, it simply means we won't

Re: [PHP-DEV] about final methods and attributes

2003-06-21 Thread Cristiano Duarte
not be extended by children, assuring that its behaviour would not be modified. This is necessary since this class is in fact a list of predefined constants (in the IDL agreement) and if it gets modified at runtime this could lead to undesired results. Cristiano Duarte. Alan Knowles [EMAIL PROTECTED] escreveu

Re: [PHP-DEV] about final methods and attributes

2003-06-21 Thread Cristiano Duarte
in the extension to do some low-level operations (like Request object). Any comments ? Cristiano Duarte. - Original Message - From: Timm Friebe [EMAIL PROTECTED] To: Cristiano Duarte [EMAIL PROTECTED] Sent: Saturday, June 21, 2003 10:33 AM Subject: Re: [PHP-DEV] about final methods and attributes