Released on 22 May 2000
Project description.
PHP is a popular general-purpose scripting language that is especially suited to web development
PHP 4.0.0 Changelog
  • Allow the writing of flash files to stdout.
  • Fixed a crash bug in .phps syntax-highlighted files (Andi)
  • Improved round() to allow specification of rounding precision. (Andrei, Todd Kirby <>)
  • Added SORT_REGULAR, SORT_NUMERIC, SORT_STRING flags that can be used with non-user sort functions for precise sorting behavior. (Andrei)
  • Fixed two 64-bit issues (startup crash, gethostbyaddr). (Sascha)
  • NULL values are now preserved in the return value of mysql_fetch_array() and mysql_fetch_object(). (Andrei)
  • Ported InterBase module finally from PHP 3 to PHP 4. Full support for InterBase 6. (Jouni)
  • Added swf_definepoly for drawing polygons to the SWF functions. (Sterling)
  • Ported imagegammacorrect from PHP3 to PHP4. (Sterling)
  • Added array_rand() function. (Andrei)