Preloader

PHP 75

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.

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

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.

Carlos Delgado Carlos Delgado
  • October 28, 2018

  • Estimated reading time: 6 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • September 1, 2018

  • Estimated reading time: 7 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • August 16, 2018

  • Estimated reading time: 1 Minute

25191
How to create the abbreviation of a number in PHP
PHP

How to create the abbreviation of a number in PHP

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

Carlos Delgado Carlos Delgado
  • August 13, 2018

  • Estimated reading time: 2 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • August 5, 2018

  • Estimated reading time: 3 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • July 4, 2018

  • Estimated reading time: 3 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • June 30, 2018

  • Estimated reading time: 2 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • June 22, 2018

  • Estimated reading time: 3 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • June 22, 2018

  • Estimated reading time: 2 Minutes

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

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.

Carlos Delgado Carlos Delgado
  • April 22, 2018

  • Estimated reading time: 2 Minutes

17409
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.