php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "class coupling"

What are the potential pitfalls of using class constants for types in PHP?

Using class constants for types in PHP can lead to tight coupling between classes, making them less flexible and harder to maintain. Instead, consider...

What are the potential pitfalls of monitoring the instantiation of a class in PHP?

One potential pitfall of monitoring the instantiation of a class in PHP is that it can lead to tight coupling between classes, making the code harder...

Are there best practices for organizing class files and object instantiation in PHP projects?

When working on PHP projects, it's essential to follow best practices for organizing class files and object instantiation to maintain a clean and stru...

What are the implications of using global variables like $database within a method inside a class in PHP?

Using global variables like $database within a method inside a class can lead to tight coupling and make the code harder to maintain and test. Instead...

What are the potential pitfalls of using global variables to include request data in class functions in PHP?

Using global variables to include request data in class functions can lead to tight coupling and make the code harder to maintain and test. Instead, i...

Showing 31 to 35 of 8076 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1615 1616 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.