Re: [PHP-DEV] CVS Account Request: xinjia

2008-04-15 Thread Hannes Magnusson
On Tue, Apr 15, 2008 at 4:49 AM, Xin Jia [EMAIL PROTECTED] wrote: contribute to the PHP documentation and translate the documentation Into which language? Have you contacted the translation team and/or submitted patches? Usually we want new contributors to send in few patches to show their

Re: [PHP-DEV] Return type hints

2008-04-15 Thread Arvids Godjuks
Thouse who are asking about type hinting for function args are right. It is logical to implement return type hinting with arg type hinting. They should work either independantly (you can specify any on them or all together) or if you declare return type - declare arg types too (then we should have

Re: [PHP-DEV] CVS Account Request: ant

2008-04-15 Thread Marcus Boerger
Hello Ant, please provide patches containing tests which we can review first. You can 'cvs di -u' to get patches with you modified files. For new files you can either add them to cvs once you have access by 'cvs di -N' or adding dummy lines to the CVS/Entries files before you get access. For

Re: [PHP-DEV] CVS Account Request

2008-04-15 Thread Marcus Boerger
Hello Tatsuo, first of all thanks for offering to help! the usual way is to provide a few patches. You can check http://bugs.php.net for open bugs in your area. When we like the patches we'll apply them and give you an account. marcus Monday, April 14, 2008, 1:21:47 PM, you wrote:

Re: [PHP-DEV] CVS Account Request: ant

2008-04-15 Thread Pierre Joye
Hi Ant, On Mon, Apr 14, 2008 at 4:02 PM, Ant Phillips [EMAIL PROTECTED] wrote: Writing PHPT test cases for various extensions and the core language. The idea is to centralize the posts in a single location, get them reviewed and then commited. See the php-festtest-web discussion on php-qa.

[PHP-DEV] Re: CVS Account Request: ant

2008-04-15 Thread Ant Phillips
Hi Marcus/Pierre, Yes I've put together a bunch of tests for the session extension and have posted to the QA mailing list with the zip download details. There are quite a few tests (a little over 110 at last count) tested against the latest php 5.2, 5.3 and 6.0 snaps (and on Windows/Linux).

Re: [PHP-DEV] Return type hints

2008-04-15 Thread Arvids Godjuks
Christian Schneider We have 2 possibilities. * Throw an error * Make type conversion What to select is PHP developers team prerogative. About example - that's MySQL who is very tollerant, other databases may not threat well things like passing an ID to numeric field as string. That's bad style

Re: [PHP-DEV] Return type hints

2008-04-15 Thread Felipe Pena
Em Ter, 2008-04-15 às 01:05 -0400, Sam Barrow escreveu: If somebody does have a patch for this or is working on one let me know. Whether this will be implemented or not I would like to assist with this patch so I can use it for personal use at the very least. I already made two separated

[PHP-DEV] Re: macos-x, php-5.3, configure.in, problem with sed

2008-04-15 Thread Alexey Zakhlestin
bumping up this one is still not applied in 5.3 On 3/31/08, Alexey Zakhlestin [EMAIL PROTECTED] wrote: There is a patch by gwynne, which introduces platform-specific hack for darwin/macos-x.

[PHP-DEV] calling a script function via call_user_function

2008-04-15 Thread Marshall Greenblatt
Hi All, I'm building an embedded application that uses PHP scripting for internal data processing. It behaves as follows: 1. Provide arbitrary application-specified input parameters. 2. Execute a PHP script that manipulates those input parameters. 3. Retrieve the resulting return value. I've

[PHP-DEV] Re: calling a script function via call_user_function

2008-04-15 Thread Marshall Greenblatt
Hi All, A correction to my earlier email. On Tue, Apr 15, 2008 at 11:37 AM, Marshall Greenblatt [EMAIL PROTECTED] wrote: Approach B: Execute a PHP script and retrieve the return value without calling a particular PHP function. On the PHP side: return strtoupper( $GLOBAL_VARIABLE );

Re: [PHP-DEV] Return type hints

2008-04-15 Thread Stanislav Malyshev
I already made two separated patches for param. and return value type hints. I'll create a new thread and start discussion ASAP. Why not put it to the wiki? -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP

[PHP-DEV] iconv_mime_encode(), broken Q scheme

2008-04-15 Thread James Dempster
iconv_mime_encode seems a bit broken for Q scheme, see http://bugs.php.net/bug.php?id=43314 Could some one please apply the patch to CVS trunk. I've tested and it seems to work. Thanks -- /James