🌐
W3Schools
w3schools.com › php › php_functions.asp
PHP Functions
json_decode() json_encode() json_last_error() PHP Keywords · abstract and as break callable case catch class clone const continue declare default do echo else elseif empty enddeclare endfor endforeach endif endswitch endwhile extends final finally fn for foreach function global if implements include include_once instanceof insteadof interface isset list namespace new or print private protected public require require_once return static switch throw trait try use var while xor yield yield from PHP Libxml
🌐
PHP
php.net › manual › en › indexes.functions.php
PHP: Function and Method listing - Manual
db2_table_privileges - Returns a result set listing the tables and associated privileges in a database ... dio_open - Opens a file (creating it if necessary) at a lower level than the C library input/output stream functions allow
Discussions

What are some common PHP built-in functions you have to google even though you use them constantly?
Maybe you already knew this but With php 8.1 you can just use str_contains now it’s way simpler they literally did it to fix how annoying it was before as in your example. I find myself googling needle and haystack orders often for diff functions I don’t use often. More on reddit.com
🌐 r/PHP
124
44
October 21, 2023
Top 100 PHP functions you should know
md5 is the only widely used crypto function Oh no More on reddit.com
🌐 r/PHP
108
136
June 2, 2018
10 weird operators in PHP
I̴̢̺͖̱̔͋̑̋̿̈́͌͜g̶͙̻̯̊͛̍̎̐͊̌͐̌̐̌̅͊̚͜͝ṉ̵̡̻̺͕̭͙̥̝̪̠̖̊͊͋̓̀͜o̴̲̘̻̯̹̳̬̻̫͑̋̽̐͛̊͠r̸̮̩̗̯͕͔̘̰̲͓̪̝̼̿͒̎̇̌̓̕e̷͚̯̞̝̥̥͉̼̞̖͚͔͗͌̌̚͘͝͠ ̷̢͉̣̜͕͉̜̀́͘y̵̛͙̯̲̮̯̾̒̃͐̾͊͆ȯ̶̡̧̮͙̘͖̰̗̯̪̮̍́̈́̂ͅų̴͎͎̝̮̦̒̚͜ŗ̶̡̻͖̘̣͉͚̍͒̽̒͌͒̕͠ ̵̢͚͔͈͉̗̼̟̀̇̋͗̆̃̄͌͑̈́́p̴̛̩͊͑́̈́̓̇̀̉͋́͊͘ṙ̷̬͖͉̺̬̯͉̼̾̓̋̒͑͘͠͠e̸̡̙̞̘̝͎̘̦͙͇̯̦̤̰̍̽́̌̾͆̕͝͝͝v̵͉̼̺͉̳̗͓͍͔̼̼̲̅̆͐̈ͅi̶̭̯̖̦̫͍̦̯̬̭͕͈͋̾̕ͅơ̸̠̱͖͙͙͓̰̒̊̌̃̔̊͋͐ủ̶̢͕̩͉͎̞̔́́́̃́̌͗̎ś̸̡̯̭̺̭͖̫̫̱̫͉̣́̆ͅ ̷̨̲̦̝̥̱̞̯͓̲̳̤͎̈́̏͗̅̀̊͜͠i̴̧͙̫͔͖͍̋͊̓̓̂̓͘̚͝n̷̫̯͚̝̲͚̤̱̒̽͗̇̉̑̑͂̔̕͠͠s̷̛͙̝̙̫̯̟͐́́̒̃̅̇́̍͊̈̀͗͜ṭ̶̛̣̪̫́̅͑̊̐̚ŗ̷̻̼͔̖̥̮̫̬͖̻̿͘u̷͓̙͈͖̩͕̳̰̭͑͌͐̓̈́̒̚̚͠͠͠c̸̛̛͇̼̺̤̖̎̇̿̐̉̏͆̈́t̷̢̺̠͈̪̠͈͔̺͚̣̳̺̯̄́̀̐̂̀̊̽͑ͅí̵̢̖̣̯̤͚͈̀͑́͌̔̅̓̿̂̚͠͠o̷̬͊́̓͋͑̔̎̈́̅̓͝n̸̨̧̞̾͂̍̀̿̌̒̍̃̚͝s̸̨̢̗͇̮̖͑͋͒̌͗͋̃̍̀̅̾̕͠͝ ̷͓̟̾͗̓̃̍͌̓̈́̿̚̚à̴̧̭͕͔̩̬͖̠͍̦͐̋̅̚̚͜͠ͅn̵͙͎̎̄͊̌d̴̡̯̞̯͇̪͊́͋̈̍̈́̓͒͘ ̴͕̾͑̔̃̓ŗ̴̡̥̤̺̮͔̞̖̗̪͍͙̉͆́͛͜ḙ̵̙̬̾̒͜g̸͕̠͔̋̏͘ͅu̵̢̪̳̞͍͍͉̜̹̜̖͎͛̃̒̇͛͂͑͋͗͝ͅr̴̥̪̝̹̰̉̔̏̋͌͐̕͝͝͝ǧ̴̢̳̥̥͚̪̮̼̪̼͈̺͓͍̣̓͋̄́i̴̘͙̰̺̙͗̉̀͝t̷͉̪̬͙̝͖̄̐̏́̎͊͋̄̎̊͋̈́̚͘͝a̵̫̲̥͙͗̓̈́͌̏̈̾̂͌̚̕͜ṫ̸̨̟̳̬̜̖̝͍̙͙͕̞͉̈͗͐̌͑̓͜e̸̬̳͌̋̀́͂͒͆̑̓͠ ̶̢͖̬͐͑̒̚̕c̶̯̹̱̟̗̽̾̒̈ǫ̷̧̛̳̠̪͇̞̦̱̫̮͈̽̔̎͌̀̋̾̒̈́͂p̷̠͈̰͕̙̣͖̊̇̽͘͠ͅy̴̡̞͔̫̻̜̠̹̘͉̎́͑̉͝r̶̢̡̮͉͙̪͈̠͇̬̉ͅȋ̶̝̇̊̄́̋̈̒͗͋́̇͐͘g̷̥̻̃̑͊̚͝h̶̪̘̦̯͈͂̀̋͋t̸̤̀e̶͓͕͇̠̫̠̠̖̩̣͎̐̃͆̈́̀͒͘̚͝d̴̨̗̝̱̞̘̥̀̽̉͌̌́̈̿͋̎̒͝ ̵͚̮̭͇͚͎̖̦͇̎́͆̀̄̓́͝ţ̸͉͚̠̻̣̗̘̘̰̇̀̄͊̈́̇̈́͜͝ȩ̵͓͔̺̙̟͖̌͒̽̀̀̉͘x̷̧̧̛̯̪̻̳̩͉̽̈́͜ṭ̷̢̨͇͙͕͇͈̅͌̋.̸̩̹̫̩͔̠̪͈̪̯̪̄̀͌̇̎͐̃ More on reddit.com
🌐 r/PHP
28
203
May 18, 2018
The wrapper for all PHP internal (built-in) array functions and easy array manipulation library on steroids in an object-oriented way.

The wrapper for all PHP internal (built-in) array functions and easy array manipulation library on steroids in an object-oriented way.

Aren't steroids actually bad? :-)

Neat effort, but I need to very clearly point out that reference semantics for objects make very poor value objects and DTOs (which collections typically are used for).

I appreciate this is why the immutable versions exist, but one has to ask themselves how far they want to inconvenience themselves in order to say "my arrays are objects".

For example, I want to question the promise of "easy array manipulation" by asking how do I take immutable array $a and get a copy $b with this manipulation:

$b = $a;
$b['foo']['bar']['baz'] = 123;

I'd like to question the author what is really the big win of typing this:

A::create([1, 2, 3])->foo();

Instead of this:

A::foo([1, 2, 3]);

I realize the above is shorter when you call lots of methods on the resulting object, but that shortness is offset by immense amount of complexity that should compensate for the fact objects don't have pass-by-value semantics as normal arrays do.

You'll also have to round-trip PHP arrays to your arrays and back a lot in practice, because most APIs use PHP arrays.

More on reddit.com
🌐 r/PHP
14
54
October 8, 2015
🌐
Tutorialspoint
tutorialspoint.com › home › php › php function reference
PHP Function Reference
February 13, 2026 - Explore the comprehensive PHP function reference that covers all built-in functions with examples, usage, and syntax for efficient coding.
🌐
Wikiversity
en.wikiversity.org › wiki › PHP › 25_Essential_Functions
PHP/25 Essential Functions - Wikiversity
November 20, 2024 - This is a list of 25 interesting PHP functions that are useful in a variety of situations.
🌐
Medium
laravelengineering.medium.com › php-functions-an-overview-of-php-functions-including-built-in-functions-and-how-to-create-your-2167315d0f66
PHP Functions: An overview of PHP functions, including built-in functions and how to create your own functions | by #[Pragmatic(Kiwi)] | Medium
March 9, 2023 - PHP has over 700 built-in functions that cover a wide range of tasks, including string manipulation, date and time manipulation, array manipulation, and much more. Some of the most commonly used PHP functions include: ... You can find a full list of built-in PHP functions in the official PHP ...
🌐
Berlinonline
berlinonline.github.io › php-introduction › chapters › builtin_functions_and_classes
Built-in Functions and Classes — PHP Introduction — A short introduction to PHP web development
In the previous chapter, we already encountered array_map() and usort(). Both are functions that provide common operations on arrays. The PHP manual has a complete list of PHP's array functions.
🌐
Guru99
guru99.com › home › php › php function: built in, string, numeric with examples
PHP Function: Built in, String, Numeric with Examples
June 28, 2024 - PHP Function is a reusable piece or block of code that performs a specific action. PHP has 700+ built in functions like String, Numeric, is_number, number_format, rand, round, Date & User Defined Functions.
🌐
Codecademy
codecademy.com › learn › learn-php › modules › php-built-in-functions › cheatsheet
Learn PHP: PHP Built-in Functions Cheatsheet | Codecademy
PHP comes standard with many built-in functions. They give us an easier way to implement and repeat popular tasks throughout a program.
Find elsewhere
🌐
WordPress
developer.wordpress.org › reference › functions
Functions - WordPress Developer Resources
Used by 0 functions | Uses 2 functions | Source: wp-admin/includes/upgrade.php:2714 ... Adds a submenu page to the Comments main menu. Used by 0 functions | Uses 1 function | Source: wp-admin/includes/plugin.php:1844
🌐
Webtrickshome
webtrickshome.com › php-basic › php-predefined-functions
Introduction To Php Inbuilt Functions Predefined Functions | Php Basic Tutorials |Webtrickshome | Web Design, Development and SEO Tutorials
Php Function Parameters Php Function Return Php Built In Functions Php Functions With Examples User Defined Functions In Php Types Of Functions In Php Php Function Return Array Predefined Functions | Php Predefined Functions | Php Basic Tutorials
🌐
Codecademy
codecademy.com › learn › learn-php-functions › modules › learn-php-built-in-functions › cheatsheet
Learn PHP: Functions: PHP Built-in Functions Cheatsheet | Codecademy
Learn how to use built-in PHP functions to complete common (and some niche) tasks and create your own functions to reuse blocks of code.
🌐
W3Schools
w3schools.in › php › functions
PHP Functions - W3Schools
This lesson describes PHP Built-in Functions, User Defined Functions, Function Arguments and Returning Values.
🌐
PHPJabbers
phpjabbers.com › blog › list-of-php-functions.html
List of PHP 8 Functions in 2021 | PHPJabbers
They are available to every PHP user and can perform tasks like count the number of letters in a string or combine or split groups of variables. echo(), which we used in the example above, is also a function. Other examples include: ... If you want to know more about built-in PHP functions, you can read about them in the PHP documentation.
🌐
Tutorialspoint
tutorialspoint.com › php › php_functions.htm
PHP - Functions
Variable Scope: Understand local and global variables, as well as the global keyword. Anonymous Functions: Create functions with no names (closures). Built-in Functions: Use PHP's pre-defined functions (such as strlen() and date()).
🌐
Scaler
scaler.com › home › topics › php-tutorial › built-in functions in php
Built-in Functions in PHP - Scaler Topics
March 31, 2024 - These functions provide a wide range of functionality, from basic operations like string manipulation and mathematical calculations to more advanced tasks such as database connectivity and file handling. PHP's extensive collection of built-in functions makes it a powerful language for web development and other applications.