[PHP-DEV] __call for the namespaces

2003-03-17 Thread Brad LaFountain
This idea spawned from playing with ext/rpc and the ability to declare class types on the fly Since zend_namespaces is really _zend_class_entry I think it would be cool to implement __call at the namespace level. namespace java { function __call($classname) { // this will be called every

[PHP-DEV] RPC Extension

2003-03-16 Thread Brad LaFountain
I was just playing with the RPC extension. Don't you think that the rpc layer should pass along TSRMLS_CC to all of the callbacks? rpc_call(rpc_string, void *, zval *, int, zval *** TSRMLS_CC); - Brad __ Do you Yahoo!? Yahoo! Web Hosting -

Re: [PHP-DEV] RPC Extension

2003-03-16 Thread Brad LaFountain
to ext/rpc/java. I got the functions down, im still learning what ext/rpc is actually doing. But i'll really need the zend *this; to go forward just from the way the old ext/java works. - Brad --- Brad LaFountain [EMAIL PROTECTED] wrote: I was just playing with the RPC extension. Don't you think

Re: [PHP-DEV] iterating objects with interfaces

2003-03-10 Thread Brad LaFountain
This IS pretty cool stuff. Just a comment about the namespace, as i see more of these things added as time goes on. since you are already adding the 'spl' namespace why are you prefixing the classes with the namespace still? This is the whole point of using namespaces. I feel it should be

Re: [PHP-DEV] bug in zend_API.c (with patch)

2003-03-07 Thread Brad LaFountain
Why can't you just simply name your classes all lowercase. All of the extensions currently do this and it works fine. - Brad --- Eric Lambart [EMAIL PROTECTED] wrote: Hello. After a short bout of hair-pulling, I have discovered the source (in the Zend engine) of a recent problem, and have

[PHP-DEV] Re: [SOAP] PEAR / Soap Problem

2003-02-12 Thread Brad LaFountain
--- Steve Johnson [EMAIL PROTECTED] wrote: Cool, thanks for clearing that up. Would anyone here recommend one over the other? I've obviously only used the PEAR::Soap library. Thanks On Wed, 2003-02-12 at 10:21, Brad LaFountain wrote: Well, there are in fact TWO different soap libaries in soap

Re: [PHP-DEV] Re: [SOAP] PEAR / Soap Problem

2003-02-12 Thread Brad LaFountain
sorry, ignore this, wrong list --- Brad LaFountain [EMAIL PROTECTED] wrote: Well the PEAR::Soap is defintly more stable and has more features and supports more of the soap spec, where PECL/soap is written in C and is faster. There are some people using PECL/soap in production but it defintly

Re: [PHP-DEV] ZE2 , static variables and friends

2003-01-07 Thread Brad LaFountain
Check your syntax I don't know how many times people have asked a question like this and they mess up the $'s class test { static $foo = ''; } class test2 { var $how = 3; } $bar = new test2; test::$foo = $bar; echo How ? .test::$foo-how; where you had echo How ?

Re: [PHP-DEV] PHP in 2003 (leading to PHP 5)

2003-01-01 Thread Brad LaFountain
3. Bundle PHP-Soap (and stop the bleeding of PHP users) I know I've been saying for a while now that I'm going to start working on this again but I have yet to do it. I do plan to work on this again. I would like to see it bundled with php5 but it defintly needs some work. If its possible I

Re: [PHP-DEV] T_PAAMAYIM_NEKUDOTAYIM

2002-12-16 Thread Brad LaFountain
--- Bertrand Mansion [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote : I guess I am going to have to write stupid code such as: switch ($param1) { case 'parser1': return parser1::method(); case 'parser2': return parser2::method(); }

Re: [PHP-DEV] T_PAAMAYIM_NEKUDOTAYIM

2002-12-16 Thread Brad LaFountain
--- Bertrand Mansion [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote : --- Bertrand Mansion [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote?: $classname::method() === call_user_func(array($classname,'method')); No. $classname::method() is illegal and is in no case === to

Re: [PHP-DEV] FR: echo line

2002-12-07 Thread Brad LaFountain
Do you realize how ugly that is? What benifit would that have over something way more readable like: ?php for(..) { echo \ttd\n; } ? -Brad --- Jari Vuoksenranta [EMAIL PROTECTED] wrote: I have a feature request: I'd like to have '#' comment like macro which would

Re: [PHP-DEV] Re: persistent java virtual machine under PHP

2002-12-04 Thread Brad LaFountain
--- Akos Maroy [EMAIL PROTECTED] wrote: Ivan Ristic wrote: I do not think that is possible, unless PHP engine itself is contained within a single process (and runs multithreaded). Which it isn't (under Apache 1.x , at least). I'm not familiar in general with the PHP engine, so my

Re: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain
--- Alan Knowles [EMAIL PROTECTED] wrote: Brad LaFountain wrote: I know I'm going to piss people off by asking this but how do I create a new pecl package? I think I want going to put php_opengl in there. See if gets anymore use. upload it to pear/PECL/opengl.. (You should have karma

RE: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain
-Original Message- From: Brad LaFountain [mailto:[EMAIL PROTECTED]] Sent: Monday, December 02, 2002 8:05 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] pecl extensions I know I'm going to piss people off by asking this but how do I create a new pecl package? I think I want going to put

RE: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain
--- John Coggeshall [EMAIL PROTECTED] wrote: Yeah I know that shady guy Shane. Heh. He is shady, isn't he? ;) Well, it's defintly experimental. There are bindings for opengl and glut. You can run some sample apps that use the glut api. Its pretty cool. Me and Marcus were working on

[PHP-DEV] pecl extensions

2002-12-02 Thread Brad LaFountain
I know I'm going to piss people off by asking this but how do I create a new pecl package? I think I want going to put php_opengl in there. See if gets anymore use. - Brad __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

Re: [PHP-DEV] PHP and Java

2002-10-24 Thread Brad LaFountain
--- Marc Richards [EMAIL PROTECTED] wrote: Hi, I am looking for any info or documentation on using PHP in a servlet environment. I read what I could find on php.net, and found a couple things using google, but not enough to answer my questions. If someone could tell me where to look that

Re: [PHP-DEV] short_open_tag

2002-10-21 Thread Brad LaFountain
It would be very bad for php if short tags were disabled. I 100% agree with andi. There are ways of dealing with xml and php without pissing off the WHOLE php user world. I don't even use long tags EVER, nor will I want to start. - Brad --- Andi Gutmans [EMAIL PROTECTED] wrote: At 03:33 PM

Re: [PHP-DEV] trying to understand zvals

2002-10-18 Thread Brad LaFountain
PHP_FUNCTION(ref_assign) { zval *bar, *foo; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, zz, bar, foo) == FAILURE) { return; } ZVAL_ADDREF(foo); *bar = *foo; bar-is_ref = TRUE; bar-refcount = 1; } this works, but i

Re: [PHP-DEV] default properties (in c)

2002-10-09 Thread Brad LaFountain
PROTECTED] wrote: On 8 Oct 2002, Tim Daly, Jr. wrote: Brad LaFountain [EMAIL PROTECTED] writes: What engine are you working with 1 or 2? -brad I imagine PHP3 == engine 1, and PHP4 == engine 2? PHP 3 is engine 0.5, PHP 4 is engine 1 and PHP 5 will be engine 2 :) So you're most

Re: [PHP-DEV] default properties (in c)

2002-10-08 Thread Brad LaFountain
What engine are you working with 1 or 2? -brad --- Tim Daly, Jr. [EMAIL PROTECTED] wrote: Hi everybody. I'm working on an extension that creates classes, and I want to add class variables to the classes. It looks like, internally, class variables are stored in the

Re: [PHP-DEV] Calling an external C function under Unix

2002-09-25 Thread Brad LaFountain
You could write a wrapper extension around your c libary. - brad --- Anna Sotnichenko [EMAIL PROTECTED] wrote: Hello All! I want to transfer a PHP script with minimum changes from IIS under Win2000 to Unix. My ISAPI PHP script calls some external C-functions through PHP W32api extension.

Re: [PHP-DEV] destructor in domxml not freeing all memory, any clues?

2002-08-28 Thread Brad LaFountain
I don't think this is the problem but when using libxml i found i need to call xmlCleanupParser(); after I parse a file. - brad --- Christian Stocker [EMAIL PROTECTED] wrote: Hi I just watched my apache and simply doing domxml_new_doc(1.0); eats memory on the httpd process, which is

[PHP-DEV] array_diff not working with last element different

2002-08-27 Thread Brad LaFountain
When using array diff, if the last element and only the last element is different it won't be returned as a difference. ? $ar = array(b = 1, blah = 1); $a1 = array(b = 2, blah = 2); var_dump(array_diff($ar, $a1)); ? array(2) { [b]= int(1) [blah]= int(1) } ? $ar = array(b = 1, blah = 1);

Re: [PHP-DEV] array_diff not working with last element different

2002-08-27 Thread Brad LaFountain
Well I tried to use them like that, So I guess there is a little need. I wrote a simple php function to do the same thing. I would volunteer but I have alot of stuff going on. Maybe if I get borred sometime soon. - brad --- Stig Venaas [EMAIL PROTECTED] wrote: On Tue, Aug 27, 2002 at

Re: [PHP-DEV] Interfaces in PHP

2002-08-21 Thread Brad LaFountain
--- Tim Converse [EMAIL PROTECTED] wrote: --- Brad LaFountain [EMAIL PROTECTED] wrote: 2) Interfaces as they exist in java don't really give you much in a stripting language but if you insist on having something like that you can curently do it with the zend1. class

Re: [PHP-DEV] PATCH: debug_backtrace() function for 4.3-dev/ZE1

2002-08-20 Thread Brad LaFountain
--- Zeev Suraski [EMAIL PROTECTED] wrote: At 07:55 20/08/2002, Brad LaFountain wrote: You as a Zend owner who's business could be very propitable for Zend2 success or you as a php developer Brad, This is CLEARLY as PHP developers. We happen to have quite a bit of experience

Re: [PHP-DEV] PATCH: debug_backtrace() function for 4.3-dev/ZE1

2002-08-20 Thread Brad LaFountain
First of all I wanna just say that I'm just stating my opnion. You seem to be getting angry. Im not trying to say your wrong and I'm right. Please don't take it like that. --- Zeev Suraski [EMAIL PROTECTED] wrote: At 17:21 20/08/2002, Brad LaFountain wrote: Ok this experience you

Re: [PHP-DEV] PATCH: debug_backtrace() function for 4.3-dev/ZE1

2002-08-20 Thread Brad LaFountain
--- Zeev Suraski [EMAIL PROTECTED] wrote: At 19:35 20/08/2002, Rasmus Lerdorf wrote: We should not be talking about carrots here, and Thies is not saying screw you to you. He wants to help PHP users today. That almost sounds like a Microsoft tagline :) Come on, you know what he meant.

Re: [PHP-DEV] Interfaces in PHP

2002-08-20 Thread Brad LaFountain
--- Alan Knowles [EMAIL PROTECTED] wrote: From my reading of delegation, it's really overloading, worded slightly differently.. - but not that related to interfaces... In the example below, which is a php'ized version of a C# demo, the advantages of using interfaces (as far as I know)

Re: [PHP-DEV] Data Hiding Implementation in PHP Classes

2002-08-16 Thread Brad LaFountain
That .txt only talks about private members. Zend2 also implements protected data members. - brad --- Sander Roobol [EMAIL PROTECTED] wrote: The Zend Engine 2 implements this. See http://www.php.net/ZEND_CHANGES.txt Sander On Fri, Aug 16, 2002 at 03:13:57AM -0500, Ben Dischinger wrote:

[PHP-DEV] objects as string and arrays as string

2002-08-16 Thread Brad LaFountain
I want to throw together a quick hack so that objects can implement a __as_string() method that will get called when the string is used in a string contex. Instead of append Object. $s = (string)$object; or $s .= $object; also the same things with arrays that will do something similar to

Re: [PHP-DEV] objects as string and arrays as string

2002-08-16 Thread Brad LaFountain
require to return a string or try and handle the recursion (maybe like var_dump currently does it). -brad --- Brad LaFountain [EMAIL PROTECTED] wrote: I want to throw together a quick hack so that objects can implement a __as_string() method that will get called when the string is used

Re: [PHP-DEV] PHP extension initialisation

2002-08-15 Thread Brad LaFountain
--- Tom Oram [EMAIL PROTECTED] wrote: Hi, Can someone please answer my question? When running a PHP extension when PHP is running as an apache module on linux it's module init function (PHP_MINIT_FUNCTION) gets called twice, once before apache forks then once after, is there any way of

Re: [PHP-DEV] Method memory handling from an instanced object

2002-08-13 Thread Brad LaFountain
--- Dan Hardiker [EMAIL PROTECTED] wrote: Hi All, If I was to code something like: ?php class Example { var $abc = false; function Demo($param) { // etc // return $param; } } $ex1 = new Example; $ex2 = new Example; ? There are now 2

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Brad LaFountain
This isn't always ideal. I would rather see the threads as a function not a separate file. Forcing threads to a file would be pretty limited. -brad --- Andi Gutmans [EMAIL PROTECTED] wrote: I still think that if you're going to implement such a thread extension it shouldn't try and copy it's

Re: [PHP-DEV] HANDLE_BLOCK_INTERRUPTIONS

2002-08-02 Thread Brad LaFountain
Thanks.. I figured it out after looking at all the places where it was being used. The biggest use was when you are changing link'd lists or arrays. So i assumed it did something to that affect. - brad --- Thies C. Arntzen [EMAIL PROTECTED] wrote: On Thu, Aug 01, 2002 at 10:10:10AM -0700, Brad

Re: [PHP-DEV] Odd array problems

2002-08-02 Thread Brad LaFountain
Should be fixed. I swear there better not be anything else wrong with that code chage :) I know alot more how the engine handles arrays now :) - brad --- Dan Kalowsky [EMAIL PROTECTED] wrote: Correction an update from a few mins ago results in the same output as Chuck's original. On

Re: [PHP-DEV] array commits broke something

2002-08-01 Thread Brad LaFountain
Sorry.. i miss read your comment... you are correct I just fixed it commiting in a few min. - brad --- Brad LaFountain [EMAIL PROTECTED] wrote: That was my fault. I did apply a patch that will fix that late last nite. Just get the current CVS and it should work. PS. array_pop

[PHP-DEV] HANDLE_BLOCK_INTERRUPTIONS

2002-08-01 Thread Brad LaFountain
HANDLE_BLOCK_INTERRUPTIONS(); HANDLE_UNBLOCK_INTERRUPTIONS(); what exactly does these do? - brad __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] phpthreads - hints anyone...

2002-07-31 Thread Brad LaFountain
This is interesting Shane and I started talking about php threads at OSCON. But baiscally your soulition won't work. I can't remember the specfic reason. I think i tried the same thing along time ago. If it were that simple it probally would have been done already :). For threading php you will

Re: [PHP-DEV] Session variables

2002-07-31 Thread Brad LaFountain
--- Pierre-Alain Joye [EMAIL PROTECTED] wrote: On Wed, 31 Jul 2002 16:53:59 +0200 Diana Castillo [EMAIL PROTECTED] wrote: Hi, with ASP I use session variables to keep a variable alive between one page and another. What is the comparable way to do it with php? Take a look at

Re: [PHP-DEV] phpthreads - hints anyone...

2002-07-31 Thread Brad LaFountain
Shane, I was in the Parrot session at OSCON and parrot is going to implement threads in the exact same way. One interp per thread with sharing memory. - brad --- Shane Caraveo [EMAIL PROTECTED] wrote: Alan Knowles wrote: Im looking at adding threading to php, (for the cgi/cli stuff)..

[PHP-DEV] [PATCH] array_pop and array_shift (#16063, #16068)

2002-07-30 Thread Brad LaFountain
Along with fixing this bugs (16063 and 16068) I signifintly increased the preformance of array_pop and array_shift. Here are some times on a 1.2ghz athlon. ? $t = array_fill(0, $size, test); for($i = 0;$i $size;$i++) array_pop($t); ? Before: $size = 2000; //1.633s $size = 4000;

Re: [PHP-DEV] [PATCH] array_pop and array_shift (#16063, #16068)

2002-07-30 Thread Brad LaFountain
Wrong patch file.. re-attaching. --- Brad LaFountain [EMAIL PROTECTED] wrote: Along with fixing this bugs (16063 and 16068) I signifintly increased the preformance of array_pop and array_shift. Here are some times on a 1.2ghz athlon. ? $t = array_fill(0, $size, test); for($i = 0;$i

Re: [PHP-DEV] [PATCH] array_pop and array_shift (#16063, #16068)

2002-07-30 Thread Brad LaFountain
Hmm... I tried it and it said i didn't have karma. I'll try again tonite. - brad --- Rasmus Lerdorf [EMAIL PROTECTED] wrote: You have full karma to fix this. What makes you think you don't? On Tue, 30 Jul 2002, Brad LaFountain wrote: Along with fixing this bugs (16063 and 16068) I

Re: [PHP-DEV] php_strip_tags and bug 7472

2002-07-30 Thread Brad LaFountain
: abc ?foo(bar ? def Will strip down to just abc I am sure that seemed logical at some point. -Rasmus On Mon, 29 Jul 2002, Brad LaFountain wrote: Is any developer familiar with php_strip_tags? I was looking into but 7472 and php_strip_tags seems like its keeping track

Re: [PHP-DEV] [PATCH] array_pop and array_shift (#16063, #16068)

2002-07-30 Thread Brad LaFountain
$ cvs commit ext/standard/array.c cvs [server aborted]: commit requires write access to the repository cvs commit: saving log message in /tmp/cvs61090800.1 - brad --- Brad LaFountain [EMAIL PROTECTED] wrote: Hmm... I tried it and it said i didn't have karma. I'll try again tonite. - brad

Re: [PHP-DEV] [PATCH] array_pop and array_shift (#16063, #16068)

2002-07-30 Thread Brad LaFountain
2002, Brad LaFountain wrote: $ cvs commit ext/standard/array.c cvs [server aborted]: commit requires write access to the repository cvs commit: saving log message in /tmp/cvs61090800.1 - brad --- Brad LaFountain [EMAIL PROTECTED] wrote: Hmm... I tried it and it said i didn't have

Re: [PHP-DEV] Bus error on CVS Head

2002-07-30 Thread Brad LaFountain
I get the same thing on Windows in debug mode. -brad --- Dan Kalowsky [EMAIL PROTECTED] wrote: Hi, Building PHP and running a test script with the CGI or CLI on my MacOSX machine results in a a Bus Error upon script completion. I have made a fresh checkout, built clean (with a cvsclean

[PHP-DEV] php_strip_tags and bug 7472

2002-07-29 Thread Brad LaFountain
Is any developer familiar with php_strip_tags? I was looking into but 7472 and php_strip_tags seems like its keeping track of 's and changing the state according to 's. From what I can tell the state machine shouldn't need to worry about 's, but I might be missing something obvious tho.

Re: [PHP-DEV] Going on vacation

2002-07-12 Thread Brad LaFountain
Thats not allowed andi! :) - Brad --- Andi Gutmans [EMAIL PROTECTED] wrote: Hey, I'm going on a four day computer-less vacation starting tomorrow morning so I won't be reading my Email. If you guys send patches for the Engine 2 or other queries please give me some time to reply when I

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-26 Thread Brad LaFountain
- will never work for sub-classes so don't even ask! Andi, This doesn't need to be an issue. The way that I use sub-classes is I ALWAYS include_once(subclass.php); at the top of each superclass file. I know everyone doesn't code the same way but maybe you can have that as a suggestion to

Re: [PHP-DEV] widestring variable possible in php?

2002-06-26 Thread Brad LaFountain
By widestring do you mean a multi byte string? if yes take a look at the mbstring module. else don't know what you mean by widestring -brad --- Derek Aschenbrenner [EMAIL PROTECTED] wrote: I am trying to assign a widestring to a variable in php? Is it possible to create a widestring

Re: [PHP-DEV] Case Sensitivity is inconsitent inside Objects

2002-06-24 Thread Brad LaFountain
--- phpsurf [EMAIL PROTECTED] wrote: Hi I really don't want to wake up once again the endless thread about CS ! My point here, is just that I have a problem dealing dynamically with attributes and methods inside an object. The problem is that the function 'get_class_vars' returns the

Re: [PHP-DEV] Custom Extensions and Super Globals

2002-06-20 Thread Brad LaFountain
I believe you are looking for zend_register_auto_global(); - Brad --- Brian Moon [EMAIL PROTECTED] wrote: I was just thinking about some of our code on dealnews.com and thought it would be cool if we could write our own extension that would, among other things, make a couple of widely used

[PHP-DEV] phpopengl

2002-06-18 Thread Brad LaFountain
A while ago I made php-opengl. The extension lets you create ither interactive opengl programs (with the help of glut) or what I was working using OSMesa is to allow php to create 3d images Off Screen (OS). This can be used for a bunch of things. (3d graphs, generation of 3d text), (i got it to

Re: [PHP-DEV] Instantiating Objects ?

2002-06-13 Thread brad lafountain
There is no transpartent way of creating a c++ object from php. What you can do is create a php extension that will proxy the calls to your c++ object. Once you do that you can pass anything into your c++ class (querystring). take a look at ext/* in the souce distribution. - brad --- Kevin

[PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-10 Thread brad lafountain
I dissagree with that... I would like the option to say where my classes are. If i want multiple classes in one file then i can. function myAutoLoader($className) { if (!class_exists($className)) { include(all_of_my_classes.php); } } Making a classpath and ClassName.php files will make

Re: [PHP-DEV] Memory Leaks /w nested classes

2002-06-10 Thread brad lafountain
I use parent members all the time.. w/zend1 - Brad --- Markus Fischer [EMAIL PROTECTED] wrote: Hi, that's a limitation of the Zend Engine. It does not support circular references (at least this is would Zeev told me last time :) - Markus On Mon, Jun 10, 2002 at

Re: [PHP-DEV] Memory Leaks /w nested classes

2002-06-10 Thread brad lafountain
--- Andre Christ [EMAIL PROTECTED] wrote: Hi Brad, Brad Lafountain [EMAIL PROTECTED] wrote I use parent members all the time.. w/zend1 well, that's what I wanted to do until I discovered these entrys in my log file when php is compiled --enable-debug. Do you have these mem leaks

Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-07 Thread brad lafountain
--- Dan Hardiker [EMAIL PROTECTED] wrote: Am Donnerstag, 6. Juni 2002 19:59 schrieb Dan Hardiker: I sit in many PHP channels (IRC), and observe many class-based PHP networks (php-classes.org is one I monitor closely) and can say definatly that the majority of PHP users want *more* OO

RE: [PHP-DEV] oo != php

2002-06-07 Thread brad lafountain
--- Preston L. Bannister [EMAIL PROTECTED] wrote: From: Ilker Cetinkaya [mailto:[EMAIL PROTECTED]] [snip] but after getting known of the ze2 features, I personally saw PHP finally growing out of that PHP, language for kiddies-image. IMHO PHP is a real good language for its target

Re: [PHP-DEV] Zend Engine expert wanted!!!!

2002-06-07 Thread brad lafountain
If this is your problem maybe a offical soultion to the problem should be thought. Like in your extension you can define a priority for loading and unloading your extension in the ini. Kinda like init.d. Has there been any discussion about this topic before. - brad --- Brian France [EMAIL

Re: [PHP-DEV] Fwd: REJECTED: 5.1.0.14.2.20020607225328.03df2740@127.0.0.1

2002-06-07 Thread brad lafountain
I got it too.. - brad --- Andi Gutmans [EMAIL PROTECTED] wrote: Any idea why I got this when posting to php-dev? Andi Delivered-To: [EMAIL PROTECTED] Sender: [EMAIL PROTECTED] (reject) Date: Thu, 06 Jun 2002 08:50:05 -0700 X-Autogenerated: Reply To: Andi Gutmans [EMAIL PROTECTED]

[PHP-DEV] PHP in the future

2002-06-06 Thread brad lafountain
Ok I know this email has been posted again and again. But lets look at this objectivly. PHP was designed for the web. It's perfect in alot of ways for that market. Maybe we can shift the focus of php from the web to application development. Again i know this has been discussed and been shot down

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread brad lafountain
--- Zeev Suraski [EMAIL PROTECTED] wrote: At 07:01 PM 6/6/2002, brad lafountain wrote: Please don't reply to this email saying Use Java... Because php is different than java and always will be even with these new features. Brad, I beg you, there's nothing anybody can say on this list

[PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread brad lafountain
--- Zeev Suraski [EMAIL PROTECTED] wrote: At 08:26 PM 6/6/2002, brad lafountain wrote: --- Zeev Suraski [EMAIL PROTECTED] wrote: At 07:01 PM 6/6/2002, brad lafountain wrote: Please don't reply to this email saying Use Java... Because php is different than java and always

Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-06 Thread brad lafountain
Andi, Before you go ahead with this I would like to discuss it some more too. I'm wondering if we can fully support MI but i don't want to start this conversation now. btw: i like the contains better than aggergates. - brad --- Andi Gutmans [EMAIL PROTECTED] wrote: A couple of months ago

Re: [PHP-DEV] New extension

2002-06-05 Thread brad lafountain
What is RDF? - brad --- Garland foster [EMAIL PROTECTED] wrote: Hi all, I just finished a php extension for repat an RDF parser in C coded by Jason Diammond, with this extension we are able to parse RDF files (in any syntactical representation) from PHP and process the RDF statements as

Re: [PHP-DEV] PHP's vision

2002-06-03 Thread brad lafountain
--- Edin Kadribasic [EMAIL PROTECTED] wrote: And doesn't ZE2 address almost all of those OO related things? It does. Personally, I'm missing two things in Zend Engine 2.0: interfaces and private methods. Both are not really critical, as they don't aim at solving technical

Re: [PHP-DEV] PHP's vision

2002-06-03 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: On Mon, 3 Jun 2002, brad lafountain wrote: I'm bother by the fact that you guys keep on saying Php isn't Java so don't use lets not use private methods or interfaces. Java is Object Oriented. Java didn't invent private methods, private members and all

[PHP-DEV] libxml bundling

2002-05-31 Thread brad lafountain
Ok, I think we are split in two about what to do here. Ill try and list the different ideas that have been proposed. 1) don't include at all pros: No need to worry about auto install or filesize. cons: Forces people to install themselves. 2) trim down libxml and put in cvs pros:

Re: [PHP-DEV] libxml bundling

2002-05-31 Thread brad lafountain
First off trimming down means. removing documentation. removing install help. NOT removing any code at all! Why do you feel that bundling is such a burdon and how does it requires more testing. If libxml release a new release and it is decited to upgrade then simply upgrade. I don't understand

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: On Thu, 30 May 2002, Andi Gutmans wrote: I think that XML is a core technology and giving plugplay access to our users is important. Having bundled the MySQL library made it easier for people to get started with MySQL. Does that mean I think every library

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread brad lafountain
--- Stig S. Bakken [EMAIL PROTECTED] wrote: On Thu, 2002-05-30 at 18:08, [EMAIL PROTECTED] wrote: On Thu, 30 May 2002, brad lafountain wrote: The 2M size has alot of stuff that we wouldn't need. Im sure we can get it down to under 500K. I still think 500kb is too much

[PHP-DEV] bundling

2002-05-30 Thread brad lafountain
This was brought up before. Instead of bundling libaries in php4/ext/mysql/libmysql they could be put in php4/bundled/libmysql This will help other extensions use bundled libaries. maybe if mod_mysql for session handling is created then it can link against the bundled mysql lib. - Brad

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread brad lafountain
--- Dan Kalowsky [EMAIL PROTECTED] wrote: On Thu, 30 May 2002, brad lafountain wrote: I personally will take responsiblity for bundling and upgrading it. Brad, Nothing personal (so please don't take it that way), but in my opinion this isn't a good enough assurance. Historically you

[PHP-DEV] domxml changes

2002-05-30 Thread brad lafountain
I was talking before about making changes to domxml. The changes involved allowing users to create nodes without having a domdocument. $node = new DomElement(myNewElement); $node-set_content(stuff); echo $node-dump_node(); it also allows you to create a document in the same way $node = new

Re: [PHP-DEV] domxml changes

2002-05-30 Thread brad lafountain
Forgot to attach the diff for people who are interested. - brad --- brad lafountain [EMAIL PROTECTED] wrote: I was talking before about making changes to domxml. The changes involved allowing users to create nodes without having a domdocument. $node = new DomElement(myNewElement); $node

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] [RESENT] [PATCH] Allow constants / expressions to be passed by reference]

2002-05-29 Thread brad lafountain
I have ran into this limitation too or something like foo(); or foo($bar); function foo($bar = null) { } --- Andi Gutmans [EMAIL PROTECTED] wrote: I don't see any reason to allow passing non-variables by reference. It is semantically incorrect. Andi At 09:40 29/05/2002 +0200,

[PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread brad lafountain
Hello all, It was mentioned before about bundling libxml2 with php with expat or instead of expat. Where do we stand with this? I emailed the developer asking permission to bundle it if we choose to do it (no response yet). Also I remember reading on here before someone suggested putting

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread brad lafountain
PROTECTED] wrote: On Wed, 29 May 2002, brad lafountain wrote: Hello all, It was mentioned before about bundling libxml2 with php with expat or instead of expat. Where do we stand with this? I emailed the developer asking permission to bundle it if we choose to do it (no response yet). öhm

[PHP-DEV] Fwd: Re: libxml2 - php

2002-05-29 Thread brad lafountain
--- Daniel Veillard [EMAIL PROTECTED] wrote: Date: Wed, 29 May 2002 23:28:11 +0200 From: Daniel Veillard [EMAIL PROTECTED] To: brad lafountain [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: libxml2 - php Reply-to: [EMAIL PROTECTED] On Wed, May 29, 2002 at 10:35:44AM -0700, brad

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-29 Thread brad lafountain
). They run one installer and bingo everything works. People will say its easy to setup. - Brad --- Markus Fischer [EMAIL PROTECTED] wrote: On Thu, May 30, 2002 at 08:12:27AM +0900, Yasuo Ohgaki wrote : Brad Lafountain wrote: Ok, But take ext/domxml it requires a newerversion

[PHP-DEV] karma - group at php dot net

2002-05-27 Thread brad lafountain
Ive mailed group at php dot net a few times. I keep on getting a failed notice response back. Who should I mail for karma. - Brad __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- PHP

Re: [PHP-DEV] PHP-SOAP features

2002-05-24 Thread brad lafountain
--- [EMAIL PROTECTED] wrote: On Thu, 23 May 2002, brad lafountain wrote: Ok, I know not too many people are familure with my extension so I am going to go over some stuff that it does do and stuff it doesn't. The plans i have for this extension are more than just a simple

RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread brad lafountain
Ok here I am I do already have some email lists up for my extension. [EMAIL PROTECTED] [EMAIL PROTECTED] I've been doing ALOT of work with my extension. And i currently do use it live at work. We have a java interface talking to SoapObjects on the server. This is extremly powerfull cause

RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread brad lafountain
to PHP. Andi At 17:52 23/05/2002 +0200, phpsurf wrote: hi brad lafountain is working on a Soap extension which is not far from being stable. he made a good use of WSDL ... you should have look to http://phpsoaptoolkit.sourceforge.net/phpsoap/ -Original Message

Re: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread brad lafountain
Well my extension i was going for a solid implmentation of soap that could run out of the box. With many features and tightly intergrated with zend and other extensions like domxml and php-streams. I think my extension has some value here. I would like to see my soap be the soap implementation

RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread brad lafountain
--- Stig S. Bakken [EMAIL PROTECTED] wrote: On Thu, 2002-05-23 at 23:28, brad lafountain wrote: One reason is xmlrpc doesn't have everything that goes along with soap. meaning WSDL UDDI WebServiceSecurity. WSDL can be implemented through the introspection stuff in ext/xmlrpc. It's

RE: [PHP-DEV] Re: [PEAR-DEV] SOAP, XMLRPC and WSDL

2002-05-23 Thread brad lafountain
--- Stig S. Bakken [EMAIL PROTECTED] wrote: On Fri, 2002-05-24 at 00:10, brad lafountain wrote: --- Stig S. Bakken [EMAIL PROTECTED] wrote: On Thu, 2002-05-23 at 23:28, brad lafountain wrote: One reason is xmlrpc doesn't have everything that goes along with soap. meaning WSDL

[PHP-DEV] PHP-SOAP features

2002-05-23 Thread brad lafountain
Ok, I know not too many people are familure with my extension so I am going to go over some stuff that it does do and stuff it doesn't. The plans i have for this extension are more than just a simple soap/rpc function calls. I want to build a frame work that people can deploy existing php

Re: [PHP-DEV] classes example

2002-05-22 Thread brad lafountain
you can look at ext/domxml ext/COM ext/java ... this should do it zend_class_entry obj; INIT_CLASS_ENTRY(obj, class, internal_functions); zend_register_internal_class(obj); --- fabwash [EMAIL PROTECTED] wrote: sorry wasn't clear enough. I'm writing an extension and I want it to be used as

Re: [PHP-DEV] multithreading

2002-05-15 Thread brad lafountain
PHP isn't threadable... PHP is Thread Safe meaning you can run multiple php scripts on multiple threads for the samp process but you can't create threads inside php code. What i don't see is why you want to go from cron .. using ither php-cli or cgi.. to using threads. It seems you are just

[PHP-DEV] karma

2002-05-15 Thread brad lafountain
How would i go about getting karma for cvs commits? - Brad __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] zend_multibyte.c

2002-05-15 Thread brad lafountain
What exactly does this do. Is zend going to support multbyte characters? - Brad __ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] Probably a simple answer...

2002-05-14 Thread brad lafountain
Well i do believe that the zval string SHOULD be null termiated and have the length stored. But zend does provied this api function zend_binary_zval_strcmp(zval *, zval*); - Brad --- Robert Cummings [EMAIL PROTECTED] wrote: zval containers that are of string type don't seem to hold a

Re: [PHP-DEV] Probably a simple answer...

2002-05-14 Thread brad lafountain
--- Robert Cummings [EMAIL PROTECTED] wrote: Robert Cummings wrote: brad lafountain wrote: Well i do believe that the zval string SHOULD be null termiated and have the length stored. You would think so, but on further thought, if that were the case you wouldn't be able

  1   2   3   >