June
22

How to group an array of associative arrays by key in PHP

Learn how to group an array of associative arrays by some key with PHP.

April
22

How to Get Rid of the PHP Warning: json_encode() expects parameter 2 to be long, string given

Learn why this warning appears in your PHP code and how to solve it.

March
31

Converting bytes to human readable values (KB, MB, GB, TB, PB, EB, ZB, YB) with PHP

Learn how to convert a value of bytes into an easily readable bytes format with PHP.

March
17

How to change the value of a variable outside of the scope within a closure function in PHP

Learn how to update the value of a variable that is outside from the scope of a closure function in PHP.

December
11

How to deserialize a DC2Type array datatype stored with Doctrine in your database

Learn what DC2Type strings stored with Doctrine in your Database mean and how to unserialize them.

October
21

How to handle safely PHP error: __toString() must not throw an exception

Learn how to solve the "__toString() must not throw an exception" error in PHP.

October
15

How the PHP functions "func_get_arg" and "func_get_args" changed from PHP 5.x to PHP 7.x

Learn why your current code that uses the func_get_arg function may end up with different results when upgrading from PHP 5.x to 7.x

October
09

How to implement custom fonts in TCPDF

Learn how to use custom fonts for your PDF using the PHP TCPDF library.

October
07

What is the PHP Year 2038 (Y2K38) bug and how to solve it

Learn more about the Year 2038 Bug and know how to check if your PHP code is susceptible to it.

October
04

How to add a watermark on a PDF using TCPDF

Learn how to override the default behaviour of TCPDF to add your own watermark.

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.




Advertise with Our Code World

More categories