Re: [PHP-DEV] PDO: Are there plans to support Mysql 5 soon?

2005-10-26 Thread Jasper Bryant-Greene
On Wed, 2005-10-26 at 18:22 +0100, Holografix wrote: > With PHP 5.1 knocking at the door, I guess many people would like to take > advantage og mysql 5 new features. I use PDO with MySQL 5 every day. What's the problem? -- Jasper Bryant-Greene General Manager Album Limited e: [EMAI

Re: [PHP-DEV] what happened to that new isset() like language

2005-10-29 Thread Jasper Bryant-Greene
true into false consitutes a rather severe BC break :). > > > How about ||| and |||= ? > How about ~ and ~= ? Shorter to type. I know that in logic it can mean NOT, but I think nearly all PHP programmers would know that ! serves that purpose in PHP. -- Jasper Bryant-Greene Genera

Re: [PHP-DEV] what happened to that new isset() like language

2005-10-30 Thread Jasper Bryant-Greene
g an unset variable. It needs to be a language construct. FWIW, I like the $a ?? $b and $a ??= $b idea. -- Jasper Bryant-Greene General Manager Album Limited e: [EMAIL PROTECTED] w: http://www.album.co.nz/ b: http://jbg.name/ p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303 a: PO Box 579

Re: [PHP-DEV] What about a PHP 4.4.1pl1?

2005-11-02 Thread Jasper Bryant-Greene
their argument by reference without any actual need to. I think there was a post by Rasmus that said this behaviour would change in the near future, which I assume is the change you quote, but without searching the archives I can't be more specific. -- Jasper Bryant-Greene General Manager

Re: [PHP-DEV] Re: Expose php: on or off

2005-11-10 Thread Jasper Bryant-Greene
Peter Brodersen wrote: On Thu, 10 Nov 2005 14:08:29 -0500, in php.internals [EMAIL PROTECTED] (Ilia Alshanetsky) wrote: I don't think it would reduce the number of attacks turning the version information off. But it would be more cumbersome to help people with php issues as the php version is n

Re: [PHP-DEV] Re: Expose php: on or off

2005-11-10 Thread Jasper Bryant-Greene
Marcus Boerger wrote: agreed, also we are doing very much work on security. Thus new and regular updated systems shouldn#t have a problem with exposing this. And we cannot do anything for unmaintained systems anyway. Therefore i think we or any user should not be ashamed or fear having php bein

Re: [PHP-DEV] Re: namespace separator ideas

2005-11-26 Thread Jasper Bryant-Greene
to type, and doesn't look like a smiley (like :> etc). -- Jasper Bryant-Greene General Manager Album Limited +64 21 708 334 [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] namespace separator poll, update

2005-12-03 Thread Jasper Bryant-Greene
Joseph Crawford wrote: i vote against ! and \ ! i would have to say <- or <: would be the one's i would be most comfortable and less confused using. Although I did originally like <-, it's impossible because it already has meaning, as "less than the negative value

Re: [PHP-DEV] module submission.

2005-12-05 Thread Jasper Bryant-Greene
sion in the PHP source distribution. This is all very new to me and I've tried looking at php.net but wasn't able to locate any instructions for submission so I'm writing to the dev list for further assistance. So, where do I go from here? How long is the usual submission p

Re: [PHP-DEV] Smarty Website Oops

2005-12-10 Thread Jasper Bryant-Greene
Joseph Crawford wrote: works here too, but i am confused as to why this was sent to internals ;) Would you mind quoting what you are responding to, in order to prevent the rest of us being utterly confused as to what on earth you are talking about? -- Jasper Bryant-Greene General Manager

Re: [PHP-DEV] Once again, I would like to raise the sugestion to add Doru Petrescu patch

2005-12-18 Thread Jasper Bryant-Greene
en suggested are: - authenticate a user before accepting a download - stream the download through an encryption algorithm. What does this have to do with the above? And what's stopping you doing either of these already? Many people do every day... -- Jasper Bryant-Greene General Manager Album Li

Re: [PHP-DEV] PHP Array Literals

2006-01-29 Thread Jasper Bryant-Greene
Robert Deaton wrote: On 1/29/06, James Crane <[EMAIL PROTECTED]> wrote: Then why don't we have these: $i = integer(5); $f = float(4.5); $s = string("foo"); Perhaps because any sane person will know without reading a manual, that " delimits a string, a number without a decimal is an integer,

Re: [PHP-DEV] Revisiting output control code

2006-02-27 Thread Jasper Bryant-Greene
Michael Wallner wrote: I'd like to suggest that we revisit the output control (output buffering) code base. On a semi-related note, I'd like to see the docs mention that print_r and var_export (with the second parameter set to TRUE), and debug_print_backtrace, internally use the output buffer

Re: [PHP-DEV] IntVal(float) Returns Different Values

2006-03-20 Thread Jasper Bryant-Greene
You want the php-general mailing list. This list is for discussing development of the PHP language and runtime... Jasper Bruce wrote: I am having trouble porting some code originally written in Borland Delphi to PHP. The Delphi code expects certain behavior on integer overflows that I can only

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src / README.UPDATING_TO_PHP6

2006-03-22 Thread Jasper Bryant-Greene
The PHP_Compat code is faulty too -- the S in variables_order etc. refers to _SERVER, not to _SESSION. Jasper Arpad Ray wrote: "Stefan Esser" <[EMAIL PROTECTED]> wrote: sesser Wed Mar 22 08:21:01 2006 UTC Modified files: /php-src README.UPDATING_TO_PHP6 Log:

Re: [PHP-DEV] Re: __set() / __get() : limitation and/or unintentional behavoiur?

2006-04-01 Thread Jasper Bryant-Greene
ompile it with -fomg-really-fast-optimisation-thing) file a bug report! -- Jasper Bryant-Greene General Manager Album Limited http://www.album.co.nz/ 0800 4 ALBUM [EMAIL PROTECTED] 021 708 334 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] script upgrading program was Re: [PHP-DEV] Re: Summerof Code

2006-04-25 Thread Jasper Bryant-Greene
Marco wrote: The same way anything is encouraged in this programming world. Write killer apps that only work in PHP 5+. This is a thread that will be more at home on php-general@lists.php.net How can you write killer apps in php5 when less than 5% of low costs hosting providers support it? I

Re: [PHP-DEV] Seeking 'coalesce' php internal function

2006-05-03 Thread Jasper Bryant-Greene
D. Dante Lorenso wrote: Rasmus Lerdorf wrote: Not sure what you guys are talking about. ?: is on the roadmap. -Rasmus Ok. That has some signs of hope. What is ?: exactly, though. Rasmus is referring to making the middle operand in the ternary operator optional, I believe. Jasper -- PH

Re: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jasper Bryant-Greene
Jared Williams wrote: > > Interesting logic break too... > > $foo = new stdClass(); > if ($foo == null || $foo != null) { echo 'Never gets echoed'; } From a pure computer science point of view, the above makes complete sense. Null means unknown value, so nothing is equal to it, not even another

Re: [PHP-DEV] PHP6 OOP compiler feature question / request

2006-05-11 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Just to add my 2c, I am currently trying to migrate a legacy PHP4 application to PHP5, and one of the huge hurdles is a set of classes representing a group of tasks, each class having a method called try(). These classes are used in over 100,000 l

Re: [PHP-DEV] PHP6 OOP compiler feature question / request

2006-05-11 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Pierre wrote: > On 5/11/06, Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: RIPEMD160 >> >> Just to add my 2c, I am currently trying to migrate a legacy PHP4 >&g

Re: [PHP-DEV] PHP6 OOP compiler feature question / request

2006-05-11 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Sean Coates wrote: >> In any event, I'm just trying to indicate that others may also face >> issues if they have PHP4 apps with these sorts of keywords in them. > > "try" has been a reserved word (documented) since Fri Oct 1 08:07:16 > 2004 UTC:

Re: [PHP-DEV] Stop Breaking Our Apps For the Sake of OO

2006-05-11 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Richard Lynch wrote: > On Thu, May 11, 2006 2:30 pm, Jasper Bryant-Greene wrote: >> From a pure computer science point of view, the above makes complete >> sense. Null means unknown value, so nothing is equal to it, not even

Re: [PHP-DEV] E_ALL changes in 5.2/6.0

2006-05-15 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Steph Fox wrote: >> Ones again E_ALL is for development. For example to move PEAR code to >> PHP 5. >> It is not for running legacy apps. IF you guys want i'd be ok with >> adding a >> new mode say "E_RUN"... > > You think that - I think that. A

Re: [PHP-DEV] private, protected, readonly, public

2006-05-15 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Zeev Suraski wrote: > I have to say that in second thought (after realizing what you really > meant) it sounds like a very useful feature. [snip] > In order to push complexity down I'd avoid making this yet another > modifier, and in fact make thi

Re: [PHP-DEV] PHP Release Process Sucks

2006-05-16 Thread Jasper Bryant-Greene
bly thorough testing (both a 'make test' and real-world app testing) of 5.x releases on a very large OO application running on Linux / Apache 2.2. It's not an open-source app, but that doesn't mean I can't help with testing, does it? - -- Jasper Bryant-Greene General Manager

Re: [PHP-DEV] PHP Release Process Sucks

2006-05-16 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Richard Lynch wrote: > On Tue, May 16, 2006 2:12 am, Jasper Bryant-Greene wrote: >> I like this idea. I can volunteer to do reasonably thorough testing >> (both a 'make test' and real-world app testing) of 5.x relea

Re: [PHP-DEV] Flamewar Summary

2006-05-18 Thread Jasper Bryant-Greene
s far as E_STRICT goes: +/- 0 > Addition of support for dynamic statics ala: class foo {} foo::$bar = > 1; +1 - -- Jasper Bryant-Greene General Manager Album Limited http://www.album.co.nz/ 0800 4 ALBUM [EMAIL PROTECTED] 021 708 334 -BEGIN PGP SIGNATURE- Version

Re: [PHP-DEV] Google Summer of Code - Whomp

2006-05-20 Thread Jasper Bryant-Greene
08 10:29:26 PDT which is the day I submitted it. > > Basically I wanted to know if anyone had/will review it or if there is > some other problem. > > Thanks, > Joshua "Schmalls" Thompson > - -- Jasper Bryant-Greene General Manager Album Limited http://www.album

Re: [PHP-DEV] README.CVS very small updates

2006-05-21 Thread Jasper Bryant-Greene
active development. +PHP_5_2 Is used to release the PHP 5.2.x series. PHP_5_1 Is used to release the PHP 5.1.x series. Only minor feature enhancements may go in here, but please keep that as infrequent as possible. - -- Jasper Bryant-Greene General Mana

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Jasper Bryant-Greene
ethodName() [static call]? - -- Jasper Bryant-Greene General Manager Album Limited http://www.album.co.nz/ 0800 4 ALBUM [EMAIL PROTECTED] 021 708 334 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3 (MingW32) iD8DBQFEdZo6FfAeHhDzT4gRA/+SAKChatBRNsYIbxg42oQ6wOB9eOGY7wCg1mnc 3KjgLHqnuV4j

Re: [PHP-DEV] fatal static call in php 6.0?

2006-05-25 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Edin Kadribasic wrote: > Jasper Bryant-Greene wrote: >> Christian Schneider wrote: >> >>> PS: There are no plans to make non-static calls to static methods >>> illegal, right? >> >> What is the p

Re: [PHP-DEV] How critical does a bug need to be to warrant a new PHP release (like 5.1.5)?

2006-05-25 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Would you care to elaborate? Maybe a sample script that exhibits this behaviour? Jasper steve wrote: > What if it requires a PHP script flaw also (like calling a method from > an object that doesn't exist)? I can shut down many a site that have

Re: [PHP-DEV] Recent PostgreSQL serious security hole

2006-05-30 Thread Jasper Bryant-Greene
l DB connection resource as the >>> first parameter rather than the second. (Same as other pgsql functions) >>> >>> Any comments? >>> >>> There may be cause to backport these functions ... although the >>> existing pg_escape_string function is safe

Re: [PHP-DEV] Missing __toString() part

2006-06-03 Thread Jasper Bryant-Greene
ther than > what the object is willing to call itself. I would imagine that __hash() or whatever it is called would be defined on all objects and implemented internally in PHP, and would simply generate some internal hash that is unique for all objects. - -- Jasper Bryant-Greene General Manager Alb

Re: [PHP-DEV] Missing __toString() part

2006-06-05 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 All I've got to say on the matter is that if anyone is relying on that kind of behaviour for something serious, then their code deserves to break. Jasper Richard Lynch wrote: > That *IS* a current behaviour. > > Returns a warning and leaves the

Re: [PHP-DEV] Unexpected character in input

2006-06-12 Thread Jasper Bryant-Greene
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Try opening the suspect file in a hex editor, or some editor which won't hide special characters (e.g. ASCII 27) from you. I think you'll find that one has somehow wound its way in there. Either that, or current PHP_5_2 is messed up in some way =)

Re: [PHP-DEV] Parameter checking in 5.2

2006-09-20 Thread Jasper Bryant-Greene
C)) && > !(proto->common.scope->ce_flags & ZEND_ACC_INTERFACE)) { > return 1; > } > > /* check number of arguments */ > - if (proto->common.required_num_args != fe->common.required_num_args > - || proto->common.num_arg

Re: [PHP-DEV] [VOTE] (was: Parameter checking in 5.2)

2006-09-22 Thread Jasper Bryant-Greene
On this note, given that there are no real inheritance rules applying w.r.t. static methods, does it not make sense to allow different parameters on subclasses as these are effectively different methods as opposed to overloading in the strict sense? - -- Jasper Bryant-Greene Director Album Limited [EM

Re: [PHP-DEV] [PHP Guru question]: run php script from within pecl extension

2006-09-28 Thread Jasper Bryant-Greene
rs to become a bad value. > > So I hope someone here can help me or give me some pointers > to get help... > > Thanks in advance, > > Roland > - -- Jasper Bryant-Greene Director Album Limited [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http://ww

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php-src /ext/filter logical_filters.c /ext/filter/tests 010.phpt 013.phpt 014.phpt 015.phpt 016.phpt 017.phpt 018.phpt 019.phpt 031.phpt 034.phpt bug8315.phpt filter_d

2006-10-11 Thread Jasper Bryant-Greene
ot accept that > anymore. As a cool-headed outside observer... looking at the two possible APIs, we have (correct me if I am wrong): * Pierre's suggested API - returns FALSE in two possible situations with no way to distinguish between the two. * Derick's suggested API - returns NU

Re: [PHP-DEV] a last plead

2006-10-19 Thread Jasper Bryant-Greene
too here. >> >> It will IMHO slow down the adoption of 5.2, as - I assume - a >> significant part of scripts will fatal out in 5.2. And this certainly >> won't make all those people happy, who already had to rewrite their >> programs for making them 5.0/1 compatible

Re: [PHP-DEV] RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_compile.c

2006-10-20 Thread Jasper Bryant-Greene
and >> http://marc.theaimsgroup.com/?t=11473498624&r=1&w=2 >> >> regards, >> Derick >> >> -- >> Zend Engine CVS Mailing List (http://cvs.php.net/) To >> unsubscribe, visit: http://www.php.net/unsub.php >> >> -- >

Re: [PHP-DEV] [RFC] E_DEPRECATED

2006-10-24 Thread Jasper Bryant-Greene
t see a reason why you would want to, as it's effectively an associative array with syntax that fools people into thinking you're writing OO code :> As to mydb_fetch_object()... what was wrong with mydb_fetch_assoc()? What does mydb_fetch_object() add to it other than aforementioned syntax

Re: [PHP-DEV] [RFC] E_DEPRECATED

2006-10-24 Thread Jasper Bryant-Greene
ough. Enabling this by default is good because you will notice when code you are using becomes deprecated. However it probably shouldn't be enabled in production as you should be upgrading PHP on a development/testing/staging system before you do so on a live server! -- Jasper Bryant-Gr

Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Jasper Bryant-Greene
ht now) would be GrandParent::__construct(), but > this is not OOP anymore.. So it seems kind of weird that we get limited > in functionality, for OOP-ness, but not adding the functionality to > solve common design problems that we're raised by introducing this.. > > Will we get