Re: [PHP-DEV] Tokyo/Kyoto Cabinet in 5.4

2012-04-08 Thread Geoffrey Sneddon
On 30/09/11 12:37, Hannes Magnusson wrote: Tokyo Cabinet support was added to ext/dba "recently".. but Tokyo Cabinet is about to die these days, and getting replaced with Kyoto Cabinet. Shouldn't we drop tokyo cabinet support, before we ever make a stable release with it, so we don't have to main

[PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/trunk/ext/standard/ basic_functions.c basic_functions.h html.c html.h html_tables/ents_basic.txt html_tables/ents_basic_apos.txt html_tables/ents_html401.txt

2010-10-26 Thread Geoffrey Sneddon
On 24/10/10 16:01, Gustavo André dos Santos Lopes wrote: cataphract Sun, 24 Oct 2010 15:01:02 + Revision: http://svn.php.net/viewvc?view=revision&revision=304705 Log: > […] - For html_entity_decode(), only valid numerical and named entities (as defined abo

Re: [PHP-DEV] PHP 6

2010-03-17 Thread Geoffrey Sneddon
r it is the right solution. The fact that PHP is deployed as it is, often in shared hosting setups, should very much be a reason to be concerned for backwards compatibility. A browser would get almost no marketshare if it broke a large percentage of existing websites; I believe the s

Re: [PHP-DEV] Tests repository

2010-03-17 Thread Geoffrey Sneddon
On 12 Mar 2010, at 12:37, Jani Taskinen wrote: On 03/12/2010 12:29 PM, Hannes Magnusson wrote: On Fri, Mar 12, 2010 at 11:18, Jani Taskinen wrote: Having tests in multiple branches is PITA. Hasn't anyone considered that the best way would be to move all tests into their own repository (di

Re: [PHP-DEV] Tests repository

2010-03-17 Thread Geoffrey Sneddon
of knowing what behaviour is expected. I'm certainly willing to help spec out more of PHP to the extent necessary to be able to decently test it, if there is interest in doing so. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Tests repository

2010-03-17 Thread Geoffrey Sneddon
wn in cases, and those tests we should be able to change at will. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Make DOMDocument::saveHTML have the same first argument as saveXML (with patch!)

2010-03-05 Thread Geoffrey Sneddon
Hey, I posted almost a month ago, with a patch (also attached here). It'd be nice to get this fixed, as it makes it possible to make what I'm currently working on for SimplePie 2 significantly quicker. HTH, Geoffrey -- PHP Internals - PHP Runtime Devel

Re: [PHP-DEV] Type hinting - Request for Discussion

2009-07-09 Thread Geoffrey Sneddon
On 9 Jul 2009, at 18:20, Lukas Kahwe Smith wrote: On 09.07.2009, at 10:39, Paul Biggar wrote: I think we can take Lukas's RFC and either change it or write something based on it for weak typing only. If people here find it useful I'll go ahead and do that. I believe people don't want

Re: [PHP-DEV] Type hinting/casting request for vote

2009-07-08 Thread Geoffrey Sneddon
On 7 Jul 2009, at 02:52, Ilia Alshanetsky wrote: I would like to ask all developers to voice their opinions of whether it makes sense to add this to 5.3 or to throw it away (either one is fine btw). To keep the process simple & flamewar free, please restrict yourself to +/- (1/0), next wee

Re: [PHP-DEV] RFC: Type hinting revisited for PHP 5.3

2009-07-01 Thread Geoffrey Sneddon
sistent with what internal functions that use zend_parse_parameters do. I don't want PHP to become any more inconsistent with itself than it already is. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] array_key_exists BC break

2008-11-05 Thread Geoffrey Sneddon
think we may leave it alone for this alpha but try to resolve it for 5.3 release. If it isn't fixed it ought to be a documented as a BC break, seeming it does break real apps. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] 'Sanity' tally to date

2008-10-16 Thread Geoffrey Sneddon
On 16 Oct 2008, at 16:14, Steph Fox wrote: Please can those people who didn't already express a clear and relevant opinion, express it now? Issue A: #1. Issue B: Yes. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] namespaces and alpha3

2008-10-15 Thread Geoffrey Sneddon
On 15 Oct 2008, at 09:04, Derick Rethans wrote: However, a third one might be to use a syntax separator that we've not seen at all yet (I'd say ':::'). FWIW, this is my +0.5 (with +1 being dropping). I'm absolutely against reusing a selector for this.

Re: [PHP-DEV] namespaces and alpha3

2008-10-10 Thread Geoffrey Sneddon
unless we totally break BC. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Include/require into namespace

2008-07-15 Thread Geoffrey Sneddon
b.php: Expected output: Hello, world! Wow! This is in a namespace both here and there! -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Change var_dump back?

2008-05-25 Thread Geoffrey Sneddon
output to show 'binary' which it is now? I'd say that var_dump("foo") should give 'unicode(3) "foo"' and var_dump(b"foo") should give 'binary(3) "foo"'. I see no reason not to give the explicit type — why would

[PHP-DEV] PHP 6, backwards compatibility, and unicode.semantics

2008-05-05 Thread Geoffrey Sneddon
ome special cases regardless of the default, such as chr() — we need a way to have both binary and Unicode chr() functions (else we end up doing hell for Unicode, and something like unicode_encode(chr(42), 'UTF-8') (this matches the behaviour of chr() on the GNU userland

Re: [PHP-DEV] [PATCH] Bug 43477 - Unicode error mode ignored

2008-03-21 Thread Geoffrey Sneddon
patch. Also, the bug should be closed. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Bug 43477 - Unicode error mode ignored

2008-03-18 Thread Geoffrey Sneddon
arate (due to no attempt to even add anything after coming across an invalid sequence — though the speed gains will be very slight). -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Bug 43477 - Unicode error mode ignored

2008-03-18 Thread Geoffrey Sneddon
that don't stop on error. This is broken. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFC: Traits for PHP

2008-02-20 Thread Geoffrey Sneddon
On 20 Feb 2008, at 20:28, Lars Strojny wrote: Am Mittwoch, den 20.02.2008, 20:14 + schrieb Geoffrey Sneddon: [...] Is there any reason why we cannot support multiple inheritance (which some other languages already do)? The only thing that needs to be clearly defined is sorting order. This

Re: [PHP-DEV] RFC: Traits for PHP

2008-02-20 Thread Geoffrey Sneddon
some entirely new functionality to do something where we can simply extend what we already do. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision

2008-02-06 Thread Geoffrey Sneddon
On 5 Feb 2008, at 20:23, Pierre Joye wrote: There is not really a need to discuss the removal again, that's why I ask for a simple vote: +1 -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-23 Thread Geoffrey Sneddon
ture implementations than we will. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-21 Thread Geoffrey Sneddon
rather it did so far more sweepingly, without options to give the allusion of it being compatible with previous versions. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] nowdocs again

2008-01-21 Thread Geoffrey Sneddon
my comment. Disclaimer: I haven't read the old thread, but I prefer <<<~. Any objections to this? No. +1 from me. Nor from me, +1. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP

2008-01-21 Thread Geoffrey Sneddon
s for them. Not everything people deal with in PHP is a textual string. -- Geoffrey Sneddon <http://gsnedders.com/> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Square brackets shortcut

2008-01-11 Thread Geoffrey Sneddon
alias, not a replacement. The older array() syntax will still be in place, if I've understood the earlier posts correctly. Maybe I did not express myself well enough: this introduces a new syntax for something that isn't broken that doesn't work on existing PHP versions.

Re: [PHP-DEV] [RFC] Square brackets shortcut

2008-01-11 Thread Geoffrey Sneddon
5.3dev-080109-sbar2.patch ) e.g. $a = [1, 2, 3]; $b = ['foo' => 'orange', 'bar' => 'apple', 'baz' => 'lemon']; Breaks backwards compatibility to save typing five characters. See above. -1. c) Reject and keep using `