Re: Different ways to collect an extension's functions.

From: Date: Mon, 14 Jun 2010 11:28:30 +0000
Subject: Re: Different ways to collect an extension's functions.
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-48770@lists.php.net to get a copy of this message
On Mon, 14 Jun 2010 11:56:57 +0100, Melanie Rhianna Lewis <cyberspice@php.net> wrote:
My feeling is that they should all be static consts unless explicitly
accessed outside of the object module or changed.    Since typically they're a list of function/method entries only accessed by a class or zend_module_entry that is really the case.  Without the static we're polluting the name space.
The static keyword is unnecessary, const already makes the variable have internal linkage by default. -- Gustavo Lopes

« previous php.internals (#48770) next »