message in my opinion.
The following code give the same error but for a very different reason:
?php
function A ()
{
static $a = array (
'a' = a very . long string,
'c' = 'C'
);
}
?
How can I help improving messages reported for syntax errors?
Ciao
--
Walter Franzini, e-mail: [EMAIL
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 someone can give me some hints.
Ciao.
--
Walter Franzini, e
.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: [EMAIL PROTECTED]
To contact the list administrators
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 http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
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, Via Digione 8, 27100 Pavia - Italy
diff -ur php-4.0.6.ORIG/ext
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/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
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 return very big number (2147483647) when you ask for
WF SQL_COLUMN_DISPLAY_SIZE
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 the difference is not ZE vs. extension but internal vs
, 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 Development Mailing List http://www.php.net
\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;
}
Ciao
--
Walter Franzini, e-mail
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
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.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:
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
--
PHP Development Mailing List http
Jason Greene [EMAIL PROTECTED] writes:
It a shame that CVS doesn't have a way to handle things like this..
Are there commercial systems that can?
Aegis handle file and directory rename operation and is Free.
Read more here http://www.canb.auug.org.au/~millerp/aegis/aegis.html
--
Walter
15 matches
Mail list logo