Re: [PHP-DEV] PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5

2013-01-15 Thread Derick Rethans
On Mon, 14 Jan 2013, Christopher Jones wrote: On 01/14/2013 05:16 PM, Dennis Clarke wrote: This is a bug I think. I recently saw that PHP had been updated to 5.4.10 and I decided to update my php bits in /usr/local. I was quite surprised to see in the configure output this

Re: [PHP-DEV] FW: Functionality request/proposal

2013-01-15 Thread Steve Clay
On 1/14/13 9:53 PM, Paulo Henrique Torrens wrote: lots of code where people put it there, and I always get a little frustrated when using PHP because I'm used on adding it (without even noticing), and my code keeps failing Pay more attention and/or use an IDE that has templates and shows

Re: [PHP-DEV] PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5

2013-01-15 Thread Dennis Clarke
Unless you are hacking PHP you can ignore Bison. Check the Makefile Well, the configure output claims that something is wrong, therefore the build can not be trusted. I'm just following the defacto way to build PHP and if the configure output claims something is wrong .. then it is

Re: [PHP-DEV] PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5

2013-01-15 Thread Dennis Clarke
Of course, if 2.6.5 is verified than it should be added to bison_version_list in Zend/acinclude.m4. Feel free to regenerate the parsers with it, review the test suite results, and create a github pull request. Anything outside of release tarball won't be supported here. Sorry. However ...

Re: [PHP-DEV] strtr vs. str_replace runtime

2013-01-15 Thread Gustavo Lopes
On Mon, 14 Jan 2013 22:55:33 +0100, Gustavo Lopes glo...@nebm.ist.utl.pt wrote: OK, so now the plan is to merge this onto 5.4: https://github.com/cataphract/php-src/compare/php:PHP-5.4...cataphract:strtr_wu94_54 And this to 5.5:

[PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Dennis Clarke
/** For the sake of getting this issue looked into I am going to cross post * to two maillists. Maybe the PHP folks see the issue and will reply with an * update. Who knows. */ Original message to the bison mailist : Le 15 janv. 2013 à 00:19, Dennis Clarke dcla...@blastwave.org

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Rasmus Lerdorf
On 01/15/2013 05:03 PM, Dennis Clarke wrote: Really I would like to hear from the PHP folks on this as it seems as if PHP is quite fragile or perhaps simply mysterious. I don't think any of us test on Solaris regularly, so you can expect the odd test to fail, but in general it should build

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Dennis Clarke
On 01/15/2013 05:03 PM, Dennis Clarke wrote: Really I would like to hear from the PHP folks on this as it seems as if PHP is quite fragile or perhaps simply mysterious. I don't think any of us test on Solaris regularly, so you can expect the odd test to fail, but in general it

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Rasmus Lerdorf
On 01/15/2013 05:19 PM, Dennis Clarke wrote: I agree that Oracle has done the Solaris market no favours and were the result of the death of OpenSolaris however, having said all that, Solaris is a SUSv3 compliant commercial UNIX and thus one would think that open source code written to comply

Re: [PHP-DEV] New operator for htmlspecialchars

2013-01-15 Thread David Muir
On 16/01/13 08:22, Thomas Bley wrote: Hello, I created a small ticket to propose a shorter syntax for htmlspecialchars: old: ?= htmlspecialchars($str, ENT_QUOTES) ? new: ?+ $str ? or: ?~ $str ? any comments, pros and cons? https://bugs.php.net/bug.php?id=62574 Best regards, Thomas The

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Dennis Clarke
Those old Solaris servers are still out there churning away. Sure, but there are very few of you and we have limited resources. granted ... I get it. I do. I ran Blastwave for a decade on shoestring and prayer and kicked out several thousand SVR4 packages. I really do get it. We focus

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Kris Craig
We focus those resources on the platforms used by 95% of our users. Feel free to dig in and send us some patches. Needless to say, all of those tests pass on Linux, FreeBSD and likely OSX as well. I will try that theory out on RHEL 6.3 and let you know. PHP is hardly what I would call

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Johannes Schlüter
On Tue, 2013-01-15 at 17:19 -0500, Dennis Clarke wrote: I agree that Oracle has done the Solaris market no favours and were the result of the death of OpenSolaris however, having said all that, Solaris is a SUSv3 compliant commercial UNIX and thus one would think that open source code written

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Stas Malyshev
Hi! As for the odd test failing, I see this : That looks like a lot of failures in most basic scripts. I suspect there's some unifying problem to that - what are the .diff files for some of these failures, is there anything interesting in the PHP error log? -- Stanislav Malyshev, Software

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Dennis Clarke
We focus those resources on the platforms used by 95% of our users. Feel free to dig in and send us some patches. Needless to say, all of those tests pass on Linux, FreeBSD and likely OSX as well. I will try that theory out on RHEL 6.3 and let you know. PHP is hardly what I

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Dennis Clarke
Please mind that PHP is developed mostly on a volunteer basis and the work is focused on primarily used platforms. If you want to provide productive help we'd love having people going through those and provide fixes for overly specific tests and identifying broken PHP features. I have a slew

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Dennis Clarke
Hi! As for the odd test failing, I see this : That looks like a lot of failures in most basic scripts. I suspect there's some unifying problem to that - what are the .diff files for some of these failures, is there anything interesting in the PHP error log? I will try to wade

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Stas Malyshev
Hi! I will try to wade through the logs tomorrow. At the moment I am doing the same process on RHEL and seeing a bucket of failures also. RHEL shouldn't have failures in core, though some extension tests may fail (unfortunately, error messages change or library versions change can trip up

Re: [PHP-DEV] New operator for htmlspecialchars

2013-01-15 Thread Stas Malyshev
Hi! Hello, I created a small ticket to propose a shorter syntax for htmlspecialchars: old: ?= htmlspecialchars($str, ENT_QUOTES) ? Don't think operator can make sense here, since you can have different options, etc. depending on context. But you could do this if the above is too long for

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Rasmus Lerdorf
On 01/15/2013 09:07 PM, Dennis Clarke wrote: Number of tests : 12276 8329 Tests skipped : 3947 ( 32.2%) Tests warned:0 ( 0.0%) ( 0.0%) Tests failed:2 ( 0.0%) ( 0.0%) Expected fail : 36 ( 0.3%) ( 0.4%) Tests passed: 8291 ( 67.5%) ( 99.5%)

Re: [PHP-DEV] Re: A problem related to php 5.4.10 and possibly others

2013-01-15 Thread Christopher Jones
On 01/15/2013 06:18 PM, Stas Malyshev wrote: Hi! I will try to wade through the logs tomorrow. At the moment I am doing the same process on RHEL and seeing a bucket of failures also. This URL has some potential to help, since it will show common failures other people are seeing:

Re: [PHP-DEV] PHP 5.4.10 can not build Zend/PHP parsers with bison 2.6.5

2013-01-15 Thread Christopher Jones
On 01/15/2013 12:09 PM, Dennis Clarke wrote: Of course, if 2.6.5 is verified than it should be added to bison_version_list in Zend/acinclude.m4. Feel free to regenerate the parsers with it, review the test suite results, and create a github pull request. Anything outside of release