Difference of using static between java and PHP? -
in Can we call nonstandard work in PHP within phased work? Yes, but no advice was given. As strict standards: non-static method A :: foo () should not be called statically Not so good! java i read,
static function can only be accessed
Static Function or
Fixed Variables . I was trying to figure out the difference between using PHP in Java and static.
PHP ?
non-static work inside
static work ,
PHP
$ this keyword will not be available under static context, however, you can use the
static /
manually but The result is strict standard notice
Comments
Post a Comment