php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "object creation"

What is the difference between Callback-Functions and Observer Pattern in PHP, and how are they used in plugin/module development?

Callback functions are functions that are passed as arguments to other functions and are executed at a certain point in the code. The Observer Pattern...

What are the best practices for logging referrers in HTML files when PHP parsing is disabled?

When PHP parsing is disabled in HTML files, you can still log referrers by using JavaScript to send the information to a server-side script that can h...

What are some best practices for using SimpleXMLElement and DOMXPath in PHP to parse and extract information from XML documents?

When working with XML documents in PHP, using SimpleXMLElement and DOMXPath can be very useful for parsing and extracting information. SimpleXMLElemen...

What are the differences between using mysqli and PDO for database access in PHP?

When it comes to database access in PHP, mysqli and PDO are two popular options. mysqli is specific to MySQL databases and offers both procedural an...

How can JavaScript be used to extract variables from the href string of a link for further processing?

To extract variables from the href string of a link in JavaScript for further processing, you can use the URLSearchParams API. This allows you to easi...

Showing 6206 to 6210 of 6228 results

‹ 1 2 ... 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.