[PHP] Re: [PHP-DEV] PHP5: Class behavior: method overloading

2004-02-28 Thread Cristiano Duarte
inition is still a commitment of "interfacing". When you extend the base class you are not supposed to break this commitment. If you allow this commitment break, it may lead to "buggy" code when you take a class by its superclass "interface". Best Regards, Cristiano

[PHP] mm cache

2003-09-18 Thread Cristiano Duarte
http://www.turcksoft.com/en/e_mmc.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problems and segmentation fault with constants in PHP5

2003-09-13 Thread Cristiano Duarte
I reported this BUG at php.bugs as http://bugs.php.net/?id=25323. It's there for 13 days now and still no answer... :-( Cristiano Duarte "Cristiano Duarte" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Is this suppose to work ? Currently it does

[PHP] problems and segmentation fault with constants in PHP5

2003-09-12 Thread Cristiano Duarte
= "hi"; const TEST1 = self::TEST . "ih"; } Cristiano Duarte -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: parent classes

2003-09-01 Thread Cristiano Duarte
ss without an instance and it is quite logical. > Since PHP is not a compiled language, the parent > is available only at runtime. > > Cheers, > Catalin > > > "Cristiano Duarte" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I w

[PHP] parent classes

2003-09-01 Thread Cristiano Duarte
classes? Cristiano Duarte. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Semaphores

2003-08-14 Thread Cristiano Duarte
I know there is no support for semaphores in Windows. But does the Windows and Mac implement semaphores ? If they don't what is used instead ? Can PHP use this functionality on these OS like semaphores on *NIX ? Cristiano Duarte -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Re: how do i get assosciative name in foreach

2003-08-14 Thread Cristiano Duarte
ow if this is what you want but: foreach ($array as $index=>$element) { // assuming get_assoc gets the assosciative name switch ($index) { case 'element1': do_something(); break; default: do_somethingelse(); } } Cristiano Duarte "Dan Ander

[PHP] PHP5 class constants

2003-08-09 Thread Cristiano Duarte
This code: results in this error: PHP Fatal error: Unsupported operand types in /test.php on line 13 Shouldn't class constants support simple expressions ? Cristiano Duarte -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php