Re: [PHP-DEV] GOTO operator

2004-08-01 Thread Zeev Suraski
At 15:45 31/07/2004, Derick Rethans wrote: Exceptions are an OO thing, and it makes NO sense to use them in procedural code. Goto is a good thing here. Can you explain why it makes no sense to use them in procedural code? It makes perfect sense for me, and they render 100.0% of the examples

Re: [PHP-DEV] PHP 5.0.1

2004-08-01 Thread Edin Kadribasic
I saw Dmitry commit several fixes to SOAP extension but I didn't see them merged. Maybe they should be. Edin - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 01, 2004 2:43 AM Subject: [PHP-DEV] PHP 5.0.1 As I mentioned about a week

[PHP-DEV] Request: Support for a memory_limit exploit paper needed

2004-08-01 Thread Stefan Esser
Hi, I know that this is maybe a little bit off-topic, but I assume that most people on this list are used to compile PHP just for testing purposes. I am currently planning to write a paper about the memory_limit security bug that was announced last month. Actually the paper will explain in

[PHP-DEV] implementation of islamic (hijri) calendar for Calendar extension

2004-08-01 Thread mostapha31
Hi these is my contribution to implement islamic (hijri) calendar. Waiting for your suggestions. diff -N -u -r source/php-4.3.8/ext/calendar/calendar.c compiled/php-4.3.8/ext/calendar/calendar.c --- source/php-4.3.8/ext/calendar/calendar.c2003-08-28 21:01:24.0 +0100 +++

Re: [PHP-DEV] PHP 5.0.1

2004-08-01 Thread Andi Gutmans
Good call. Will wait for Dmitry to respond. At 12:38 PM 8/1/2004 +0200, Edin Kadribasic wrote: I saw Dmitry commit several fixes to SOAP extension but I didn't see them merged. Maybe they should be. Edin - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP-DEV] Re: implementation of islamic (hijri) calendar for Calendar extension

2004-08-01 Thread Sara Golemon
these is my contribution to implement islamic (hijri) calendar. Waiting for your suggestions. Without knowing the internals of the hijri calender here are a few generic suggestions: 1) Consider using zend_parse_parameters rather than zend_get_parameters, it'll help furture readability. 2)

Re: [PHP-DEV] GOTO operator

2004-08-01 Thread David Chen
Michael Walter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Another possibility, possibly more concise, would be to introduce a scoped keyword (or similar) in the spirit of global: scoped $foo; might make $foo's destructor be called at the end of the current scope (whether

[PHP-DEV] get_defined_constants()

2004-08-01 Thread Nathan
Dear List, i was using the get_defined_constants function the first time today and sadly for me i read in the man-pages that it displays _all_ defined constants. Wouldn't it make sense to implement a function like get_user_defined_constants which would only display those constants define()ed

[PHP-DEV] Re: implementation of islamic (hijri) calendar for Calendar extension

2004-08-01 Thread Mehdi Achour
6) How is Hijri pronounced? Is the j hard like english-Jump, soft like spanish-Juego, or silent? Just curious on that one... It's like the g in edge. It comes from El Hijra, the exodus of Muhamed the Islamic prophet :) didou -- PHP Internals - PHP Runtime Development Mailing List To

RE: [PHP-DEV] PHP 5.0.1

2004-08-01 Thread David Kingma
He's on holiday, so it might take some time. But please wait with the release until the fixes are merged. David -Original Message- From: Andi Gutmans [mailto:[EMAIL PROTECTED] Sent: Sunday, August 01, 2004 6:41 PM To: Edin Kadribasic; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:

RE: [PHP-DEV] PHP 5.0.1

2004-08-01 Thread Zeev Suraski
At 22:37 01/08/2004, David Kingma wrote: He's on holiday, so it might take some time. He should be back from his vacation tomorrow... Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] GOTO operator

2004-08-01 Thread Cris H
--- Sterling Hughes [EMAIL PROTECTED] wrote: also, when you start quoting djikstra in a php context, you've lost. goto is fine, fight the power! s/quoting djikstra/mentioning state machines/ also s/quoting djikstra/agonising about the algorithmic efficiency of goto versus switch/ Not

[PHP-DEV] Lamenting PHP's streaming support...

2004-08-01 Thread jtl_phpdotnet
Hi everyone, I'm trying to write some serious parsing applications in PHP. I find myself frequently lamenting the 4GL-like support for buffered streams. I'd rather a full fledged streaming API with stream handles (or objects) like you get in mature 3GL languages like C and Java. I'm making

Re: [PHP-DEV] Lamenting PHP's streaming support...

2004-08-01 Thread Sterling Hughes
php-general@ can answer your question... -sterling On Sun, 01 Aug 2004 16:28:18 -0400, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi everyone, I'm trying to write some serious parsing applications in PHP. I find myself frequently lamenting the 4GL-like support for buffered streams. I'd

Re: [PHP-DEV] Request: Support for a memory_limit exploit paper needed

2004-08-01 Thread Marcus Boerger
Hello Stefan, basically you want to explain everybody how to use those millions of unpatched servers. marcus Sunday, August 1, 2004, 2:33:04 PM, you wrote: Hi, I know that this is maybe a little bit off-topic, but I assume that most people on this list are used to compile PHP just for

Re: [PHP-DEV] Request: Support for a memory_limit exploit paper needed

2004-08-01 Thread Moriyoshi Koizumi
Hi, The package includes a description how the test works. It basicly consists of compiling PHP on your normal platform: f.e. OpenBSD Apache2 CGI. You should just add --enable-memory-limit to your standard configure line and turn register_globals on. The rest is all explained in the package.

Re: [PHP-DEV] GOTO operator

2004-08-01 Thread Alan Knowles
if you have a look at a parser generated for PHP (eg. this - quite large file) http://cvs.php.net/co.php/pear/HTML_Template_Flexy/Flexy/Tokenizer.php?r=1.51 The original Java/C# stuff does switch/case, In PHP due to the fact you have to evaluate each switch, it used to be quite slow, I ended up

RE: [PHP-DEV] PHP 5.0.1

2004-08-01 Thread Andi Gutmans
Yep will do. Dmitry should be back tomorrow. At 09:37 PM 8/1/2004 +0200, David Kingma wrote: He's on holiday, so it might take some time. But please wait with the release until the fixes are merged. David -Original Message- From: Andi Gutmans [mailto:[EMAIL PROTECTED] Sent: Sunday, August

[PHP-DEV] list abuse

2004-08-01 Thread Paul G
folks, would someone with ml admin privs take a look and, if present, remove an @tgpwizards.com e-mail address subscription? the user has apparently put a sender confirmation script in place that bombards me (and i'm sure others as well) with confirmation requests. needless to say, it gets