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

2015-03-05 Thread Richard Quadling
ty 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] Class Posing

2007-10-02 Thread Richard Quadling
> as PHPUnit (for which I could really use this functionality), we > > agreed > > that it actually belongs into the core. > > > > Opinions? Needless to say that I would love to see this in PHP > > 5.3 ;-) > > > > -- > > [1] http://en.wikipedia.org/wiki/Objective_C#Posing You're code looks like a factory. Is that your intention? Maybe __factory would be a more obvious name? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"

Re: [PHP-DEV] VS 2005 Support for 5.3?

2007-10-02 Thread Richard Quadling
om 5.3 and up. > > Comments? > > Cheers, > --Pierre Would making the windows compiler MS VC++ Express Edition be a "better" solution? That way you have what is considered a "free" MS compiler. -- - Richard Quadling Zend Certified Engineer : http://zend.com/

Re: [PHP-DEV] substr/array_slice in []

2007-10-09 Thread Richard Quadling
tring#[] is > > just an alias for String#slice, prefer this "crappy unreadable syntax" > > over a "nice and clear" method call. One starts to wonder ... > > > > Regards, > > Stefan -- - Richard Quadling Zend Certified Engineer : http://zend.c

[PHP-DEV] Q. zend_parse_parameters() - allow grouping of optional parameters.

2007-10-10 Thread Richard Quadling
parameters and generate an error for ZEND_NUM_ARGS = 4 or 5. Regards, Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: AW: [PHP-DEV] Method overloading by method signature

2007-10-15 Thread Richard Quadling
ing PHP and missing things like type hinting of scalars AND overloaded function defs is a pain as I now have 1 method with a header which has to parse the parameter types to determine what is required to be called. I think this is a GREAT feature. Even if it was JUST for E_STRICT OOP code. -

[PHP-DEV] My thanks to the PHP community.

2007-10-16 Thread Richard Quadling
my lack of understanding of some of the sometimes quite basic concepts of the new PHD documentation system. As I have in my signature, I am "Standing on the shoulders of some VERY clever giants!". Thank you. Richard Quadling. -- - Richard Quadling Zend Certified Engineer : http

Re: [PHP-DEV] Method overloading by method signature

2007-10-16 Thread Richard Quadling
h one of the above more > readable? You decide:) > > - Timm As the PHP Documentation may have to is starting adding multiple signatures (Docbook has no mechanism if grouping optional parameters it seems), it seems only fair that PHP itself should (flame-retardant suit fully fitted) &q

Re: [PHP-DEV] Method overloading by method signature

2007-10-17 Thread Richard Quadling
ature, along with property accessibility via some sort of read/write mechanism would be more useful to me than some other features (like cough-cough unicode cough-cough). It is something I am familiar with in other languages. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.p

[PHP-DEV] Win32 Build not updated on http://snaps.php.net.

2007-11-05 Thread Richard Quadling
Hi. Last build for V5.3 at Nov 03, 2007 20:30 UTC The next build says "PHP 5.3 Win32 in please consult /dev/urandom". What is this really saying? -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders

[PHP-DEV] Win32 builds on snaps.php.net still down.

2007-11-08 Thread Richard Quadling
Hey! Does anyone other than me care? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-14 Thread Richard Quadling
ribute binaries for linux and similar distributions, however they > > do provide links to external distribution sites. What's to stop > > Microsoft from distributing non-thread-safe 2005 builds (obviously > > optimized for IIS) on their own servers - and why couldn't the

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-15 Thread Richard Quadling
me - if > > the benefit can be expressed. > > Are you assuming a Windows user is a rarity? lol No, I would guess that most people who INTERACT with PHP are windows users. Most people who CODE PHP with are probably NOT windows users. So, more *nix webservers, but more IE browsers. "Prove the benefit! Enhance the world!" (to suckingly paraphrase Heroes). > > - Steph > > Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Providing Visual Studio 2005 builds (again)

2007-11-15 Thread Richard Quadling
files from Microsoft" with a link to the files you are still going to get users complaining that their PHP doesn't work. Just like the number of bogus Doc bugs for the CHM being downloaded via IE (See the warning on http://www.php.net/download-docs.php). -- - Richard Quadling Z

Re: [PHP-DEV] [PATCH] Optional scalar type hinting

2007-11-15 Thread Richard Quadling
lean (false), they are all the same, so does this mean we would be having to cast all the params to the function/method? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" --

Re: [PHP-DEV] [PATCH] Optional scalar type hinting

2007-11-19 Thread Richard Quadling
t; } > > > > > > > > > > > > type_hint_integer(new Integer(123)); > > > type_hint_string(new String("string")); > > > type_hint_float(new Float(0.25)); > > > > > > > Nice implementation, so ? Still more code to include in yo

Re: [PHP-DEV] Disabling the built-in POST handler

2007-11-22 Thread Richard Quadling
d it be worth stating specifically that a post-max-size of zero inhibits $_POST/$_FILES? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] late static binding php6

2007-11-23 Thread Richard Quadling
ch redundant code from some frameworks. :) > > So this is one of my examples that helps much. > > > > > > -- > > Marco Kaiser > > > > > > -- > Marco Kaiser returns ... object(foo)#1 (0) { } object(bar)#2 (0) { } object(foo)#1 (0) { } object(bar)#2

Re: [PHP-DEV] late static binding php6

2007-11-23 Thread Richard Quadling
On 23/11/2007, Richard Quadling <[EMAIL PROTECTED]> wrote: > On 22/11/2007, Marco Kaiser <[EMAIL PROTECTED]> wrote: > > Hi again, > > > > to explain the main idea a bit more, the code below work and moves the > > main getInstance function from the clas

Re: [PHP-DEV] late static binding php6

2007-11-23 Thread Richard Quadling
> Changing bar to extend from foo gives the same results. We have a singleton of the class bar because somewhere in the chain it has the singleton class. Excellent. > > Friday, November 23, 2007, 10:21:51 AM, you wrote: > > > On 23/11/2007, Richard Quadling <[EMAIL PROTECTED]&

Re: [PHP-DEV] Re: [PHP-CVS] cvs: CVSROOT / avail loginfo

2007-11-29 Thread Richard Quadling
even saying they are going to ruin the game, just that you have the option of not including their code!). The idea of a major world player contributing to our lill' old PHP sounds really exciting. The more the merrier, as long as the peer-review process works (and it seems to have kept me out of t

Re: [PHP-DEV] private properties ....

2007-12-01 Thread Richard Quadling
> private > > > properties and methods should be OK to be extended into the child class, > > but > > > currently that's not the case, and there is also a bug here, consider > > the > > > following example: > > > > The child class is anot

Re: [PHP-DEV] Namespace

2007-12-08 Thread Richard Quadling
On 07/12/2007, Lokrain <[EMAIL PROTECTED]> wrote: > Hello all, > > I just wanted to drop an opp. Just to see the logic, when we have > programming structure class, interface, function, if statement, switch > statement etc, we have bracers encapsulation. This is the logic that most > programming lan

Re: [PHP-DEV] Internals read-only

2007-12-13 Thread Richard Quadling
to an old issue with the windows command line intepreter. Then, we would have some progress. ;-{}}} -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Inte

Re: [PHP-DEV] Internals read-only

2007-12-13 Thread Richard Quadling
ntly done. Wouldn't break backwards as -+ are not allowed in a param name. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Internals read-only

2007-12-13 Thread Richard Quadling
On 13/12/2007, Jani Taskinen <[EMAIL PROTECTED]> wrote: > You're all just proving my point by replying to this stupid thread. > Thank you for that. :D Spleen venting provides a calming effect on one's nerves. -- - Richard Quadling Zend Certified Engineer : htt

Re: [PHP-DEV] Re: PATCH: anonymous functions in PHP

2007-12-20 Thread Richard Quadling
this would be more appealing ... array_filter($my_data as $test) { return 4 === ($test % 4); } This sort of looks like a foreach, which is extremely readable. Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on t

[PHP-DEV] "Loose lips sink ships" or who REALLY uses loosely typed code?

2008-01-04 Thread Richard Quadling
eem to be a suitable way to go. Regards, Richard Quadling. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] type hinting

2008-01-08 Thread Richard Quadling
value checks if they are appropriate. So, function x(string $s, int $i) will get a string and an integer, no matter what is sent. Thinking about this, simply because we all know PHP __CAN__ type juggle, there is no need for any errors/warnings/notices on scalar types. It will be up to the API de

[PHP-DEV] Win32 builds for V5.3 / V6.0 on snaps.php.net is /dev/urandom

2008-01-08 Thread Richard Quadling
Hi. Not sure if anyone ever reads my posts, but ... The 5.2 builds are building fine. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runti

Re: [PHP-DEV] [RFC] Anonymous functions

2008-01-10 Thread Richard Quadling
ad with that patch. > >> > >> Can you also please add tests for both? > >> > >> marcus > >> > >> Wednesday, January 2, 2008, 7:51:06 PM, you wrote: > >> > >> >> the square bracket array syntax patch for PHP 5.3, > >> >> http

Re: [PHP-DEV] nowdocs again

2008-01-30 Thread Richard Quadling
gest? :) > > I suggest to wait until we find a better syntax. > I do not suggest any syntax myself because I do not see any need in this > 'nowdoc' thing at all. > > -- > Wbr, > Antony Dovgal As we may be missing a trick, how do you create strings which have $ and &

Re: [PHP-DEV] build failure on windows PHP_5_2

2008-02-02 Thread Richard Quadling
Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > The win32 snapshot builds have been done since Jan 20/21, so maybe there is more than 1 library to fix -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&

Re: [PHP-DEV] [RFC] An Idea for PDO 2

2008-02-02 Thread Richard Quadling
inside track? Its a shame that their is not a legal understanding of the spirit of the law, rather than just the letter of the law. If their is no CLA, what are the alternatives? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "St

Re: [PHP-DEV] type hinting

2008-02-05 Thread Richard Quadling
and this allows any of them. > > Anyone who is against this must also be against the array type hint, it > is pretty much the same just in reverse. > > What do you think? > > On Tue, 2008-01-08 at 09:41 +, Richard Quadling wrote: > > On 07/01/2008, Stefan Priebsch <

Re: [PHP-DEV] type hinting

2008-02-05 Thread Richard Quadling
the technical merits > of it. It was just simply about some people saying "I don't like it" and thus > concluding that it should not be added. > > > Tomi Kaistila > PHP Developer > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe

Re: [PHP-DEV] Splitting the subject: the PECL/PHP relationship

2008-02-06 Thread Richard Quadling
with, rather than diminishing it. > > - Steph Ha, PDO_MSSQL didn't even make it onto the rare list. Am I the only one daft enough to try and get Doctrine to work with MSSQL? Seems like it! -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=2

Re: [PHP-DEV] type hinting

2008-02-07 Thread Richard Quadling
> > Regards, > > Stefan Regards, Richard. > > > -- > >e-novative> - We make IT work for you. > > e-novative GmbH - HR: Amtsgericht München HRB 139407 > Sitz: Wolfratshausen - GF: Dipl. Inform. Stefan Priebsch > > http://www.e-novative.de - GnuPG Key: 0x7DB67F7F > -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"

Re: [PHP-DEV] get_magic_quotes_gpc, get-magic-quotes-runtime in head, get a "final" decision

2008-02-08 Thread Richard Quadling
version check (or function_exists). > > Anyway, enough people has voiced their wishes. I will count the votes > and post the summary on Monday (== you still have two days to vote, if > you care). > > Cheers, Aren't some things just worth the BC break? Having never used them

Re: [PHP-DEV] [HOST=] and [PATH=] cgi-only?

2008-02-14 Thread Richard Quadling
me functionality as non CLI. So, if you can please allow PATH= for CLI (rather than just assume it is of no use and ignoring it). I can't think of how I would use HOST= in CLI, unless maybe you could get the machine's name (stretching for an idea here). Thank you. Richard. -- - Richa

Re: [PHP-DEV] RFC: Traits for PHP

2008-02-19 Thread Richard Quadling
""""""""""""""""""""" > > Instead of declaring the Trait composition in the class body, it could be > defined in the class prologue like this:: > >trait Hello { >pub

Re: [PHP-DEV] RFC: Traits for PHP

2008-02-21 Thread Richard Quadling
s moved to false, it is > deleted, but this leads to the wrong impression of this: > "trait_method => new_name" means trait_method is moved to new_name, > and I am absolutely against this notion. > > Kind Regards > Stefan What would you all read this to be ...

Re: [PHP-DEV] RFC: Traits for PHP

2008-02-22 Thread Richard Quadling
s the knowledge required to understand Unicode going to be easier to attain than for traits? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"

Re: [PHP-DEV] RFC: Traits for PHP

2008-02-22 Thread Richard Quadling
amount of code reuse which MI theoretically is supposed to do. And then lets add accessibility to class properties without magic functions. Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some ver

Re: [PHP-DEV] RFC: Traits for PHP - Stateful Traits

2008-02-22 Thread Richard Quadling
fic > trait, i.e., it is composition local. > > Just an additional though :) > > Kind Regards > Stefan I think I see an issue with including properties. If a trait is partially included at different levels of a layered object base uses 2 methods of a trait. extended uses

Re: [PHP-DEV] How to build a real Trait thing without exclusion and renaming

2008-02-25 Thread Richard Quadling
// Maybe these are all the same method. $this->CTalker::DTalker::dTalk(); $this->CTalker::dTalk(); $this->dTalk(); } } Traits as namespaces would solve the issue of conflict in the class Talker (you would have to explicitly say which trait the method came from. I do

Re: [PHP-DEV] Re: How to build a real Trait thing without exclusion and renaming

2008-02-27 Thread Richard Quadling
allTalk(); // This should be 'b'. Wouldn't traits as namespaces solve this? It seems like an ideal solution. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"

Re: [PHP-DEV] How to build a real Trait thing without exclusion and renaming

2008-02-27 Thread Richard Quadling
On 27/02/2008, Stefan Marr <[EMAIL PROTECTED]> wrote: > Hi Richard, > > Richard Quadling schrieb: > > > Traits as namespaces would solve the issue of conflict in the class > > Talker (you would have to explicitly say which trait the method came > > from. >

[PHP-DEV] PHP5.3.0-dev and Unicode BOM.

2008-03-05 Thread Richard Quadling
ers, I'm using Win32 PHP5.3.0-dev snapshot built on Mar 4 2008 04:17:22. I only recently upgraded the PHP dev, and as far as I can tell this is a new problem, so I'm thinking prior to the upgrade, it worked OK, i.e. the BOM was dropped by PHP. Thank you. Richard. -- - Richard Quadling

[PHP-DEV] Could PHP be used to build PHP?

2008-03-20 Thread Richard Quadling
r build systems you use? Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] short_open_tag

2008-03-21 Thread Richard Quadling
On 21/03/2008, Elizabeth M Smith <[EMAIL PROTECTED]> wrote: > Wow, noisy... And having made the commit to the dox before the revert, I'm still reeling/reading to try and see which way I would go... > I'd argue that a the difference" between the ugliness of the long version and the need to > no

Re: [PHP-DEV] Inconsistencies when accessing protected members

2008-03-26 Thread Richard Quadling
> > > This still will works. Surely it shouldn't work at all unless the $foo === $this? I understand that the checking is based upon the class and not the instance. Shouldn't the instance be the limiting factor? Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"

Re: [PHP-DEV] Inconsistencies when accessing protected members

2008-03-26 Thread Richard Quadling
On 26/03/2008, Richard Quadling <[EMAIL PROTECTED]> wrote: > On 25/03/2008, Felipe Pena <[EMAIL PROTECTED]> wrote: > > > Em Ter, 2008-03-25 às 12:35 +0100, Lars Strojny escreveu: > > > > > Would that mean that the following code does not work an

Re: [PHP-DEV] [RFC] Double quoted NOWDOC is HEREDOC

2008-03-28 Thread Richard Quadling
the closing tag also require the quotes (none/single/double) depending upon how the opening tag was quoted (or not)? And is "double-quoting" going to be in addition to no quoting? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731

Re: [PHP-DEV] Richard's lack of understanding of instances vs classes.

2008-03-28 Thread Richard Quadling
es and not classes. Whilst I accept that this is the way it is, it doesn't FEEL right that one instance of class foo can call a protected member of class bar because class bar extended class foo along the way. If they were static calls, that SORT of makes more sense to me. I suppose this

Re: [PHP-DEV] The "jump" operator

2008-04-04 Thread Richard Quadling
On 04/04/2008, Jani Taskinen <[EMAIL PROTECTED]> wrote: > You're about year too late..or even more. Please, don't just this > discussion now. Is there use case that can be used for the documentation? -- - Richard Quadling Zend Certified Engineer : http://zend.com/

Re: [PHP-DEV] Return type hints

2008-04-07 Thread Richard Quadling
r was a lot of the cool features of OOP (yeah PHP4 had it but in a different way). The PHP way is, at best, how thing were done until enough people wanted it and it is now how things are done. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474

Re: [PHP-DEV] Return type hints

2008-04-07 Thread Richard Quadling
o it in userland. About the only time juggling is effective is in string concatenation. And even then it misses booleans! Do I get "true"/"false"? No I get nothing or 1. So I have to process it. Type juggling just doesn't seem to fit well with me. -- - Richard Quadl

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-12 Thread Richard Quadling
- > Time taken : 3736 seconds > ========= Is that over an hour for the tests? Or is the formatting off? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&

[PHP-DEV] '1.8' == 1.8 can return false or yet another example of the uselessness of type juggling.

2008-04-12 Thread Richard Quadling
strings and integers? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Exceptions = Apache Crash in PHP 5.3 Snaps

2008-04-16 Thread Richard Quadling
e a friend of > mine test the issue in Linux to make sure it's not just a Windows issue. > I'll get back to you about that. I get the problem with Sambar Server V7.0 using ISAPI. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731

[PHP-DEV] Win32 mail() issue and potential fix - needs better brains than me to verify solution.

2008-04-17 Thread Richard Quadling
"), &tsm_err, &tsm_errmsg, headers, subject, to, message, NULL, NULL, NULL TSRMLS_CC) == FAILURE) { -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP

Re: [PHP-DEV] [RFC] Type hints (parameter and return value)

2008-04-18 Thread Richard Quadling
args or do > we go the road "if hint args, then hint them all!" (I'm personaly for second > one - be strict) > It may be that a parameter CAN be mixed, so a lack of a type hint should be supported even if strict type hinting is used/implemented. Maybe a type hint of mixed

[PHP-DEV] Building PHP. Clean builds. Noisy redefines.

2008-04-22 Thread Richard Quadling
t SDKs\Windows\v6.1\include\sdkddkver.h(186). This 1 #define causes a LOT of noise during compilation. I know I could suppress all the warnings, but with so much noise, how does anyone see the true warnings in the noise? By adding a #undef _WIN32_WINNT before #define _WIN32_WINNT 0x0400, this r

[PHP-DEV] Unresolved external symbol : xmlXPathCompiledEvalToBoolean

2008-04-22 Thread Richard Quadling
l/php_libxml2.def I did not find any mention of it in /php_build. If it is a case of just an old zip.zip, where do I get a more uptodate one? Thanks, Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulde

Re: [PHP-DEV] Building PHP. Clean builds. Noisy redefines.

2008-04-22 Thread Richard Quadling
On 22/04/2008, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 22.04.2008 15:01, Richard Quadling wrote: > > > Another warning is that some of the constants are redefined to a > > different value from the ones that are part of the compiler. The > > /TRSM/readdir.h,

[PHP-DEV] Recent readdir.h

2008-04-22 Thread Richard Quadling
get 5.3 to compile or not. This will only be a problem when using a MS compiler which supplies a _WIN32_WINNT > 0x0400. And as I'm following the new PHP documentation on compiling PHP for windows, I hope this gets in. Regards, Richard. -- - Richard Quadling Zend Certified Engineer

Re: [PHP-DEV] Re: Building PHP. Clean builds. Noisy redefines.

2008-04-22 Thread Richard Quadling
; I am using Microsoft Visual C++ 2008 Express Edition with the Windows Server 2008 and .NET 3.4 SDK. Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals -

Re: [PHP-DEV] Recent readdir.h

2008-04-22 Thread Richard Quadling
hat exactly is broken. We may just > need to rebuild some of the things in zip.zip again. > > Scott > > > Richard Quadling wrote: > > > Hi. > > > > The recent commit to TSRM/readdir.h isn't quite right. > > > > The later versions o

Re: [PHP-DEV] Building PHP. Clean builds. Noisy redefines.

2008-04-23 Thread Richard Quadling
curl_init' : 'void' function returning a value > c:\php-compile\php-5.2.6rc5\ext\curl\interface.c(1099) : > warning C4098: 'zif_curl_init' : 'void' function returning a value > c:\php-compile\php-5.2.6rc5\ext\curl\interface.c(1099) : > warning C4098: &

[PHP-DEV] Failed Win32 builds log file.

2008-04-27 Thread Richard Quadling
Hello. The 5.3.0-dev win32 snapshots are failing as there has been no update since the 25th. Is it possible to send the make log file to snaps for all build attempts rather than just successful ones. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&a

[PHP-DEV] Is there a difference in (n)make between windows and unix.

2008-04-28 Thread Richard Quadling
s expected behaviour? Please don't focus on just TSRM/readdir.h as this was one file I picked at random (as I had edited it recently). Should editing ANY source level file (.h, .c type files) result in a make? Or is it just .c files? Regards Richard Quadling. -- - Richard Quadling Zend Cer

Re: [PHP-DEV] Class Properties in Interfaces?

2008-04-29 Thread Richard Quadling
dimensions. Ideally the interface should also have a read only property of area, but the support of properties in an interface is disputed here. In this limited example, it would seem useful. Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&am

Re: [PHP-DEV] PHP 5.2.6RC5 windows build available

2008-04-30 Thread Richard Quadling
ed for later today... > > > Cheers, > -- > Pierre > http://blog.thepimp.net | http://www.libgd.org With the updated libraries being part of the PHP , does that mean zip.zip has been updated also? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND00249

Re: [PHP-DEV] PHP 5.2.6RC5 windows build available

2008-04-30 Thread Richard Quadling
2008/4/30 Pierre Joye <[EMAIL PROTECTED]>: > hi, > > > On Wed, Apr 30, 2008 at 10:53 AM, Richard Quadling > <[EMAIL PROTECTED]> wrote: > > 2008/4/30 Pierre Joye <[EMAIL PROTECTED]>: > > > > > > > On Tue, Apr 29, 2008 at 11:58 PM, R

Re: [PHP-DEV] Float comparison

2008-05-02 Thread Richard Quadling
ike this would be global and > might mess up some code written elsewhere. Mind you: any programmer > going '$a == $b' on true floating point has got to expect rubbish. > > This is making things easier for the naive/novice programmer. In this case > I don't think that i

Re: [PHP-DEV] Float comparison

2008-05-02 Thread Richard Quadling
uot;. Well, Cobol has VERY good money types. It would strike me as VERY funny to go back to cobol to do accurate financial calculations. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Float comparison

2008-05-02 Thread Richard Quadling
class > library in PHP and go for extension later. I'm sure there are some code > around doing this already :) > -- > > Stanislav Malyshev, Zend Software Architect > [EMAIL PROTECTED] http://www.zend.com/ > (408)253-8829 MSN: [EMAIL PROTECTED] > Is it not possib

Re: [PHP-DEV] Class Properties in Interfaces?

2008-05-07 Thread Richard Quadling
cing the user to define four accessors for a > property seems to be clutter but it would be - technically spoken - > correct. I don't have a fixed opinion here. > > cu, Lars > You would only normally need to define the four accessors if your property isn't a bog standard

Re: [PHP-DEV] Class Properties in Interfaces?

2008-05-07 Thread Richard Quadling
appropriate to allow the unsetting of property bar. My reasoning is that the interface says this is how all objects implementing this interface look (the contract), then allowing one of the instances to remove the property breaks the contract. If you follow this (I hope someone does), then as a consequen

[PHP-DEV] Win32 Makefile template patch.

2008-05-07 Thread Richard Quadling
d line will use the built-in one first. The attached patch forces the use of 'rd' rather than 'rmdir'. Cygwin's rmdir.exe doesn't support /s or /q Windows rd does. Obviously no cygwin === no rmdir rename required. Richard. -- - Richard Quadling Zend C

Re: [PHP-DEV] Win32 Makefile template patch.

2008-05-08 Thread Richard Quadling
2008/5/7 Hannes Magnusson <[EMAIL PROTECTED]>: > On Wed, May 7, 2008 at 6:42 PM, Richard Quadling > <[EMAIL PROTECTED]> wrote: > > Hi. > [..] > > > The attached patch forces the use of 'rd' rather than 'rmdir'. > > Only plain/tex

Re: [PHP-DEV] Win32 Makefile template patch.

2008-05-08 Thread Richard Quadling
x27;s behaviour fail (windows rd doesn't support --parents --ignore-fail-on-non-empty, etc). By using rd, this isn't found in the path by nmake and runs correctly with the windows/dos options. You can use filemon to see nmake hunting for rmdir.xxx where xxx is the contents of PATHEX

Re: [PHP-DEV] Win32 Makefile template patch.

2008-05-09 Thread Richard Quadling
DIR=C:\Program Files\Microsoft Visual Studio 9.0\VC VS90COMNTOOLS=C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\ +VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0 windir=C:\WINDOWS +WindowsSdkDir=C:\Program Files\Microsoft SDKs\Windows\v6.1\ > > - Steph > -- --

Re: [PHP-DEV] Win32 Makefile template patch.

2008-05-09 Thread Richard Quadling
>nmake clean-pecl Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. Cleaning PECL targets only rmdir /s /q Release_TS\pecl You are running "C:\Program Files\Common Files\Ahead\Lib\rmdir.BAT" The paramete

Re: [PHP-DEV] Win32 Makefile template patch.

2008-05-09 Thread Richard Quadling
2008/5/9 Hector Santos <[EMAIL PROTECTED]>: > Richard Quadling wrote: > >> You don't actually need to install cygwin to see the fault. >> >> Create a batch file called rmdir.bat like this ... >> > > But this is not what you have in the production

Re: [PHP-DEV] Win32 Makefile template patch.

2008-05-11 Thread Richard Quadling
t/unsub.php > > It seems that nmake searches the path for all the shell commands ... echo, del, etc. Using this simple makefile ... all: clean clean: @echo hello world @md bob -rmdir bob /q /s Using my path and pathexts, nmake made 420 searches for echo.. Adding the $(COMSPEC

Re: [PHP-DEV] Class Properties in Interfaces?

2008-05-12 Thread Richard Quadling
;> Richard. For scalars and accessible properties, unset() does indeed undeclare the scalar/property. results in Notice: Undefined variable: foo in C:\- on line 5 and bar = 'snafu'; } } $o_Foo = new foo(); echo $o_Foo->bar; unset($o_Foo->bar); echo $o_Foo->bar;

Re: [PHP-DEV] Class Properties in Interfaces?

2008-05-14 Thread Richard Quadling
nce, so it must always exist and as such unset() would/should have no meaning and be an error (attempting to change an enforced interface structure). Maybe this is a difference for E_STRICT? Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [HEADS UP] pecl/phar is now ext/phar

2008-05-14 Thread Richard Quadling
file should be allowed? And if there is an extension on the filename, then it will also have a . What happens for relative filenames? -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever gian

Re: [PHP-DEV] [HEADS UP] pecl/phar is now ext/phar

2008-05-14 Thread Richard Quadling
2008/5/14 Gregory Beaver <[EMAIL PROTECTED]>: > Richard Quadling wrote: >> 2008/5/13 Antony Dovgal <[EMAIL PROTECTED]>: >> >>> On 13.05.2008 01:45, Gregory Beaver wrote: >>> >>>> Thanks to all who have contributed, particularly Marcus, Ste

Re: [PHP-DEV] Class Properties in Interfaces?

2008-05-19 Thread Richard Quadling
er be true. So if you are using E_STRICT, should parsing an interface with unset and isset defined also produce an E_STRICT error? interface foo { public bar read fReadBar, write fWriteBar; } would work (ignoring syntax please), whereas the previous interface definition could produce the E_STR

Re: [PHP-DEV] Class Properties in Interfaces?

2008-05-19 Thread Richard Quadling
2008/5/19 Christian Schneider <[EMAIL PROTECTED]>: > Richard Quadling wrote: >> (Not E_STRICT) If error_reporting does not include E_STRICT, then >> unset()'ting properties defined in interfaces is allowed and operates >> exactly as it does on normal variabl

Re: [PHP-DEV] Class Properties in Interfaces?

2008-05-20 Thread Richard Quadling
> public bar read fReadBar, write fWriteBar; >> } > > You really don't want to make read and write keywords ;) I did say ignore my syntax. I don't know what the syntax is going to be, so I used something obvious. -- - Richard Quadling Zend Certified Engineer :

Re: [PHP-DEV] magic quotes finale

2008-05-21 Thread Richard Quadling
ows, 5.3.0-dev gives a E_DEPRECATED error for get_magic_quotes_runtime(). Richard. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Develop

[PHP-DEV] Getting Default Values via reflection.

2008-05-22 Thread Richard Quadling
', 'jim'); outputs ... Array ( [required] => fred [optional] => snafu (Default) [also_optional] => sins (Default) ) Array ( [required] => bob [optional] => jim [also_optional] => sins (Default) ) -- - Richard Quadling Zend Certified

Re: [PHP-DEV] Re: Short syntax for array literals [...]

2008-05-28 Thread Richard Quadling
sing $a = [] over $a = array() So, for a userland developer (rather than a core developer) -1. -- - Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP

[PHP-DEV] I suppose I should be happy ...

2008-05-30 Thread Richard Quadling
t/bug.php?id=34671 http://bugs.php.net/bug.php?id=35961 http://bugs.php.net/bug.php?id=25361 (There may be others.) Until now. What changed? Can someone please check out #15818, #43784 with the patch at #43261 Thanks. -- - Richard Quadling Zend Certified Engineer : http://zend.com/

Re: [PHP-DEV] New flame

2008-05-30 Thread Richard Quadling
gt; out the BC issues arising from that as far as is possible? > > Thanks, > > - Steph > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- - Richard Quadling Zend Certifi

[PHP-DEV] Re: [PHP-CVS-DAILY] cvs: php-src / ChangeLog

2008-05-30 Thread Richard Quadling
as a change from 5.2.x to 5.3.0 Personally, I love the fix. I now have the same exec statements for windows and unix. We are in sync! But as Hannes put it IIRC ... "bjori> RichardQ: which means that the fix broke 10years worth of userland windows fixes" Hm. Can't please a

  1   2   3   4   5   6   7   >