Re: [PHP-DEV] Re: PHP version and Zend API Number

2007-03-21 Thread Michael Wallner
Michael B Allen wrote: > The get_zend_version function returns a string like 'Zend Engine v1.3.0, > Copyright (c) 1998-2004 Zend Technologies\n'. It would be nice to be > able to get the ZEND_MODULE_API_NO (e.g. 20060613) the standard module > was compiled under. basic_function_module.zend_api mi

Re: [PHP-DEV] GSoC

2007-03-21 Thread Alexey Zakhlestin
you should look at ffmpeg and other multi-codec libraries (sdl?) On 3/21/07, Tijnema ! <[EMAIL PROTECTED]> wrote: On 3/21/07, Richard Lynch <[EMAIL PROTECTED]> wrote: > > I splice the ID3 tags onto the front of an MP3 stream in PHP on this > site: > > http://uncommonground.com/ > > The id3 libr

Re: [PHP-DEV] GSoC

2007-03-21 Thread Tijnema !
On 3/21/07, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote: you should look at ffmpeg and other multi-codec libraries (sdl?) ffmpeg is cool, and probably good for this, but I'm not sure what you want to do with SDL library. Tijnema On 3/21/07, Tijnema ! <[EMAIL PROTECTED]> wrote: > On 3/21/07,

Re: [PHP-DEV] GSoC

2007-03-21 Thread Antony Dovgal
On 03/21/2007 10:47 AM, Tijnema ! wrote: On 3/21/07, Richard Lynch <[EMAIL PROTECTED]> wrote: I splice the ID3 tags onto the front of an MP3 stream in PHP on this site: http://uncommonground.com/ The id3 library in PHP is quite good at this, but needs a maintainer... Well, it is a start, n

Re: [PHP-DEV] GSoC

2007-03-21 Thread Tijnema !
On 3/21/07, Antony Dovgal <[EMAIL PROTECTED]> wrote: On 03/21/2007 10:47 AM, Tijnema ! wrote: > On 3/21/07, Richard Lynch <[EMAIL PROTECTED]> wrote: >> >> I splice the ID3 tags onto the front of an MP3 stream in PHP on this >> site: >> >> http://uncommonground.com/ >> >> The id3 library in PHP is

Re: [PHP-DEV] GSoC

2007-03-21 Thread Antony Dovgal
On 03/21/2007 12:08 PM, Tijnema ! wrote: Like i said, video resizing might be useful for sites like youtube. I'm sure they don't do it each time the video is viewed. And what i'm trying to do with audio is more extending the limits of PHP. Ever wanted to become a web DJ? Nope. There is a

Re: [PHP-DEV] GSoC

2007-03-21 Thread Tijnema !
On 3/21/07, Antony Dovgal <[EMAIL PROTECTED]> wrote: On 03/21/2007 12:08 PM, Tijnema ! wrote: > Like i said, video resizing might be useful for sites like youtube. I'm sure they don't do it each time the video is viewed. Nope, they do it when uploading the video. > And what i'm trying to do

Re: [PHP-DEV] GSoC

2007-03-21 Thread Antony Dovgal
On 03/21/2007 12:26 PM, Tijnema ! wrote: That windows-only format? I've never seen anybody using it. Well, i got huge music collection out here, just checking my main dir with 3104 songs, it says 2674 MP3, 320 WMA and 110 other file formats. > Well, video files are just a set of frames, so if

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Lukas Kahwe Smith
Robin Ericsson wrote: On 3/21/07, Bankó Ádám <[EMAIL PROTECTED]> wrote: The project is existing, I'm doing it for about a year and a half, and SoC is way I can spend more time on it in the summer. If there is someone willing to something, and someone else is paying for it, let him do it. Why s

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Bankó Ádám
> I believe that PHP should have a bundled feature that can even support > OO approach for OO enthusiasts (like me) and also Structural. If not > bundled, support the project like Smarty, something like > http://orm.php.net > ... > I have to say that your idea is good enough to even be out of Googl

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Robin Ericsson
On 3/21/07, Bankó Ádám <[EMAIL PROTECTED]> wrote: The project is existing, I'm doing it for about a year and a half, and SoC is way I can spend more time on it in the summer. If there is someone willing to something, and someone else is paying for it, let him do it. Why should it bother whether

Re: [PHP-DEV] GSoC

2007-03-21 Thread Vlad Bosinceanu
You're talking about massive processing tasks here, which aren't really suited for PHP. The problem isn't just with clients waiting for a script to finish executing, but also with hammering the webservers. There's only so many MaxClients a webserver allows. It may be useful for CLI apps, but ke

Re: [PHP-DEV] GSoC

2007-03-21 Thread Antony Dovgal
On 03/21/2007 03:48 PM, Robert Cummings wrote: On Wed, 2007-03-21 at 11:57 +0300, Antony Dovgal wrote: I don't think anybody sane is doing audio encoding and video resizing in PHP. PHP is about interface, clients are not going to wait an hour or two for a page to load. I think this is a limi

Re: [PHP-DEV] GSoC

2007-03-21 Thread Richard Quadling
I agree. Because I can use 1 language to deal with web/cli/gui, I can create classes which can be used in all 3 environments (though I'm not GUI-ing at the moment). And from that single code base I can fix multiple applications instantly without the need to recompile hundreds of programs and libra

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Bankó Ádám
> Its a question of maintainability. Stuff like reverse engineering > schema's from a database is simply not sensible to be done by C code. It > requires a low barrier to entry, the ability to quickly fix things if > you encounter a newer or very old obscure RDBMS version etc. Doing database sc

Re: [PHP-DEV] GSoC

2007-03-21 Thread Robert Cummings
On Wed, 2007-03-21 at 16:09 +0300, Antony Dovgal wrote: > On 03/21/2007 03:48 PM, Robert Cummings wrote: > > On Wed, 2007-03-21 at 11:57 +0300, Antony Dovgal wrote: > >> > >> I don't think anybody sane is doing audio encoding and video resizing in > >> PHP. > >> PHP is about interface, clients are

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Lukas Kahwe Smith
Andrey Hristov wrote: Hi, Lukas Kahwe Smith wrote: Robin Ericsson wrote: On 3/21/07, Bankó Ádám <[EMAIL PROTECTED]> wrote: The project is existing, I'm doing it for about a year and a half, and SoC is way I can spend more time on it in the summer. If there is someone willing to something, an

Re: [PHP-DEV] GSoC

2007-03-21 Thread Antony Dovgal
On 03/21/2007 04:15 PM, Richard Quadling wrote: I agree. Because I can use 1 language to deal with web/cli/gui, I can create classes which can be used in all 3 environments (though I'm not GUI-ing at the moment). And from that single code base I can fix multiple applications instantly without the

Re: [PHP-DEV] GSoC

2007-03-21 Thread Robert Cummings
On Wed, 2007-03-21 at 11:57 +0300, Antony Dovgal wrote: > > I don't think anybody sane is doing audio encoding and video resizing in PHP. > PHP is about interface, clients are not going to wait an hour or two for a > page to load. I think this is a limitation in your grasp of where and why PHP is

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Andrey Hristov
Hi, Lukas Kahwe Smith wrote: > Robin Ericsson wrote: >> On 3/21/07, Bankó Ádám <[EMAIL PROTECTED]> wrote: >>> The project is existing, I'm doing it for about a year and a half, and >>> SoC is way I can spend more time on it in the summer. >> >> If there is someone willing to something, and someone

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Andrey Hristov
Hi, Bankó Ádám wrote: >> Then make a mix of PHP and C code. C call call PHP userland, so it >> shouldn't be a problem. > > I don't want to write a full ORM, only a common base, that others can > extend .. for example with INI/XML file configuration, schema auto > discovery etc. > >> And as I see

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Bankó Ádám
> you can do the same with XP too. As in PHP so in C you will have to > establish a common ground on which the further development will stand > on. Then part by part implement in PHP and port to C. Having tests will > help a lot. Maybe you are right, but I don't like the idea of doing everything t

Re: [PHP-DEV] GSoC

2007-03-21 Thread Tijnema !
On 3/21/07, Antony Dovgal <[EMAIL PROTECTED]> wrote: On 03/21/2007 03:48 PM, Robert Cummings wrote: > On Wed, 2007-03-21 at 11:57 +0300, Antony Dovgal wrote: >> >> I don't think anybody sane is doing audio encoding and video resizing in PHP. >> PHP is about interface, clients are not going to wai

[PHP-DEV] Re: google SoC - dbobj

2007-03-21 Thread Bankó Ádám
Hi! I've created a draft of what would be the Abstract of my application. Please review it, if I'm mistaken in something or left out an important point. This will be the public part of the application. There will be a more detailed description, but it will be visible only to mentors. BEGIN Crea

[PHP-DEV] Re: google SoC - dbobj

2007-03-21 Thread Bankó Ádám
Hi! I've created a draft of what would be the Abstract of my application. Please review it, if I'm mistaken in something or left out an important point. This will be the public part of the application. There will be a more detailed description, but it will be visible only to mentors. BEGIN Crea

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Jacob Santos
Developing the extension like SPL would allow for very quick development and maintainability for the extension. It is extremely easy to have interfaces, exceptions, and in some cases abstract classes written in C and easily updated when changes, if any, are made. I was able to translate a grea

Re: [PHP-DEV] PATCH: anonymous functions in PHP

2007-03-21 Thread Jacob Santos
So does this mean that the patch would be included even in its somewhat broken state? Just don't allow it in loops or warn when it is or access to outside scope variables. I need to get VLD working on Windows to see what the fuss is all about. I thought everything is compiled to oplines, if th

Re: [PHP-DEV] google SoC - dbobj

2007-03-21 Thread Bankó Ádám
> I do think it would be easier to come up with a standard for the project, if > perhaps Banko didn't spend a whole year and a half on it. I do hope that the > mailing list sorts out which features should be in the PHP extension to allow > for interoperability between the ORM PHP libraries. It w

[PHP-DEV] php6CVS cannot be compiled

2007-03-21 Thread paul sohier
Trying to compile php6 with next configure line: ../configure \ --with-curl \ --enable-fastcgi \ --with-mysql \ --without-mysqli \ --with-mbstring \ --enable-force-cgi-redirect \ --with-xpm \ --with-jpeg \ --with-png \ --with-zlib \ --with-tiff \ --with-zip \ --with-gd \ --with-ttf \ --with-freety

Re: [PHP-DEV] php6CVS cannot be compiled

2007-03-21 Thread Antony Dovgal
On 03/21/2007 07:30 PM, paul sohier wrote: /root/php/cvs/php6/ext/standard/basic_functions.c:45:34: error: zend_language_parser.h: No such file or directory make: *** [ext/standard/basic_functions.lo] Error 1 You need to install flex 2.5.4. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtim

Re: [PHP-DEV] PATCH: anonymous functions in PHP

2007-03-21 Thread Stanislav Malyshev
Err, Pseudo-oplines, but since I don't exactly know anything about PHP opcodes, I'm just pulling this stuff out of my ass. CREATE_FUNCTION test CREATE_FUNCTION zend_anon_0 RET_VAL 0 END_FUNCTION END_FUNCTION CALL 'test' ASSIGN $0, $valuefunction It looks like you misunderstand how the en

Re: [PHP-DEV] Re: google SoC - dbobj

2007-03-21 Thread Alan Knowles
Sounds interesting.. - You may want to reference these on your docs: http://pecl.php.net/package/DBDO http://www.akbkhome.com/wiki.php/DBDO/index.html http://www.akbkhome.com/svn/dbdo/ http://www.akbkhome.com/svn/dbdo_pdo/ While the project is pretty dead now, the API was pretty fully worked o

[PHP-DEV] Bug # 33500 | imap auth fails when server advertises gssapi

2007-03-21 Thread Back Ports
Hi all, Is there any progress on the following bug report: http://bugs.php.net/bug.php?id=33500&thanks=6 It was reported quite a while ago -- I also saw a relevant post on the mit kerberos mailing list where discussed patches fixed the issue, however, they appear impossible to track down. http