Re: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-13 Thread Derick Rethans
On Wed, 11 Jul 2007, David Wang wrote: > On the Graph test, maximum memory usage with unmodified PHP was 133.9 > MB with an execution time of 8 seconds. > On the Graph test, maximum memory usage with gc was 51.6 MB with an > execution time of 9 seconds. > On the Template test, maxmium memory usage

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-13 Thread Derick Rethans
On Wed, 11 Jul 2007, Richard Quadling wrote: > On 11/07/07, Evert | Rooftop <[EMAIL PROTECTED]> wrote: > > Larry Garfield wrote: > > > > > > Top 10 by what metric? If I had to guess based on market share, I'd say > > > (unordered): > > > > > > Drupal > > > Squirrelmail > > > WordPress > > > phpMy

[PHP-DEV] Memory streams

2007-07-13 Thread Adrian Drumea
Hello, I'm new to this list, so I aplogize if this is not the place to post this message. I was using today the getimagesize() function which takes a file name. I was trying to take the size of an image decoded using base64_decode from a string. So I have my decoded data in $data. Now to apply

Re: [PHP-DEV] Memory streams

2007-07-13 Thread Derick Rethans
On Fri, 13 Jul 2007, Adrian Drumea wrote: > I'm new to this list, so I aplogize if this is not the place to > post this message. It fits the php-general list better perhaps. > In this way, all functions requiring a file could be used on a memory > buffer. You mean like this: http://no.php.net

Re: [PHP-DEV] RIP PHP 4?

2007-07-13 Thread Jani Taskinen
Do that on some other list please. --Jani On Fri, 2007-07-13 at 12:44 +0200, Marco wrote: > Hi All > > Now the announcement is on php.net should we start looking for volunteers to > help increase the amount of knowledge available for developers looking at > upgrading their code to PHP 5? Should

Re: [PHP-DEV] RIP PHP 4?

2007-07-13 Thread Marco
Hi All Now the announcement is on php.net should we start looking for volunteers to help increase the amount of knowledge available for developers looking at upgrading their code to PHP 5? Should I start a new thread to look for volunteers? I for one am happy to help write some documentation in a

Re: [PHP-DEV] Apache handler with Multiple PHP versions

2007-07-13 Thread Gaetano Giunta
On 7/12/07, chris# <[EMAIL PROTECTED]> wrote: On Thu, 12 Jul 2007 11:38:44 +0200, Tijnema <[EMAIL PROTECTED]> wrote: > Hello Richard, > > On 7/12/07, Richard Lynch <[EMAIL PROTECTED]> wrote: >> On Wed, July 11, 2007 6:13 pm, Tijnema wrote: >> > On 7/12/07, Jani Taskinen <[EMAIL PROTECTED]> wro

Re: [PHP-DEV] Re: SNAPS+SNAPSPecl different to Pecl4Win

2007-07-13 Thread Richard Quadling
On 12/07/07, Gaetano Giunta <[EMAIL PROTECTED]> wrote: I think I finally have something demoable, regarding the possibility of extending pecl4win to offer compiled dlls of the released version pf pecl packages, besides the compiled cvs version. The build process is almost ok: + two separate buil

Re: [PHP-DEV] RIP PHP 4?

2007-07-13 Thread Sebastian Mendel
chris# wrote: > Sebastian Mendel <[EMAIL PROTECTED]> wrote: >> chris# wrote: >>> I think that same analogy applies to both versions of PHP - one version >>> is >>> more suitable for one thing (your choice(s) here), and vise-a-versa. Or; >>> while PHP5 allows you to manifest functionality, PHP4 allo

Re: [PHP-DEV] RIP PHP 4?

2007-07-13 Thread chris#
On Fri, 13 Jul 2007 11:43:57 +0200, Sebastian Mendel <[EMAIL PROTECTED]> wrote: > chris# wrote: >> Sebastian Mendel <[EMAIL PROTECTED]> wrote: >>> chris# wrote: I think that same analogy applies to both versions of PHP - one > version is more suitable for one thing (your choice(s)

Re: [PHP-DEV] Memory streams

2007-07-13 Thread Frode E. Moe
On Fri, Jul 13, 2007 at 16:02:40 +0300, Adrian Drumea wrote: > Hello, > > I'm new to this list, so I aplogize if this is not the place to > post this message. > > I was using today the getimagesize() function which takes a file > name. I was trying to take the size of an image decoded using > b

Re: [PHP-DEV] Mid-term Update for Cycle Collector (Google Summer of Code Project)

2007-07-13 Thread Stanislav Malyshev
I haven't heard of that before... Is it some sort of compiler optimization setting? Could you recommend to me some reference that would describe how this can be done? It might help a lot. http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html look for __builtin_expect. See also EXPECTED and UNEXP

[PHP-DEV] PHP ICU project announcement

2007-07-13 Thread Stanislav Malyshev
Hi all! We have started a project to make it easier to support international markets using PHP. A number of internationalization functions from IBM ICU will be made available in PHP as an extension. This project targets both PHP 5 and PHP 6. The goal is to support the most useful i18n servic

[PHP-DEV] PHP6 & Native SQLite3

2007-07-13 Thread Anton C. Swartz IV
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.2/894 - Release Date: 7/10/2007 5:44 PM -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RIP PHP 4?

2007-07-13 Thread Anton C. Swartz IV
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.2/894 - Release Date: 7/10/2007 5:44 PM -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] Converting accesses to refcount and is_ref to macros

2007-07-13 Thread David Wang
This patch is a simple, albeit widespread change that converts access to zval.refcount, zval.is_ref, _object_store.refcount to macros. There is no functional change to the code, but this will make it easier to implement a garbage collector in the future. This patch was too large to attach to the

[PHP-DEV] __call_static() Magic Method

2007-07-13 Thread Sara Golemon
Attached is a patch which exports an internals hook in zend_class_entry for fetching function pointers similar to the object hook get_method() available to instance methods. This patch also exports a userspace hook __call_static() which operates in the fashion of the current __call() magic met

Re: [PHP-DEV] PHP ICU project announcement

2007-07-13 Thread Richard Lynch
On Fri, July 13, 2007 2:35 pm, Stanislav Malyshev wrote: > We have started a project to make it easier to support international > markets using PHP. A number of internationalization functions from IBM > ICU will be made available in PHP as an extension. I realize that my natural state is the state

Re: [PHP-DEV] PHP ICU project announcement

2007-07-13 Thread Stanislav Malyshev
So now there's going to be a PHP-ICU extension for PHP 5 and PHP 6, and PHP 6 will have ICU built-in to such an extent that it's backwards compatible with PHP 5? Both extensions would be (are being) written in such a way that code that worked on PHP 5 would work on PHP 6, with regard to the ext

Re: [PHP-DEV] FW: Simple Namespace Proposal

2007-07-13 Thread Markus Fischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, as only being a general lurker on this list, I remmeber when Namespaces came up the first time, there were some technical problems (or just syntactical sugar ones?) with the "::" operator also being used as a namespace separate additional being a

Re: [PHP-DEV] FW: Simple Namespace Proposal

2007-07-13 Thread Markus Fischer
Hi, as only being a general lurker on this list, I remember when Namespaces came up the first time, there were some technical problems (or just syntactical sugar ones?) with the "::" operator also being used as a Namespace separate additional being a class separator. How has this been handled or

Re: [PHP-DEV] [PATCH] Converting accesses to refcount and is_ref to macros

2007-07-13 Thread Jani Taskinen
David Wang kirjoitti: This patch is a simple, albeit widespread change that converts access to zval.refcount, zval.is_ref, _object_store.refcount to macros. There is no functional change to the code, but this will make it easier to implement a garbage collector in the future. Was there some par

Re: [PHP-DEV] __call_static() Magic Method

2007-07-13 Thread Jani Taskinen
Sara Golemon kirjoitti: Attached is a patch which exports an internals hook in zend_class_entry for fetching function pointers similar to the object hook get_method() available to instance methods. This patch also exports a userspace hook __call_static() which operates in the fashion of the c

Re: [PHP-DEV] PHP ICU project announcement

2007-07-13 Thread Larry Garfield
On Saturday 14 July 2007, Stanislav Malyshev wrote: > > So now there's going to be a PHP-ICU extension for PHP 5 and PHP 6, > > and PHP 6 will have ICU built-in to such an extent that it's backwards > > compatible with PHP 5? > > Both extensions would be (are being) written in such a way that code

Re: [PHP-DEV] __call_static() Magic Method

2007-07-13 Thread Sebastian Bergmann
Jani Taskinen schrieb: > As long as you MFH, I don't mind. Yeah, I would love to have this in PHP_5_2, too. :) -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 -- PHP Internals - PHP Runtime

[PHP-DEV] PHP Source Code Help

2007-07-13 Thread Usman S. Ansari
I am trying to debug my custom TCP stack which is running under Linux OS. Do to some bug in my stack or missing feature I am getting error following from php. failed to open stream Which I have traced to file: php-4.4.7/main/streams.c and function: _php_stream_open_wrapper_ex stream