[PHP-DEV] Reflection Memory leak fix

2004-03-28 Thread Timm Friebe
Hi, this fixes a memory leak in Reflection_Property::getModifiers(). - Timm Index: Zend/zend_reflection_api.c === RCS file: /repository/ZendEngine2/zend_reflection_api.c,v retrieving revision 1.94 diff -u -r1.94 zend_reflection_api.c

[PHP-DEV] Bus error w/ __PHP_Incomplete_Class

2004-03-28 Thread Timm Friebe
Hi, accessing a non-existant member of (or calling a member function on) an instance of __PHP_Incomplete_Class results in a bus error: [EMAIL PROTECTED]:~/devel/php/php cat incomplete_class.php ?php $o= unserialize('O:1:a:1:{s:5:value;s:3:100;}'); var_dump($o); var_dump($o-member); ?

[PHP-DEV] Re: class constants in RC1 - why not __self:: then?

2004-03-28 Thread Luna Kid
Andi Gutmans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:07 AM 3/15/2004 -0500, Hans Lellelid wrote: ... You must now use self::MY_CONST to reference the class constant. While I can see that the pre-RC1 behavior would not provide a way to access global constant if class

Re: [PHP-DEV] Re: class constants in RC1 - why not __self:: then?

2004-03-28 Thread Marcus Boerger
Hello Luna, Sunday, March 28, 2004, 6:56:00 PM, you wrote: Andi Gutmans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 10:07 AM 3/15/2004 -0500, Hans Lellelid wrote: ... You must now use self::MY_CONST to reference the class constant. While I can see that the pre-RC1

Re: [PHP-DEV] Problem starting PHP5 with apache 1.3.29 on Win

2004-03-28 Thread Erik Franzén
Problem solved. Changed system path as follows: C:\Program\PHP\php5-win32;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program\mysql\bin Apparently, storing php5ts.dll into system32 is not a bad idea... Sorry for posting, I should have found the solution myself. This is

Re: [PHP-DEV] Re: class constants in RC1 - why not __self:: then?

2004-03-28 Thread Luna Kid
This way (writing __thisclass::MYCONST instead of MyParticularClassName::CONST we could freely decide to favor clean style, or performance, depending on the specific situation. No need for that we have 'self': php -r 'class c { const c=Hello\n; static function f() { return self::c; }}

[PHP-DEV] $$$wanna make real money$$$..you will no longer need student loans

2004-03-28 Thread theeb
EXCELLENT CASH INCOME I started out with $6. Now, I am making thousands. I found this on a bulletin board and decided to try it. A little while back, I was browsing through newsgroups, just like you are now, and came across an article similar to this that said you could make thousands of dollars

Re: [PHP-DEV] Studlycaps and MySQLi

2004-03-28 Thread John Coggeshall
On Sun, 2004-03-28 at 04:35, Zeev Suraski wrote: Very well put. +1 for consistency and going all the way with StudlyCaps from me. +1 for consistency, but unless someone is willing to change Georg's extension for him I don't see this happening. John --

[PHP-DEV] CVS Account Request: shakaali

2004-03-28 Thread Arttu Tervo
Well I'm interested in translating the PHP manual into Finnish and Henry Karpatskij (his nick is spheroid) said I'm welcome to the project. I want a CVS access to the phpdoc-fi section. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] reload() in Python, Possible in PHP?

2004-03-28 Thread Andrew Heebner
AFAIK, Python supports the reload() method, which lets you dynamically control includes while a script is running. In PHP, even workarounds are tough to create reloadable modules for scripts, so, what other means are there to reload includes, and redeclare functions? Thank you, Andrew

Re: [PHP-DEV] reload() in Python, Possible in PHP?

2004-03-28 Thread Jon Parise
On Sun, Mar 28, 2004 at 03:57:22PM -0500, Andrew Heebner wrote: AFAIK, Python supports the reload() method, which lets you dynamically control includes while a script is running. This is conceptually easier to implement in Python because a module is its own namespace. In PHP, the stuff that

Re: [PHP-DEV] reload() in Python, Possible in PHP?

2004-03-28 Thread George Schlossnagle
On Mar 28, 2004, at 4:36 PM, Jon Parise wrote: On Sun, Mar 28, 2004 at 03:57:22PM -0500, Andrew Heebner wrote: AFAIK, Python supports the reload() method, which lets you dynamically control includes while a script is running. This is conceptually easier to implement in Python because a module is

[PHP-DEV] PHP-4.3.5 problem

2004-03-28 Thread Phillip Porch
There seems to be a problem in the streams.c code. There is a line that has the construct #if defined(S_ISFIFO) || defined(S_ISSOCK) the problem is the the code below assumes that S_ISSOCK is defined but the if statement is true if either S_ISFIFO or S_ISSOCK is defined. If you have a system