Re: [PHP-DEV] CVS Account Request

2001-07-10 Thread brad lafountain
manually added the libary files to the Makefile.in. Do you guys have anything besides the other extension that i could look at for more info about the .m4. Brad LaFountain --- Stig Bakken [EMAIL PROTECTED] wrote: I would really appreciate if you could do that, Rasmus. you can use pear/PEAR

Re: [PHP-DEV] CVS Account Request

2001-07-11 Thread brad lafountain
Ok, Sounds good. Just let me know when you are ready. brad --- [EMAIL PROTECTED] wrote: Ok you guys lost me here. If you could tell me what you would like me to do then I could go ahead with it. Hang on for a bit. You will likely end up being a guinea pig for our new PEAR-based

[PHP-DEV] Re: SOAP and OpenGL stuff

2002-01-09 Thread brad lafountain
--- Rasmus Lerdorf [EMAIL PROTECTED] wrote: Brad, I have created your CVS account, but please have a look at the existing ext/xmlrpc extension and see what sort of overlap there is with your php_soap extension. ext/xmlrpc has SOAP 1.1 support. I didn't realize xmlrpc supported soap...

[PHP-DEV] shuffle

2002-01-11 Thread brad lafountain
Hello, i was looking into this bug. http://bugs.php.net/bug.php?id=7045 i wrote a soultion... but i was wondering where to implement it. It could be implemented as void zend_hash_rand(HashTable *ht); or int php_rand_sort(void *b, size_t n, size_t s, int (*cmp)(const void *, const void *));

[PHP-DEV] session module

2002-01-14 Thread brad lafountain
I was wondering if the session module would export some of it's functions so that other extensions could use the session module directly. In my extension I would like to register a session variable with out using call_user_function. Does anyone else think so? - Brad

[PHP-DEV] Bug #7045 Updated: Shuffle() does not behave correctly

2002-01-14 Thread brad lafountain
attaching diff's __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ --- ext/standard/array.c.oldSat Jan 12 04:23:55 2002 +++ ext/standard/array.cSat Jan 12 10:03:17 2002 @@ -1415,13 +1415,72 @@

[PHP-DEV] zend variable handling

2002-01-14 Thread brad lafountain
Can someone explain the difference from MAKE_STD_ZVAL(val); and val = emalloc(sizeof(zval)); INIT_ZVAL(val); I'm sure that it has to do with deleting memory. Does MAKE_STD_ZVAL automatically delete your memory. If yes then when does it delete it? And if i use the second way then I would

[PHP-DEV] php_session_register_serializer()

2002-01-15 Thread brad lafountain
I'm writing an extension and i want to register a serializer. The php_session_register_serializer functions isn't an exported function. Is there another way around it or should that function be exported? - Brad __ Do You Yahoo!? Send FREE video

Re: [PHP-DEV] session module

2002-01-15 Thread brad lafountain
PROTECTED] wrote: Brad Lafountain wrote: I was wondering if the session module would export some of it's functions so that other extensions could use the session module directly. In my extension I would like to register a session variable with out using call_user_function. Does anyone

Re: [PHP-DEV] php_session_register_serializer()

2002-01-15 Thread brad lafountain
Yeah i know that wddx is a serializer... but.. it only works when compiled staticaly into php you can't create a module .dll or .so and create a new serizlier and have it link correctly. --- Yasuo Ohgaki [EMAIL PROTECTED] wrote: Brad Lafountain wrote: I'm writing an extension and i want

Re: [PHP-DEV] session module

2002-01-16 Thread brad lafountain
I looked at your changes to php_session.h. I saw that you added PHPAPI to the .h but don't you need to add them to session.c too? Additionally i think php_get_session_var and php_set_session_var should be exported also. i think we need PHPAPI int ps_globals_id too As for startup, we probally

[PHP-DEV] debugging...

2002-01-17 Thread brad lafountain
I don't know a good way of debug my extension on the linux platform.. It doens't crash on windows but it crashes on linux.. Can someone give me some insite how they debug their php extensions. The crash is reproducable but it isn't consistant. It crashes ever ? times. - Brad

Re: [PHP-DEV] htmlspecialchars() alias

2002-01-17 Thread brad lafountain
hmm... if you don't feel like typing it out.. $hsc = htmlspecialchars; echo $hsc($var); - Brad --- Jason G. [EMAIL PROTECTED] wrote: Hello General and Dev list, Considering the fact that it is good practice to use htmlspecialchars() anytime you are outputting non-html content to the

[PHP-DEV] php and http return status

2002-01-22 Thread brad lafountain
Maybe this is eaiser than i think.. but.. Does anyone know how to return http 500 status from inside an extensiosn or just regular ole php script. - Brad __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/

[PHP-DEV] php_error(E_ERROR) and set_error_handler

2002-01-22 Thread brad lafountain
with a call to php_error with E_ERROR as the parameter... it bypasses the error handler set by set_error_handler.. Is this by design? - Brad __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- PHP

[PHP-DEV] php_error(E_ERROR) and set_error_handler

2002-01-22 Thread brad lafountain
with a call to php_error with E_ERROR as the parameter... it bypasses the error handler set by set_error_handler.. Is this by design? - Brad __ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- PHP

[PHP-DEV] php error_handling

2002-01-28 Thread brad lafountain
Hello, I am writing an extension which i NEED absoulty control over what goes out of a php script meaning all errors and all output. I can caputre all outputs with ob* functions but im having problems with error handling. I use the user defined error handling wich doesnt get the level of

Re: [PHP-DEV] php error_handling

2002-01-28 Thread brad lafountain
who acually knows the zend engine really good they can tell me if i should or shouldn't do this. - Brad --- brad lafountain [EMAIL PROTECTED] wrote: Hello, I am writing an extension which i NEED absoulty control over what goes out of a php script meaning all errors and all output. I can

Re: [PHP-DEV] Writing own extension on Win

2002-01-29 Thread brad lafountain
You need to make sure COMPILE_DL_(EXTENSION) is defined... --- Alexander Merz [EMAIL PROTECTED] wrote: I've wrote an PHP-extension. After some problems with compiling and linking, i've got the dll. Testing it with ?php dl(wintest1.dll); ? it fails with Invalid library (maybe not a

Re: [PHP-DEV] Bug #15280 Updated: Feature request

2002-01-29 Thread brad lafountain
This request seems pretty valid... Say um you had an array that you delete from and create elements frequently.. amost like a db table... and you wanted to clean this periocally.. in addition to this you wanted the index to be renumbered... having a array_vaccum() would be nice... eg.. $a

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

Re: [PHP-DEV] Optional source scrambeling

2002-01-30 Thread brad lafountain
Ok i guess i didn't make myself too clear ither... If you want to scramble your code you probally want to make money off of it? Correct? So then if you make money off of it they why not spend a little and buy the scrambler. Then zend can have a little of your prophit. If you want to scramble

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] 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

[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

[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] 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] 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

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] 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

[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] 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] 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] 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] [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

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] 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] 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

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: 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

[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: 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

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-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-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] 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

[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] 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] 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] 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

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

[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] 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

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();

[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

[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?

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

  1   2   3   >