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

2006-10-31 Thread Jasper Bryant-Greene
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 casting in the future? Evert -- Jasper Bryant-Greene Director Album Limited [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http

Re: [PHP-DEV] [RFC] E_DEPRECATED

2006-10-24 Thread Jasper Bryant-Greene
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 that pretends to be OO? -- Jasper Bryant-Greene Director Album Limited [EMAIL

Re: [PHP-DEV] [RFC] E_DEPRECATED

2006-10-24 Thread Jasper Bryant-Greene
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-Greene Director Album Limited [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http://www.albumltd.co.nz

Re: [PHP-DEV] a last plead

2006-10-20 Thread Jasper Bryant-Greene
their programs for making them 5.0/1 compatible chregu - -- Jasper Bryant-Greene Director Album Limited [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http://www.albumltd.co.nz/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http

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

2006-10-20 Thread Jasper Bryant-Greene
://marc.theaimsgroup.com/?t=11473498624r=1w=2 regards, Derick -- Zend Engine CVS Mailing List (http://cvs.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Free Edition. - -- Jasper Bryant-Greene Director Album

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
think it is very clear which API is superior - in fact I would find Pierre's API broken and unusable myself. - -- Jasper Bryant-Greene Director Album Limited [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http://www.albumltd.co.nz/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5-ecc0.1.6 (GNU

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

2006-09-28 Thread Jasper Bryant-Greene
help... Thanks in advance, Roland - -- Jasper Bryant-Greene Director Album Limited [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http://www.album.co.nz/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

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

2006-09-22 Thread Jasper Bryant-Greene
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 [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http

Re: [PHP-DEV] Parameter checking in 5.2

2006-09-20 Thread Jasper Bryant-Greene
- || proto-common.num_args fe-common.num_args) { + if (proto-common.num_args fe-common.num_args) { return 0; } - -- Jasper Bryant-Greene Director Album Limited [EMAIL PROTECTED] +64 21 708 334 / 0800 425 286 http://www.album.co.nz/ -BEGIN PGP SIGNATURE

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] 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] Missing __toString() part

2006-06-03 Thread Jasper Bryant-Greene
. 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 Album Limited http://www.album.co.nz/ 0800 4 ALBUM

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

2006-05-30 Thread Jasper Bryant-Greene
. Chris - -- 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) iD8DBQFEfOkmFfAeHhDzT4gRA3/1AJ40jOrkZfaK+8vScrWlQw7GO3MBwwCfU0ra KiUywAybyQsqO+J9AZggX

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

2006-05-25 Thread Jasper Bryant-Greene
() [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+fDlCCUAT/g

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 point in that? What advantage do you get using

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] README.CVS very small updates

2006-05-21 Thread Jasper Bryant-Greene
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 Manager Album Limited http://www.album.co.nz/ 0800 4

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

2006-05-20 Thread Jasper Bryant-Greene
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.co.nz/ 0800 4 ALBUM [EMAIL PROTECTED] 021 708 334 -BEGIN PGP SIGNATURE- Version

Re: [PHP-DEV] Flamewar Summary

2006-05-18 Thread Jasper Bryant-Greene
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: GnuPG v1.4.3 (MingW32

Re: [PHP-DEV] PHP Release Process Sucks

2006-05-16 Thread Jasper Bryant-Greene
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 Album Limited http://www.album.co.nz/ 0800 4 ALBUM [EMAIL PROTECTED] 021 708 334 -BEGIN PGP SIGNATURE- Version: GnuPG

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 releases on a very large OO application

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. After Brian

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 this

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 null

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

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 application to PHP5 In case you miss

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 another null (because you

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 --

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?

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

2006-04-01 Thread Jasper Bryant-Greene
-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] 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

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

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, and

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

2005-12-18 Thread Jasper Bryant-Greene
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 Limited +64 21 708 334 [EMAIL

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] module submission.

2005-12-05 Thread Jasper Bryant-Greene
. 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 process?? -- Jasper Bryant-Greene General Manager

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

2005-11-26 Thread Jasper Bryant-Greene
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] 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

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

2005-11-02 Thread Jasper Bryant-Greene
, but without searching the archives I can't be more specific. -- 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, Christchurch 8015, New Zealand -- PHP Internals - PHP

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

2005-10-30 Thread Jasper Bryant-Greene
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, Christchurch 8015, New Zealand -- PHP

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

2005-10-29 Thread Jasper Bryant-Greene
it can mean NOT, but I think nearly all PHP programmers would know that ! serves that purpose in PHP. -- 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] 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: [EMAIL PROTECTED