Re: [PHP-DEV] DOM XML uses non-DOM compliant calls

2002-05-14 Thread brad lafountain
Why don't we just add alias... so it will be BC and so we don't get shunned on by people like that. - Brad --- Markus Fischer [EMAIL PROTECTED] wrote: Hi, btw, not my personal opinion :) I just wanted to let you know this was discussed so you can search the archives for it.

Re: [PHP-DEV] DOM XML uses non-DOM compliant calls

2002-05-14 Thread brad lafountain
to the api have it easier' or did I miss something else? - Markus On Tue, May 14, 2002 at 01:47:22PM -0700, Brent R. Matzelle wrote : --- brad lafountain [EMAIL PROTECTED] wrote: Why don't we just add alias... so it will be BC and so we don't get shunned on by people like

Re: [PHP-DEV] DOM XML uses non-DOM compliant calls

2002-05-14 Thread brad lafountain
something else? - Markus On Tue, May 14, 2002 at 01:47:22PM -0700, Brent R. Matzelle wrote : --- brad lafountain [EMAIL PROTECTED] wrote: Why don't we just add alias... so it will be BC and so we don't get shunned on by people like that. That would fit the bill nicely

[PHP-DEV] Session question/bug?

2002-05-12 Thread brad lafountain
I was looking at the functionality of session_unset. Currently if register globals is on it will get rid of all variables and it also clears out PS(http_session_vars).. should it also get rid of PS(vars)? I have a script that changes the session id a few times thruought the live of the script.

Re: [PHP-DEV] Re: Bug #16739 Updated: `print' variable function call fails.

2002-05-10 Thread brad lafountain
Cant we do both.. keep the scaner token and introduce the function? - Brad --- [EMAIL PROTECTED] wrote: On Fri, 10 May 2002, Markus Fischer wrote: Hi, can someone state the technical problems we're facing? I'ld rather see this documented (whether it works or no, but

Re: [PHP-DEV] Re: Bug #16739 Updated: `print' variable function call fails.

2002-05-10 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: On Fri, 10 May 2002, brad lafountain wrote: Cant we do both.. keep the scaner token and introduce the function? What would you reach by introducing such a mess? I dont' think its too much of a mess PHP_FUNCTION(echo) { char *mess; int mess_len

[PHP-DEV] [PATCH] domxml

2002-05-09 Thread brad lafountain
Hello, This patch does two things. Allows for php new/constructors to all of the dom nodes.. ex - new $var = new DomDocument(some.file, true); - old $var = xmldoc(some.file, true); // small example how you would use it $var = new DomDocument(some.file, true); $var = new DomElement(name);

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
Hello, I have a patch for DomXML that does 2 things. It allows you to use new and constructors to create dom elements. Ex. $doc = new DomDocument(some.file, true); $ele = new DocElement(name); $doc-append_child($ele); insetead of $doc = xmldoc(some.file, true); $ele =

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
--- Christian Stocker [EMAIL PROTECTED] wrote: On Mon, 6 May 2002, brad lafountain wrote: Hello, I have a patch for DomXML that does 2 things. It allows you to use new and constructors to create dom elements. Ex. $doc = new DomDocument(some.file, true); $ele = new

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
--- Lukas Schroeder [EMAIL PROTECTED] wrote: On Mon, May 06, 2002 at 03:54:34PM +0200, Christian Stocker wrote: $doc = new DomDocument(some.file, true); $ele = new DocElement(name); $doc-append_child($ele); as i said before, this is not according to the DOM-Standard, so i would

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
--- Christian Stocker [EMAIL PROTECTED] wrote: On Mon, 6 May 2002, brad lafountain wrote: --- Christian Stocker [EMAIL PROTECTED] wrote: On Mon, 6 May 2002, brad lafountain wrote: Hello, I have a patch for DomXML that does 2 things. It allows you to use new

[PHP-DEV] detecting php versions

2002-05-06 Thread brad lafountain
Hello, My extension uses php_start_ob_buffer() i am trying to cross compile it from php-4.1.2 and php-4.2.0. Well the number of parameters in php_start_ob_buffer changed and PHP_API_VERSION stayed the same between the two. Is there a way that i can detect this at compile time. - Brad

[PHP-DEV] domxml extension

2002-05-05 Thread brad lafountain
Hello, I was wondering who was maintaing the dom xml extension. I was just testing out some stuff. - $xml = new DomElement('asdf'); just doesn't work.. $xml = new DomElement('asdf'); $real_element = $xml-domelement('asdf'); works... I looked into

Re: [PHP-DEV] domxml extension

2002-05-05 Thread brad lafountain
--- Christian Stocker [EMAIL PROTECTED] wrote: On Sun, 5 May 2002, brad lafountain wrote: Hello, I was wondering who was maintaing the dom xml extension. I was just testing out some stuff. - $xml = new DomElement('asdf'); just doesn't

[PHP-DEV] Detecting object types

2002-05-05 Thread brad lafountain
Is there a cleaner way to find out if a parameter that was passed into a function is a certin type. Currently i use. strcmp(Z_OBJCE_P(val)-name, class) - Brad __ Do You Yahoo!? Yahoo! Health - your guide to health and wellness

Re: [PHP-DEV] Detecting object types

2002-05-05 Thread brad lafountain
:24AM -0700, brad lafountain wrote : Is there a cleaner way to find out if a parameter that was passed into a function is a certin type. Currently i use. strcmp(Z_OBJCE_P(val)-name, class) - Brad __ Do You Yahoo!? Yahoo! Health

Re: [PHP-DEV] domxml extension

2002-05-05 Thread brad lafountain
--- Christian Stocker [EMAIL PROTECTED] wrote: Hi Yeah but i don't have a $xml alls i want to do is $node = new DomElement('blah'); I'm not sure, why you want this, but it doesn't make much sense to me and is not in the sense of the DOM-Standard: Objects implementing some

Re: [PHP-DEV] Detecting object types

2002-05-05 Thread brad lafountain
* to the class you want to check again then ce-refcount will be unique-per-class. In Engine 2 ce itself will be unique. Andi At 10:03 05/05/2002 -0700, brad lafountain wrote: Im looking for the exact type.. not if is an object or not. I want to know that is a class of type myClass i just

[PHP-DEV] [PATCH]Memory leaking when calling an overloaded class member

2002-05-01 Thread brad lafountain
I get this error: f:\php-4.2.0\zend\zend_execute.c(1503) : Freeing 0x00DDD278 (11 bytes), script=test2.php f:\php-4.2.0\zend\zend_variables.c(106) : Actual location (location was relayed) Last leak repeated 1 time i took alook at the code.. here is where it creates the memory tmp =

Re: [PHP-DEV] [PATCH]Memory leaking when calling an overloaded class member

2002-05-01 Thread brad lafountain
Ignore the patch I really should compile and test the patch before i submit it.. It sill is a leak tho.. Ill repatch... Ill also test it this time :) - brad --- brad lafountain [EMAIL PROTECTED] wrote: I get this error: f:\php-4.2.0\zend\zend_execute.c(1503) : Freeing 0x00DDD278 (11

Re: [PHP-DEV] [PATCH]Memory leaking when calling an overloaded class member

2002-05-01 Thread brad lafountain
Ya know.. i might just give up here... Ignore this.. i realized that my handler should free this memory.. - Brad i hate people like me! --- brad lafountain [EMAIL PROTECTED] wrote: Ignore the patch I really should compile and test the patch before i submit it.. It sill is a leak tho

Re: [PHP-DEV] Re: Removal of php_fopen_wrapper in HEAD will break binary modules between 4.2 and HEAD (4.3)

2002-04-30 Thread brad lafountain
--- Thies C. Arntzen [EMAIL PROTECTED] wrote: On Mon, Apr 29, 2002 at 01:50:01AM +0100, Wez Furlong wrote: Hi Thies, I did raise this issue a while back, but got no response (happens quite a lot on php-dev). I think bumping the API number would be the best course of action; a lot

[PHP-DEV] Re: [PHP-SOAP-DEV] [PHP-DEV] [NEW-EXTENSION]ext/soap : first play around ...

2002-04-29 Thread brad lafountain
--- phpsurf [EMAIL PROTECTED] wrote: Hi ! I just started to play with your new extension as soon as I saw your mail this morning on PHP-DEV ! It's really a good job and I am very impatient to play with the final release ... here are a few suggestions/bugs/requests to help you make

Re: [PHP-DEV] [NEW-EXTENSION]ext/soap : first play around ...

2002-04-29 Thread brad lafountain
Acually it does behave the same way.. but it WAS by design. for my testing. I'll change it to the correcty way. It's just a default option setting. Thanks for reminding me. - Brad --- SDiZ [EMAIL PROTECTED] wrote: Does the extension have any problem simliar to this?

[PHP-DEV] [NEW-EXTENSION]ext/soap

2002-04-28 Thread brad lafountain
Hello all, http://phpsoaptoolkit.sourceforge.net/ I'd like to introduce you all to ext/soap. I started this project over a year ago. I got into it very very heavily then summer came and it got put on the back burner. With recent inquires on this board and with more interest at my work. I

Re: [PHP-DEV] Another addition to session-module ... while were on topic

2002-04-25 Thread brad lafountain
Yeah it was disscuessed that the session modules could define and handle $_APP so that would be globals for all sessions. a work around would be to do something like this $oldsession_id = sessoin_id(); session_id(1); session_start(); $var = $_SESSION['var']; session_desetroy();

Re: [PHP-DEV] Persistent overloaded class registration problem,

2002-04-24 Thread brad lafountain
--- Sam Liddicott [EMAIL PROTECTED] wrote: My overloaded classes are now registered in MINIT with: INIT_OVERLOADED_CLASS_ENTRY() zend_register_internal_class() ..zend_register_list_destructors_ex And all seems mostly fine; except the second time apache serves a request, one of the

[PHP-DEV] mod_perl and mod_php

2002-04-24 Thread brad lafountain
Ok, I ran across an issue with having mod_perl and mod_php compiled on the same machine. As soon as i run any mod_perl scrips any php scripts that use any of the 'system' (shell_exec, system, popen) calls will only pass one parameter to them. Has anyone run into this problem? - Brad

Re: [PHP-DEV] Error Linking Win32 Extensions

2002-04-24 Thread brad lafountain
you probally need to define #define COMPILE_DL_(MODULENAME) - brad --- Igal Raizman [EMAIL PROTECTED] wrote: I switched back to PHP 4.1.2 to see if it works there and it still doesnt. I will try to recompile the lib file on my own, but I've come across another problem. If I only one

[PHP-DEV] Need Quick assistance

2002-04-18 Thread brad lafountain
Hello, I know im not sposta send posts here for help.. but this is on a live server.. i just upgraded my 4.0.6 server to 4.1.2 when i call system or shell_exec functions it parses out all but one parameter. this only happens in the mod_php4 as a cgi it works fine. so shell_exec(php -q

Re: [PHP-DEV] The PHP Platform

2002-04-16 Thread brad lafountain
And next week i have a special C# traning for PHP developers. Offered free by Microsoft. alls i have to say is WOW. This is one pathetic attempt by Microsoft. - Brad __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax

Re: [PHP-DEV] The PHP Platform

2002-04-16 Thread brad lafountain
--- Dave Mertens [EMAIL PROTECTED] wrote: On Tue, Apr 16, 2002 at 07:27:06AM -0700, brad lafountain wrote: And next week i have a special C# traning for PHP developers. Offered free by Microsoft. alls i have to say is WOW. This is one pathetic attempt by Microsoft. Yeah

Re: [PHP-DEV] Constant Classes

2002-04-15 Thread brad lafountain
what about.. class Beer { ... } $a = new Beer(); define('BaseBeer', $a-__clone()); $b = BaseBeer; or class Beer { ... } $a = new Beer(); define('BaseBeer', $a); $b = BaseBeer-__clone(); - Brad --- Medvitz [EMAIL PROTECTED] wrote: What I was hoping for is that when it was

[PHP-DEV] Copyright question

2002-04-13 Thread brad lafountain
Hello, I have a php extension and I was working on a website. I copyied/stole the layout/code from qa.php.net. The extension is opensource and leaves the copyright (Copyright © 1997 - 2002 PHP Group All rights reserved.) on the site. Can I do this or does this break the liscence? I like the

Re: [PHP-DEV] Thread safety global strings

2002-04-12 Thread brad lafountain
--- Marcus Boerger [EMAIL PROTECTED] wrote: Correct me if i am wrong: We have a macros that garantees thread safety for module globals TSRMG. But if we use this on strings or structures that is not thread safe because then the lock only occurs for copying the pointer. But another thread

[PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread brad lafountain
After a full day of looking into a bug on a script i have i found this problem. basically if you invoke a method from a member object it adds a ref instead of keeping it 'non ref'. Is this by design or is it a bug. ? class foo { var $bar; function foo() {

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread brad lafountain
... Andrey - Original Message - From: brad lafountain [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 11, 2002 7:37 PM Subject: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG) After a full day of looking into a bug on a script i have i found this problem

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread brad lafountain
- Original Message - From: brad lafountain [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, April 11, 2002 7:58 PM Subject: Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG) --- Andrey Hristov [EMAIL PROTECTED] wrote: I receive

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread brad lafountain
. - Brad is feature of Z2 or not? Till today I didn't know that my 4.1.1(or 2) not sure can do this kind of dereferencing. Andrey - Original Message - From: brad lafountain [EMAIL PROTECTED] To: Andrey Hristov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, April 11

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread brad lafountain
--- Robert Cummings [EMAIL PROTECTED] wrote: Andrey Hristov wrote: But dereferncing like this $foo-bar()-fubar is feature of Z2 or not? Till today I didn't know that my 4.1.1(or 2) not sure can do this kind of dereferencing. The above quote dereference involves an intermediate

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread brad lafountain
--- Robert Cummings [EMAIL PROTECTED] wrote: brad lafountain wrote: As far as references go... I believe when you copy an object it is a shallow copy, in otherwords, the object is copied, but not its members. This behaviour is preferrable as far as I'm concerned. If you want

[PHP-DEV] copy-on-write

2002-04-11 Thread brad lafountain
How much COW does php do?... I saw a post that it does it for arrays? what else does it do it for. I was thinking that a COW per zval would be good. expecially when you get into large arrays. $a = array(/*1 items*/); $b = $a; $b[999] = false; will this copy all elements or just copy one?

Re: [PHP-DEV] object refrences (POSSIBLE MAJOR BUG)

2002-04-11 Thread brad lafountain
--- Andi Gutmans [EMAIL PROTECTED] wrote: At 11:14 11/04/2002 -0700, brad lafountain wrote: --- Andrey Hristov [EMAIL PROTECTED] wrote: But dereferncing like this $foo-bar()-fubar its not $foo-bar()-fubar its $foo-bar-fubar 4.1.2 can't derefrence objects from functions

Re: [PHP-DEV] Anyone wrote persistent variable extension?

2002-04-10 Thread brad lafountain
I personally would like to see $_APP defined for all session modules. Cause I would like $_APP variable across multiple machines and then i could use msession for that. - Brad --- [EMAIL PROTECTED] wrote: On Wed, 10 Apr 2002, Yasuo Ohgaki wrote: PS: I've already added $_APP to

Re: [PHP-DEV] Proposal for aggregation vs. MI

2002-04-10 Thread brad lafountain
--- Andi Gutmans [EMAIL PROTECTED] wrote: Hey guys, I still haven't finished reading the looong thread on aggregation vs. MI because you guys write so much :) I would like to make a proposal for a solution which I think would fit PHP very nicely. My main concern with MI is that

[PHP-DEV] detecting refrences

2002-04-10 Thread brad lafountain
I have a script that has an array of objects and the objectes have an array of objects so $obj = $test['0']-members['0']; $obj-blah(); It's acting up when i chnage $obj sometimes $test['0']-members['0'] reflects the changes i make to $obj. Is there any way that i can test to see if it is a ref

Re: [PHP-DEV] Proposal for aggregation vs. MI

2002-04-10 Thread brad lafountain
--- Andi Gutmans [EMAIL PROTECTED] wrote: At 12:46 10/04/2002 -0700, brad lafountain wrote: --- Andi Gutmans [EMAIL PROTECTED] wrote: Hey guys, I still haven't finished reading the looong thread on aggregation vs. MI because you guys write so much :) I would like to make

Re: [PHP-DEV] Proposal for aggregation vs. MI

2002-04-10 Thread brad lafountain
BTW: Have you looked at my patch to handle method calls differently? Yes and I don't like it. I haven't had time to do timings yet. I was very busy and will try and do it in the next few days. hmm The patch wasn't just for speed it was more for sloving 2 main problems. class a

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread brad lafountain
--- Zeev Suraski [EMAIL PROTECTED] wrote: At 01:51 09/04/2002, brad lafountain wrote: But do you see my point that having ONLY aggregate means that in 90% of the case where people will use it its probally a bad idea. They are only using it becuase of the lack of MI. How does aggregation

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-09 Thread brad lafountain
--- Lauri Liinat [EMAIL PROTECTED] wrote: hi all, I'm personally in favour of having MI in PHP, with the serious alternative being interfaces. I have failed to understand what interfaces would mean in a language such as PHP, though, while I can see the clear hands-on use for MI.

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
--- Kristian Köhntopp [EMAIL PROTECTED] wrote: brad lafountain wrote: Unless someone could give me a real reason that aggerate is better than MI. Aggregation does at runtime what MI does at compile time. Delaying the decision to do something is usually an enable for specific

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
--- Stig S. Bakken [EMAIL PROTECTED] wrote: On Mon, 2002-04-08 at 02:50, brad lafountain wrote: --- Stig S. Bakken [EMAIL PROTECTED] wrote: On Sun, 2002-04-07 at 20:35, brad lafountain wrote: What would be wrong with having the *_SQL_* objects be a member

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
--- Kristian Koehntopp [EMAIL PROTECTED] wrote: On Mon, Apr 08, 2002 at 08:59:39AM -0700, brad lafountain wrote: class A; class B; class C; $c = new C; aggergate($c, A); aggergate($c, B); Just because they can. Yes of course, but how is this better than class D extends

Re: [PHP-DEV] Memory leak and possible cause of bug #15333

2002-04-08 Thread brad lafountain
--- Joseph Tate [EMAIL PROTECTED] wrote: in the copy_zend_constant function it reads: void copy_zend_constant(zend_constant *c) { c-name = zend_strndup(c-name, c-name_len); if (!(c-flags CONST_PERSISTENT)) { zval_copy_ctor(c-value); if (c-flags

RE: [PHP-DEV] Memory leak and possible cause of bug #15333

2002-04-08 Thread brad lafountain
hmm ok zend_constant *c, *b; char *sname = myname; c-name = name; // the c-name is just a pointer to the sname //c-name = strdup(sname); // c-name would have it's own memory b = c; //now b-name points to sname free(b-name); // would try and free b-name which can't be done, segfault!

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
necessary to include MI too. - brad At 18:59 08/04/2002, brad lafountain wrote: --- Stig S. Bakken [EMAIL PROTECTED] wrote: On Mon, 2002-04-08 at 02:50, brad lafountain wrote: --- Stig S. Bakken [EMAIL PROTECTED] wrote: On Sun, 2002-04-07 at 20:35, brad lafountain wrote

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
--- Zeev Suraski [EMAIL PROTECTED] wrote: At 00:44 09/04/2002, brad lafountain wrote: If aggregation is included then i see it is absoulty necessary to include MI too. In my opinion, only one of them (at most) has room in PHP. Having both is messy. My personal preference is MI, which

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
developer less than a weeks time to do. - Brad Zeev Suraski wrote: At 00:44 09/04/2002, brad lafountain wrote: If aggregation is included then i see it is absoulty necessary to include MI too. In my opinion, only one of them (at most) has room in PHP. Having both is messy. My personal

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
--- Zeev Suraski [EMAIL PROTECTED] wrote: At 00:55 09/04/2002, brad lafountain wrote: Well i would have totally agreed with you yesterday.. but i have convinced myself that there is use for aggregation. Me personally i would never use it. But i can see somepeople using it. It doesn't

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-08 Thread brad lafountain
be emulated using aggregation, how hard would it be to add the syntax for MI to the language, but have it implement it using aggregation? Zeev Suraski wrote: At 00:44 09/04/2002, brad lafountain wrote: If aggregation is included then i see it is absoulty necessary to include MI

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-07 Thread brad lafountain
--- Stig S. Bakken [EMAIL PROTECTED] wrote: On Sat, 2002-04-06 at 23:40, brad lafountain wrote: --- Stig S. Bakken [EMAIL PROTECTED] wrote: MI is compile-time, aggregate is runtime. That's a big enough reason for me. I know the difference but how does this benifit you

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-07 Thread brad lafountain
--- Stig S. Bakken [EMAIL PROTECTED] wrote: On Sun, 2002-04-07 at 20:35, brad lafountain wrote: What would be wrong with having the *_SQL_* objects be a member of the *_Connection* classes? What you're describing here is object aggregation. What do you mean... Im saying that the SQL

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-06 Thread brad lafountain
--- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Brad Lafountain wrote: I keep on hearing that we are totally against MI but we want the aggergate function. Can someone PLEASE explain the reasoning behind such a decision? I can't think of one example when aggergate would be better

[PHP-DEV] [PATCH][NEW FEATURE] ext/java and Zend/zend_execute_API.c

2002-04-06 Thread brad lafountain
I posted this a while back and got no feed back. Can someone look at it? http://lists.php.net/article.php?group=php.devarticle=81608 #brad __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- PHP

Re: [PHP-DEV] Re: aggergate vs MI

2002-04-06 Thread brad lafountain
--- Stig S. Bakken [EMAIL PROTECTED] wrote: On Sat, 2002-04-06 at 11:21, brad lafountain wrote: --- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Brad Lafountain wrote: I keep on hearing that we are totally against MI but we want the aggergate function. Can someone PLEASE

[PHP-DEV] aggergate vs MI

2002-04-05 Thread brad lafountain
I keep on hearing that we are totally against MI but we want the aggergate function. Can someone PLEASE explain the reasoning behind such a decision? I can't think of one example when aggergate would be better than using MI. - Brad __ Do You

Re: [PHP-DEV] Re: aggregate() und overload()

2002-04-04 Thread brad lafountain
IMHO, This is acually the first ive heard of aggergate. I don't like it at all. I never liked overload ither. If you are defining a class libary you need some procedural code just to define the class libary. even for things like auto-documentors like php-doc. They no nothing about the aggerated

Re: [PHP-DEV] Re: Bug #16265 Updated: Multiply-defined functions in classes not reported

2002-04-03 Thread brad lafountain
. So i will send you the patch against 4.1.2. /* brad */ --- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Hi Brad, I would like to try your patch. Where did you post? I searched ze2 list messages, I couldn't find one. -- Yasuo Ohgaki Brad Lafountain wrote: Ok... These benchmarks

Re: [PHP-DEV] Re: Bug #16265 Updated: Multiply-defined functions in classes not reported

2002-04-02 Thread brad lafountain
is fatal. Especially those who are experienced with other OO languages, such as C++/Java. -- Yasuo Ohgaki Brad Lafountain wrote: This bug is eaisly fixable. This is also something that i have been trying to push on a couple of threads now. You would need to do 3 things. 1) change

Re: [PHP-DEV] Re: Bug #16265 Updated: Multiply-defined functions in classes not reported

2002-04-02 Thread brad lafountain
My bad i forgot to attach the scripts. --- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Brad, How about post detailed benchmarks for your patch? IMHO. This bug is fatal. Especially those who are experienced with other OO languages, such as C++/Java. -- Yasuo Ohgaki Brad Lafountain wrote

[PHP-DEV] List Email Problems?

2002-04-02 Thread brad lafountain
I responded to a thread on php-dev i never got the email but i checked the archive and it's in there. Im talking about #82030. - Brad __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://http://taxes.yahoo.com/ -- PHP

[PHP-DEV] Re: Bug #16265 Updated: Multiply-defined functions in classes not reported

2002-04-01 Thread brad lafountain
This bug is eaisly fixable. This is also something that i have been trying to push on a couple of threads now. You would need to do 3 things. 1) change the compiler so that inherited objects don't copy the opcodes of the functions. it will just store the parent's ce. 2) change the executor

Re: [PHP-DEV] Session patch for ID created by handler

2002-03-29 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: On Fri, 29 Mar 2002 [EMAIL PROTECTED] wrote: So have we discussed this enough, can I just apply it and be done with it? +1 +1 /* Brad */ __ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for

[PHP-DEV] [PATCH][NEW FEATURE] ext/java and Zend/zend_execute_API.c

2002-03-21 Thread brad lafountain
There are two parts to this patch... 1) it changes zend_execute_API.c/call_user_function_ex to allow overloaded object to handle this callback. 2) Takes advantage of the change above allowing java object to be searlized and/or sessionable here are two examples... ? $java = new

[PHP-DEV] Global data with session handler

2002-03-18 Thread brad lafountain
I was wondering if anyone has ever thought of comming up with a different way of handling the code below. I know that you can use shared memory, but that wont work for win and it wont work for web cluseters using db's to handle their sessions. Also sessions will automatically handle locking of

Re: [PHP-DEV] Global data with session handler

2002-03-18 Thread brad lafountain
--- Richard Heyes [EMAIL PROTECTED] wrote: brad lafountain [EMAIL PROTECTED] wrote: I was wondering if anyone has ever thought of comming up with a different way of handling the code below. I know that you can use shared memory, but that wont work for win and it wont work for web

[PHP-DEV] mbstring module

2002-03-12 Thread brad lafountain
? $str = Hello World; echo mb_strlen($str) . \n; echo mb_strlen(mb_convert_encoding($str, BASE64), BASE64); ? the code above prints out 11 16 ... is this correct??? If so why does it work this way. - Brad __ Do You Yahoo!? Try FREE Yahoo!

[PHP-DEV] PHP and UTF

2002-03-11 Thread brad lafountain
Has it ever been disscuesd to make php support different char encodings internally? - Brad __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] call_user_function()

2002-02-25 Thread brad lafountain
Ok, I know ive already posted this but no responded. So I'll do it again. Currently call_user_function() doesn't call overloaded class methods. I hacked together a function to get around this. Does anyone want to look at it and see if it's gunna mess anything up as far as zend execution. if

[PHP-DEV] php xml documentation

2002-02-25 Thread brad lafountain
Where would i find out how to create the necessary xml docs so my extension docs would flow into php's website? - Brad __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- PHP Development Mailing List

[PHP-DEV] call_user_function()

2002-02-20 Thread brad lafountain
I was wondering why call_user_function doens't handle calling methods of objects for an incomplete_class_entry. call_user_function(NULL, incomplete_class, function_name, return, 0, NULL); i took a look at the code and it assumes that the function that you want to call is in the

Re: [PHP-DEV] call_user_function()

2002-02-20 Thread brad lafountain
/how to fill that structure with. - Brad --- brad lafountain [EMAIL PROTECTED] wrote: I was wondering why call_user_function doens't handle calling methods of objects for an incomplete_class_entry. call_user_function(NULL, incomplete_class, function_name, return, 0, NULL); i took a look

Re: [PHP-DEV] PHP Executable

2002-02-19 Thread brad lafountain
--- Derick Rethans [EMAIL PROTECTED] wrote: On Tue, 19 Feb 2002, Hunter, Ray wrote: How do I compile php to get the executable file? Is he talking about cgi/cli? or having php compile executeable files... compile php as cgi.. ./configure there will be a php executable in the working

RE: [PHP-DEV] PHP Executable

2002-02-19 Thread brad lafountain
and have a question: What is the difference between cgi and sapi or the other ways to compile php? Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: brad lafountain [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 7:45 AM To: [EMAIL

Re: [PHP-DEV] CLI and php.ini

2002-02-19 Thread brad lafountain
The magic #!/usr/local/bin/php -c local.ini already works - brad --- J Smith [EMAIL PROTECTED] wrote: From what I understand, starting with PHP 4.2.x, PHP is going to automatically build with a CLI executable by default. This means that even when you install as, say, an Apache SAPI

[PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Ok... I have hashtables in global memory and when i read from them i am getting some random crashing proplems apache seems to be segfaulting when my application does a zend_hash_find(); well it doesn't segfault right away.. it segfaults at the end of the php script the only way i can tell

[PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Sorry i forgot to attach the extension __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com test.tar.gz Description: test.tar.gz -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

Re: [PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
CFLAGS when running configure) and fire gdb over it. On Thu, Feb 14, 2002 at 11:03:55AM -0800, brad lafountain wrote : Ok... I have hashtables in global memory and when i read from them i am getting some random crashing proplems apache seems to be segfaulting when my

Re: [PHP-DEV] Re: global HashTables

2002-02-14 Thread brad lafountain
); zend_hash_add(test_globals-global_hash, mykey, strlen(mykey), myvalue, strlen(myvalue), NULL); } /* }}} */ [snip] shouldnt module globals be malloc'ed as opposed to emalloc'ed.all emalloced memory is automagically reclaimed at the end of a request. Brad Lafountain [EMAIL

[PHP-DEV] php globals delete

2002-02-13 Thread brad lafountain
Question.. why doens't the destructor get called on shutdown with the following line... ZEND_INIT_MODULE_GLOBALS(soap, php_init_globals, php_del_globals); - Brad __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings!

Re: [PHP-DEV] Re: php globals delete

2002-02-13 Thread brad lafountain
Well how do i properly delete my global memory with without having zts enabled - Brad --- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Brad Lafountain wrote: Question.. why doens't the destructor get called on shutdown with the following line... ZEND_INIT_MODULE_GLOBALS(soap

[PHP-DEV] Re: Bug #15525: objects in sessions

2002-02-12 Thread brad lafountain
Well the class needs to be declared before the session is started... so make sure that you don't call session_start before your User class is defined and... make sure sessions_auto_start in you php.ini is set to false - Brad --- [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED]

[PHP-DEV] RE: [Zend Engine 2] Re: Case sensitivity: Conclusion(?)

2002-02-08 Thread brad lafountain
with just minor differences in semantics but it's an option. Andi At 10:35 AM 2/8/2002 -0800, brad lafountain wrote: Yeah it has bit me too... I would totaly be for getting rid of the default namespace and force developers to use $this- it pretty much has become normal practice... i really don't

Re: [PHP-DEV] Built-in SOAP based Web Services support(wasRe:PHP 5)

2002-02-07 Thread brad lafountain
Hello all who have been following this thread.. I just found it.. i have been working on a php/soap extension for a while now.. and it's nearing completion.. it's is fully functional right now im just adding options and features. It's damn fast too :) i benchmarked it agains some other soap

Re: [PHP-DEV] Bug #15328: A C-like comma operator would be useful

2002-02-01 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: N/A PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: A C-like comma operator would be useful A C-like comma operator would be useful, to string together series of

Re: [PHP-DEV] Bug #15329: Subscripting into strings would be useful

2002-02-01 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: N/A PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: Subscripting into strings would be useful The now very old North Star BASIC had a wonderful feature that I'd love to

Re: [PHP-DEV] Bug #15328: A C-like comma operator would be useful

2002-02-01 Thread brad lafountain
--- brad lafountain [EMAIL PROTECTED] wrote: --- [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Operating system: N/A PHP version: 4.1.1 PHP Bug Type: Feature/Change Request Bug description: A C-like comma operator would be useful A C-like comma operator

Re: [PHP-DEV] Email Attachment

2002-02-01 Thread brad lafountain
--- Mauricio Sthandier [EMAIL PROTECTED] wrote: Hello, I'm new in php development... I was wondering how can I attach a Word (.doc) Document in an email sent with the mail() function (if I can do it just with it). I know it has to see with the additional headers of the email, but I would be

[PHP-DEV] pthreads

2002-02-01 Thread brad lafountain
i have a question. would making a wrapper extension around pthreads work? or would this break alot of stuff conserning tsrm and other memory/execution that im not positive about. - Brad __ Do You Yahoo!? Great stuff seeking new owners in Yahoo!

Re: [PHP-DEV] Optional source scrambeling

2002-01-30 Thread brad lafountain
--- Rasmus Resen Amossen [EMAIL PROTECTED] wrote: I am quite unsatisfied with the fact that I currently have to BUY a product, to be able to protect my self from others, wanting to steal my php-source. Due to the fact that I want to be able to scramble my sources (for free), I now intend

<    1   2   3   >