[PHP-DEV] Re: Extension Cleanup

2005-02-13 Thread Sara Golemon
> Is there a set of functions within an extension that is called > automatically > by the ZEND engine framework to "initialize" and "deinitailize" the > extension? > MINIT: Module Initialization (Called once when the PHP processor is started) RINIT: Request Initialization (Called at the start of e

[PHP-DEV] Extension Cleanup

2005-02-13 Thread Chris Cranford
Is there a set of functions within an extension that is called automatically by the ZEND engine framework to "initialize" and "deinitailize" the extension? In a particular PHP script, a user may call a method that sets up an environment. I cannot always rely on the user to call the cleanup API me

[PHP-DEV] How to help? (Bug #28932 - glob-error-harvesting code)

2005-02-13 Thread Peter Brodersen
Hi, == Short version: I have concerns about the disclosure of error messages using glob() as it reveals file names that a user should not have access to. I have written to security@ but got no answer and the related glob()-bug (#28932) has been marked bogus even though I pointed out that the error

[PHP-DEV] [ANNOUNCE] IronPHP 0.0.1: A PHP Compiler for Mono (and .NET)

2005-02-13 Thread Ross Girshick
I'm pleased to announce the first release of IronPHP [1]. IronPHP is a PHP compiler for the Mono (and .NET) platform. The goals of IronPHP are: * Compatibility with PHP 5 * Speed and efficiency: let's beat the C version * Portability: run where ever Mono runs * Extend PHP to allow access to .NET

Re: FW: [PHP-DEV] Autoboxing in php 5.1

2005-02-13 Thread Christian Stocker
On 13.2.2005 19:08 Uhr, David Kingma | jool.nl wrote: Hello Marcus / Adam, While I have nothing against some kind of comment parser in the PHP core, I think it's something which can be done perfectly in the userland (when the ReflectionParameter::getDocComment() is added). Instead I would like to

Re: [PHP-DEV] Autoboxing in php 5.1

2005-02-13 Thread Marcus Boerger
Hello Johannes, Saturday, February 12, 2005, 11:39:30 PM, you wrote: [...] > While writing this mail I did some deeper look on the getDocComment stuff and > found that my "it doesn't work example"[2] was the only case it doesn't work > - just adding some statement behind the comment frees the bu

FW: [PHP-DEV] Autoboxing in php 5.1

2005-02-13 Thread David Kingma | jool.nl
Hello Marcus / Adam, While I have nothing against some kind of comment parser in the PHP core, I think it's something which can be done perfectly in the userland (when the ReflectionParameter::getDocComment() is added). Instead I would like to see the XML Canonicalization functionality from libxm

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP 5.1?

2005-02-13 Thread Adam Maccabee Trachtenberg
On Sun, 13 Feb 2005, Christian Stocker wrote: > Which is still less than 2.5.11, which is required for 5.0. Therefore > Debian Stable people had to face this problem already with 5.0 ;) Fair enough. Asking people to upgrade to 2.6.x vs 2.5.11 is minor. -adam -- [EMAIL PROTECTED] | http://www.t

Re: [PHP-DEV] Autoboxing in php 5.1

2005-02-13 Thread Greg Beaver
Marcus Boerger wrote: Hello Adam, ok, you propose a function to prepare the doc comments for further processing. While this seems a good idea at first glance it is not that easy as you typed it. The problem is that there are different tags some of which stop at the next tag, some are just valid fo

[PHP-DEV] how to usr gdb to debug my module?

2005-02-13 Thread taft
I have write a simple module, but I have no idea on how to debug it. I need to step run and set breakpoint. I think gdb is a nice debuger. Could any one provide some clue for debuging, not only gdb. wishes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.

Re: [PHP-DEV] Autoboxing in php 5.1

2005-02-13 Thread Marcus Boerger
Hello Daniel, Sunday, February 13, 2005, 4:49:58 PM, you wrote: > On Sun, Feb 13, 2005 at 11:48:49AM +0100, Marcus Boerger wrote: >> And i >> think it would be a good idea to start this as a set of php scripts. > Why not use phpDocumentor's parser for this? They've put a load of > thought int

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP 5.1?

2005-02-13 Thread Christian Stocker
On 13.2.2005 18:19 Uhr, Adam Maccabee Trachtenberg wrote: On Sun, 13 Feb 2005, Christian Stocker wrote: There are new features in 5.1, which only run with 2.6 (the new error handling system, for example, or proper namespace support for SAX). Those are currently ifdef'd, but it definitively would

Re: [PHP-DEV] Anyone against requiring libxml2 2.6.x for PHP 5.1?

2005-02-13 Thread Adam Maccabee Trachtenberg
On Sun, 13 Feb 2005, Christian Stocker wrote: > There are new features in 5.1, which only run with 2.6 (the new error > handling system, for example, or proper namespace support for SAX). > Those are currently ifdef'd, but it definitively would make the life of > the XML maintainers a lot easier,

RE: [PHP-DEV] Symbol clash between Recode and MySQL extensions

2005-02-13 Thread Derick Rethans
On Sun, 13 Feb 2005 [EMAIL PROTECTED] wrote: > I was thinking that rather than linking against the recode library (and > implicitly importing all symbols within it), we could instead dlopen() it, > and use dlsym() to import only symbols we want. Looking at the recode > extension, theres only a han

Re: [PHP-DEV] Autoboxing in php 5.1

2005-02-13 Thread Daniel Convissor
On Sun, Feb 13, 2005 at 11:48:49AM +0100, Marcus Boerger wrote: > And i > think it would be a good idea to start this as a set of php scripts. Why not use phpDocumentor's parser for this? They've put a load of thought into parsing docblocks. --Dan -- T H E A N A L Y S I S A N D S O L

Re: [PHP-DEV] Autoboxing in php 5.1

2005-02-13 Thread Marcus Boerger
Hello Adam, ok, you propose a function to prepare the doc comments for further processing. While this seems a good idea at first glance it is not that easy as you typed it. The problem is that there are different tags some of which stop at the next tag, some are just valid for the word, some are