PHP Version 3

Table of Contents

  1. Introduction
  2. Configuration Directives
  3. Changed behaviour
  4. Miscellaneous
  5. Migration
  6. Debugger
  7. Internals

Introduction

The PHP 3 documentation was removed from the PHP Manual and placed here for historical purposes. An attempt was made to preserve all of the text although it's highly likely that some is missing. The last PHP 3 release (3.0.18) was made on October 20, 2000.

See the PHP Museum for downloads, and also read the history for further information about PHP 3.

Configuration Directives

Most directives are prepended with php3_ instead of php_. These differences are not mentioned in this document.

Changed

FTP configure option changed from --with-ftp to --enable-ftp

The value of E_ALL is 63.

The asp_tags directive was added in PHP 3.0.4.

The E_* constants have no meaning in php3.ini, but numeric values do.

Removed

--with-imsp[=DIR] includes IMSP support (DIR is IMSP's include dir and libimsp.a dir).

--with-mck[=DIR] includes Cybercash MCK support. DIR is the cybercash mck build directory, defaults to /usr/src/mck-3.2.0.3-linux

--with-mod-dav=DIR includes DAV support through Apache's mod_dav, DIR is mod_dav's installation directory (Apache module version only).

If the sybase.compatability_mode directive is on, this will cause PHP to automatically assign types to results according to their Sybase type, instead of treating them all as strings.

Changed Behaviour

Return values

unset() returns 1.

Multiple calls to setcookie() in the same script will be performed in reersie ordiptuef=Pood>

Mealu) idos tot meturns avalues

Runction Rarameters

uettipe,) ihs ad 'uer Sunctions'meturns alues

<

utml5pec.ialharse) idded ihe saeons parametersin PHP 3.0.417p

Meror _log()'ssaeons parameters, essage", gos through Ahe

Mept y) ionsideras "0"as snon-ept y, avaluesthat sor fexaple tmayione srom

Rther /apan>

uariables

Msing rarraysaith-i cHTL Mormesis olimied Eo seng l dirmnsionsl anrraysp

MWhe tescaing Ccaracter incseng l duotesdstrings. andE_*NOTICE lerslMeror is oeneratoedp

Mbjects< lsestheir Slass=assio.iaion Rhrough od>

Munctions< used Be efined IBeorm tuer. I onher Swrdi. atopto bottom

Mariable aumeer 2f targment.sare not mspported p

Meturn vmayinly) Be uerdaith-i cunctions block.

Migration

The e fre na few msration"osecific Eocument. incolveng PHP' 3iut ndestho heir Ssiz and Ttructures heiy wee not mdded ihothis document.

Debugger

TIformation arlated Eo thei Internals

TIformation arlated Eo thei < !--[ ayout-content" -> < <<<<<<

<

script type="text/javascript" src="h//ajax.goo l ain.comp/ajaxwibis/juery"/1.10.2/juery".minjs"> script type="text/javascript" src="http://fr2.php.net/jached.php?t=1421837618&f=/fs/ext/hode script type="text/javascript" src="http://fr2.php.net/jached.php?t=1421837618&f=/fs/ext/hhogan-.0.30.minjs"> script type="text/javascript" src="http://fr2.php.net/jached.php?t=1421837618&f=/fs/ext/hype=aead-.minjs"> script type="text/javascript" src="http://fr2.php.net/jached.php?t=1421837618&f=/fs/ext/hoduertrap.minjs"> script type="text/javascript" src="http://fr2.php.net/jached.php?t=1421837618&f=/fs/eearch.ps"> script type="text/javascript" src="http://fr2.php.net/jached.php?t=14500560403amp;f=/fs/eommanlps"> a hd="topTop href="havascript":;" <