[PHP] casting static property

2008-08-31 Thread Diogo Neves
Hi all, Why a static var don't cast as a dynamic one? See file for more info... -- Thanks for your attention, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] casting static property

2008-08-31 Thread Jochem Maas
Diogo Neves schreef: Hi all, Why a static var don't cast as a dynamic one? See file for more info... attachments get stripped. don't cross post to internals, it's bad form. try and formulate your questions a bit better (it should take you more time to write your post than it takes for someone

Re: [PHP] casting static property

2008-08-31 Thread Robert Cummings
On Sun, 2008-08-31 at 17:09 +0200, Jochem Maas wrote: Diogo Neves schreef: Hi all, Why a static var don't cast as a dynamic one? See file for more info... attachments get stripped. don't cross post to internals, it's bad form. try and formulate your questions a bit better (it

Re: [PHP] casting static property

2008-08-31 Thread Diogo Neves
Sorry, i have no webserver... but I can send all code in the email, right? ?php define('a', 0); $b = 0; class foo { private $c = 0; private static $e = 0; private static $f = '0'; public function techo() { echo ' direct --' . 0 . 'br /'; echo ' a -- ' . a . 'br

Re: [PHP] casting static property

2008-08-31 Thread Jochem Maas
Diogo Neves schreef: Sorry, i have no webserver... but I can send all code in the email, right? you can use pastebin.com. I also recommend you write reproduce/example code like this for the CLI so that other people don't have to go throught the hassle of running via a webserver (br / is not

Re: [PHP] casting static property

2008-08-31 Thread Diogo Neves
Hi again, There's what you need ( I think ) Simplified version for web: http://pastebin.com/d2bfcf495 Simplified version for CLI: http://pastebin.com/d6ab96ed0 On Sun, Aug 31, 2008 at 7:09 PM, Jochem Maas [EMAIL PROTECTED] wrote: Diogo Neves schreef: Sorry, i have no webserver... but I can

Re: [PHP] casting static property

2008-08-31 Thread Jochem Maas
Diogo Neves schreef: Hi again, There's what you need ( I think ) not so much that I need it, but the easier you make it for some one to look at your issue the more likely it is someone will. :-) Simplified version for web: http://pastebin.com/d2bfcf495 Simplified version for CLI:

Re: [PHP] casting static property

2008-08-31 Thread Diogo Neves
Newbie :( On Sun, Aug 31, 2008 at 8:37 PM, Jochem Maas [EMAIL PROTECTED] wrote: Diogo Neves schreef: Hi again, There's what you need ( I think ) not so much that I need it, but the easier you make it for some one to look at your issue the more likely it is someone will. :-) Simplified

Re: [PHP] casting static property

2008-08-31 Thread Jochem Maas
Diogo Neves schreef: Newbie :( another tip: don't top post :-) that said don't feel bad, you make a lot more effort than most noobs ... personally I wish every newcomer would be so open to pointers/critism/tips/etc and made as much effort as you do, this place would be better off. so ...

Re: [PHP] casting static property

2008-08-31 Thread Govinda
On Aug 31, 2008, at 2:17 PM, Jochem Maas wrote: another tip: don't top post :-) does top post mean to puts one's reply text at the top of the email? People prefer it to be at the bottom? Personally I like the new text to be at the top so I don't have to scroll down to see the new part,

Re: [PHP] casting static property

2008-08-31 Thread Diogo Neves
On Mon, Sep 1, 2008 at 12:43 AM, Govinda [EMAIL PROTECTED] wrote: On Aug 31, 2008, at 2:17 PM, Jochem Maas wrote: another tip: don't top post :-) does top post mean to puts one's reply text at the top of the email? People prefer it to be at the bottom? Personally I like the new text to be

Re: [PHP] casting static property

2008-08-31 Thread Jochem Maas
Govinda schreef: On Aug 31, 2008, at 2:17 PM, Jochem Maas wrote: another tip: don't top post :-) does top post mean to puts one's reply text at the top of the email? exactly. People prefer it to be at the bottom? generally yes, the longer you hang around on mailing list and the like,

[PHP] [HS] Howto answer Was: [PHP] casting static property

2008-08-31 Thread Lupus Michaelis
Govinda a écrit : does top post mean to puts one's reply text at the top of the email? People prefer it to be at the bottom? Yes, because the regular way is to read top to bottom. Personally I like the new text to be at the top so I don't have to scroll down to see the new part You

Re: [PHP] casting static property

2008-08-31 Thread Micah Gersten
Old timers like it at the bottom, but I agree with the newcomers. Top posting as long as it's not mixed with bottom posting can be easier for people who follow the threads. (I know I mixed it here) Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Diogo Neves