[PHP-DEV] RE: [PHP-QA] BC break with php 5.2.6

2008-03-27 Thread Marco Kaiser
ger [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2008 10:51 AM > To: Marco Kaiser > Cc: PHP Developers Mailing List; [EMAIL PROTECTED] > Subject: Re: [PHP-QA] BC break with php 5.2.6 > > Hello Marco, > > Thursday, March 27, 2008, 9:25:48 AM, you wrote: > > > Hi,

[PHP-DEV] BC break with php 5.2.6

2008-03-27 Thread Marco Kaiser
s a know behavior. This change will ie. break ZF too. Any suggestions to this behavior? -- Marco Kaiser

Re: [PHP-DEV] PHP 5.3 bug or changed feature??

2007-12-09 Thread Marco Kaiser
) "ENTERTAINMENT" > > } > > ["module"]=> > > array(2) { > > [0]=> > > string(2) "cv" > > [1]=> > > string(7) "entsimp" > > } > > } > > array(1) { > > ["module"]=> > > array(2) { > > [0]=> > > string(2) "cv" > > [1]=> > > string(7) "entsimp" > > } > > } > > object(SimpleXMLElement)#5 (2) { > > ["@attributes"]=> > > array(1) { > > ["name"]=> > > string(12) "SEAT CONTROL" > > } > > ["module"]=> > > array(2) { > > [0]=> > > string(2) "pp" > > [1]=> > > string(2) "sc" > > } > > } > > array(1) { > > ["module"]=> > > array(2) { > > [0]=> > > string(2) "pp" > > [1]=> > > string(2) "sc" > > } > > } > > > > Not that the attributes are gone when SimpleXML objects are converted in > > PHP 5.3. Is this a bug or a feature change? > > > > - Frank > > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Marco Kaiser

Re: [PHP-DEV] PHP 5.3 bug or changed feature??

2007-12-08 Thread Marco Kaiser
) "entsimp" > } > } > array(1) { > ["module"]=> > array(2) { >[0]=> >string(2) "cv" >[1]=> >string(7) "entsimp" > } > } > object(SimpleXMLElement)#5 (2) { > ["@attributes"]=> > array(1) { >["name"]=> >string(12) "SEAT CONTROL" > } > ["module"]=> > array(2) { >[0]=> >string(2) "pp" >[1]=> >string(2) "sc" > } > } > array(1) { > ["module"]=> > array(2) { >[0]=> >string(2) "pp" >[1]=> >string(2) "sc" > } > } > > Not that the attributes are gone when SimpleXML objects are converted in > PHP 5.3. Is this a bug or a feature change? > > - Frank > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Marco Kaiser

[PHP-DEV] private properties ....

2007-11-30 Thread Marco Kaiser
Hi List, _value = $value; } public function getValue) { return $this->_value; } public function setParent( $oParent ) { $this->_parent = $oParent; } public function showParentValue() { return $this->_parent->_value; } } $aa =

RE: [PHP-DEV] question regarding type hinting parameters of php functions (array_slice)

2007-11-28 Thread Marco Kaiser
Hi Dirk, > When calling > "array_slice($array, 0, (float)2);" > the resulting array is EMPTY. > When using the right type > "array_slice($array, 0, (int)2);" > it works as expected. i think this should print a warning like other array functions. But i looked into the src and this

RE: [PHP-DEV] late static binding php6

2007-11-23 Thread Marco Kaiser
TECTED] > Sent: Friday, November 23, 2007 12:23 PM > To: Richard Quadling > Cc: Marco Kaiser; PHP Developers Mailing List > Subject: Re: [PHP-DEV] late static binding php6 > > Hello Richard, > > that kind of stuff is the reason we added LSB. There is only one tiny > thing I

RE: [PHP-DEV] late static binding php6

2007-11-23 Thread Marco Kaiser
Markus can explain this a bit more why this isnt possible. :) -- Marco > -Original Message- > From: Richard Quadling [mailto:[EMAIL PROTECTED] > Sent: Friday, November 23, 2007 10:22 AM > To: Marco Kaiser > Cc: PHP Developers Mailing List > Subject: Re: [PHP-DEV] late s

Re: [PHP-DEV] late static binding php6

2007-11-22 Thread Marco Kaiser
, 2007 9:29 PM, Marco Kaiser <[EMAIL PROTECTED]> wrote: > Hi List, > > just to drop my note here, i asked (i think) 2 years ago for such a > feature to automate my singleton pattern. Not with late static > bindings this is possible. > > class singleton > { > s

Re: [PHP-DEV] late static binding php6

2007-11-22 Thread Marco Kaiser
. -- Marco Kaiser -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] $var::$static

2007-05-26 Thread Marco Kaiser
Hi, this doesnt work because static vars are bound to his class and are not inherited by a child class. maybe this would be work with php6 or a other 5.x version. (Same behavior like the singleton pattern getInstance() abstract class stuff) -- Marco > Hi all, > > I'd like to be able to do the fol

Re: [PHP-DEV] dom strange behaviours

2007-05-16 Thread Marco Kaiser
hi, looks like you have an problem or this has been fixed with php 5.2.2. Or can you maybe explain what you expect? my results are: Current PHP version: 5.2.2 getting id -- getAttribute('id'): getAttribute('xml:id'):one getAttributeNS('xml','id'): getAttribute('at'):

Re: [PHP-DEV] Constant Parameters

2007-03-02 Thread Marco Kaiser
Hi Jakob, > It would be nice if in PHP 6 using constant parameters for functions > and methods would be possible. This feature is e.g. available in Java. > > function doSth (const A) { > if (defined ("A")) echo "A is a constant"; > } > > doSth ("foo"); > > Cheers, > Jay > This makes absolute no

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Marco Kaiser
Sorry Jani, i mean a reference (alias) :) -- Marco 2006/1/19, Jani Taskinen <[EMAIL PROTECTED]>: > > > For the 2nd time: references ARE NOT POINTERS! :-p > > --Jani > > > On Thu, 19 Jan 2006, Marco Kaiser wrote: > > > Hmm yes i know this, > &g

Re: [PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Marco Kaiser
t; > echo ++$a + $a++; > ?>> > > > this will gave me to 23 > > (used the $b to the pre post stuff) > > > > $a = 10; > > $b = &$a; > > echo ++$b + $b++; > ?>> > > > this just happens if i have a ref. count to my var. WHY? :) > > > http://en.wikipedia.org/wiki/23_%28film%29 > > > -- > > Marco Kaiser > > > > Best regards, > Marcus > > -- Marco Kaiser

[PHP-DEV] 23 nothing is so as it seems, but why

2006-01-19 Thread Marco Kaiser
ref. count to my var. WHY? :) http://en.wikipedia.org/wiki/23_%28film%29 -- Marco Kaiser

[PHP-DEV] Re: [PHP] php problem

2005-12-02 Thread Marco Kaiser
> it could be difficult because i don't know where the problem is. > It happen when i visit 3-4 page that include different php into index.php > so is difficult to backtrace the problem :( -- Marco Kaiser -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

[PHP-DEV] Re: [PHP] why php not running ?

2005-12-02 Thread Marco Kaiser
ped > php ? -- Marco Kaiser -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Namespace poll: Presumably final numbers

2005-11-28 Thread Marco Kaiser
Hi, just my notes. :) Marco Kaiser |-| +1 | -2 | -2 | +2 | -1 | -2 | -2 | -2 | -2 | -2 | -1 | -1 | -1 | -0 | +1 | +0 | +0 | -1 | -1 | -0 | -- Marco Kaiser -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there)

2005-11-25 Thread Marco Kaiser
h Marcus that we should asap release a pl1 or 5.1.1. -- Marco Kaiser -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php