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,
s a know behavior.
This change will ie. break ZF too. Any suggestions to this behavior?
--
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
) "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
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 =
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
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
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
, 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
.
--
Marco Kaiser
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
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
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'):
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
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
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
ref. count to my var. WHY? :)
http://en.wikipedia.org/wiki/23_%28film%29
--
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:
ped
> php ?
--
Marco Kaiser
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
20 matches
Mail list logo