committing configs and stuffz for the box to systems/
>
> -Hannes
Considering the hack of Hannes' credentials a while ago, can we trust
that the above message is REALLY from Hannes?
Hmm.
Just spreading some fud in this world of calm.
--
Richard Quadling
Twitter : EE : Zend
@RQuadlin
r, the pman files have not been updated for awhile so we'll look
> into this. Oh, guess we should create a 'pman pman' too.
>
> Regards,
> Philip
Am I right in thinking pman and man is not for windows ... hmmm.
Sounds like half a job to me!
--
Richard Quadling
T
.
I've tried using zend_error() and php_error_docref() but I guess the
system isn't ready yet for these errors.
How do I generate an error (warning level I suppose), that will be
logged in the error log file.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814
On 31 March 2011 10:31, Rasmus Lerdorf wrote:
> #include "SAPI.h"
>
> and then you will have the name in the global sapi_module struct:
>
> sapi_module.name
>
> -Rasmus
>
> On 03/31/2011 02:24 AM, Richard Quadling wrote:
>> Hi.
>>
>> From a C
odule, how do you determine the filename of the
module. I'm guessing the above code would return Apache or IIS (if
using ISAPI), etc.
Is there a global property available for this (or for the above code)?
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.ht
Dinh
>
Old news back in December last year.
http://bjori.blogspot.com/2010_12_01_archive.html
--
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
t beginning of the
string or after a line break character) «^»
Or match regular expression number 2 below (the entire group fails
if this one fails to match) «[^\\]»
Match any character that is NOT a \ character «[^\\]»
Match the character “'” literally «'»
And that certainly makes a LOT more sense.
Decoding regexes and handling the escaping needed for the language is
a real headache sometimes.
Just imagine creating regex code for use by client side Javascript using PHP.
8 \ in a row for a single \ wouldn't be impossible.
Sorry for the confusion.
--
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
On 15 March 2011 10:32, Richard Quadling wrote:
> On 14 March 2011 20:36, Hannes Landeholm wrote:
>> What is more likely to be wrong? Your understanding of a specific
>> regex pattern (which happens to be full of escapes making it
>> incredibly hard to read) or the implement
t;
>> str \'\' str
>> str \'\' str
>>
>> 'str'
>> \'str\'
>>
>> \'str\'
>> \'str\'
>>
>>
>> Result:
>>
>> str '' str
>> str \'' str
I think [^] is wrong and you want it to be ...
(?!)
or
(?!\\{2})
With that, the output is ...
str '' str
str \'\' str
str \'\' str
str \\'\\' str
'str'
\'str\'
\'str\'
\\'str\\'
--
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
:B;
>
> if ( $value->test() ) {
> echo ' what is wrong with this ? ';
> }
That looks like a mix of an enum and a struct.
Can you provide any realworld examples where an enum contains anything
other than integers?
--
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
On 2 February 2011 11:53, Richard Quadling wrote:
> Hi.
>
> 2 tests for ZipArchive.
>
> ZipArchive::addGlob()
> ZipArchive::addPattern()
>
> Documentation to follow.
Grr. .phpt files ARE text ...
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248
Hi.
2 tests for ZipArchive.
ZipArchive::addGlob()
ZipArchive::addPattern()
Documentation to follow.
--
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
On 1 February 2011 15:07, Andrey Hristov wrote:
> Hi Richard,
> On 02/01/2011 02:35 PM, Richard Quadling wrote:
>> Hi.
>>
>> I was looking at the cause for a test failing.
>>
>> It came down to ...
>>
>> size_t n;
>>
>> if (n <
ison resulted in
the suppression of an error which cased the test to fail, leading me
here.
I think other comparisons in the above list are also suppressing
errors (I think mysqlnd will fail to report a loss of connection
during mysqlnd_handle_local_infile() for example).
Regards,
Richard.
[1] http://bugs.php.net/bug.php?id=49072
--
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
On 4 January 2011 15:55, Richard Quadling wrote:
> Hi.
>
> I'm having a link error in the php_xsl extension.
>
> And not just me.
>
> Look at the tail of the compile.txt [1] and you'll see the same error as me.
>
> I'm guessing the change is due to rev
44
[3]
http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC9/x86/libxslt-1.1.23-vc9-x86.zip
--
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
On 31 December 2010 14:15, mark skilbeck wrote:
> I did it like
> so: https://bitbucket.org/winapiforphp/system/src/93583820bbc1/winsystem_registry.c#cl-298
> It's a little messy.
I got that. 4 times no less.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814
On 31 December 2010 14:08, Kalle Sommer Nielsen wrote:
> Hi Richard
>
> 2010/12/31 Richard Quadling :
>> Hi.
>>
>> What macros exist regarding processing arrays in PHP (core not userland)?
>
> Zend hash, see Zend/zend_hash.c for its API.
>
>> I want
o iterate the array to get the lengths of
all the elements, add the number of elements to this value and then 1
more for the trailing \0.
Unless there are some macros to allow to do this sort of thing more easily.
Regards,
Richard Quadling.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e
Hi.
Can anyone take a look at http://bugs.php.net/bug.php?id=53166?
I've supplied the php-src 5.3 and trunk patches to correct the
prototype and reflection.
Once done, I can correct phpdoc.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9
want to.
I don't think it would be necessary to support the old style settings
if the change was done at a major version, though asp_tags and
short_open_tags could be marked as deprecated in the next minor
release.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.ht
be aliased to an error.
Trait1 uses $property, Trait2 uses &$property - all ok. Trait1's
$property is added as expected. Trait2 is sharing the now pre-existing
property.
Richard.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Internal
ut it in a class, I can put it in a trait.
As visibility on the traits methods can be manipulated via the
aliasing mechanism, so should any visibility to a property.
Richard.
[1] http://wiki.php.net/rfc/horizontalreuse
--
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
es.com/1999/06/18/nyregion/metro-news-briefs-new-jersey-woman-sues-gun-maker-after-shooting-accident.html
And I doubt anyone died (or lost part of their kidney) because of the
use of $_GLOBALS / global!
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PH
On 7 December 2010 12:42, John Mertic wrote:
>> On Tue, Dec 7, 2010 at 7:37 AM, Richard Quadling wrote:
>>> On 7 December 2010 12:11, John Mertic wrote:
>>>> On Tue, Dec 7, 2010 at 6:40 AM, Richard Quadling
>>>> wrote:
>>>>> On 7 Dece
On 7 December 2010 12:11, John Mertic wrote:
> On Tue, Dec 7, 2010 at 6:40 AM, Richard Quadling wrote:
>> On 7 December 2010 07:08, Gustavo Lopes wrote:
>>> The very simple attached patch adds an option to disable POST data
>>> processing, which implies the data c
hp
>
As I understand things, the super globals are already populated by the
time the script starts execution.
So, ini_set() will have no impact.
Can you set an ini option for a single script via some other method?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html
xperience to argue much beyond what I've
already said.
The only thing I can think of though is __get can return a seemingly
random value for an undefined property. In keeping with that, why
couldn't a real property? In PHP's terms (not C#), what's the
difference?
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
On 3 December 2010 12:53, wrote:
>> On 2 December 2010 13:51, wrote:
>>>> 2010/12/1 Richard Quadling
>>>>
>>>>> On 1 December 2010 09:22, Stas Malyshev
>>>>> wrote:
>>> ...
>>>
>>>> Why change the e
On 2 December 2010 13:51, wrote:
>> 2010/12/1 Richard Quadling
>>
>>> On 1 December 2010 09:22, Stas Malyshev wrote:
> ...
>
>> Why change the expected behavior of isset? If a property has not been set
>> then isset must return false, and that include
nk
the property should handle it.
__get, __set, __isset and __unset are for undefined class members. Not
properties. From the user of the class, completely invisible.
Having more than 1 way to skin the cat is pretty much de rigueur for PHP.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling
},
[public|protected|private] void unset() {
},
};
(NOTE: Add in abstract and final as appropriate).
--
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
On 1 December 2010 10:23, Eloy Bote Falcon wrote:
> 2010/12/1 Richard Quadling
>>
>> On 1 December 2010 09:22, Stas Malyshev wrote:
>> > Hi!
>> >
>> >> Its not a matter of consistency - Properties, as a cross-language
>> >> concept
>
gt;property->set(Null, True);
This keeps just the 2 property methods. It still allows isset/unset
and allows the developer the option of handling them.
--
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
://msdn.microsoft.com/en-us/library/x9fsa0sw%28VS.80%29.aspx
>
> - Dennis
>
>
Thanks for your reply.
Fundamentally, a big +1 from my little voice on having setters/getters in PHP.
The issue of documentation is probably that the documentation tools
would have to adapt. As things stan
2010/11/29 Ángel González :
> Richard Quadling wrote:
>> As for reading $seconds directly ...
>>
>> Well.
>>
>> If you think of the element that follows read as $this->, then if
>> the parser can handle both ...
>>
>> read $seconds
>>
2010/11/29 Ángel González :
> Richard Quadling wrote:
> setMilliseconds() should have $value as parameter instead of a magic name.
>
> What about allowing this syntax to attach the property to a variable?
>
> For instance:
>
> class TimePeriod
> {
> protected $se
d not
implement their own getArea() method.
The downside is certainly that the code is more verbose than I would
guess many people would like.
Regards,
Richard.
[1] http://www.delphibasics.co.uk/RTL.asp?Name=Property
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.htm
On 25 November 2010 07:16, Patrick ALLAERT wrote:
> TortoiseGit
So, I now have TortoiseCVS, TortoiseSVN _and_ TortoiseGit. Gee! My
windows is slow enough ... now I'm pulling along 3 tortoises.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
y that the error is tagged as being on line 6 and not line 4.
I can see why. It isn't an error until the first non ; following the
closing brace (excluding comments).
So ...
$fn = function()
// comment
;
is valid.
Having the error on the same line as the closing brace would be nice though
emoval, but wasn't there some discussion a LONG
while ago about when this should be?
I would have thought that anything deprecated would best be removed at
the next major release. So that makes it gone for V6 - when ever that
may be.
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
ew elements to the annotation would involve absolutely no
changes to core. You want to add meta data describing the COBOL
picture format of a parameter or the regex validation rule that will
be used, then fine. Nothing in the engine will change.
--
Richard Quadling
Twitter : EE : Zend
@RQuadlin
tever form is required.
So, aren't annotations really just an extension to the docblock
decoding aspects of reflection? Do we have a "performance hit" because
of reflection?
I know I know very little about the impact on PHP, but a simple syntax
wrapped in a comment would really s
On 8 November 2010 17:25, Daniel Brown wrote:
> On Mon, Nov 8, 2010 at 06:47, Richard Quadling wrote:
>>
>> And probably all sane, rational people will agree with you (and me).
>>
>> It's the loonies I worry about!
>
> The person who submitted that is a &
n by each group.
If the additional grouping was alpha, rather than numeric, that would
help further I think (removing the magic numbers).
Is this anything that is ...
a - Useful
b - Doable
Regards,
Richard Quadling.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html
On 8 November 2010 11:32, Adam Harvey wrote:
> On 8 November 2010 19:00, Richard Quadling wrote:
>> [1] vs [2]
>>
>> Not asking for a change or anything.
>
> I think it's probably OK the way it is: the manual page is
> specifically for MongoId, and the capital
Hi.
[1] vs [2]
Not asking for a change or anything.
Regards,
Richard.
[1] http://svn.php.net/viewvc?view=revision&revision=277701
[2] http://www.urbandictionary.com/define.php?term=mongoid
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
.com/nlx98u.
Maybe just drop the tinyurl.com part - let's give those that can't
really something to complain about!
--
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
On 30 October 2010 02:51, Chad Emrys wrote:
> What is in a name anyway?
Would a T_PAAMAYIM_NEKUDOTAYIM by any other name make a difference?
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Internals - PHP Runtime Development Mailing List
);
> echo 'object = ';
> $c->o();
> echo 'parent = ';
> $c->existing();
>
> echo phpversion() . "\n";
>
>
> Thanks,
>
> --Dan
So the calling context/scope is going to have to be used to determine
if the call should get to __call
lling PHP -v
PHP -v
ECHO %ERRORLEVEL%
ECHO Calling PHP -j
PHP -j
ECHO %ERRORLEVEL%
Both errorlevels are 0.
--
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
On 21 October 2010 11:45, Ionut G. Stan wrote:
> On 21/Oct/10 1:17 PM, Richard Quadling wrote:
>>
>> On 21 October 2010 08:52, Ionut G. Stan wrote:
>>>
>>> Option 5: Implement named parameters?
>>>
>>
>> Come on, play fair. I know all a
ing the default was documented, the prototype would look
more like int $flags = 0
So, I want to use the default. OK. 0 vs null in terms of code, 0 is
shorter, but it means that if the default was to change (not with this
function, but any function - and that could be userland), then
allowing me to sa
On 21 October 2010 08:52, Ionut G. Stan wrote:
>
> Option 5: Implement named parameters?
>
Come on, play fair. I know all about the named parameters and I didn't
mention them.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP I
On 19 October 2010 14:51, Richard Quadling wrote:
> On 19 October 2010 14:11, Derick Rethans wrote:
>> --enable-snapshot-build
>
> Close. Will adapt. I don't want everything on, just the ignore build
> failures part.
>
> Thank you.
Or I can just use ...
nmake
one. "Void" also.
But using something like _ (yep, underscore), could be a solution here [4].
Option 2, after probably having to reject option 3, would be my
choice. I want null to REALLY mean nothing. Just like it would be in
foo(10).
Option 1 is what I have to do at the moment.
On 19 October 2010 14:11, Derick Rethans wrote:
> --enable-snapshot-build
Close. Will adapt. I don't want everything on, just the ignore build
failures part.
Thank you.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
--
PHP Internals - PHP
I can exclude it from the configure, but that won't help me
when the extension is fixed.
Regards,
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
s.c?r1=303912&r2=303911&pathrev=303912&view=patch
--
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
variant_cmp() (Windows only - a function in
the COM/DOTNET extension)
and
variable_compare($a,$b) is actually longer than ($a<$b?-1:(($a>$b)1:0)
But var_cmp() would be my +1
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
On 17 September 2010 14:17, Rafael Dohms wrote:
> On Fri, Sep 17, 2010 at 6:28 AM, Christian Kaps
> wrote:
>> On Fri, 17 Sep 2010 10:02:10 +0100, Richard Quadling
>> wrote:
>>> One thing that did come to mind is if we ignore all the issues and
>>> c
on with its own evolution?
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
On 26 August 2010 16:38, Patrick ALLAERT wrote:
> 2010/8/26 Richard Quadling :
>> With all of "I thought this sort of stuff was for Friday's only"
>> comments being made, I think
>> E_ALL_AND_I_REALLY_REALLY_REALLY_DO_MEAN_ALL would be the most useful.
>
nts being made, I think
E_ALL_AND_I_REALLY_REALLY_REALLY_DO_MEAN_ALL would be the most useful.
--
Richard Quadling.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Or you could load the public static methods with a JIT call to prepare
the static instance. Overhead is that every call will have to test
self::$instance
There is probably some argument against "statics" being "dynamic"
though ... not my area of expertise to argue either way.
--
Richard Quadling.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On 11 August 2010 15:13, Zeev Suraski wrote:
> At 15:14 11/08/2010, Richard Quadling wrote:
>>
>> On 11 August 2010 12:10, Zeev Suraski wrote:
>> > We need to remove strict typing from trunk before we release anything
>> > 'official' from php.net
>
nch, then it doesn't go
into the new branch (I have a limited understanding of what that
entails, so I suspect I'm missing a lot of important processes by
saying that - thankfully, no one will ever consider _me_ for the role
of RM!).
So, the trunk keeps strict typing.
Richard Quadling.
ne?
>
> Thanks,
> b.
>
If the script is run via the command line (in my limited experience,
this would be the CLI, CGI, FastCGI SAPIs, others also maybe), can't
you look through the command line parameters?
--
Richard Quadling.
--
PHP Internals - PHP Runtime Development Mailing
On 6 August 2010 15:33, mathieu.suen wrote:
> Hi,
>
> For now you can only index an array using a scalar type or a string.
> Is there some rfc or work going on to enlarge the possibility so that it is
> possible to have some other object like:
>
> - closure
> - object
> - etc.
>
> Thanks
>
> -- Ma
On 16 July 2010 02:42, Joel Perras wrote:
> array_combine(array(), array()) triggers an E_WARNING and returns
> false, instead of simply returning an empty array with no triggered
> warning.
>
> This is not a bug, but was intentionally written as such - see
> ext/standard/array.c around lines 4480
On 1 July 2010 11:31, Peter Cowburn wrote:
> On 1 July 2010 11:21, Richard Quadling wrote:
>> Hi.
>>
>> Is there any documentation regarding this change?
>
> http://php.net/functions.arguments says "Note: As of PHP 5, default
> values may be pas
or, unexpected '=', expecting ')'
I'm just looking for some notes to pass on.
Thank you.
Richard.
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.exper
is added
to code but not enabled?
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c
gt; To unsubscribe, visit: http://www.php.net/unsub.php
>
>
class::method(object $instance)
would certainly be useful.
Could this not be solved by internally extending all userland classes
(and whilst we are at this why not all internal classes) from a PHP
supplied empty class? Maybe std
ns[] = {
Regards,
Richard.
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND00
php.net/php.internals/48573 of use here?
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND00
s[1] and it was planned on
>> the old PHP6 todo at the PDT[2].
>>
>> [1] http://wiki.php.net/rfc/functionarraydereferencing
>> [2] http://wiki.php.net/summits/pdmnotesmay09#php_6 (see point #13)
>>
>>
>
>
> --Mathieu Suen
>
>
>
&g
what
happens.
Regards,
Richard.
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213
ified we know we've got the right type and acceptable values.
In databases, you can't usefully have a column containing multiple
types. Everything would end up as a char/text column to allow you to
put a date AND a string AND a number AND a boolean value in the
column.
Regards,
Richar
performance.
>>
>> What do you think?
>>
>> Tyrael
>
> That's could be very useful to define flag, something like that :
>
> class foo {
> const CASE_1 = 1 << 1;
> const CASE_2 = 1 << 2;
> const CASE_3 = 1 <<
On 19 May 2010 13:53, Peter Cowburn wrote:
> I think the key issue is that _in the docs_ some interface methods are
> marked up as abstract, yet others aren't. I suggest making them
> consistent, having them all being one or t'other.
I would show abstract.
--
---
gt;
>>> *OuterIterator* extends Iterator
>>> <http://www.php.net/manual/en/class.iterator.php> {
>>> /* Methods */
>>> public Iterator getInnerIterator
>>> <http://www.php.net/manual/en/outeriterator.getchildren.php> ( void )
>>> .
h setting, and the comment
on [1] regarding "However, all this goodness comes with a drawback:
configuration settings are instance wide, which impacts all setups of
PHP that runs beyond a single web request (e.g. Apache module or
FastCGI).", could the ini entry be placed in a ...
[HOST=]
face. So you
must supply the code in any class that implements the interface.
Unless the sub-class is declared as an abstract class ...
count();
?>
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE
On 6 May 2010 08:55, Peter Cowburn wrote:
> On 5 May 2010 17:25, Richard Quadling wrote:
>> Hi.
>>
>> I'm in the process of getting the PHPDoc classes showing the correct
>> inherited properties and methods (public/protected but not private).
>>
>>
dump()-ing the RegexIterator
results in a ["replacement"]=>NULL
Assigning a value to $replacement seems to have no bearing on the output.
Regards,
Richard.
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange
il it is removed
(introduced in 5.x then drop in 7.x).
Alternatively, only activate case sensitivity if E_STRICT is set. If a
developer is creating E_STRICT code, I doubt that they are sloppy with
their case.
E_STRICT is documented as "Enable to have PHP suggest changes to your
code which will e
occurred to me that PHP wasn't case sensitive. So no BC for at
least 1 user!
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Cer
n the prototype of the
function shouldn't automatically become accessible to my function
without me doing something extra. In that regard, func_get_args() is
perfect.
Richard.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchan
amed_params() and reflection would be
the "proper" way to determine the named params.
--
-
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpe
On 6 April 2010 13:52, Ferenc Kovacs wrote:
>
>
> On Tue, Apr 6, 2010 at 1:32 PM, Hannes Magnusson
> wrote:
>>
>> 2010/4/6 Richard Quadling :
>> > 2010/4/5 Stanislav Malyshev :
>> >> Hi!
>> >>
>> >>> Given the feedback o
sing __construct vs the class name.
818 classes have __construct
1511 use the class name as the constructor
3563 files don't have a constructor
I excluded tests, examples and documentation (but some may have crept in).
Richard.
--
-
Richard Quadling
"Standing on the shoulders of some
Hello.
A suggestion I would like to make is to allow for nothing to be
supplied for defaulted parameters.
I suppose the easiest way of describing this issue is with the
following code ...
http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Z
On 30 March 2010 15:25, Brian Moon wrote:
> Neat. I would not count cvs2svn though. Or any other known bots in there if
> there are any.
>
> Would be neat to see the list posted on pastebin though.
>
>
> Brian.
>
> http://brian.moonspot.net/
>
> On 3/30/1
quot;markskilbeck"
999,"gregorycu"
1000,"lduran"
Maybe this could be a news item?
Or are csv2svn and changelog not to be included? In which case we have
to wait a little bit more. Personally, author #1000 is a "good news
story".
Regards.
Richard.
--
debug
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Are the win32 snapshots going to come back online again?
Re:http://bugs.php.net/bug.php?id=50821
Regards,
Richard.
--
-
Richard Quadling
"Stand
/www.php.net/unsub.php
>
Maybe not as efficient as it could be but ...
'Itchy', 'Two' => 'Knee', 'Three' => 'San',
'Four' => 'She');
echo @reset(array_keys(array_values($input), 'Knee'));
Richard.
-
ned here, but might allow the framework to
> be written in a way that doesn't have, or at least ameliorates, these sorts of
> issues.
>
> Or perhaps there's a different approach besides traits that would work better.
> I dunno. :-)
>
> --Larry Garfield
T
end_Framework/standard/trunk/library/Zend/Soap/AutoDiscover.php?r1=20096&r2=21379)
which allows me to supply an alternative class name in a similar
fashion to being able to supply a complex type handler class name.
This was the easiest route I could find and the least impacting (full
BC exists).
101 - 200 of 612 matches
Mail list logo