Re: [PHP-DEV] Syntax error

2001-09-10 Thread Walter Franzini
Alexander Wagner <[EMAIL PROTECTED]> writes: > Zeev Suraski wrote: > > >for ($sz=1; $sz < 6; sz++) { >> >> You're missing a $ on the last sz in this line > > He knows that. He want a better error-message. :-) Yes, and I'm offering my help if

[PHP-DEV] Syntax error

2001-09-10 Thread Walter Franzini
but for a very different reason: "a very " . "long string", 'c' => 'C' ); } ?> How can I help improving messages reported for syntax errors? Ciao -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Ital

Re: [PHP-DEV] [TOPIC CHANGE] OBDC SQLColumns patch...

2001-08-29 Thread Walter Franzini
lid? SOLID Embedded Engine - v.03.00.0051 (Linux ix86 MT) Ciao -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Italy -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-29 Thread Walter Franzini
Zeev Suraski <[EMAIL PROTECTED]> writes: > At 14:57 29-08-01, Walter Franzini wrote: > > From the extension (the user of kernel services) pov I must disagree. >>But obviusly I'missing something :-) > > I don't see why there's a difference. Maybe

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-29 Thread Walter Franzini
Zeev Suraski <[EMAIL PROTECTED]> writes: > At 12:38 29-08-01, Walter Franzini wrote: > >Stanislav Malyshev <[EMAIL PROTECTED]> writes: >> >>[...] >> >> > WF>> I faced this problem using odbc with Solid. SQLColAttributes can >> > WF

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-29 Thread Walter Franzini
current php implementation (php-4.0.6 and current cvs) uses the MAX_SIZE approach and I try to lower this number to a more reasonable value. Ciao -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Italy -- PHP Development Mailing List <http://www.php.net/&

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-29 Thread Walter Franzini
of code that don't rely on this, from the times > when it wasn't true, but it doesn't cause any problem, so there's no > reason to change it urgently. Ok, I hope my current patch can live longer :-) > Zeev Ciao -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Vi

Re: [PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-28 Thread Walter Franzini
SIGSEGV from the emalloc caller and the execution terminate. I can't see a big difference in this case, but if you check for NULL you can fail gracefully. Ciao -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Italy -- PHP Development Mailing List <

[PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-28 Thread Walter Franzini
to allocate %lu bytes\n", +(long unsigned) size); #if ZEND_DEBUG && defined(HAVE_KILL) && defined(HAVE_GETPID) kill(getpid(), SIGSEGV); -#else - exit(1); #endif + HANDLE_UNBLOCK_INTERRUPTIONS(); return (void *)p;

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/standardbasic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c

2001-08-28 Thread Walter Franzini
tiple xslt backend, they must export the same API but could provide different features (or bugs) so you must use xslt1 for app1 and xslt2 for app2. Please don't drop dl () :-) Ciao -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Italy -- PHP Develop

[PHP-DEV] [PATCH] ext/gettext adding *ngettext functions

2001-08-27 Thread Walter Franzini
Hi all, I have added to ext/gettext the wrapper needed to support *ngettext functions, you can find the patch below. Ciao -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Italy diff -aur php-4.0.6.ORIG/ext/gettext/gettext.c php-4.0.6+gettext-patch/ext

[PHP-DEV] [PATCH] Zend/zend_alloc.c

2001-08-02 Thread Walter Franzini
--- php-4.0.6.ORIG/Zend/zend_alloc.c Tue Jun 19 20:04:53 2001 +++ php-4.0.6/Zend/zend_alloc.c Tue Jul 31 10:32:39 2001 @@ -158,12 +158,11 @@ HANDLE_BLOCK_INTERRUPTIONS(); if (!p) { - fprintf(stderr,"FATAL: emalloc(): Unable to allocate %ld bytes\n", (long) size); + fprintf(stderr,"FATAL:

[PHP-DEV] [PATCH] 2 patch for ext/odbc/php_odbc.c

2001-08-02 Thread Walter Franzini
Only in php-4.0.6.ORIG/Zend: zend_alloc.2.c Only in php-4.0.6.ORIG/Zend: zend_alloc.2.c~ Only in php-4.0.6.ORIG/: cgi_build Only in php-4.0.6.ORIG/ext/bcmath: number.c Only in php-4.0.6.ORIG/ext/bcmath: number.h diff -ur php-4.0.6.ORIG/ext/odbc/php_odbc.c php-4.0.6/ext/odbc/php_odbc.c --- php-4.0.

[PHP-DEV] _emalloc bug?

2001-07-27 Thread Walter Franzini
e is pointless because you can do this iff it's ok. Maybe I'missing something :-) A minor problem exists with size: size_t should be unsigned and the type modifier assumes it's signed. Ciao. -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Italy

Re: [PHP-DEV] Moving output.c from ext/standard to main/

2001-07-20 Thread Walter Franzini
u/~millerp/aegis/aegis.html -- Walter Franzini, e-mail: [EMAIL PROTECTED] SysNet, Via Digione 8, 27100 Pavia - Italy -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]