Re: [PHP-DEV] Questions on stream

2005-08-06 Thread Wez Furlong
On 8/5/05, Antony Dovgal [EMAIL PROTECTED] wrote: Yup =) Also on Windows you can't open a file already opened by someone. Actually, you can if the person that opened it says you can, it's just that it's not the default mode for the file. --Wez. -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Any reasons for not making exif and sockets extensions dynamically loadable.

2005-08-06 Thread Kamesh Jayachandran
Hi Jani, In NetWare all extensions/sapis need the php5lib(Core php shared library) which won't be available for these binaries to be linked without the following lines(in PHP_SHARED_MODULE of acinclude.m4 we set MODULE_SHARED_LIBADD), PHP_SUBST(SOCKETS_SHARED_LIBADD) PHP_SUBST(EXIF_SHARED_LIBADD)

[PHP-DEV] custom superglobals

2005-08-06 Thread Ron Korving
Hi, Wouldn't it be a good feature to have users create their own superglobals? I think it would be good for at least two reasons (rather similar though): - Application settings can be stored in such a global, so that objects can use them without needing the information passed to functions or

Re: [PHP-DEV] custom superglobals

2005-08-06 Thread Sean Coates
Ron Korving wrote: Wouldn't it be a good feature to have users create their own superglobals? I realize that you're probably talking about creating custom superglobals in the PHP core, but you might want to look at Sara's Runkit project (in PECL). It allows custom superglobals.

Re: [PHP-DEV] custom superglobals

2005-08-06 Thread Rasmus Lerdorf
Ron Korving wrote: Hi, Wouldn't it be a good feature to have users create their own superglobals? I think it would be good for at least two reasons (rather similar though): - Application settings can be stored in such a global, so that objects can use them without needing the information

[PHP-DEV] (re)throwing exceptions

2005-08-06 Thread Dennis Sterzenbach
Hi Folks! What do you think about re-throwing an Exception? I think of a situation when writing a complex framework and one call on a lower hierachy level throws an Exception, the higher levels should be able to get to know. If I have to catch it on a higher level, I can't leave the caught

Re: [PHP-DEV] (re)throwing exceptions

2005-08-06 Thread Antony Dovgal
On Sat, 06 Aug 2005 17:19:35 +0200 Dennis Sterzenbach [EMAIL PROTECTED] wrote: Hi Folks! What do you think about re-throwing an Exception? I think of a situation when writing a complex framework and one call on a lower hierachy level throws an Exception, the higher levels should be able to

Re: [PHP-DEV] (re)throwing exceptions

2005-08-06 Thread Dennis Sterzenbach
Antony Dovgal wrote: try { /* do something here */ } catch (Exception $e) { throw $e; } ? Is it what you need? Whooops! Big sorry guys, my fault. Thanks to you Antony. Dennis -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] Re: [PHP] Exceptions: function x throws Exception

2005-08-06 Thread Marcus Boerger
Hello Jochem, lookup the archieves. We have long ago decided agains that. marcus Friday, August 5, 2005, 2:26:04 PM, you wrote: Dear Internals, class FooBar { public function foo() throws Exception {} } function fooFoo() throws Exception {} this came up on php-generals and I

Re: [PHP-DEV] Any reasons for not making exif and sockets extensions dynamically loadable.

2005-08-06 Thread Marcus Boerger
Hello Kamesh, Saturday, August 6, 2005, 9:49:58 AM, you wrote: Hi Jani, In NetWare all extensions/sapis need the php5lib(Core php shared library) which won't be available for these binaries to be linked without the following lines(in PHP_SHARED_MODULE of acinclude.m4 we set

Re: [PHP-DEV] Any reasons for not making exif and sockets extensions dynamically loadable.

2005-08-06 Thread Jani Taskinen
Stupid system it is. :) You should handle this differenly but I don't care. Just add those lines if you can't come up with some better solution. --Jani On Sat, 6 Aug 2005, Kamesh Jayachandran wrote: Hi Jani, In NetWare all extensions/sapis need the php5lib(Core php

Re: [PHP-DEV] [Patch] tidy node and getParent

2005-08-06 Thread Markus Fischer
I've created a bug report ( http://bugs.php.net/34023 ) so it doesn't get forgotten. - Markus Andi Gutmans wrote: We're in a feature freeze so please hold it to after 5.1.0 is out the door. You'll be able to commit to head when RC1 is branched off. Thanks, Andi At 01:31 PM 7/15/2005 -0400,

[PHP-DEV] [PATCH] Namespace Patch, Beta 2

2005-08-06 Thread Jessie Hernandez
Same as before, with the following changes: - Fixed memory leaks. - Added __NAMESPACE__ constant. Regards, Jessie HernandezIndex: Zend/zend.c === RCS file: /repository/ZendEngine2/zend.c,v retrieving revision 1.306 diff -u -r1.306

Re: [PHP-DEV] Re: [PHP] Exceptions: function x throws Exception

2005-08-06 Thread Jochem Maas
Marcus Boerger wrote: Hello Jochem, lookup the archieves. We have long ago decided agains that. I'll take your word on it. :-) (shame on me for not searching harder before asking) thanks for replying. marcus Friday, August 5, 2005, 2:26:04 PM, you wrote: Dear Internals, class

[PHP-DEV] 未承諾広告※ 技術翻訳(Technic al Translation)

2005-08-06 Thread Mikio Fujise
国際技術情報センター株式会社 TEL: 03-5914-1360 FAX: 03-5914-1361 E-mail: [EMAIL PROTECTED] URL: http://www.itic.co.jp/ [EMAIL PROTECTED] 宛にご連絡ください。 internals@lists.php.net 様 拝啓/Dear Sir 貴社ますますご清栄のこととお慶び申し上げます。 弊社は、技術分野の翻訳を得意としております。翻訳を必要とされる際は、是非、弊社のホームページ、URL: http://www.itic.co.jp/