[PHP-DEV] PHP Micro-Benchmark-Suite

2003-06-26 Thread Sebastian Bergmann
I started working on a PHP Micro-Benchmark-Suite [1] to track changes in performance between PHP releases. Currently it tests some aspects of Array and OOP operations. Comments / Improvements are welcome, Sebastian -- [1]

Re: [PHP-DEV] PHP Micro-Benchmark-Suite

2003-06-26 Thread Zeev Suraski
I think you should use a slightly larger scale for bcsub() - the numbers you're getting are too 'beautiful' (909090, 66, 100, etc. :) Zeev At 11:09 26/06/2003, Sebastian Bergmann wrote: I started working on a PHP Micro-Benchmark-Suite [1] to track changes in performance between PHP

Re: [PHP-DEV] PHP Micro-Benchmark-Suite

2003-06-26 Thread Sebastian Bergmann
Zeev Suraski wrote: I think you should use a slightly larger scale for bcsub() I updated the script to - have a configurable scale - use a default scale of 12 -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/

[PHP-DEV] xml and libxml versions

2003-06-26 Thread Rob Richards
Will there be an official supported version of libxml now that there are many xml extensions using it? One issue that came up with the old domxml extension was that occasionally new versions of libxml would fix things which ended up changing behavior of the extension. With more extensions it

[PHP-DEV] sqlite cvs

2003-06-26 Thread Edin Kadribasic
Hello, After consulting Wez on the IRC I have created PECL_4_3 branch in the sqlite cvs repository to avoid clash with PHP repository branch in which sqlite shouldn't exist. Hopefully this PECL_4_3 branch should have the same content as PHP_4_3 just before it was deleted. Edin -- PHP

Re: [PHP-DEV] xml and libxml versions

2003-06-26 Thread Zeev Suraski
FWIW, that's one of the key reasons I think we should default to use the bundled libxml, and only use the system library if the user explicitly requested that. I think we're going to bundle libxml in beta1 to see how well this concept works. Zeev At 15:25 26/06/2003, Rob Richards wrote: Will

Re: [PHP-DEV] xml and libxml versions

2003-06-26 Thread Adam Dickmeiss
On Thu, Jun 26, 2003 at 03:53:09PM +0300, Zeev Suraski wrote: FWIW, that's one of the key reasons I think we should default to use the bundled libxml, and only use the system library if the user explicitly requested that. I think we're going to bundle libxml in beta1 to see how well this

Re: [PHP-DEV] xml and libxml versions

2003-06-26 Thread Zeev Suraski
At 16:09 26/06/2003, Adam Dickmeiss wrote: On Thu, Jun 26, 2003 at 03:53:09PM +0300, Zeev Suraski wrote: FWIW, that's one of the key reasons I think we should default to use the bundled libxml, and only use the system library if the user explicitly requested that. I think we're going to bundle

Re: [PHP-DEV] xml and libxml versions

2003-06-26 Thread Andi Gutmans
I think it's customary today to have the XML technologies as an integral part of the core development platform. IMO it's important enough for us to bundle. As Zeev mentioned, if this ends up being a problem, we can always unbundle. Andi At 04:22 PM 26/6/2003 +0300, Zeev Suraski wrote: At 16:09

Re: [PHP-DEV] xml and libxml versions

2003-06-26 Thread Rob Richards
From: Adam Dickmeiss Bundling gives many problems. So if a Unix machine has libxml/libxslt installed (most do) and if that version is supported by PHP the configure should use that (and not a bundled version). If the PHP people only allows a very strict set of libxml versions that's a sign

Re: [PHP-DEV] xml and libxml versions

2003-06-26 Thread Adam Dickmeiss
On Thu, Jun 26, 2003 at 04:33:46PM +0200, Andi Gutmans wrote: I think it's customary today to have the XML technologies as an integral part of the core development platform. Which is why virtually all Unixes have it installed by default. IMO it's important enough for us to bundle. As Zeev

Re: [PHP-DEV] CVS and PECL

2003-06-26 Thread Rasmus Lerdorf
On Thu, 26 Jun 2003, Wez Furlong wrote: B. Some extensions will have specific changes for a particular php-src branch For example, Wez had a PHP_4_3 branch in pecl/sqlite which was moved to PHP_4 and confused him. No, Jani was surprised by the symlink that caused the 4.3 release

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32 php4dllts.dsp

2003-06-26 Thread Zeev Suraski
At 18:14 26/06/2003, Sebastian Bergmann wrote: Zeev Suraski wrote: The way it was in CVS forced people to have the MySQL client library Not really, since I set HAVE_MYSQL=0 is config.w32.h. Yes really, it tried to link it regardless of the value of HAVE_MYSQL :) Zeev -- PHP Internals - PHP

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32 php4dllts.dsp

2003-06-26 Thread Sebastian Bergmann
Zeev Suraski wrote: it tried to link it regardless of the value of HAVE_MYSQL :) That's odd, because it worked here. Sorry, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32 php4dllts.dsp

2003-06-26 Thread Steph
Yes really, it tried to link it regardless of the value of HAVE_MYSQL :) same here.. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32 php4dllts.dsp

2003-06-26 Thread Zeev Suraski
At 18:25 26/06/2003, Sebastian Bergmann wrote: Zeev Suraski wrote: it tried to link it regardless of the value of HAVE_MYSQL :) That's odd, because it worked here. You must have an old .lib lurking around. If the .dsp contains a library reference, it's required for the build to succeed, even

[PHP-DEV] Version agnostic module names

2003-06-26 Thread Sascha Schumann
Here is a quick outline regarding the reasons for using a version agnostic system. These have not been well communicated before which resulted in some resentment of the approach. I urge to read this with an open mind. Advantages: a) Improving accessibility to the source

[PHP-DEV] Re: Serious PHP crash, vaulnarable for every script.

2003-06-26 Thread moshe doron
ummp, sorry for my ignorant, when segfualt consider as potential security report? i put similar (?) example in the past on the bugs.php.net that's live there open about 2 month's till wez fix it, without considering the last sascha integer overflow hunting project... -- moshe Simon Ejsing

Re: [PHP-DEV] Re: Serious PHP crash, vaulnarable for every script.

2003-06-26 Thread shimi
every program that crashes due to overwriting of memory it should not overwrite is subject to overwrite the registers that control the flow of the program, and might, upon user input, execute arbitrary code. the real question is how much can you effect the flow of the program - that depends

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Shane Caraveo
Sebastian Bergmann wrote: With all this new fancy XML support in PHP 5 -- what about SOAP? I plan on implementing a new soap library based on top of simplexml, but will not be able to start serious work on it until august. The new library would be usable with almost no PHP code, but will

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Sebastian Bergmann
Shane Caraveo wrote: I plan on implementing a new soap library based on top of simplexml Good news! -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ http://www.professionelle-softwareentwicklung-mit-php5.de/ -- PHP Internals - PHP

[PHP-DEV] More preg_match_* control

2003-06-26 Thread Andrei Zmievski
Hi, Apparently a few people are doing a lot of bioinformatics data sifting with PHP and one of them asked me if it would be possible to add a parameter to preg_match_* functions to indicate the starting offset for the search. I think it's a good idea, and having looked at the current

Re: [PHP-DEV] More preg_match_* control

2003-06-26 Thread Sebastian Bergmann
Andrei Zmievski wrote: Any thoughts or objections? On a sidenote, the bundled PCRE library is a bit outdated (I have 4.x on my GENTOO laptop, for instance). Can ext/pcre be built against a system library rather than the bundled one? Last time I tried it failed. -- Sebastian Bergmann

Re: [PHP-DEV] More preg_match_* control

2003-06-26 Thread Andrei Zmievski
On Thu, 26 Jun 2003, Sebastian Bergmann wrote: On a sidenote, the bundled PCRE library is a bit outdated (I have 4.x on my GENTOO laptop, for instance). Yeah, but there is nothing that's changed much. I suppose we can upgrade. What are your thoughts on my proposal for the new parameter?

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Jeraimee Hughes
On Thu, Jun 26, 2003 at 10:03:49AM -0700, Shane Caraveo wrote: Sebastian Bergmann wrote: With all this new fancy XML support in PHP 5 -- what about SOAP? I plan on implementing a new soap library based on top of simplexml, but will not be able to start serious work on it until august. The

Re: [PHP-DEV] PHP Micro-Benchmark-Suite

2003-06-26 Thread Jeff Moore
On Thursday, June 26, 2003, at 04:09 AM, Sebastian Bergmann wrote: I started working on a PHP Micro-Benchmark-Suite [1] to track changes in performance between PHP releases. Great idea. I was reading this article this morning: http://www.macdevcenter.com/pub/a/mac/2003/06/24/wwdc_2003.html

Re: [PHP-DEV] Engine selection on Win32

2003-06-26 Thread Jani Taskinen
On Thu, 26 Jun 2003, Zeev Suraski wrote: At 23:58 25/06/2003, Sebastian Bergmann wrote: Sascha Schumann wrote: Here is a patch which automates the engine selection for VC++. Works here, too. But is this really necessary? I fail to see the point of having to check out both versions of

Re: [PHP-DEV] Engine selection on Win32

2003-06-26 Thread Sascha Schumann
Checkout of php-src should only give you php-src, not Zend. :) There's nothing wrong with the php4/php5 aliases, that worked just fine, now this shit in there now gives you 2 zend-directories.. Ridiculous. I agree that it is ridiculous that we have two zend

Re: [PHP-DEV] Re: Serious PHP crash, vaulnarable for every script.

2003-06-26 Thread shimi
usually people with some responsibility in mind won't disclose a bug that might cause system to be penetrated, before the vendor had enough time to respond with an answer to the bug. if the bug he found might be a bug that would result in every server running PHP to be cracked, that's not

Re: [PHP-DEV] SOAP?

2003-06-26 Thread Brad LaFountain
Shane doesn't like to play with the PECL one ;) (seems like nor do I, its been a while) - Brad --- Jeraimee Hughes [EMAIL PROTECTED] wrote: On Thu, Jun 26, 2003 at 10:03:49AM -0700, Shane Caraveo wrote: Sebastian Bergmann wrote: With all this new fancy XML support in PHP 5 -- what about

Re: [PHP-DEV] More preg_match_* control

2003-06-26 Thread Andrei Zmievski
On Thu, 26 Jun 2003, Sebastian Bergmann wrote: I just compiled HEAD with --with-pcre-regex=/usr where I have PCRE 4.2 installed. The build works fine, but phpinfo() shows PCRE Library Version 3.9 02-Jan-2002 Hmm, I just did the same thing (--with-pcre-regex=/usr/local)

Re[2]: [PHP-DEV] aggregation?

2003-06-26 Thread Wei He
On Thu, 26 Jun 2003, Marcus Börger wrote: WH If so I'll have to copy method codes from parent classes like what I WH have do so in PHP4 without aggregation. Right? No, the method implementations are inherited. Got it. Many thanks. So if I understand correctly this time, it will make no

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /win32 php4dllts.dsp

2003-06-26 Thread Sebastian Bergmann
Sascha Schumann wrote: I'm using libxml 2.5.7 from http://www.zlatkovic.com/projects/libxml/binaries.html I'm using the same and it works like before. Odd. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/

Re: [PHP-DEV] aggregation?

2003-06-26 Thread Wei He
On Fri, 27 Jun 2003, Sebastian Bergmann wrote: Wei He wrote: Espscially how MI can be replaced by using of interfaces http://csis.pace.edu/~bergin/patterns/multipleinheritance.html Thanks for the link. I just wonder how php5 will implement them. Or maybe I should ask in Zend Engine 2