[PHP-DEV] Patch for Bug #20681: object lookup with array_search()

2002-12-03 Thread Moriyoshi Koizumi
Hi, I'm trying to make a slight change on array_search(), which allows object lookup with array_search() in ZendEngine2. I think this feature doesn't break backwards compatiblity. If there seems no problem, I'll commit the patch and close that PR. Moriyoshi Index: ext/standard/array.c

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-03 Thread Ivan Ristic
$this stays defined when an instantatiated member function calls a non-instantiated member function. Correct. I actually find it quite interesting. :) It can be useful at times, I have used it in my libraries as a feature. There is an interesting article on the subject: http://www.ad

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-03 Thread Balazs Nagy
On Tue, 2002-12-03 at 21:53, Ivan Ristic wrote: > Balazs Nagy wrote: > > Hi, > > > > $this stays defined when an instantatiated member function calls a > > non-instantiated member function. > >Correct. I actually find it quite interesting. :) >It can be useful at times, I have used it in

Re: [PHP-DEV] Re: bug of the day: $this

2002-12-03 Thread Markus Fischer
I think issue is/will be adressed in ZendEngine2 but I could be wrong. I suggest inquiring at the engine2 list. On Tue, Dec 03, 2002 at 08:53:25PM +, Ivan Ristic wrote : > Balazs Nagy wrote: > >Hi, > > > >$this stays defined when an instantatiated member function calls a > >non-instan

[PHP-DEV] Handling fatal and parse errors (just a link :)

2002-12-03 Thread Ivan Ristic
Hi, since we are not going to patch PHP to support redirection on fatal errors or the 500 error code, here is a link to the technique you can use (works with 4.2.3) to handle these errors. I already posted a note about this but discovered that the old approach no longer works, and I had to rewrit

[PHP-DEV] Re: bug of the day: $this

2002-12-03 Thread Ivan Ristic
Balazs Nagy wrote: Hi, $this stays defined when an instantatiated member function calls a non-instantiated member function. Correct. I actually find it quite interesting. :) It can be useful at times, I have used it in my libraries as a feature. There is an interesting article on the s

[PHP-DEV] [PHP] imagick v0.9.0.1 RELEASED

2002-12-03 Thread Michael Montero
imagick, the PHP ImageMagick module, has been moved and can be found here: http://pear.php.net/package-info.php?pacid=76 All releases will occur at this location from now on. The site: http://magick.communityconnect.com/ Will continue to point to the above PHP URL. Christian and I released ve

RE: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain
--- John Coggeshall <[EMAIL PROTECTED]> wrote: > > Yeah I know that shady guy Shane. > > Heh. He is shady, isn't he? ;) > > > Well, it's defintly experimental. There are bindings for > >opengl and glut. You can run some sample apps that use the > >glut api. Its pretty cool. Me and Marcus were

RE: [PHP-DEV] pecl extensions

2002-12-03 Thread John Coggeshall
> Yeah I know that shady guy Shane. Heh. He is shady, isn't he? ;) > Well, it's defintly experimental. There are bindings for >opengl and glut. You can run some sample apps that use the >glut api. Its pretty cool. Me and Marcus were working on off >screen redndering with OSMesa. That would all

[PHP-DEV] bug of the day: $this

2002-12-03 Thread Balazs Nagy
Hi, $this stays defined when an instantatiated member function calls a non-instantiated member function. Here's the tester: test(); } function btest() { b::test(); } } class b { function test() { var_dump($this); } function objtest($obj) { $obj->test(); } functio

RE: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain
--- John Coggeshall <[EMAIL PROTECTED]> wrote: > > Brad: > > I'm going to take a real stab in the dark here and say that you know > Shane Caraveo. I was at PHPCon with him presenting in October and I was > talking about an idea I had to implement opengl in PHP... He said that > someone by the na

Re: [PHP-DEV] pecl extensions

2002-12-03 Thread Andrey Hristov
> > > P.S. Hows the SOAP going :) > > Well after formatting my computer I finally have my dev envrionment back up. I > started to get back to it. I havn't put that much time into it. Don't worry I > won't let it die, unless it already is dead :). Please don't let it die... :) Andrey -- PHP D

Re: [PHP-DEV] pecl extensions

2002-12-03 Thread Brad LaFountain
--- Alan Knowles <[EMAIL PROTECTED]> wrote: > Brad LaFountain wrote: > > >I know I'm going to piss people off by asking this but how do I create a new > >pecl package? I think I want going to put php_opengl in there. See if gets > >anymore use. > > > > upload it to pear/PECL/opengl.. (You should

Re: [PHP-DEV] Re: Multiple MSSQL Crashes in 4.3.0RC2

2002-12-03 Thread Edin Kadribasic
> On Tue, 3 Dec 2002, Michael Sisolak wrote: > > > Frank Kromann has investigated these issues and has made fixes in the > > CVS version of ext/mssql. > > Are these fixes merged into the branch? Just did that. Edin -- PHP Development Mailing List To unsubscribe, visit: ht

Re: [PHP-DEV] Re: Multiple MSSQL Crashes in 4.3.0RC2

2002-12-03 Thread Derick Rethans
On Tue, 3 Dec 2002, Michael Sisolak wrote: > Frank Kromann has investigated these issues and has made fixes in the > CVS version of ext/mssql. Are these fixes merged into the branch? Derick > --- Michael Sisolak <[EMAIL PROTECTED]> wrote: > > Testing my existing SQL Server based sites with 4.3.

Re: [PHP-DEV] Bug or Not?

2002-12-03 Thread Marcus Börger
At 16:34 03.12.2002, Adam Voigt wrote: I have some data that can't contain certain character's, so I have something akin to the following: function getProper($string) { $string = strip_tags($string); $string = str_replace("][","][",$string); $string = str_replace("'","'",$string); $string = str_r

[PHP-DEV] Re: Multiple MSSQL Crashes in 4.3.0RC2

2002-12-03 Thread Michael Sisolak
Frank Kromann has investigated these issues and has made fixes in the CVS version of ext/mssql. Michael --- Michael Sisolak <[EMAIL PROTECTED]> wrote: > Testing my existing SQL Server based sites with 4.3.0RC2 resulted in > many memory access violations and crashes. I believe that I have > track

[PHP-DEV] RFC: error_codes

2002-12-03 Thread Marcus Börger
After main discussion about this seems over here is a proposal for error codes. When the solution is accepted by the majority i will commit it and write something together in CODING_STANDARDS. Maybe i can receive some notes on that, too. marcus Here is an example output (error_code="EXIF-006"):

[PHP-DEV] Bug or Not?

2002-12-03 Thread Adam Voigt
I have some data that can't contain certain character's, so I have something akin to the following: function getProper($string) { $string = strip_tags($string); $string = str_replace("][","][",$string); $string = str_replace("'","'",$string); $string = str_replace("\"",""",$string)

[PHP-DEV] overridden php.ini directives in CLI version

2002-12-03 Thread Brad Bulger
shouldn't 'output_buffering' be overridden to 0 (off) in the CLI SAPI? doesn't help to override 'implicit_flush' but not that one. especially since there's no way to turn off the ini-level output buffering from a script. you can't end it with ob_end_*() and you can't set it with ini_set(). wherea

Re: [PHP-DEV] [PATCH] +3 for Win32 CoInitalize/CoUninitialize CallMove, Please Apply

2002-12-03 Thread Derick Rethans
On Fri, 29 Nov 2002, Michael Sisolak wrote: > We got +3 on applying this but missed it for 4.3.0 RC2. Will someone > with the correct karma please apply it to the 4.3.0 tree? This one is applied. Derick > --- Michael Sisolak <[EMAIL PROTECTED]> wrote: > > Date: Mon, 25 Nov 2002 10:32:13 -0800

RE: [PHP-DEV] pecl extensions

2002-12-03 Thread John Coggeshall
Brad: I'm going to take a real stab in the dark here and say that you know Shane Caraveo. I was at PHPCon with him presenting in October and I was talking about an idea I had to implement opengl in PHP... He said that someone by the name of Brad (at least, that's what I recall) was working on a e

[PHP-DEV] problem with session id's

2002-12-03 Thread vsv3
Hi to all. When i start some sessions with PHP4.1.2, in the same PC sometimes the browser, get confused with the sessions and the las who has been connected, get the information of the first one. Can anyone explain me because occurs this?? Thx. -- PHP Development Mailing List