Re: [PHP-DEV] [PATCH] for oci8 and some improvement proposals

2003-12-06 Thread Thies C . Arntzen
Am 06.12.2003 um 00:41 schrieb Jani Taskinen: I had the impression that the 'other' oracle extension is somewhat deprecated and unsupported already? (next one to be moved to sibe..PECL ? :) feel free to move bothe oracle and oci to PECL. re, tc (a _strong_ believer that all extensions

Re: [PHP-DEV] [PATCH] for oci8 and some improvement proposals

2003-12-06 Thread Thies C . Arntzen
Am 05.12.2003 um 17:02 schrieb Antony Dovgal: On Fri, 05 Dec 2003 17:08:49 +0100 Maxim Maletsky <[EMAIL PROTECTED]> wrote: it's been a while as I was mentioning that the naming convention for OCI8* functions should change into something like oracle_*. Problem is that there is also an old ora_* set

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Sebastian Bergmann
Andi Gutmans wrote: > The facts are the following: > a) Existing PHP functions use underscores. PHP's internal *function names* should use _ to delimit between words. > b) Some external object models such as Java use StudlyCaps. And this what we should *consistently* adopt for the naming o

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Sebastian Bergmann
Markus Fischer wrote: > Since every man and his cow already gave a vote, I'll do so too and > vote -1 for theCapsStyle in PHP itself. However, I think e.g. the > DOM extension should be left at what the W3C suggested (other > extension my need exceptions too). So much for consistency ... -- Se

Re: [PHP-DEV] [PATCH] for oci8 and some improvement proposals

2003-12-06 Thread Jani Taskinen
On Sat, 6 Dec 2003, Thies C.Arntzen wrote: >BTW: i have no idea what you are talking about, sure i would do things >different now - but it works today and another quote starts with "never >change..." ..code that works? See this: http://bugs.php.net/search.php?cmd=display&status=Open&bu

[PHP-DEV] Re: [PHP-CVS] cvs: php-src /main php_network.h /win32/build config.w32

2003-12-06 Thread Sebastian Bergmann
Wez Furlong wrote: > wez Sat Dec 6 05:32:36 2003 EDT > > Modified files: > /php-src/main php_network.h > /php-src/win32/build config.w32 > Log: > fix ipv6 stuff under vc6 Works fine now, thanks, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Marc Dembogurski
Sebastian Bergmann wrote: >Andi Gutmans wrote: >> The facts are the following: >> a) Existing PHP functions use underscores. > > PHP's internal *function names* should use _ to delimit between > words. > >> b) Some external object models such as Java use StudlyCaps. > > And this what we should *

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Stefan Walk
On Sat, Dec 06, 2003 at 10:59:33AM +0100, Sebastian Bergmann wrote: > PHP's internal *function names* should use _ to delimit between > words. [snip] > And this what we should *consistently* adopt for the naming of PHP's > internal *method names*. Why should methods differ from functions i

[PHP-DEV] Segfault in HEAD

2003-12-06 Thread Andrey Hristov
Hi, the following script segfaults when HEAD is used (no problem with PHP_4_3). Here is a session that shows the script and the error spotted by valgrind. [session] bash-2.05b$ cat soffset.php $s = "FUBAR"; $s[0][] = 1; ?> bash-2.05b$ valgrind ./php soffset.php ==4985== Memcheck, a.k.a. Valgrind,

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread George Schlossnagle
On Dec 6, 2003, at 11:14 AM, Stefan Walk wrote: On Sat, Dec 06, 2003 at 10:59:33AM +0100, Sebastian Bergmann wrote: PHP's internal *function names* should use _ to delimit between words. [snip] And this what we should *consistently* adopt for the naming of PHP's internal *method names*. Wh

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Andrey Hristov
George Schlossnagle wrote: On Dec 6, 2003, at 11:14 AM, Stefan Walk wrote: On Sat, Dec 06, 2003 at 10:59:33AM +0100, Sebastian Bergmann wrote: PHP's internal *function names* should use _ to delimit between words. [snip] And this what we should *consistently* adopt for the naming of PHP's inter

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread George Schlossnagle
On Dec 6, 2003, at 11:58 AM, Andrey Hristov wrote: It's hard but not impossible to extend internal classes. The workaround is to write thin wrappers with the studlyCaps convention which only just call the methods in their parents like INTERNAL_FUNCTION_PARAM_PASSTHRU. After then comes the real c

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Stefan Walk
On Sat, Dec 06, 2003 at 11:45:12AM -0500, George Schlossnagle wrote: > >Why should methods differ from functions in naming? That in itself is > >inconsistency... > > > >I'm in favour of naming with underscores, simply because that was the > >PHP way until now and it helps readability a lot. > > Th

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread Cristiano Duarte
I'm using double-underscores "__" to make autoloading of "fake packages" possible. An example with StudlyCaps: org__phporb__compiler__IdlCompiler With underscores: org__phporb__compiler__idl_compiler I guess the first is better but I can live with the second. IMHO we shouldn't have exceptions. I

Re: [PHP-DEV] StudlyCaps

2003-12-06 Thread George Schlossnagle
On Dec 6, 2003, at 12:40 PM, Stefan Walk wrote: On Sat, Dec 06, 2003 at 11:45:12AM -0500, George Schlossnagle wrote: Why should methods differ from functions in naming? That in itself is inconsistency... I'm in favour of naming with underscores, simply because that was the PHP way until now and it