[PHP-DEV] Re: Bug #55661 [Opn]: mysqli/tests/bug54674.phpt failed when link against libmysql

2011-09-09 Thread Laruence
Hi: somebody of mysqli plz look at #55661, #55662 they are test failed , and a segfault when use mysqli linked against libmysql in Linux redhat(64bit) thanks 2011/9/10 PHP Bug Database : > Edit report at https://bugs.php.net/bug.php?id=55661&edit=1 > >  ID:                 55661 >  Updated

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Lester Caine
( Forgot the address ;) ) Alexey Shein wrote: Hello, Lester, I've managed to setup pdo_firebird, here's the process for the ubuntu if you're interested: Alexey ... I've got the pdo stuff working on SUSE, but there is something basic wrong with the way the pdo tests work. I have the first few p

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Lester Caine
Alexey Shein wrote: Tests run very slowly and mostly (if not all) fail. You will get something like this: Forgot to add - the failure is the connection finally timing out ... which is set to rather a long period :( -- Lester Caine - G8HFL - Contact - http://lsces.

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Alexey Shein
Hello, Lester, I've managed to setup pdo_firebird, here's the process for the ubuntu if you're interested: 1) setup firebird superclassic: $ sudo apt-get install firebird2.5-superclassic firebird2.5-dev firebird2.5-examples superclassic is the server itself, dev package contains headers to compile

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Lester Caine
Lester Caine wrote: I'll play with the 5.4 build at the moment, the tests are identical across all three branches anyway. OK I've posted a bug report https://bugs.php.net/bug.php?id=55659 - very painful process to get through and I'm sure I'll forget all the mistakes before my next post :(

Re: [PHP-DEV] [PATCH] Autoguessing TEST_PHP_EXECUTABLE if none is provided in run-tests.php

2011-09-09 Thread Alexey Shein
2011/9/9 Christopher Jones : > > > On 09/08/2011 05:07 AM, Alexey Shein wrote: >> >> Hello! >> I've made some improvements to run-tests.php: >> 1) Autoguessing TEST_PHP_EXECUTABLE and TEST_PHP_CGI_EXECUTABLE if >> they're not provided, i.e. assume they have value 'auto'. You can >> still pass your

Re: [PHP-DEV] [PATCH] Autoguessing TEST_PHP_EXECUTABLE if none is provided in run-tests.php

2011-09-09 Thread Christopher Jones
On 09/08/2011 05:07 AM, Alexey Shein wrote: Hello! I've made some improvements to run-tests.php: 1) Autoguessing TEST_PHP_EXECUTABLE and TEST_PHP_CGI_EXECUTABLE if they're not provided, i.e. assume they have value 'auto'. You can still pass your own value as usual. 2) Added option -n (use no ph

Re: [PHP-DEV] Revert Tokenizer behavior for 5.4

2011-09-09 Thread Nikita Popov
On Fri, Sep 9, 2011 at 10:46 AM, Nicolas Grekas wrote: > You can also just count the number of semantic token after T_HALT_COMPILER > (ie excluding whitespace and comments) and once you hit 3, halt. > [...] > Maybe the binary data itself, as a big T_INLINE_HTML for example ? In favor of both propo

Re: [PHP-DEV] APC in 5.4

2011-09-09 Thread Kalle Sommer Nielsen
Hi 2011/9/9 Stas Malyshev : > Not saying anything specifically about APC, I think it is way too late to > propose major features for 5.4 when we're days before beta. So if it's 5.4, > it's not 5.4.0 for sure. Well all in all I won't mind adding it in a "patch" release, much like we added the FPM

Re: [PHP-DEV] Running PDO tests ....

2011-09-09 Thread Alexey Shein
2011/9/9 Christopher Jones : > > > On 09/09/2011 10:02 AM, Lester Caine wrote: >> >> I'm not having much luck running the pdo_firebird tests ... >> >> I've got as far as building with >> ./configure --disable-all --with-interbase=/opt/fb25cs --enable-pdo >> --with-pdo-firebird=/opt/fb25cs --with-sq

Re: [PHP-DEV] Running PDO tests ....

2011-09-09 Thread Christopher Jones
On 09/09/2011 10:18 AM, Christopher Jones wrote: On 09/09/2011 10:02 AM, Lester Caine wrote: I'm not having much luck running the pdo_firebird tests ... I've got as far as building with ./configure --disable-all --with-interbase=/opt/fb25cs --enable-pdo --with-pdo-firebird=/opt/fb25cs --wi

Re: [PHP-DEV] Running PDO tests ....

2011-09-09 Thread Christopher Jones
On 09/09/2011 10:02 AM, Lester Caine wrote: I'm not having much luck running the pdo_firebird tests ... I've got as far as building with ./configure --disable-all --with-interbase=/opt/fb25cs --enable-pdo --with-pdo-firebird=/opt/fb25cs --with-sqlite3 --with-pdo-sqlite Having first tried JUST

Re: [PHP-DEV] Re: Are all HTTP headers registered in SERVER?

2011-09-09 Thread Pierre Joye
hi, On Fri, Sep 9, 2011 at 5:56 PM, Matthew Weier O'Phinney wrote: > On 2011-09-08, Karoly Negyesi wrote: >> It seems to be the case but this is not documented anywhere on >> php.net. Instead >> http://php.net/manual/en/function.apache-request-headers.php say "You >> can also get at the value of

[PHP-DEV] Running PDO tests ....

2011-09-09 Thread Lester Caine
I'm not having much luck running the pdo_firebird tests ... I've got as far as building with ./configure --disable-all --with-interbase=/opt/fb25cs --enable-pdo --with-pdo-firebird=/opt/fb25cs --with-sqlite3 --with-pdo-sqlite Having first tried JUST the pdo_firebird driver, but the test are sti

[PHP-DEV] Re: Are all HTTP headers registered in SERVER?

2011-09-09 Thread Matthew Weier O'Phinney
On 2011-09-08, Karoly Negyesi wrote: > It seems to be the case but this is not documented anywhere on > php.net. Instead > http://php.net/manual/en/function.apache-request-headers.php say "You > can also get at the value of the common CGI variables by reading them > from the environment". > > This

Re: [PHP-DEV] [VOTE] Weak References

2011-09-09 Thread Etienne Kneuss
Hi, On Fri, Sep 9, 2011 at 10:14, Nicolas Grekas wrote: > > I don't understand how the code you just gave would be useful in practice? >> > > Is that question for me ? If yes, which code are you talking about ? > > $pseudoWeakMap = array(); > $pseudoWeakMap[spl_object_**hash($obj)] = new WeakRef

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Ferenc Kovacs
On Fri, Sep 9, 2011 at 12:32 PM, Lester Caine wrote: > Alexey Shein wrote: >> >> Hello, Lester, try to start from scratch by running ./vcsclean first, >> often it helps to solve all cache issues from previous builds. > > No go ... > 'Can't figure out your VCS, not cleaning.' > the vcsclean script

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Lester Caine
Alexey Shein wrote: Hello, Lester, try to start from scratch by running ./vcsclean first, often it helps to solve all cache issues from previous builds. No go ... 'Can't figure out your VCS, not cleaning.' This is a clone from the hg.php.net mirror, so there should not be any SVN or other bui

Re: [PHP-DEV] Using source code ...

2011-09-09 Thread Alexey Shein
Hello, Lester, try to start from scratch by running ./vcsclean first, often it helps to solve all cache issues from previous builds. 2011/9/9 Lester Caine : > I probably need to roll back a bit further, but I already have the current > hg cone of php-src on the main repo here, so I've cloned a PHP

[PHP-DEV] Using source code ...

2011-09-09 Thread Lester Caine
I probably need to roll back a bit further, but I already have the current hg cone of php-src on the main repo here, so I've cloned a PHP5.3 and PHP5.4 from it to work on from my SUSE11.3 machine. This is a gash development machine so I can screw up the PHP to my harts content ;) Added autocon

Re: [PHP-DEV] Revert Tokenizer behavior for 5.4

2011-09-09 Thread Nicolas Grekas
Thank you Nikita for take this subject here! On Fri, Sep 9, 2011 at 10:01, Ferenc Kovacs wrote: > don't break there but for the next ';'. You can also just count the number of semantic token after T_HALT_COMPILER (ie excluding whitespace and comments) and once you hit 3, halt. less confusing

Re: [PHP-DEV] [VOTE] Weak References

2011-09-09 Thread Nicolas Grekas
> I don't understand how the code you just gave would be useful in practice? > Is that question for me ? If yes, which code are you talking about ? I've implemented a WeakMap class in the weakref pecl ext, see: > For ref: https://github.com/colder/php-weakref/blob/master/tests/weakmap_001.phpt

Re: [PHP-DEV] Revert Tokenizer behavior for 5.4

2011-09-09 Thread Ferenc Kovacs
On Fri, Sep 9, 2011 at 9:15 AM, Nikita Popov wrote: > In Bug #54089 [1] a patch was applied that cuts of token_get_all() > output after a T_HALT_COMPILER token. This was done because otherwise > PHP would keep on lexing after that and would generate errors because > of binary data (which is not va

[PHP-DEV] Revert Tokenizer behavior for 5.4

2011-09-09 Thread Nikita Popov
In Bug #54089 [1] a patch was applied that cuts of token_get_all() output after a T_HALT_COMPILER token. This was done because otherwise PHP would keep on lexing after that and would generate errors because of binary data (which is not valid PHP, mostly.) The problem with the patch is, that there