.
Is pt_BR being listed, when you execute
locale -a
on the commandline?
system('locale -a'); should do the trick, if you don't have shell access.
Regards,
Christian Stadler
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http
var_dump(class_exists('foobar') AND ($a instanceof foobar));
triggered an error on the commandline. So I guess, both and AND
should work.
Regards,
Christian Stadler
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eli schrieb:
- ($cls instanceof ClassName) *requires* from ClassName to be declared,
and generates a fatal error when ClassName is not declared.
How about
if (class_exists('ClassName') AND $cls instanceof ClassName)
{
...
}
Regards,
Christian
3 matches
Mail list logo