Best of Exakat2025

  1. 1
    Article
    Avatar of exakatExakat·1y

    The Top 100 PHP functions in 2024

    A list of the top 100 most commonly used native PHP functions, ranked by usage frequency across 2500 open source PHP projects. The analysis shows that string, array, and file functions are most popular, while math functions based on operators and database functions using classes or components are less common. Insights highlight that certain functions could be replaced by operators, and some recently deprecated functions do not appear in the top 100. Recommendations include reviewing these functions for better understanding and integration into coding teams.

  2. 2
    Article
    Avatar of exakatExakat·1y

    How to call a method in PHP

    This post provides an extensive guide on various methods to call a method or function in PHP, covering commonly used techniques as well as niche syntaxes. It includes examples such as classic calls, dynamic names, closures, call_user_func(), array syntax, static methods, anonymous methods, reflection calls, and the eval() method, offering a comprehensive view on method invocation in PHP.