Re: [PHP-DEV] Looking for Z_TYPE_PP in all the wrong places.

2016-12-14 Thread Richard Quadling
On 14 December 2016 at 14:37, Christoph M. Becker <cmbecke...@gmx.de> wrote: > On 14.12.2016 at 14:32, Michael Wallner wrote: > > > On 14/12/16 14:17, Richard Quadling wrote: > >> Hi. > >> > >> I'm trying to find the replacement for Z_TYPE_PP (and sev

[PHP-DEV] Looking for Z_TYPE_PP in all the wrong places.

2016-12-14 Thread Richard Quadling
! Regards, Richard Quadling.

[PHP-DEV] How do I detect a script failure in an extension's PHP_RSHUTDOWN_FUNCTION callback?

2015-03-05 Thread Richard Quadling
to detect the nature of the scripts termination (for example, but not limited to, fatal error, unhandled exception, parse error - maybe, exit(n), etc.) Is this possible? If so, some suggestions would be nice. Thanks. Richard. -- Richard Quadling Twitter : @RQuadling

Re: [PHP-DEV] [RFC] Scalar Type Hints v0.2

2015-01-14 Thread Richard Quadling
a perfect example, but you see the point I hope). Richard. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY

Re: [PHP-DEV] [RFC] Scalar Type Hints v0.2

2015-01-14 Thread Richard Quadling
with PHP's type juggling. -- Richard Quadling

[PHP-DEV] Gist to allow for [SAPI] specific sections in ini files.

2013-09-14 Thread Richard Quadling
the following gist which SEEMS to be working for me. https://gist.github.com/RQuadling/6562855 If anyone is interested, where should I go next? Regards, Richard. -- Richard Quadling Twitter : @RQuadling

Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale?

2013-09-14 Thread Richard Quadling
SAPI's have defaults too. -- Richard Quadling Twitter : @RQuadling

Re: [PHP-DEV] Request for comments - new PHP feature: return typing

2013-06-27 Thread Richard Quadling
typed and that is core to everything. But as the core can easily tell an array from a callable, then a scalar would seem to fit right in. And if we can have scalar type hinting, scalar return type hinting would/should also be possible. Is this a feasible option? -- Richard Quadling Twitter

Re: [PHP-DEV] RFC Proposal: New assign value operator

2013-06-26 Thread Richard Quadling
behaviour. Where would this RFC change be used? And having said all of that, I'm not against it, just want to see what it would be useful for that isn't already part of PHP's toolbox. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY

[PHP-DEV] Random Monday thought.

2013-06-03 Thread Richard Quadling
, Richard. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Richard Quadling
On 3 June 2013 17:55, Nikita Popov nikita@gmail.com wrote: On Mon, Jun 3, 2013 at 6:49 PM, Richard Quadling rquadl...@gmail.comwrote: Hi. Recently the setters/getters rfc was declined. Other than the vote, was there any technical reasons? I've been sitting here and had a thought

Re: [PHP-DEV] Random Monday thought.

2013-06-03 Thread Richard Quadling
that will frustrate many users. On Mon, Jun 3, 2013 at 2:20 PM, Richard Quadling rquadl...@gmail.comwrote: On 3 June 2013 17:55, Nikita Popov nikita@gmail.com wrote: On Mon, Jun 3, 2013 at 6:49 PM, Richard Quadling rquadl...@gmail.com wrote: Hi. Recently the setters/getters rfc

Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale?

2013-05-26 Thread Richard Quadling
a dev would take to accurately set the timezone on an unknown server, then this process would certainly seem to be useful. But only because PHP gives a warning that the lack of the timezone is an issue. Regards, Richard. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814

Re: [PHP-DEV] Cannot call constructor

2013-05-24 Thread Richard Quadling
very bottom of the heap sounds useful. But I'm not totally sure. Is there much/any need for a true base class that ALL classes will extend from, including those in extensions. Richard. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY

Re: [PHP-DEV] vsprintf()

2013-04-24 Thread Richard Quadling
of your email? Did you hope for some action to arise, or are you just letting off steam? Best, Rich Oh! Another magic method opportunity ... /** * Operates just like __toString(), but returns an array. */ public function __toArray(); (ducking) -- Richard Quadling Twitter : @RQuadling

Re: [PHP-DEV] References in rfc:propertygetsetsyntax

2013-01-22 Thread Richard Quadling
On 22 January 2013 01:08, Clint Priest cpri...@zerocue.com wrote: On 1/21/2013 12:36 PM, Richard Quadling wrote: Hello. This may have already been covered, so apologies ... With https://wiki.php.net/rfc/propertygetsetsyntax-v1.2#references, the return by reference is handled by the use

Re: [PHP-DEV] [VOTE] Alternative typehinting syntax for accessors

2013-01-22 Thread Richard Quadling
around blocks, is there any sensible use case for having type hinted set() parameter as well as type hinted property? Richard. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] References in rfc:propertygetsetsyntax

2013-01-21 Thread Richard Quadling
, Richard. -- Richard Quadling Twitter : @RQuadling EE : http://e-e.com/M_248814.html Zend : http://bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] run-tests.php and dynamic extension dependencies

2011-11-28 Thread Richard Quadling
not portable because not on every platform the extension name = extension.so Can you use PHP_SHLIB_SUFFIX? -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370 -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Changes to constructor signature checks

2011-11-24 Thread Richard Quadling
coding practises. Is it a great leap to also allow the same flexibility with constructors? Regards, Richard Quadling. [1] http://stackoverflow.com/questions/56860/what-is-the-liskov-substitution-principle [2] http://en.wikipedia.org/wiki/Constructor_overloading#Constructor_overloading -- Richard

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-24 Thread Richard Quadling
']['non_existent']) === 'f') - which it now is obviously is, then the change in V5.4 is certainly a bug fix. But, it is a significant enough issue that warrants a decent amount of documentation. -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly

Re: [PHP-DEV] 5.4 regression: non-existent sub-sub keys now have values

2011-11-23 Thread Richard Quadling
around is awful. -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Results of testing ZF against PHP 5.4.0RC1

2011-11-18 Thread Richard Quadling
you fall over night! Have a good weekend everyone. I know I will. -- Richard Quadling Twitter : EE : Zend : PHPDoc : Fantasy Shopper @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea : fan.sh/6/370 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Results of testing ZF against PHP 5.4.0RC1

2011-11-18 Thread Richard Quadling
On 18 November 2011 17:37, Ferenc Kovacs tyr...@gmail.com wrote: On Fri, Nov 18, 2011 at 5:40 PM, Richard Quadling rquadl...@gmail.com wrote: On 18 November 2011 13:31, Felipe Pena felipe...@gmail.com wrote: 2011/11/18 Pierre Joye pierre@gmail.com: same here, and for any other places

Re: [PHP-DEV] some notes about traits

2011-11-16 Thread Richard Quadling
. Interestingly, I've used property_exists to expose public access to protected properties. I suppose that is always possible. Bad design really. I would guess you wouldn't mix the different access mechanisms (public/protected/private, __get/__set, getter()/setter()). Richard. -- Richard Quadling

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-19 Thread Richard Quadling
or missing from any sub-class' definition. As things stand, 5.4.0-beta doesn't report any problem with this code. Have I made a mountain out of a mole hill? (http://en.wikipedia.org/wiki/Make_a_mountain_out_of_a_molehill for those who don't know the English idiom). -- Richard Quadling Twitter

[PHP-DEV] __constructor parameter limitations.

2011-09-17 Thread Richard Quadling
on a different front (I can't docblock non defined parameters for examples). Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] __constructor parameter limitations.

2011-09-17 Thread Richard Quadling
! Which change are you talking about? I just tried doing:    ?php    class A           { public function __construct($a)     { } }    class B extends A { public function __construct($a, $b) { } } And it worked on 5.4 Beta 1 without errors. Nikita On Sat, Sep 17, 2011 at 3:27 PM, Richard Quadling

Re: [PHP-DEV] A couple of missing directories if configure.js is forgotten.

2011-09-16 Thread Richard Quadling
Sure thing. https://bugs.php.net/bug.php?id=55709 and https://bugs.php.net/bug.php?id=55710 2011/9/15 Pierre Joye pierre@gmail.com: hi Richard, Can you open a bug for each of your patches please? Thanks! 2011/9/15 Ángel González keis...@gmail.com: Richard Quadling wrote: Hi

Re: [PHP-DEV] A couple of missing directories if configure.js is forgotten.

2011-09-16 Thread Richard Quadling
2011/9/15 Ángel González keis...@gmail.com: Richard Quadling wrote: Hi. Sometimes I remove Release prior to nmake to make sure everything builds clean. 2 directories fail to get build Release\win32 Release\devel The attached patch fixes that. -       @for %D in ($(BUILD_DIRS_SUB

[PHP-DEV] A couple of missing directories if configure.js is forgotten.

2011-09-15 Thread Richard Quadling
in ($(BUILD_DIRS_SUB) devel win32) do @if not exist %D @mkdir %D NUL @if not exist $(BUILD_DIR_DEV) @mkdir $(BUILD_DIR_DEV) NUL @cd $(PHP_SRC_DIR) Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

Re: [PHP-DEV] Re: [PHP-CVS] svn: /php/php-src/ branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings.phpt branches/PHP_5_4/ext/session/tests/rfc1867_invalid_settings_2.phpt trunk/ext/session/tes

2011-09-14 Thread Richard Quadling
for different values in INI files can only be done by having multiple tests or by a single test generating multiple sub-tests to check for the known values. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP

Re: [PHP-DEV] Re: drop bison 1.x?

2011-09-02 Thread Richard Quadling
-tools-20110512.zip contains [2011-09-02 11:36:29] [D:\php-sdk-binary-tools-20110512\bin] [] bison.exe --version GNU Bison version 1.27 -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] [VOTE] Choosing a distributed version control system for PHP

2011-08-27 Thread Richard Quadling
don't currently get git. It SEEMS very complicated for no gain - when all I'm working on is 1 extension (pecl/win32service) and phpdoc. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] ReflectionClass::newInstanceWithoutConstructor()

2011-08-25 Thread Richard Quadling
, of  course. Wouldn't ReflectionClass::newMockInstance() be a better name? What other use cases exists? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-12 Thread Richard Quadling
. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] getopt bc break 5.2 - 5.3

2011-08-08 Thread Richard Quadling
) (built: Aug  8 2011 11:02:31): $ php test.php Module.Controller.Action -p foobar array(0) { } test.php: var_dump(getopt(p:)); Is this by-design? Thanks, Martin Can you try ... php test.php -- Module.Controller.Action -p foobar -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-07 Thread Richard Quadling
, which should I support? Both? All 3, 4 or 10 different forks? Having a single repository for the code makes the code the official, authoritative version. A DVCS will have too many champions and I feel would drastically dilute that authority. Regards, Richard. -- Richard Quadling Twitter : EE

Re: [PHP-DEV] asString() method vs __toString() magic method.

2011-08-06 Thread Richard Quadling
the basis would be good. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] asString() method vs __toString() magic method.

2011-08-02 Thread Richard Quadling
in Z:\fa1.php on line 21 -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] asString() method vs __toString() magic method.

2011-08-02 Thread Richard Quadling
in : failure1::__wakeup But __toString() throws a Fatal Error. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Exception throwed if parent::__construct() not called in \DirectoryIterator subclass

2011-07-28 Thread Richard Quadling
would be nice). Enforcement of the constructor can only be achieved by making it final. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] new gcov.php.net machine is up

2011-07-26 Thread Richard Quadling
/lstrojny/functional-php. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] set the PHP_INI_ENTRY_* values the same as for php.ini-production

2011-07-25 Thread Richard Quadling
to a documented standard. Add this labelling to the phpinfo() page and it makes things very very clear what is in play. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] new gcov.php.net machine is up

2011-07-23 Thread Richard Quadling
% warning free build? I'm not meaning that we should suppress the warnings. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Magic quotes removal previous patch

2011-07-22 Thread Richard Quadling
On 22 July 2011 12:30, Pierre Joye pierre@gmail.com wrote: patch applied to trunk and 5.4, had to resist not to apply it to 5.3 :D As the great collective once said, Resistance is futile. Surrender to your inner-borg. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com

Re: [PHP-DEV] 5.4a2 trait attribute name conflict resolution

2011-07-22 Thread Richard Quadling
an inherited class will overwrite public properties in their parent class. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Magic quotes removal previous patch

2011-07-21 Thread Richard Quadling
mq! -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Coding for the differences in 5.3 and 5.4 _zend_class_entry structure.

2011-07-20 Thread Richard Quadling
to the znode structures. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Magic Quotes in PHP, the Finalle

2011-07-19 Thread Richard Quadling
those bad practices and ini settings. I think a minimal php.ini-best-practice would certainly highlight this to the hosters. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] PHP 5.3.7, upgrade Libpng to 1.2.45

2011-07-19 Thread Richard Quadling
On 19 July 2011 11:25, Pierre Joye pierre@gmail.com wrote: done. And thank you for the update to http://windows.php.net/downloads/php-sdk/deps -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP

Re: [PHP-DEV] PHP 5.3.7, upgrade Libpng to 1.2.45

2011-07-19 Thread Richard Quadling
. I'm building gd as a shared module. On 19 July 2011 12:07, Pierre Joye pierre@gmail.com wrote: global pkg is not but the standalone one is On Tue, Jul 19, 2011 at 12:59 PM, Richard Quadling rquadl...@gmail.com wrote: On 19 July 2011 11:25, Pierre Joye pierre@gmail.com wrote: done

Re: [PHP-DEV] PHP 5.3.7, upgrade Libpng to 1.2.45

2011-07-19 Thread Richard Quadling
Toggling between libpng-1.2.45-vc9-x86.zip and libpng-1.2.46-vc9-x86.zip and 1.2.45 works for me but 1.2.46 doesn't. On 19 July 2011 13:15, Richard Quadling rquadl...@gmail.com wrote: Yep. Got it! I've just tried rebuilding my PHP (5.3 and 5.4). Both getting the same linker error. [snip

Re: [PHP-DEV] PHP 5.3.7, upgrade Libpng to 1.2.45

2011-07-19 Thread Richard Quadling
That seems to be linking just fine. Thank you. On 19 July 2011 16:23, Pierre Joye pierre@gmail.com wrote: please try again (fetch the lib again) On Tue, Jul 19, 2011 at 3:42 PM, Richard Quadling rquadl...@gmail.com wrote: Toggling between libpng-1.2.45-vc9-x86.zip and libpng-1.2.46-vc9

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-18 Thread Richard Quadling
On 18 July 2011 01:31, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 7/17/11 3:03 PM, Richard Quadling wrote: Why bother having defaults if you don't use them. Err, well, the way PHP ini system works you always have defaults - something is always stored in the hash. My local ini

Re: [PHP-DEV] [RFC] Magic Quotes in PHP, the Finalle

2011-07-18 Thread Richard Quadling
5.4.4 throw an E_WARNING or E_FATAL if turned on Considering the documentation says it was deprecated in 5.3.0, just kill it off. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] [VOTE] 5.4 features vote

2011-07-17 Thread Richard Quadling
. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] weak references

2011-07-16 Thread Richard Quadling
the object to be gc'd in the normal way, but any other value would be a hint to how long the object would be expected to last for. If gc happens frequently, then $ttl acts as a limiter and I think this could be very useful. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814

[PHP-DEV] PHP Outreach Project (Was: Re: [PHP-DEV] Make primitive type names reserved words (Was: Re: [PHP-DEV] [RFC] 5.4 features for vote (long)))

2011-07-11 Thread Richard Quadling
the call from PHP saying We will be breaking classes called string! I really really need to do something about it. It may be a pull list is fine/enough, but I guess we already have these and yet modern projects are still not preparing themselves. -- Richard Quadling Twitter : EE : Zend : PHPDoc

Re: [PHP-DEV] preg_match

2011-07-08 Thread Richard Quadling
in 5.3 - *that* is a nightmare. Best Regards Mike Robinson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Could've used preg_replace_all() ? Maybe? You _are_ a programmer, right? -- Richard Quadling Twitter : EE : Zend : PHPDoc

Re: [PHP-DEV] [PATCH] getimagesize - return named keys for width, height, type and attributes

2011-07-08 Thread Richard Quadling
On 8 July 2011 17:10, DIXON P. paul.di...@durham.ac.uk wrote: Hi, I've attached a patch ... Rename as .txt to get through the mailing list s/w. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP

Re: [PHP-DEV] [PATCH] getimagesize - return named keys for width, height, type and attributes

2011-07-08 Thread Richard Quadling
On 8 July 2011 17:21, DIXON P. paul.di...@durham.ac.uk wrote: Thanks Richard, Renamed and attached. -Original Message- From: Richard Quadling [mailto:rquadl...@gmail.com] Sent: 08 July 2011 17:13 To: DIXON P. Cc: internals@lists.php.net Subject: Re: [PHP-DEV] [PATCH] getimagesize

Re: [PHP-DEV] [RFC] -W option for CLI strict mode

2011-07-07 Thread Richard Quadling
2011/7/6 Johannes Schlüter johan...@schlueters.de: On Wed, 2011-07-06 at 16:46 +0100, Richard Quadling wrote: 2011/7/6 Johannes Schlüter johan...@schlueters.de: On Tue, 2011-07-05 at 16:50 +0100, Richard Quadling wrote: C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose

Re: [PHP-DEV] [RFC] -W option for CLI strict mode

2011-07-07 Thread Richard Quadling
2011/7/7 Richard Quadling rquadl...@gmail.com: 2011/7/6 Johannes Schlüter johan...@schlueters.de: On Wed, 2011-07-06 at 16:46 +0100, Richard Quadling wrote: 2011/7/6 Johannes Schlüter johan...@schlueters.de: On Tue, 2011-07-05 at 16:50 +0100, Richard Quadling wrote: C:\php5\php.exe

Re: [PHP-DEV] [RFC] -W option for CLI strict mode

2011-07-06 Thread Richard Quadling
On 6 July 2011 15:14, Mike Robinson m...@rile.ca wrote: On July-06-11 12:58 AM Adam Harvey wrote: On 6 July 2011 06:00, Richard Quadling rquadl...@gmail.com wrote: I'd also add in the display_startup_errors to this also. As I see it, the idea is to make things as noisy or as quiet

Re: [PHP-DEV] [RFC] -W option for CLI strict mode

2011-07-06 Thread Richard Quadling
2011/7/6 Johannes Schlüter johan...@schlueters.de: On Tue, 2011-07-05 at 16:50 +0100, Richard Quadling wrote: C:\php5\php.exe --verbose -f d:\docs\phd\render.php -- --verbose That happens with all options.   $ php -n run-tests.php -n You missed out the -- That separates arguments from

Re: [PHP-DEV] [RFC] -W option for CLI strict mode

2011-07-05 Thread Richard Quadling
file get read and processed in regards to the command line params? Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] [RFC] -W option for CLI strict mode

2011-07-05 Thread Richard Quadling
On 5 July 2011 17:22, Adam Harvey ahar...@php.net wrote: On 5 July 2011 23:50, Richard Quadling rquadl...@gmail.com wrote: Non bikeshedding thought ... Being able to enable full error reporting at the command line has to be complimented though by fully disabling error reporting ... -Q

Re: [PHP-DEV] [PATCH] Friendly log messages for CLI server

2011-06-30 Thread Richard Quadling
.110mb.com/ansicon/). So, for me turning it on would work for me. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] unexpected modification of a variable

2011-06-29 Thread Richard Quadling
... http://docs.php.net/manual/en/language.oop5.references.php -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [VOTE] voting rfc

2011-06-23 Thread Richard Quadling
that will alter an existing feature - obviously, this could be a BC). Userland Enhancement / New Feature (something that will work in a new version of PHP - possible name collision to existing userland code). -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html

Re: [PHP-DEV] [RFC] Object oriented session handlers

2011-06-20 Thread Richard Quadling
On 20 June 2011 01:39, Arpad Ray array...@gmail.com wrote: On Mon, Jun 6, 2011 at 5:31 PM, Richard Quadling rquadl...@gmail.com wrote: Not an internals expert, but I do have a question. When would the session handler object be destroyed? If sessions are being logged to a DB (maybe via

Re: [PHP-DEV] date_diff broken?

2011-06-17 Thread Richard Quadling
(Europe/London, Indian/Kerguelen, America/Kentucky/Louisville), then that date is altered. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] Getting a list of registered namespaces.

2011-06-16 Thread Richard Quadling
not totally sure of any other use. That's why I was asking. As (or if) more extensions start to use namespaces to protect their contents from name collision, we are probably going to have namespace collision before long. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com

Re: [PHP-DEV] Getting a list of registered namespaces.

2011-06-16 Thread Richard Quadling
On 16 June 2011 14:03, Martin Scotta martinsco...@gmail.com wrote:  Martin Scotta On Thu, Jun 16, 2011 at 9:40 AM, Richard Quadling rquadl...@gmail.com wrote: On 15 June 2011 17:23, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! With pecl/http (DEV-2 branch) and the Functional

Re: [PHP-DEV] Getting a list of registered namespaces.

2011-06-16 Thread Richard Quadling
On 16 June 2011 17:40, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! On 6/16/11 8:37 AM, Richard Quadling wrote: Maybe, but because of a lack of convention on naming, we have namespaces. No, we have namespaces not because we couldn't agree on naming convention, but because any naming

[PHP-DEV] Getting a list of registered namespaces.

2011-06-15 Thread Richard Quadling
from the extension, but that would need to be at a suitable version change rather than mid-cycle. But really, this is out of my depth now. Maybe a mentor/mentee would be useful here. Regards, Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html

[PHP-DEV] http://news.php.net/php.cvs/65214 causing win32 compile problems.

2011-06-13 Thread Richard Quadling
to look at the rmtools logs, but they are offline it seems (or the URLs different or I don't have rights). Anyway. Not sure if this is win32 only, but thought that you should know. Regards, Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

[PHP-DEV] Re: [PHP-DOC] Re: [PHP-DEV] SVN Account Request: spankmaster79

2011-06-09 Thread Richard Quadling
Network Infrastructure Manager http://www.php.net/ My personal fawouwit would be Elmer Fudd. http://www.google.com/webhp?hl=xx-elmer -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Callable type

2011-06-08 Thread Richard Quadling
function. 4 - array('class', 'method') Callbacks Only 1, 2 and 3 from the above list. If you try to use $funcarray(), you get the following fatal error ... Fatal error: Function name must be a string -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly

Re: [PHP-DEV] Callable type

2011-06-08 Thread Richard Quadling
2011/6/8 Johannes Schlüter johan...@schlueters.de: On Wed, 2011-06-08 at 11:27 +0100, Richard Quadling wrote: If you try to use $funcarray(), you get the following fatal error ... Fatal error: Function name must be a string This is fixed. See thread From:   Felipe Pena felipe...@gmail.com

Re: [PHP-DEV] Sites still down?

2011-06-08 Thread Richard Quadling
). Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Callable typehint

2011-06-07 Thread Richard Quadling
] in subject, and wait for another 2weeks and then if accepted by 50%+1 php.net developer, and 60% of the community votes, then I can commit? Thats the current rules of the game? I always thought it was publish and be damned. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com

[PHP-DEV] Getting integer value for ini entries that support shorthanded sizing.

2011-06-06 Thread Richard Quadling
of events. That way, ini_get('memory_limit') would return the memory limit in bytes, rather than the shorthand. Richard -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] [RFC] Object oriented session handlers

2011-06-06 Thread Richard Quadling
and interdependent references? -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFC: Enum

2011-06-03 Thread Richard Quadling
be followed. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] INF behavior

2011-05-27 Thread Richard Quadling
to NULL always fails. Even to other NULLs. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Porting PECL to userspace

2011-05-20 Thread Richard Quadling
in PHP, not without a LOT of effort. Talking to third party libraries or making c calls to the OS is out. Richard. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] [rmtools][php-5.4] Build error between r and 311062

2011-05-16 Thread Richard Quadling
On 16 May 2011 00:44, Pierre Joye pierre@gmail.com wrote: hi, On Mon, May 16, 2011 at 12:11 AM, Richard Quadling rquadl...@gmail.com wrote: On 15 May 2011 21:37,  nore...@php.net wrote: This is an automatic mail from the rmtoool's build bots. New build errors have been introduced

Re: [PHP-DEV] [rmtools][php-5.4] Build error between r and 311062

2011-05-15 Thread Richard Quadling
? Richard -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] annotations again

2011-05-11 Thread Richard Quadling
there. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Please let's not bitch about lazy users not learning C to implement THEIR missing feature. (Was Re: [PHP-DEV] 5.4 again)

2011-05-09 Thread Richard Quadling
. As a volunteer to the PHP project (mainly making an arse of myself in as many places as possible) and a PHP user, I am deeply indebted to all the work undertaken by the core devs. I get paid because of them. Please treat the devs nicely is all I'm really saying. Richard. -- Richard Quadling

Re: [PHP-DEV] Call non-static method staticly raise E_STRICT, but why call a static method instancely won't

2011-04-25 Thread Richard Quadling
On 25 April 2011 11:29, Reindl Harald h.rei...@thelounge.net wrote: nobody says stop selling guns because somebody can shoot in his foot It'd be a place to start though. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals - PHP Runtime

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Richard Quadling
overload session handling logic by using session_set_save_handler(), would something like ... bool debugging_set_handler(callback $watch, callback $unwatch, callback $trace); be of use? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Richard Quadling
. johannes If the extension could allow for userland interpretation of the debug events ... then I think that's the best of all worlds. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-17 Thread Richard Quadling
or Apache then! (OK. Just kidding). -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator

2011-04-14 Thread Richard Quadling
(). Specifically testing the value. If I've made a mistake and NOT declared the variable (or made a typo), I want to know. I don't want to hide it with isset()/empty(). -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator

2011-04-14 Thread Richard Quadling
On 14 April 2011 11:07, Reindl Harald h.rei...@thelounge.net wrote: Am 14.04.2011 12:02, schrieb Richard Quadling: I always declare my variables. So, I don't want to use isset() as they will be an incorrect test. I use is_null(). Specifically testing the value. If I've made a mistake

Re: [PHP-DEV] proposed access modifier silent ... was: Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator

2011-04-12 Thread Richard Quadling
['defined_key_value']), empty($array['defined_key_value']), array_key_exists('defined_key_value', $array)); } tester(); ? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] proposed access modifier silent ... was: Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator

2011-04-12 Thread Richard Quadling
On 12 April 2011 12:33, Richard Quadling rquadl...@gmail.com wrote: [1] http://pastebin.com/qLNYtfAw Updated to http://pastebin.com/cqSEcGpN to include 0 and '' values. The output is ... Undefined variableisset() = false empty() = true defined = false Defined variable null

  1   2   3   4   5   6   >