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
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
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
= "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
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
classes?
Cristiano Duarte.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
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
9 matches
Mail list logo