Can constants with PHP namespaces be defined using define()?

Constants with PHP namespaces cannot be defined using the define() function. Instead, you can define constants within a namespace using the const keyword. This allows you to define constants specific to a namespace without conflicting with constants in other namespaces.

namespace MyNamespace;

const MY_CONSTANT = 'value';