[PHP-DEV] Re: Bug #18214 Updated: Request: Warning on assignment in IFexpression.

2002-07-09 Thread Philip Olson
What are some other potential strict mode watches? Some people ask for an optional strict mode with various options, this could be a good start? Imagine a strict mode directive where when on, various options could be set at runtime, like assignment_inside_expression = true :) You can

[PHP-DEV] PHP 5.0?

2002-07-09 Thread Richard Lynch
Hey there! I'm hearing rumors that ZE2 release will happen Fall 2002 and that will make it PHP 5.0, not 4.x... Any comment, on or off record?... A book publisher I'm working with kinda needs to know whether to change the project requirements and release later, or push release soon and worry

Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument

2002-07-09 Thread derick
Hi, sounds sane, I'd say commit it :) Derick On Mon, 8 Jul 2002, Melvyn Sopacua wrote: Hi, attached is a patch that checks wether sem_ctl accepts a pointer as an argument. It doesn't do that, on BSD/OS (maybe others?) systems. Patch works on BSD/OS 4.x, and verified on BSD/OS 4.2, with

Re: [PHP-DEV] PHP 5.0?

2002-07-09 Thread Zeev Suraski
I think it would be fair to say that we don't yet know anything concrete. Anything you hear is just personal opinions of the people you're talking to, or the ones of the people they talked to... With the 2nd alpha out, I think it's reasonable to assume that the engine will be finalized by

Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument

2002-07-09 Thread Jani Taskinen
Did you notice ext/sysvsem/sysvsem.c line 45 having the HAVE_SEMUN defined even if it's not? If it's not found, it will always be set anyway.. --Jani -- On Mon, 8 Jul 2002, Melvyn Sopacua wrote: Hi, attached is a patch that checks wether sem_ctl accepts

Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument

2002-07-09 Thread Melvyn Sopacua
At 14:28 9-7-2002, Jani Taskinen shared with all of us: Did you notice ext/sysvsem/sysvsem.c line 45 having the HAVE_SEMUN defined even if it's not? Now I did :-0 However - I don't have access to a system that has semctl with 3 arguments. Anyone? If it's not found, it will

[PHP-DEV] Debugging a segfault

2002-07-09 Thread Igor Stroh
Hi there, I had to patch some code recently (imap module) and as a result the patched module produces a segfault. The backtrace is in [1], notice the second frame, according to http://bugs.php.net/bugs-generating-backtrace.php I should be able to see the function that causes the segfault by

[PHP-DEV] Licensing issues

2002-07-09 Thread Jelmer Vernooij
msg.pgp Description: PGP message

Re: [PHP-DEV] Licensing issues

2002-07-09 Thread derick
Hello Jelmer, Can you please not use PGP signed messages to this list, not everybody has a mailer who likes this. Now to the point, afaik we can not bundle it in the main distribution because of this, only if the library is LGPL. What you can so is contribute your extension to PEAR/PECL so

Re: [PHP-DEV] Licensing issues

2002-07-09 Thread Peter Petermann
Hi Jelmer, I've written SMB Client (Windows/Samba Filesharing) support for PHP. Though I'm wondering how this can be distributed - libsmbclient is published under GPL. Sounds intresting to me, i guess PECL is the right place for that?! Can my ext/smbc added to the main php 4 sources with the

[PHP-DEV] PHP5 Packages

2002-07-09 Thread Andre Gildemeister
hi, in PHP5 it shall be possible to integrate own extensions (written in PHP), called Packages. a package consists of functions and classes, encapsulated in an namespace. to make the package-elements available in an program, the package must still integrate in the source code. for a while I

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Zeev Suraski
At 06:53 PM 7/9/2002, Andre Gildemeister wrote: hi, in PHP5 it shall be possible to integrate own extensions (written in PHP), called Packages. a package consists of functions and classes, encapsulated in an namespace. to make the package-elements available in an program, the package must

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Melvyn Sopacua
At 17:05 9-7-2002, Zeev Suraski shared with all of us: Basically, the Zend Engine 2 will allow the use of nested classes. So, classes will be able to contain other classes, as well as constants in addition to variables and methods. That's already possible isn't it? How does this differ from:

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Zeev Suraski
At 07:17 PM 7/9/2002, Melvyn Sopacua wrote: At 17:05 9-7-2002, Zeev Suraski shared with all of us: Basically, the Zend Engine 2 will allow the use of nested classes. So, classes will be able to contain other classes, as well as constants in addition to variables and methods. That's already

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Andre Gildemeister
Zeev Suraski wrote: Basically, the Zend Engine 2 will allow the use of nested classes. So, classes will be able to contain other classes, as well as constants in addition to variables and methods. They are not called packages. Currently there aren't any new keywords for loading such

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Melvyn Sopacua
At 17:19 9-7-2002, Zeev Suraski shared with all of us: How does this differ from: $this-db = new dbclient; It's completely different. It addresses scoping issues, and gives you the same functionality as namespaces. For example: class foo { class bar { function

Re: [PHP-DEV] PHP5 Packages

2002-07-09 Thread Zeev Suraski
At 08:00 PM 7/9/2002, Melvyn Sopacua wrote: class foo { //some code require('class_bar.php'); } Will that work? No, that won't work. Zeev -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] karma

2002-07-09 Thread Steph
Can someone please give me phpdoc karma? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] how to create a new sapi module

2002-07-09 Thread fab wash
Hello all, did I dream about it? I think I saw documentation somewhere on how to create a new sapi module, but I can't find anything anywhere and the search on news.php.net is down. Anyone has any pointer? Thanks! Fab. _ Join

Re: Re: Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT

2002-07-09 Thread Timo Weingärtner
you're right, it could be a problem when they are targetted at files, but why can't you just include a check on the target, if it is a directory or not, just like it is done in the code by Mark Russinovich? I think that will prevent such bugos entries. Of course we will also have to check, if the

[PHP-DEV] [PATCH] for BUG #16069 transliteration failure

2002-07-09 Thread Moriyoshi Koizumi
Hi, This humble patch fixes the minor bug #16069 transliteration failure. I think I'm supposed to do CC'ing it to the maintainers, but I don't know who is responsible for iconv module because none of them are listed in EXTENSIONS. Although I read README.SUBMITTING_PATCH somewhat carefully, I

Re: [PHP-DEV] [PATCH] for BUG #16069 transliteration failure

2002-07-09 Thread Moriyoshi Koizumi
Hello again, I forgot to attach them. Moriyoshi Koizumi [EMAIL PROTECTED] wrote: Hi, This humble patch fixes the minor bug #16069 transliteration failure. I think I'm supposed to do CC'ing it to the maintainers, but I don't know who is responsible for iconv module because none of them

Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT

2002-07-09 Thread Shane Caraveo
Shell Shortcuts could be used to implement symlink like behaviour, and it would be compatible on more systems, but it would be a bigger pain to implement in PHP. As far as the directory junctions, this is how MS describes them: # NTFS Directory Junctions. These are NTFS directories that can

[PHP-DEV] Can't fiqure out how to fix this error! HELP!

2002-07-09 Thread Celebei
This is the error I get and I can't fiqure out how to fix it: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in d:\apache\htdocs\ViewGuestbook.inc on line 13 HELP!! -- PHP Development Mailing List http://www.php.net/ To

[PHP-DEV] Re: Can't fiqure out how to fix this error! HELP!

2002-07-09 Thread Matt Parlane
Perhaps it would help if you let everyone know what exactly was on line 13... Celebei [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... This is the error I get and I can't fiqure out how to fix it: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,

[PHP-DEV] Re: cvs: php4(ZendEngine2) /win32 php4dllts.dsp

2002-07-09 Thread Yasuo Ohgaki
Harald Radi wrote: phantoTue Jul 9 16:28:36 2002 EDT Modified files: (Branch: ZendEngine2) /php4/win32 php4dllts.dsp New branch Do we just ignore ZendEngine2 branch and will someone marge changes to the branch? or are we supposed to merge

[PHP-DEV] Re: cvs: php4(ZendEngine2) /win32 php4dllts.dsp

2002-07-09 Thread Yasuo Ohgaki
Hmm. This tag is only for some win32 files. The name isn't sound good to me. -- Yasuo Ohgaki Yasuo Ohgaki wrote: Harald Radi wrote: phantoTue Jul 9 16:28:36 2002 EDT Modified files: (Branch: ZendEngine2) /php4/win32php4dllts.dsp New branch Do we

Re: [PHP-DEV] [PATCH] ext/sysvsem semctl 4th argument

2002-07-09 Thread Yasuo Ohgaki
Melvyn Sopacua wrote: At 14:28 9-7-2002, Jani Taskinen shared with all of us: Did you notice ext/sysvsem/sysvsem.c line 45 having the HAVE_SEMUN defined even if it's not? Now I did :-0 However - I don't have access to a system that has semctl with 3 arguments. Anyone?

[PHP-DEV] Patch for bug: #16637

2002-07-09 Thread Jani Taskinen
Attached is a patch which fixes the bug described here: http://bugs.php.net/bug.php?id=16337 Please check that last comment I posted there and comment this patch then.. :) --Jani Index: http_fopen_wrapper.c

Re: [PHP-DEV] Re: cvs: php4(ZendEngine2) /win32 php4dllts.dsp

2002-07-09 Thread derick
On Wed, 10 Jul 2002, Yasuo Ohgaki wrote: Hmm. This tag is only for some win32 files. The name isn't sound good to me. This was brought up before, and it's only needed for some files due to incompabilities with the ZE1 stuff. Derick -- Yasuo Ohgaki Yasuo Ohgaki wrote: Harald Radi