What are the best practices for working with constants and class instantiation in PHP?

When working with constants in PHP, it is best practice to define them using the `define()` function at the beginning of your script to ensure they are available throughout your code. When instantiating a class, it is recommended to use the `new` keyword followed by the class name to create a new instance of the class.

// Define constants
define('PI', 3.14);
define('MAX_USERS', 100);

// Instantiate a class
class MyClass {
    // Class code here
}

$instance = new MyClass();