Re: [PHP-DEV] Allow .cc files for shared extensions

2005-04-19 Thread Jani Taskinen
On Tue, 19 Apr 2005, Brian J. France wrote: I do, but some of our developers have some wacky idea they should be named .cc. But with PHP they're named .cpp ;) I can keep a internal patch if you rather not, figure I would ask just to make sure. Just add it. But do it with the simple way: A

[PHP-DEV] protected/private function __construct() not allowed in 5.0.4?

2005-04-19 Thread Greg Beaver
Hi all, I just spent quite a while searching the archives, and can't find any explanation of why this code worked in 5.0.3 but doesn't in 5.0.4: Could someone please enlighten me? I was using this for a singleton pattern, and so it would be nice to know why it is so critical for the engine to

Re: [PHP-DEV] Allow .cc files for shared extensions

2005-04-19 Thread Brian J. France
I do, but some of our developers have some wacky idea they should be named .cc. I can keep a internal patch if you rather not, figure I would ask just to make sure. Brian On Apr 19, 2005, at 5:12 PM, Jani Taskinen wrote: Why don't you name the files .cpp like you're supposed to? --Jani

Re: [PHP-DEV] Allow .cc files for shared extensions

2005-04-19 Thread Jani Taskinen
Why don't you name the files .cpp like you're supposed to? --Jani On Tue, 19 Apr 2005, Brian J. France wrote: Anybody see a problem with this patch that allows .cc files in shared extensions. If not I will check it into all branches. Thanks, Brian -- PHP Internals - PHP Runtime Developme

Re: [PHP-DEV] Re: Missing ReflectionProperty::getDocComment()

2005-04-19 Thread Marcus Boerger
Hello Johannes, Tuesday, April 19, 2005, 8:56:03 AM, you wrote: > Hi Sebastian, > Sebastian Bergmann wrote: >> I am missing a ReflectionProperty::getDocComment() method in the >> Reflection API. At the moment only ReflectionClass, ReflectionFunction, >> and ReflectionMethod have such a method

[PHP-DEV] Allow .cc files for shared extensions

2005-04-19 Thread Brian J. France
Anybody see a problem with this patch that allows .cc files in shared extensions. If not I will check it into all branches. Thanks, Brian Index: acinclude.m4 === RCS file: /repository/php-src/acinclude.m4,v retrieving revision 1.298

[PHP-DEV] Re: VC6 Win32 Build

2005-04-19 Thread Alexander Valyalkin
"Terry R. Lacey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm also trying to Build php5ts using the VC6 Build Tools as recommended in > the file README.WIN32-BUILD-SYSTEM because I seem to be getting absolutely > nowhere using the GUI. When I open the Tools Command Prompt, th

[PHP-DEV] RE: [PATCH] Ingres error reporting functions

2005-04-19 Thread Croker, Grant
Ok, As you say there does not seem to be any consistent naming of functions. A fact I guess PDO will address. I have changed the names to match mysql and have a 3rd function (ingres_errsqlstate) that reports the SQLSTATE of the last statement run. With Ingres SQLSTATE and errno is not the same th

[PHP-DEV] Re: [PATCH] Ingres error reporting functions

2005-04-19 Thread Lukas Smith
Grant Croker wrote: I would like to submit the following patch to PHP: http://www.ingres.co.uk/php/head/ingres_error_reporting.diff It includes 3 new functions for reporting errors; ingres_error(), ingres_error_text() and ingres_error_sqlstate(). Also included is the ability to suppress E_WARNING m

[PHP-DEV] [PATCH] Ingres error reporting functions

2005-04-19 Thread Croker, Grant
Hi, I would like to submit the following patch to PHP: http://www.ingres.co.uk/php/head/ingres_error_reporting.diff It includes 3 new functions for reporting errors; ingres_error(), ingres_error_text() and ingres_error_sqlstate(). Also included is the ability to suppress E_WARNING messages that

[PHP-DEV] Re: "mixed up PHP" variant (Re: [PHP-DEV] named parameters?)

2005-04-19 Thread Jakub Vrana
Hendy Irawan wrote: > I think it's nice to have a "risk your life" PHP version that merges > all available patches that never got into the official PHP. > Does something like this already exist? Take a look at http://www.zend.com/zend/week/pat/ . It's a list of not-yet-accepted patches. It's not

Re: [PHP-DEV] Re: Missing ReflectionProperty::getDocComment()

2005-04-19 Thread Sebastian Bergmann
Johannes Schlueter wrote: > I've got a patch since quite some time but found nobody with karma who > commits it or at least criticices it. Maybe now ;-) I would love to see this in PHP 5.1.0, or better yet in PHP 5.0.5. -- Sebastian Bergmann http://www.sebastian-bergmann.de

[PHP-DEV] Re: Missing ReflectionProperty::getDocComment()

2005-04-19 Thread Johannes Schlueter
Hi Sebastian, Sebastian Bergmann wrote: > I am missing a ReflectionProperty::getDocComment() method in the > Reflection API. At the moment only ReflectionClass, ReflectionFunction, > and ReflectionMethod have such a method. I've got a patch since quite some time but found nobody with karma who