php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "extending"

In what situations would using parent::functionname() in the same function be beneficial?

When extending a class in PHP, the child class may need to override a method from the parent class but still call the parent class's implementation of...

How can wordwrap() function be used to handle long URLs in PHP?

When dealing with long URLs in PHP, the wordwrap() function can be used to break the URL into multiple lines to prevent it from extending beyond the v...

Are there any best practices or resources available for handling custom template output in Smarty?

When working with custom template output in Smarty, it is important to follow best practices to ensure clean and efficient code. One common approach i...

What is the distinction between a "Model Class" and a "Model Instance" in PHP, specifically within the context of Laravel 4?

In Laravel 4, a "Model Class" refers to a class that represents a database table, typically extending the Eloquent model class. On the other hand, a "...

How can one effectively utilize the extendability of DOMDocument and DOMNode in PHP for creating and managing complex DOM structures?

To effectively utilize the extendability of DOMDocument and DOMNode in PHP for creating and managing complex DOM structures, you can create custom cla...

Showing 131 to 135 of 158 results

‹ 1 2 ... 23 24 25 26 27 28 29 30 31 32 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.