October
31

How to solve TCPDF ERROR: Wrong page number on setPage() function: 0

Learn why this error can appear on your code to generate a PDF with TCPDF.

October
28

How to solve Composer install/update error: VirtualAlloc() failed: [0x00000008]

Learn how to solve the issue after updating composer to the latest version with a low memory limit or 32 bits based PHP distributions.

September
01

How to compile a PHP extension (DLL file) in Windows with Visual Studio

Learn how to compile PHP extensions from its source code using Visual Studio in a Windows environment.

August
16

How to solve PHPExcel fatal error: Uncaught exception 'PHPExcel_Writer_Exception' with message 'Could not close zip'

Learn why this exception is thrown during the creation of an excel file with PHPExcel.

August
13

How to create the abbreviation of a number in PHP

Learn how to generate a readable abbreviation of a number in PHP.

August
05

How to retrieve the human name of a color by its hex code in PHP

Learn how to retrieve a readable name of an hexadecimal color code with PHP.

July
04

How to write a text file with ANSI encoding (Western Windows-1252) in PHP

Learn how to write a plain text file in PHP with the Western Windows 1252 encoding.

June
30

How to round up/down to nearest 10 or 5 minutes of DateTime in PHP

Learn how to round down/up the minutes of a DateTime object in PHP by some interval.

June
22

How to convert a nested PHP array to a CSS, SASS, LESS rule (string)

Learn how to convert an array to a CSS, LESS or SASS rule in a string format.

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.

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