Re: [PHP-DEV] RFC: Custom Factories (SPL)

2009-11-18 Thread Robert Lemke
Hi Mathieu, Am 18.11.2009 um 18:19 schrieb Mathieu Suen: > Right!! > I get confused with: > $classNamme::getInstance(); > > So you can easily inject dependency: > > class Foo { > > protected $emailer; > > public function __construct($emailClass) { > $this->emailer= $

Re: [PHP-DEV] RFC: Custom Factories (SPL)

2009-11-18 Thread Robert Lemke
implementation for EmailInterface. Cheers, robert -- Robert Lemke Fluent Code Artisan http://typo3.org http://flow3.typo3.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] RFC: Custom Factories (SPL)

2009-11-18 Thread Robert Lemke
uggestions and fine coffee. Looking forward to hearing your comments! Robert -- Robert Lemke Fluent Code Artisan Lead Developer TYPO3 5.0 and FLOW3 TYPO3 Association co-founder http://typo3.org http://flow3.typo3.org http://association.typo3.org -- PHP Internals - PHP Runtime Development Ma

Re: [PHP-DEV] one RM to rule them all

2009-07-09 Thread Robert Lemke
Hi Lukas, thanks a lot for your outstanding work! And maybe it attracts you organizing the release of PHP 7.0? Cheers, robert Am 09.07.2009 um 20:05 schrieb Lukas Kahwe Smith: Aloha, FYI: Since 5.3.0 is out and we are now in maintenance mode for this branch, there is not really a need f

Re: [PHP-DEV] Unexpected behavior of $this->$propertyName[...]

2009-01-15 Thread Robert Lemke
Hi Paul, Am 15.01.2009 um 20:35 schrieb Paul Biggar: I suspect neither bug nor feature. I think you expect that $this->$propertyName['bar'] is the same as: ($this->$propertyName)['bar'] but in fact it is: $this->($propertyName['bar']) So in your example, 'bar' is the string index 0

[PHP-DEV] Unexpected behavior of $this->$propertyName[...]

2009-01-15 Thread Robert Lemke
Dear internals, please consider the following code executed with PHP 5.3alpha3: 'baz'); public function test() { $propertyName = 'foo'; var_dump(isset($this->foo['bar'])); var_dump(isset($this->$propertyName['bar'])); } } $object

Re: [PHP-DEV] Call it: allow reserved words in a class or not?

2008-11-06 Thread Robert Lemke
Hi Dan, Am 06.11.2008 um 11:03 schrieb Dan: Isn't the ability to do that one of the biggest reasons for having namespaces? To avoid having to fill your class names with junk. The examples are namespaced appropriately, they tell the developer that it's a Helper for Arrays in the MyFramework fr

Re: [PHP-DEV] enabling everything by default

2008-08-01 Thread Robert Lemke
Hi folks, Am 01.08.2008 um 12:30 schrieb Antony Dovgal: On 01.08.2008 14:20, Scott MacVicar wrote: ext/pdo_sqlite and ext/sqlite3 use the same underlying lib so its just another wrapper but without the PDO crap on top. I know, I know. But why enable it by default (as well as PDO_SQLITE)? Wh

Re: [PHP-DEV] RFC: Dropping Namespace

2007-12-05 Thread Robert Lemke
hange soon. Anyway, lack of tools is of course not an argument to add namespaces support or not. But it is one for using it or not. robert -- http://typo3.org/gimmefive http://buzz.typo3.org/people/robert-lemke/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFC: Dropping Namespace

2007-12-05 Thread Robert Lemke
tly I'm not really excited about them either. robert -- http://typo3.org/gimmefive http://buzz.typo3.org/people/robert-lemke/ PGP.sig Description: This is a digitally signed message part

Re: [PHP-DEV] RFC: Dropping Namespace

2007-12-05 Thread Robert Lemke
st trying to search and replace "Stuff" will probably break your code. robert -- http://typo3.org/gimmefive http://buzz.typo3.org/people/robert-lemke/ PGP.sig Description: This is a digitally signed message part

Re: [PHP-DEV] RFC: Dropping Namespace

2007-12-05 Thread Robert Lemke
ct currently tend to not using namespaces even if PHP6 had support for them. robert -- WE NEED UNICODE! http://typo3.org/gimmefive http://buzz.typo3.org/people/robert-lemke/ PGP.sig Description: This is a digitally signed message part

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-08-22 Thread Robert Lemke
Hi Andi, Am 21.08.2007 um 21:32 schrieb Andi Gutmans: If there's an overwhelming support for removing the switch then I guess that's where it is. I still think it's a mistake and we are risking a big split in the user base going forward but time will tell. Long term PHP may not recover from t

Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6?

2007-07-10 Thread Robert Lemke
Am 11.07.2007 um 07:20 schrieb Evert|Rooftop: Top 10 by what metric? If I had to guess based on market share, I'd say (unordered): Drupal Squirrelmail WordPress phpMyAdmin MediaWiki Joomla PHPBB hey, and what about TYPO3? ;-) Honestly, I've tried the current version of TYPO3 (4.x) with P

[PHP-DEV] PHP6 an unicode in practice - wanted behaviour for array indices?

2007-06-15 Thread Robert Lemke
Hi folks, I am currently developing the next major version of TYPO3, a PHP based content management system. As we take advantage of the new Unicode features (among other things) it will be completely based on and rely on PHP6 with unicode.semantics turned on. (Sidenode: My veto would be t