Andrew G. Koptyaev escribió:
Is will warning or error must be in this code? In my system no error.
Enable full error reporting. Find your php.ini file and edit these
directives:
error_reporting = E_ALL | E_STRICT
display_errors = On
Then you'll see that your code raises a notice.
<?php
class Insurance
{
function clsName()
{
echo get_class($this);
}
}
Insurance::clsName();
?>
--
--
http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web:
http://bits.demogracia.com
-- Mi web de humor al baño María:
http://www.demogracia.com
--