Hi,
I'm currently writing a shared extension thta depends on another shared
extension (igbinary). make test doesn't handle this at the moment,
because it removes every extension= line from it's temporary php.ini.
This means that the dependent extension (igbinary) now isn't loaded,
which means
On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net wrote:
Hi,
I'm currently writing a shared extension thta depends on another shared
extension (igbinary). make test doesn't handle this at the moment,
because it removes every extension= line from it's temporary php.ini.
This
On Mon, 28 Nov 2011, Ferenc Kovacs wrote:
On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net wrote:
I'm currently writing a shared extension thta depends on another
shared extension (igbinary). make test doesn't handle this at the
moment, because it removes every extension=
On 28 November 2011 13:36, Derick Rethans der...@php.net wrote:
On Mon, 28 Nov 2011, Ferenc Kovacs wrote:
On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net wrote:
I'm currently writing a shared extension thta depends on another
shared extension (igbinary). make test doesn't
On Mon, 28 Nov 2011, Richard Quadling wrote:
On 28 November 2011 13:36, Derick Rethans der...@php.net wrote:
On Mon, 28 Nov 2011, Ferenc Kovacs wrote:
On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net wrote:
I'm currently writing a shared extension thta depends on another
hi Derick,
On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net wrote:
I'm currently writing a shared extension thta depends on another shared
extension (igbinary). make test doesn't handle this at the moment,
because it removes every extension= line from it's temporary php.ini.
On Mon, Nov 28, 2011 at 2:44 PM, Derick Rethans der...@php.net wrote:
On Mon, 28 Nov 2011, Richard Quadling wrote:
On 28 November 2011 13:36, Derick Rethans der...@php.net wrote:
On Mon, 28 Nov 2011, Ferenc Kovacs wrote:
On Mon, Nov 28, 2011 at 2:11 PM, Derick Rethans der...@php.net
On Mon, 2011-11-28 at 15:18 +0100, Ferenc Kovacs wrote:
+ foreach ($extensions as $req_ext) {
+ $loaded = `$php -n -r 'echo (int) extension_loaded($req_ext);'`;
+ if ($loaded == '0') {
This should use the tmp-php.ini as that might already load the required
extension if it was built in the
On Mon, 28 Nov 2011, Johannes Schlüter wrote:
On Mon, 2011-11-28 at 15:18 +0100, Ferenc Kovacs wrote:
+ foreach ($extensions as $req_ext) {
+ $loaded = `$php -n -r 'echo (int) extension_loaded($req_ext);'`;
+ if ($loaded == '0') {
This should use the tmp-php.ini as that might already
2011/11/28 Johannes Schlüter johan...@schlueters.de
On Mon, 2011-11-28 at 15:18 +0100, Ferenc Kovacs wrote:
+ foreach ($extensions as $req_ext) {
+ $loaded = `$php -n -r 'echo (int) extension_loaded($req_ext);'`;
+ if ($loaded == '0') {
This should use the tmp-php.ini as that might
2011/11/28 Ferenc Kovacs tyr...@gmail.com:
run-tests.php -d extension=/path/to/extname.so
yeah, but we advertise make test as the official/endorsed way to run the
test suite, so that should work.
any reliable tests cannot be done using make test as long as there
some random php.ini's in
On Mon, 2011-11-28 at 15:02 +, Derick Rethans wrote:
On Mon, 28 Nov 2011, Johannes Schlüter wrote:
On Mon, 2011-11-28 at 15:18 +0100, Ferenc Kovacs wrote:
+ foreach ($extensions as $req_ext) {
+ $loaded = `$php -n -r 'echo (int) extension_loaded($req_ext);'`;
+ if ($loaded ==
On Mon, 28 Nov 2011, Ferenc Kovacs wrote:
thanks for the answer, in this case I think this would be a worthwhile
improvement.
+ foreach ($extensions as $req_ext) {
+ $loaded = `$php -n -r 'echo (int) extension_loaded($req_ext);'`;
+ if ($loaded == '0') {
it would be more efficient to
On 2011-11-23, Anthony Ferrara ircmax...@php.net wrote:
I've had an idea that's been burning in my head for a while. Rather
than write an RFC or do any significant work on it, I thought I would
bounce this off of you all first.
Basically, I see a problem with implementing decorators in PHP.
I think __invokeStatic() would be a very useful magic function, especially
with support for late static binding.
you could difine it one and all sub-classes will have that option of
basically being callable classes.
MyClass($params) could then do some processing and return some data.
This would
How would this be different from defining a function MyClass?
Nikita
On Mon, Nov 28, 2011 at 9:02 PM, Dmitri Snytkine
dsnytk...@ultralogistics.com wrote:
I think __invokeStatic() would be a very useful magic function, especially
with support for late static binding.
you could difine it one
On Mon, Nov 28, 2011 at 1:11 PM, Nikita Popov nikita@googlemail.com wrote:
How would this be different from defining a function MyClass?
Actually, I just found myself wanting this the other day. The class
name in question was being defined in a config file, which the user
would be free to
Hi all,
Some users that have tested this patch asked me if it's possible
deleting offending cookies that enable targeted DoS attack.
https://wiki.php.net/rfc/strict_sessions
I would like to add patch that deletes offending cookies which may
controlled by php.ini setting. I can try to delete
Hannes, I could edit the page once, but save button is disabled for
some reason. Could you check my karma? Thank you.
you have to either provide a comment for the wiki change or check the Minor
Changes checkbox to be allowed to save your work.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
On Mon, Nov 28, 2011 at 21:51, Yasuo Ohgaki yohg...@ohgaki.net wrote:
Hannes, I could edit the page once, but save button is disabled for
some reason. Could you check my karma? Thank you.
Please fill out the large pink field called Edit summary.. and write
something in it.
The save button will
Thank you Ferenc and Hannes!
--
Yasuo Ohgaki
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Karoly,
2011/10/12 Karoly Negyesi kar...@negyesi.net:
Setting session.cache_limiter to an empty string doesn't send headers.
Is this just an artefact of if (!strcasecmp(lim-name,
PS(cache_limiter))) not matching the empty string or does if
(PS(cache_limiter)[0] == '\0') return 0;
Comments Inline
On Mon, Nov 28, 2011 at 12:57 PM, Matthew Weier O'Phinney
weierophin...@php.net wrote:
This seems reasonable, but there are some pretty big drawbacks as well:
* Type-hinting -- typically, a decorator should be able to be used
wherever the object it decorates is used. As
Hi folks,
I updated wiki page to remove draft status.
https://wiki.php.net/rfc/strict_sessions
Any corrections and comments are appreciated.
Regards,
--
Yasuo Ohgaki
yohg...@ohgaki.net
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
2011/11/29 Yasuo Ohgaki yohg...@ohgaki.net:
Hi Karoly,
2011/10/12 Karoly Negyesi kar...@negyesi.net:
Setting session.cache_limiter to an empty string doesn't send headers.
Is this just an artefact of if (!strcasecmp(lim-name,
PS(cache_limiter))) not matching the empty string or does if
25 matches
Mail list logo