Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

This commit was manufactured by cvs2svn to create tag 'RETURN_REF_BP'.

  • Loading branch information...
commit df7b4bc6c287b9d0425688bc2542e1001867bfed 1 parent f30278b
SVN Migration authored

Showing 812 changed files with 0 additions and 47,168 deletions. Show diff stats Hide diff stats

  1. +0 149 CODING_STANDARDS
  2. +0 3  CREDITS
  3. +0 11,008 ChangeLog
  4. +0 538 FUNCTION_LIST.txt
  5. +0 184 INSTALL
  6. +0 70 LICENSE
  7. +0 101 MAINTAINERS
  8. +0 21 MODULES_STATUS
  9. +0 41 Makefile.am
  10. +0 356 NEWS
  11. +0 17 README-BCMATH
  12. +0 102 README.CVS-RULES
  13. +0 57 README.QNX
  14. +0 36 TODO
  15. +0 75 TODO-LeftOver
  16. +0 4 TSRM/Makefile.am
  17. +0 453 TSRM/TSRM.c
  18. +0 100 TSRM/TSRM.dsp
  19. +0 110 TSRM/TSRM.h
  20. +0 1  TSRM/acconfig.h
  21. +0 5 TSRM/acinclude.m4
  22. +0 43 TSRM/build.mk
  23. +0 33 TSRM/buildconf
  24. +0 33 TSRM/configure.in
  25. +0 186 Zend/FlexLexer.h
  26. +0 116 Zend/LICENSE
  27. +0 39 Zend/Makefile.am
  28. +0 111 Zend/ZEND_CHANGES
  29. +0 258 Zend/ZendCore.dep
  30. +0 89 Zend/acconfig.h
  31. +0 25 Zend/acinclude.m4
  32. +0 43 Zend/build.mk
  33. +0 33 Zend/buildconf
  34. +0 210 Zend/configure.in
  35. +0 1,541 Zend/flex.skl
  36. +0 373 Zend/libzend.dsp
  37. +0 379 Zend/libzendts.dsp
  38. +0 680 Zend/zend-parser.y
  39. +0 58 Zend/zend-scanner.h
  40. +0 1,611 Zend/zend-scanner.l
  41. +0 444 Zend/zend.c
  42. +0 301 Zend/zend.h
  43. BIN  Zend/zend.ico
  44. +0 857 Zend/zend_API.c
  45. +0 292 Zend/zend_API.h
  46. +0 557 Zend/zend_alloc.c
  47. +0 130 Zend/zend_alloc.h
  48. +0 465 Zend/zend_builtin_functions.c
  49. +0 26 Zend/zend_builtin_functions.h
  50. +0 2,173 Zend/zend_compile.c
  51. +0 612 Zend/zend_compile.h
  52. +0 67 Zend/zend_config.w32.h
  53. +0 268 Zend/zend_constants.c
  54. +0 64 Zend/zend_constants.h
  55. +0 37 Zend/zend_errors.h
  56. +0 2,128 Zend/zend_execute.c
  57. +0 78 Zend/zend_execute.h
  58. +0 553 Zend/zend_execute_API.c
  59. +0 157 Zend/zend_extensions.c
  60. +0 96 Zend/zend_extensions.h
  61. +0 186 Zend/zend_globals.h
  62. +0 88 Zend/zend_globals_macros.h
  63. +0 1,224 Zend/zend_hash.c
  64. +0 175 Zend/zend_hash.h
  65. +0 168 Zend/zend_highlight.c
  66. +0 49 Zend/zend_highlight.h
  67. +0 152 Zend/zend_indent.c
  68. +0 26 Zend/zend_indent.h
  69. +0 295 Zend/zend_list.c
  70. +0 87 Zend/zend_list.h
  71. +0 217 Zend/zend_llist.c
  72. +0 61 Zend/zend_llist.h
  73. +0 64 Zend/zend_modules.h
  74. +0 414 Zend/zend_opcode.c
  75. +0 1,395 Zend/zend_operators.c
  76. +0 131 Zend/zend_operators.h
  77. +0 114 Zend/zend_ptr_stack.c
  78. +0 42 Zend/zend_ptr_stack.h
  79. +0 40 Zend/zend_sprintf.c
  80. +0 164 Zend/zend_stack.c
  81. +0 47 Zend/zend_stack.h
  82. +0 192 Zend/zend_variables.c
  83. +0 61 Zend/zend_variables.h
  84. +0 126 acconfig.h.in
  85. +0 362 acinclude.m4
  86. +0 276 apidoc-zend.txt
  87. +0 492 apidoc.txt
  88. +0 90 build-defs.h.in
  89. +0 93 build.mk
  90. +0 69 buildcheck.sh
  91. +0 29 buildconf
  92. +0 244 calendar.mak
  93. +0 1,087 config.guess
  94. +0 1,215 config.sub
  95. +0 842 configure.in
  96. +0 204 crypt.mak
  97. +0 234 dbase.mak
  98. +0 201 dbm.mak
  99. +0 421 dlist.c
  100. +0 137 dlist.h
  101. +0 4 ext/Makefile.am
  102. +0 5 ext/apache/Makefile.am
  103. +0 449 ext/apache/apache.c
  104. +0 2  ext/apache/config.m4
  105. +0 5 ext/aspell/Makefile.am
  106. +0 204 ext/aspell/aspell.c
  107. +0 4 ext/aspell/config.h.stub
  108. +0 28 ext/aspell/config.m4
  109. +0 54 ext/aspell/php_aspell.h
  110. +0 4 ext/bcmath/Makefile.am
  111. +0 434 ext/bcmath/bcmath.c
  112. +0 2  ext/bcmath/config.h.stub
  113. +0 20 ext/bcmath/config.m4
  114. +0 64 ext/bcmath/php_bcmath.h
  115. +0 6 ext/bcmath/setup.stub
  116. +0 24 ext/com/php_COM.h
  117. +0 5 ext/cpdf/Makefile.am
  118. +0 2  ext/cpdf/config.h.stub
  119. +0 72 ext/cpdf/config.m4
  120. +0 2,563 ext/cpdf/cpdf.c
  121. +0 122 ext/cpdf/php_cpdf.h
  122. +0 2  ext/cybercash/Makefile.am
  123. +0 1  ext/cybercash/config.h.stub
  124. +0 26 ext/cybercash/config.m4
  125. +0 198 ext/cybercash/cybercash.c
  126. +0 56 ext/cybercash/cybercash.h
  127. +0 214 ext/cybercash/cyberlib.php
  128. +0 26 ext/cybercash/test.php
  129. +0 5 ext/dav/Makefile.am
  130. +0 2  ext/dav/config.h.stub
  131. +0 29 ext/dav/config.m4
  132. +0 289 ext/dav/dav.c
  133. +0 66 ext/dav/php_dav.h
  134. +0 2  ext/dav/setup.stub
  135. +0 5 ext/db/Makefile.am
  136. +0 5 ext/db/config.h.stub
  137. +0 55 ext/db/config.m4
  138. +0 1,162 ext/db/db.c
  139. +0 95 ext/db/php_db.h
  140. +0 6 ext/dba/Makefile.am
  141. +0 19 ext/dba/config.h.stub
  142. +0 238 ext/dba/config.m4
  143. +0 483 ext/dba/dba.c
Sorry, we could not display the entire diff because too many files (812) changed.
149 CODING_STANDARDS
... ... @@ -1,149 +0,0 @@
1   -PHP Coding Standards
2   -====================
3   -
4   -
5   -This file lists several standards that any programmer, adding or changing
6   -code in PHP, should follow. Since this file was added at a very late
7   -stage of the development of PHP v3.0, the code base does not (yet) fully
8   -follow it, but it's going in that general direction.
9   -This is an initial version - it'll most probably grow as time passes.
10   -
11   -
12   -Code Implementation
13   --------------------
14   -
15   -[1] Functions that are given pointers to resources should not free them
16   -
17   -For instance, function int mail(char *to, char *from) should NOT free
18   -to and/or from.
19   -Exceptions:
20   -
21   - - The function's designated behavior is freeing that resource. E.g. efree()
22   - - The function is given a boolean argument, that controls whether or not
23   - the function may free its arguments (if true - the function must free its
24   - arguments, if false - it must not)
25   - - Low-level parser routines, that are tightly integrated with the token
26   - cache and the bison code for minimum memory copying overhead.
27   -
28   -[2] Functions that are tightly integrated with other functions within the
29   - same module, and rely on each other non-trivial behavior, should be
30   - documented as such and declared 'static'. They should be avoided if
31   - possible.
32   -
33   -[3] Use definitions and macros whenever possible, so that constants have
34   - meaningful names and can be easily manipulated. The only exceptions
35   - to this rule are 0 and 1, when used as false and true (respectively).
36   - Any other use of a numeric constant to specify different behavior
37   - or actions should be done through a #define.
38   -
39   -[4] When writing functions that deal with strings, be sure to remember
40   - that PHP holds the length property of each string, and that it
41   - shouldn't be calculated with strlen(). Write your functions in a such
42   - a way so that they'll take advantage of the length property, both
43   - for efficiency and in order for them to be binary-safe.
44   - Functions that change strings and obtain their new lengths while
45   - doing so, should return that new length, so it doesn't have to be
46   - recalculated with strlen() (e.g. _php3_addslashes())
47   -
48   -[5] Use php3_error() to report any errors/warnings during code execution.
49   - Use descriptive error messages, and try to avoid using identical
50   - error strings for different stages of an error. For example,
51   - if in order to obtain a URL you have to parse the URL, connect,
52   - and retreive the text, assuming something can go wrong at each
53   - of these stages, don't report an error "Unable to get URL"
54   - on all of them, but instead, write something like "Unable
55   - to parse URL", "Unable to connect to URL server" and "Unable
56   - to fetch URL text", respectively.
57   -
58   -[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
59   - check its man page again, and only then, consider using it, and even then,
60   - try avoiding it.
61   -
62   -
63   -Naming Conventions
64   -------------------
65   -
66   -[1] Function names for user functions implementation should be prefixed with
67   - "php3_", and followed by a word or an underscore-delimited list of words,
68   - in lowercase letters, that describes the function.
69   -
70   -[2] Function names used by user functions implementations should be prefixed
71   - with "_php3_", and followed by a word or an underscore-delimited list of
72   - words, in lowercase letters, that describes the function. If applicable,
73   - they should be declared 'static'.
74   -
75   -[3] Variable names must be meaningful. One letter variable names must be
76   - avoided, except for places where the variable has no real meaning or
77   - a trivial meaning (e.g. for (i=0; i<100; i++) ...).
78   -
79   -[4] Variable names should be in lowercase; Use underscores to seperate
80   - between words.
81   -
82   -
83   -
84   -Syntax and indentation
85   -----------------------
86   -
87   -[1] Never use C++ style comments (i.e. // comment). Always use C-style
88   - comments instead. PHP is written in C, and is aimed at compiling
89   - under any ANSI-C compliant compiler. Even though many compilers
90   - accept C++-style comments in C code, you have to ensure that your
91   - code would compile with other compilers as well.
92   - The only exception to this rule is code that is Win32-specific,
93   - because the Win32 port is MS-Visual C++ specific, and this compiler
94   - is known to accept C++-style comments in C code.
95   -
96   -[2] Use K&R-style. Of course, we can't and don't want to
97   - force anybody to use a style she's not used to, but
98   - at the very least, when you write code that goes into the core
99   - of PHP or one of its standard modules, please maintain the K&R
100   - style. This applies to just about everything, starting with
101   - indentation and comment styles and up to function decleration
102   - syntax.
103   -
104   -[3] Be generous with whitespace and braces. Always prefer
105   - if (foo) {
106   - bar;
107   - }
108   - to
109   - if(foo)bar;
110   -
111   - Keep one empty line between the variable decleration section and
112   - the statements in a block, as well as between logical statement
113   - groups in a block. Maintain at least one empty line between
114   - two functions, preferably two.
115   -
116   -Documentation and Folding Hooks
117   --------------------------------
118   -
119   -In order to make sure that the online documentation stays in line with
120   -the code, each user-level function should have its user-level function
121   -prototype before it along with a brief one-line description of what the
122   -function does. It would look like this:
123   -
124   -/* {{{ proto int abs(int number)
125   - Return the absolute value of the number */
126   -void php3_abs(INTERNAL_FUNCTION_PARAMETERS) {
127   - ...
128   -}
129   -/* }}} */
130   -
131   -The {{{ symbols are the default folding symbols for the folding mode in
132   -Emacs. vim will soon have support for folding as well. Folding is very
133   -useful when dealing with large files because you can scroll through the
134   -file quickly and just unfold the function you wish to work on. The }}}
135   -at the end of each function marks the end of the fold, and should be on
136   -a separate line.
137   -
138   -The "proto" keyword there is just a helper for the doc/genfuncsummary script
139   -which generates a full function summary. Having this keyword in front of the
140   -function prototypes allows us to put folds elsewhere in the code without
141   -messing up the function summary.
142   -
143   -Optional arguments are written like this:
144   -
145   -/* {{{ proto object imap_header(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
146   -
147   -And yes, please keep everything on a single line, even if that line is massive.
148   -
149   -
3  CREDITS
... ... @@ -1,3 +0,0 @@
1   -For the list of people who've put work into PHP 4.0, please see
2   -http://www.php.net/version4/credits.php
3   -
11,008 ChangeLog
0 additions, 11,008 deletions not shown
538 FUNCTION_LIST.txt
... ... @@ -1,538 +0,0 @@
1   -Functions:
2   -
3   -Functions marked with 'u' do not work, or may not work correctly under windows.
4   -
5   -basic_functions
6   - include
7   - _include
8   - isset
9   -
10   - intval
11   - doubleval
12   - strval
13   - short_tags
14   - sleep
15   -u usleep
16   - ksort
17   - asort
18   - sort
19   - count
20   - chr
21   - ord
22   - flush
23   - end
24   - prev
25   - next
26   - reset
27   - current
28   - key
29   - gettype
30   - settype
31   - min
32   - max
33   -
34   - addslashes
35   - chop
36   - pos
37   -
38   - fsockopen
39   - getimagesize
40   - htmlspecialchars
41   - md5
42   -
43   - parse_url
44   -
45   - parse_str
46   - phpinfo
47   - phpversion
48   - strlen
49   - strtok
50   - strtoupper
51   - strtolower
52   - strchr
53   - basename
54   - dirname
55   - stripslashes
56   - strstr
57   - strrchr
58   - substr
59   - quotemeta
60   - urlencode
61   - urldecode
62   - ucfirst
63   - strtr
64   - sprintf
65   - printf
66   -
67   - exec
68   - system
69   - escapeshellcmd
70   - passthru
71   -
72   - soundex
73   -
74   - rand
75   - srand
76   - getrandmax
77   - gethostbyaddr
78   - gethostbyname
79   - explode
80   - implode
81   - error_reporting
82   - clearstatcache
83   -
84   - get_current_user
85   - getmyuid
86   - getmypid
87   -u getmyinode
88   - getlastmod
89   -
90   - base64_decode
91   - base64_encode
92   -
93   - abs
94   - ceil
95   - floor
96   - sin
97   - cos
98   - tan
99   - asin
100   - acos
101   - atan
102   - pi
103   - pow
104   - exp
105   - log
106   - log10
107   - sqrt
108   - bindec
109   - hexdec
110   - octdec
111   - decbin
112   - decoct
113   - dechex
114   -
115   - getenv
116   - putenv
117   -
118   - time
119   - mktime
120   - date
121   - gmdate
122   - getdate
123   - checkdate
124   - microtime
125   - uniqid
126   -
127   -u linkinfo
128   -u readlink
129   -u symlink
130   -u link
131   -u unlink
132   -
133   -
134   -bcmath_functions
135   - bcadd
136   - bcsub
137   - bcmul
138   - bcdiv
139   - bcmod
140   - bcpow
141   - bcsqrt
142   - bcscale
143   - bccomp
144   -
145   -dir_functions
146   - opendir
147   - closedir
148   - chdir
149   - rewinddir
150   - readdir
151   - dir
152   -
153   -dl_functions
154   - dl(string module_name); dynamicly load a module
155   -
156   -dns_functions
157   - gethostbyaddr
158   - gethostbyname
159   -
160   -file_functions
161   - pclose
162   - popen
163   - readfile
164   - rewind
165   - rmdir
166   - umask
167   - fclose
168   - feof
169   - fgets
170   - fgetss
171   - fopen
172   - fpassthru
173   - fseek
174   - ftell
175   - fputs
176   - mkdir
177   - rename
178   - copy
179   - tempnam
180   - file
181   -
182   -filestat_functions
183   - fileatime
184   - filectime
185   -u filegroup
186   -u fileinode
187   - filemtime
188   -u fileowner
189   - fileperms
190   - filesize
191   - filetype
192   - stat
193   -u chown
194   -u chgrp
195   -u chmod
196   - touch
197   - file_exists
198   - is_executable
199   - is_dir
200   - is_readable
201   - is_writeable
202   -u is_link
203   -
204   -header_functions
205   - setcookie
206   - header
207   -
208   -mail_functions
209   - mail
210   -
211   -reg_functions
212   - ereg
213   - ereg_replace
214   - eregi
215   - eregi_replace
216   - split
217   - sql_regcase
218   -
219   -syslog_functions (writes to event log on win NT)
220   - openlog
221   - syslog
222   - closelog
223   -
224   -The following are optional modules and may or may not be compiled into php, or may be compiled as a loadable module.
225   -
226   -odbc_functions (obsolete, use uodbc below)
227   - sqlconnect
228   - sqldisconnect
229   - sqlfetch
230   - sqlexecdirect
231   - sqlgetdata
232   - sqlfree
233   - sqlrowcount
234   -
235   -uodbc_functions
236   - (int) odbc_autocommit($connection_id, $OnOff)
237   - (void) odbc_close($connection_id)
238   - (void) odbc_close_all(void)
239   - (int) odbc_commit($connection_id)
240   - (int) odbc_connect($dsn, $user, $password)
241   - (int) odbc_pconnect($dsn, $user, $password)
242   - (string) odbc_cursor($result_id)
243   - (int) odbc_do($connection_id, $query_string)
244   - (int) odbc_exec($connection_id, $query_string)
245   - (int) odbc_prepare($connection_id, $query_string)
246   - (int) odbc_execute($result_id, $array)
247   - (int) odbc_fetch_row($result_id, $row_number)
248   - (int) odbc_fetch_into($result_id, $row_number, $array_ptr)
249   - (int) odbc_field_len($result_id, $field_number)
250   - (string) odbc_field_name($result_id, $field_number)
251   - (string) odbc_field_type($result_id, $field)
252   - (int) odbc_free_result($result_id)
253   - (int) odbc_num_fields($result_id)
254   - (int) odbc_num_rows($result_id)
255   - (string) odbc_result($result_id, $field)
256   - (int) odbc_result_all($result_id, $format)
257   - (int) odbc_rollback($connection_id)
258   -
259   -msql_functions
260   - msql_connect
261   - msql_pconnect
262   - msql_close
263   - msql_select_db
264   - msql_create_db
265   - msql_drop_db
266   - msql_query
267   - msql
268   - msql_list_dbs
269   - msql_list_tables
270   - msql_list_fields
271   - msql_result
272   - msql_num_rows
273   - msql_num_fields
274   - msql_fetch_row
275   - msql_fetch_array
276   - msql_fetch_object
277   - msql_data_seek
278   - msql_fetch_field
279   - msql_field_seek
280   - msql_free_result
281   - msql_fieldname
282   - msql_fieldtable
283   - msql_fieldlen
284   - msql_fieldtype
285   - msql_fieldflags
286   - msql_regcase
287   - /* for downwards compatability */
288   - msql_selectdb
289   - msql_createdb
290   - msql_dropdb
291   - msql_freeresult
292   - msql_numfields
293   - msql_numrows
294   - msql_listdbs
295   - msql_listtables
296   - msql_listfields
297   - msql_dbname
298   - msql_tablename
299   -
300   -ldap_functions
301   - ldap_connect
302   - ldap_bind
303   - ldap_unbind
304   - ldap_read
305   - ldap_list
306   - ldap_search
307   - ldap_free_result
308   - ldap_count_entries
309   - ldap_first_entry
310   - ldap_next_entry
311   - ldap_get_entries
312   - ldap_free_entry
313   - ldap_first_attribute
314   - ldap_next_attribute
315   - ldap_get_attributes
316   - ldap_get_values
317   - ldap_get_dn
318   - ldap_dn2ufn
319   - ldap_add
320   - ldap_delete
321   - ldap_modify
322   -
323   -gd_functions
324   - imagearc
325   - imagechar
326   - imagecharup
327   - imagecolorallocate
328   - imagecolorclosest
329   - imagecolorexact
330   - imagecolortransparent
331   - imagecopyresized
332   - imagecreate
333   - imagecreatefromgif
334   - imagedestroy
335   - imagefill
336   - imagefilledpolygon
337   - imagefilledrectangle
338   - imagefilltoborder
339   - imagegif
340   - imageinterlace
341   - imageline
342   - imagepolygon
343   - imagerectangle
344   - imagesetpixel
345   - imagestring
346   - imagestringup
347   - imagesx
348   - imagesy
349   -
350   -filepro_functions
351   - filepro
352   - filepro_rowcount
353   - filepro_fieldname
354   - filepro_fieldtype
355   - filepro_fieldwidth
356   - filepro_fieldcount
357   - filepro_retrieve
358   -
359   -dbm_functions
360   - dblist
361   - dbmopen
362   - dbmclose
363   - dbminsert
364   - dbmfetch
365   - dbmreplace
366   - dbmexists
367   - dbmdelete
368   - dbmfirstkey
369   - dbmnextkey
370   -
371   -dbase_functions
372   - dbase_open
373   - dbase_create
374   - dbase_close
375   - dbase_numrecords
376   - dbase_numfields
377   - dbase_add_record
378   - dbase_get_record
379   - dbase_delete_record
380   - dbase_pack
381   -
382   -calendar_functions
383   - jdtogregorian
384   - gregoriantojd
385   - jdtojulian
386   - juliantojd
387   - jdtojewish
388   - jewishtojd
389   - jdtofrench
390   - frenchtojd
391   - jddayofweek
392   - jdmonthname
393   -
394   -adabas_functions
395   -(int) ada_afetch($result_id, $rownumber, $result array)
396   -(int) ada_autocommit($connection_id, $OnOff)
397   -(void) ada_close($connection_id)
398   - ada_closeall
399   -(int) ada_commit($connection_id)
400   -(int) ada_connect($dsn, $user, $password)
401   -(int) ada_exec($connection_id, $query_string)
402   -(int) ada_fetchrow($result_id, $row?number)
403   - ada_fieldlen
404   -(string) ada_fieldname($result_id, $field_number)
405   -(string) ada_fieldtype($result_id, $field)
406   -(int) ada_freeresult($result_id)
407   -(int) ada_numfields($result_id)
408   -(int) ada_numrows($result_id)
409   -(string) ada_result($result_id, $field)
410   -(int) ada_resultall($result_id, $format)
411   -(int) ada_rollback($connection_id)
412   -***(int) ada_fieldnum($result_id, $field_name) (this function is not in adabase.c
413   -
414   -crypt_functions
415   - crypt
416   -
417   -mysql_functions
418   - mysql_connect
419   - mysql_pconnect
420   - mysql_close
421   - mysql_select_db
422   - mysql_create_db
423   - mysql_drop_db
424   - mysql_query
425   - mysql
426   - mysql_list_dbs
427   - mysql_list_tables
428   - mysql_list_fields
429   - mysql_affected_rows
430   - mysql_insert_id
431   - mysql_result
432   - mysql_num_rows
433   - mysql_num_fields
434   - mysql_fetch_row
435   - mysql_fetch_array
436   - mysql_fetch_object
437   - mysql_data_seek
438   - mysql_fetch_lengths
439   - mysql_fetch_field
440   - mysql_field_seek
441   - mysql_free_result
442   - mysql_fieldname
443   - mysql_fieldtable
444   - mysql_fieldlen
445   - mysql_fieldtype
446   - mysql_fieldflags
447   - /* for downwards compatability */
448   - mysql_selectdb
449   - mysql_createdb
450   - mysql_dropdb
451   - mysql_freeresult
452   - mysql_numfields
453   - mysql_numrows
454   - mysql_listdbs
455   - mysql_listtables
456   - mysql_listfields
457   - mysql_dbname
458   - mysql_tablename
459   -
460   -oracle_functions
461   - ora_close
462   - ora_commit
463   - ora_commitoff
464   - ora_commiton
465   - ora_error
466   - ora_errorcode
467   - ora_exec
468   - ora_fetch
469   - ora_getcolumn
470   - ora_logoff
471   - ora_logon
472   - ora_open
473   - ora_parse
474   - ora_rollback
475   -
476   -pgsql_functions
477   - pg_connect
478   - pg_pconnect
479   - pg_close
480   - pg_dbname
481   - pg_errormessage
482   - pg_options
483   - pg_port
484   - pg_tty
485   - pg_host
486   - pg_exec
487   - pg_numrows
488   - pg_numfields
489   - pg_fieldname
490   - pg_fieldsize
491   - pg_fieldtype
492   - pg_fieldnum
493   - pg_result
494   - pg_fieldprtlen
495   - pg_getlastoid
496   - pg_freeresult
497   - pg_locreate
498   - pg_lounlink
499   - pg_loopen
500   - pg_loclose
501   - pg_loread
502   - pg_lowrite
503   - pg_loreadall
504   -
505   -sybase_functions
506   - sybase_connect
507   - sybase_pconnect
508   - sybase_close
509   - sybase_select_db
510   - sybase_query
511   - sybase_free_result
512   - sybase_get_last_message
513   - sybase_num_rows
514   - sybase_num_fields
515   - sybase_fetch_row
516   - sybase_fetch_array
517   - sybase_fetch_object
518   - sybase_data_seek
519   - sybase_fetch_field
520   - sybase_field_seek
521   - sybase_result
522   -
523   -sybase_old_functions
524   - sybsql_seek
525   - sybsql_exit
526   - sybsql_dbuse
527   - sybsql_query
528   - sybsql_isrow
529   - sybsql_result
530   - sybsql_connect
531   - sybsql_nextrow
532   - sybsql_numrows
533   - sybsql_getfield
534   - sybsql_numfields
535   - sybsql_fieldname
536   - sybsql_result_all
537   - sybsql_checkconnect
538   -
184 INSTALL
... ... @@ -1,184 +0,0 @@
1   -Installation Instructions for PHP 4.0
2   --------------------------------------
3   -
4   -Note! As of 4.0b3, PHP will require GNU make.
5   -
6   -For the impatient here is a quick set of steps that will build PHP as
7   -an Apache module for Apache 1.3.x with MySQL support. A more verbose
8   -explanation follows.
9   -
10   -
11   -QUICK INSTALL
12   -
13   -$ gunzip -c apache_1.3.x.tar.gz | tar xf -
14   -$ cd apache_1.3.x
15   -$ ./configure
16   -$ cd ..
17   -
18   -$ gunzip -c php-4.0.x.tar.gz | tar xf -
19   -$ cd php-4.0.x
20   -$ ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars
21   -$ make
22   -$ make install
23   -
24   -$ cd ../apache_1.3.x
25   -$ ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a
26   - (The above line is correct! Yes, we know libphp4.a does not exist at this
27   - stage. It isn't supposed to. It will be created.)
28   -make
29   - (you should now have an httpd binary which you can copy to your Apache bin dir)
30   -cd ../php-4.0.x
31   -cp php.ini-dist /usr/local/lib/php.ini
32   -You can edit /usr/local/lib/php.ini file to set PHP options.
33   -Edit your httpd.conf or srm.conf file and add:
34   - AddType application/x-httpd-php .php
35   -
36   -
37   -VERBOSE INSTALL
38   -
39   -Installing PHP can be done in four simple steps:
40   -
41   -1. Unpack your distribution file.
42   -
43   - You will have downloaded a file named something like php4xn.tar.gz.
44   - Unzip this file with a command like: gunzip php4xn.tar.gz
45   -
46   - Next you have to untar it with: tar -xvf php4xn.tar
47   -
48   - This will create a php-4.0.x directory. cd into this new directory.
49   -
50   -2. Configure PHP.
51   -
52   - You now have to choose the options you would like. There are quite
53   - a few of them. To see a list, type: ./configure --help
54   -
55   - The only options that you are likely to want to use are the ones in
56   - the last section entitled, "--enable and --with options recognized:"
57   -
58   - A popular choice is to build the Apache module version. You need
59   - to know where the source code directory for your Apache server is
60   - located. Then use an option like: --with-apache=/usr/local/src/apache
61   - if that is your Apache source code directory. If you only specify
62   - --with-apache, then it will default to look for your Apache source
63   - in /usr/local/etc/httpd.
64   -
65   - NOTE: The directory you specify should be the top-level of the
66   - unpacked Apache (or Stronghold) distribution. The configure program
67   - will automatically look for httpd.h in different directories under that
68   - location depending on which version of Apache, including Stronghold,
69   - you are running.
70   -
71   - For MySQL support, since newer versions of MySQL installs its various
72   - components under /usr/local, this is the default. If you have
73   - changed the location you can specify it with: --with-mysql=/opt/local
74   - for example. Otherwise just use: --with-mysql
75   -
76   - *NOTE* If you are using Apache 1.3b6 or later, you should run the
77   - Apache Configure script at least once before compiling PHP. It
78   - doesn't matter how you have Apache configured at this point.
79   -
80   -3. Compile and install the files. Simply type: make install
81   -
82   - For the Apache module version this will copy the appropriate files
83   - to the src/modules/php4 directory in your Apache distribution if
84   - you are using Apache 1.3.x. If you are still running Apache 1.2.x
85   - these files will be copied directly to the main src directory.
86   -
87   - For Apache 1.3b6 and later, you can use the new APACI configuration
88   - mechanism. To automatically build Apache with PHP support, use:
89   -
90   - cd apache_1.3.x
91   - ./configure --prefix=/<path>/apache \
92   - --activate-module=src/modules/php4/libphp4.a
93   - make
94   - make install
95   -
96   - If you do not wish to use this new configuration tool, the old
97   - install procedure (src/Configure) will work fine.
98   -
99   - If you are using the old Apache ./Configure script, you will have to
100   - edit the Apache src/Configuration file manually. If you do not have
101   - this file, copy Configuration.tmpl to Configuration.
102   -
103   - For Apache 1.3.x add:
104   -
105   - AddModule modules/php4/libphp4.a
106   -
107   - For Apache 1.3.x don't do anything else. Just add this line and then
108   - run "./Configure" followed by "make".
109   -
110   - For Apache 1.2.x add:
111   -
112   - Module php4_module mod_php4.o
113   -
114   - For Apache 1.2.x you will also have to look in the libphp4.module file,
115   - which was copied to the src directory. The EXTRA_LIBS line in the Apache
116   - Configuration file needs to be set to use the same libs as specified on
117   - the LIBS line in libphp4.module. You also need to make sure to add
118   - "-L." to the beginning of the EXTRA_LIBS line.
119   -
120   - So, as an example, your EXTRA_LIBS line might look like:
121   -
122   - EXTRA_LIBS=-L. -lphp4 -lgdbm -ldb -L/usr/local/mysql/lib -lmysqlclient
123   -
124   - NOTE: You should not enclose the EXTRA_LIBS line in double-quotes, as it
125   - is in the libphp4.module file.
126   -
127   - Also, look at the RULE_WANTHSREGEX setting in the libphp4.module file
128   - and set the WANTHSREGEX directive accordingly in your Configuration file.
129   - This last step applies to versions of Apache prior to 1.3b3.
130   -
131   - This is a bit of a hassle, but should serve as incentive to move to
132   - Apache 1.3.x where this step has been eliminated.
133   -
134   - Once you are satisfied with your Configuration settings, type: ./Configure
135   - If you get errors, chances are that you forgot a library or made a typo
136   - somewhere. Re-edit Configuration and try again. If it goes well,
137   - type: make
138   -
139   -4. Setting up the server.
140   -
141   - You should now have a new httpd binary. Shut down your existing server,
142   - if you have one, and copy this new binary overtop of it. Perhaps make
143   - a backup of your previous one first. Then edit your conf/srm.conf file
144   - and add the line:
145   -
146   - AddType application/x-httpd-php .php
147   -
148   - There is also an interesting feature which can be quite instructive and
149   - helpful while debugging. That is the option of having colour syntax
150   - highlighting. To enable this, add the following line:
151   -
152   - AddType application/x-httpd-php-source .phps
153   -
154   - Any file ending in .phps will now be displayed with full colour syntax
155   - highlighting instead of being executed.
156   -
157   - When you are finished making changes to your srm.conf file, you can
158   - start up your server.
159   -
160   -USING PHP3 AND PHP4 AS CONCURRENT APACHE MODULES
161   -
162   - Recent operating systems provide the ability to perform versioning and
163   - scoping. This features make it possible to let PHP3 and PHP4 run as
164   - concurrent modules in one Apache server.
165   -
166   - This feature is known to work on the following platforms:
167   -
168   - - Linux with recent binutils (binutils 2.9.1.0.25 tested)
169   - - Solaris 2.5 or better
170   - - FreeBSD (3.2, 4.0 tested)
171   -
172   - To enable it, configure PHP3 and PHP4 to use APXS (--with-apxs) and the
173   - necessary link extensions (--enable-versioning). Otherwise, all standard
174   - installations instructions apply. For example:
175   -
176   - $ ./configure \
177   - --with-apxs=/apache/bin/apxs \
178   - --enable-versioning \
179   - --with-mysql \
180   - --enable-track-vars
181   -
182   - If this also works on your platform or if you know a way to do it, please
183   - report it to our bug database at http://bugs.php.net
184   -
70 LICENSE
... ... @@ -1,70 +0,0 @@
1   ---------------------------------------------------------------------
2   - The PHP License, version 2.01
3   -Copyright (c) 1999 The PHP Group. All rights reserved.
4   ---------------------------------------------------------------------
5   -
6   -Redistribution and use in source and binary forms, with or without
7   -modification, is permitted provided that the following conditions
8   -are met:
9   -
10   - 1. Redistributions of source code must retain the above copyright
11   - notice, this list of conditions and the following disclaimer.
12   -
13   - 2. Redistributions in binary form must reproduce the above
14   - copyright notice, this list of conditions and the following
15   - disclaimer in the documentation and/or other materials provided
16   - with the distribution.
17   -
18   - 3. The name "PHP" must not be used to endorse or promote products
19   - derived from this software without prior permission from the
20   - PHP Group. This does not apply to add-on libraries or tools
21   - that work in conjunction with PHP. In such a case the PHP
22   - name may be used to indicate that the product supports PHP.
23   -
24   - 4. The PHP Group may publish revised and/or new versions of the
25   - license from time to time. Each version will be given a
26   - distinguishing version number.
27   - Once covered code has been published under a particular version
28   - of the license, you may always continue to use it under the
29   - terms of that version. You may also choose to use such covered
30   - code under the terms of any subsequent version of the license
31   - published by the PHP Group. No one other than the PHP Group has
32   - the right to modify the terms applicable to covered code created
33   - under this License.
34   -
35   - 5. Redistributions of any form whatsoever must retain the following
36   - acknowledgment:
37   - "This product includes PHP, freely available from
38   - http://www.php.net/".
39   -
40   - 6. Permission to freely distribute and use Zend as an integrated
41   - part of PHP is granted, under the conditions of version 0.91
42   - of the Zend License.
43   - The license is bundled with the Zend engine, and is available
44   - at http://www.zend.com/license/0_91.txt, or by contacting
45   - license@zend.com.
46   -
47   -
48   -
49   -THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
50   -ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
51   -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
52   -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP
53   -DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
54   -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
55   -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
56   -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57   -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
58   -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
59   -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
60   -OF THE POSSIBILITY OF SUCH DAMAGE.
61   -
62   ---------------------------------------------------------------------
63   -
64   -This software consists of voluntary contributions made by many
65   -individuals on behalf of the PHP Group.
66   -
67   -The PHP Group can be contacted via Email at group@php.net.
68   -
69   -For more information on the PHP Group and the PHP project,
70   -please see <http://www.php.net>.
101 MAINTAINERS
... ... @@ -1,101 +0,0 @@
1   - List of PHP maintainers
2   - =======================
3   -
4   -Status legend
5   --------------
6   - Supported: Someone is actually paid to look after this.
7   - Maintained: Someone actually looks after it.
8   - Odd Fixes: It has a maintainer but they don't have time to do
9   - much other than throw the odd patch in. See below..
10   - Orphan: No current maintainer [but maybe you could take the
11   - role as you write your new code].
12   - Obsolete: Old code. Something tagged obsolete generally means
13   - it has been replaced by a better system and you
14   - should be using that.
15   -
16   ---------------------------------------------------------------------------------
17   -EXTENSION: apache
18   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
19   -STATUS: Maintained
20   ---------------------------------------------------------------------------------
21   -EXTENSION: cybercash
22   -PRIMARY MAINTAINER: Evan Klinger <evan715@sirius.com>
23   -STATUS: Maintained
24   ---------------------------------------------------------------------------------
25   -EXTENSION: dba
26   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
27   -STATUS: Maintained
28   ---------------------------------------------------------------------------------
29   -EXTENSION: fdf
30   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
31   -STATUS: Maintained
32   ---------------------------------------------------------------------------------
33   -EXTENSION: gd
34   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
35   -STATUS: Maintained
36   ---------------------------------------------------------------------------------
37   -EXTENSION: hyperwave
38   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
39   -STATUS: Maintained
40   ---------------------------------------------------------------------------------
41   -EXTENSION: informix
42   -PRIMARY MAINTAINER: Danny Heijl <Danny.Heijl@cevi.be>
43   -STATUS: Maintained
44   ---------------------------------------------------------------------------------
45   -EXTENSION: java
46   -PRIMARY MAINTAINER: Sam Ruby <rubys@us.ibm.com>
47   -STATUS: Maintained
48   ---------------------------------------------------------------------------------
49   -EXTENSION: ldap
50   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
51   -STATUS: Odd Fixes
52   ---------------------------------------------------------------------------------
53   -EXTENSION: mcrypt
54   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
55   -STATUS: Maintained
56   ---------------------------------------------------------------------------------
57   -EXTENSION: mhash
58   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
59   -STATUS: Maintained
60   ---------------------------------------------------------------------------------
61   -EXTENSION: mssql
62   -PRIMARY MAINTAINER: Frank M. Kromann <fmk@swwwing.com>
63   -STATUS: Maintained
64   ---------------------------------------------------------------------------------
65   -EXTENSION: oci8
66   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@digicol.de>
67   -STATUS: Maintained
68   ---------------------------------------------------------------------------------
69   -EXTENSION: oracle
70   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@digicol.de>
71   -STATUS: Maintained
72   -COMMENT: Using the new OCI8 driver is encouraged where possible.
73   ---------------------------------------------------------------------------------
74   -EXTENSION: pcre
75   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@ispi.net>
76   -STATUS: Maintained
77   ---------------------------------------------------------------------------------
78   -EXTENSION: pdf
79   -PRIMARY MAINTAINER: Uwe Steinmann <steinm@php.net>
80   -STATUS: Maintained
81   ---------------------------------------------------------------------------------
82   -EXTENSION: session
83   -PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>
84   -STATUS: Maintained
85   ---------------------------------------------------------------------------------
86   -EXTENSION: snmp
87   -PRIMARY MAINTAINER: Rasmus Lerdorf <rasmus@php.net>
88   -STATUS: Odd Fixes
89   ---------------------------------------------------------------------------------
90   -EXTENSION: wddx
91   -PRIMARY MAINTAINER: Andrei Zmievski <andrei@ispi.net>
92   -STATUS: Maintained
93   ---------------------------------------------------------------------------------
94   -EXTENSION: xml
95   -PRIMARY MAINTAINER: Thies C. Arntzen <thies@digicol.de>
96   -STATUS: Maintained
97   ---------------------------------------------------------------------------------
98   -EXTENSION: zlib
99   -PRIMARY MAINTAINER: Stefan Roehrich <sr@linux.de>
100   -STATUS: Maintained
101   ---------------------------------------------------------------------------------
21 MODULES_STATUS
... ... @@ -1,21 +0,0 @@
1   -Module Status
2   ------- ------
3   -MySQL Working
4   -COM Working
5   -WDDX Working
6   -PCRE Working
7   -DBA Working
8   -mcrypt Working
9   -mhash Working
10   -dbase Working
11   -aspell Working
12   -imap Working
13   -ldap Working
14   -oci8 Working (but no blob-support yet)
15   -oracle Working
16   -iptc Working
17   -informix Working
18   -zlib Working
19   -sysvshm Working
20   -odbc Working (except for persistent connections)
21   -MS SQL Working (tested on phpts and isapi versions)
41 Makefile.am
... ... @@ -1,41 +0,0 @@
1   -AUTOMAKE_OPTIONS = foreign
2   -
3   -ZEND_DIR = $(srcdir)/libzend
4   -SUBDIRS = libzend ext sapi $(TSRM_DIR) $(REGEX_DIR) . pear
5   -
6   -BUILDLDFLAGS = $(EXTRA_LDFLAGS) $(LDFLAGS)
7   -
8   -phptemp_LTLIBRARIES = libphp4.la
9   -libphp4_la_SOURCES = \
10   - main.c internal_functions.c snprintf.c php3_sprintf.c \
11   - configuration-parser.y configuration-scanner.l request_info.c \
12   - safe_mode.c fopen-wrappers.c php3_realpath.c alloca.c \
13   - php_ini.c SAPI.c rfc1867.c dlist.c php_content_types.c strlcpy.c \
14   - strlcat.c mergesort.c reentrancy.c
15   -
16   -libphp4_la_DEPENDENCIES = \
17   - libzend/libzend.la \
18   - sapi/$(PHP_SAPI)/libphpsapi_$(PHP_SAPI).la \
19   - $(REGEX_LIB) \
20   - $(EXT_LTLIBS) \
21   - $(TSRM_LIB)
22   -
23   -libphp4_la_LIBADD = $(libphp4_la_DEPENDENCIES) $(EXTRA_LIBS)
24   -
25   -libphp4_la_LDFLAGS = $(BUILDLDFLAGS) $(PHP_RPATHS)
26   -
27   -configuration-parser.h configuration-parser.c: configuration-parser.y
28   - $(YACC) -p cfg -v -d $< -o configuration-parser.c
29   -
30   -configuration-scanner.c: configuration-scanner.l
31   - $(LEX) -Pcfg -o$@ -i $<
32   -
33   -EXTRA_PROGRAMS = php
34   -
35   -noinst_PROGRAMS = $(PHP_PROGRAM)
36   -php_SOURCES = stub.c
37   -php_LDADD = libphp4.la
38   -php_LDFLAGS = -export-dynamic
39   -
40   -install-data-local:
41   - $(INSTALL_IT)
356 NEWS
... ... @@ -1,356 +0,0 @@
1   -PHP 4.0 NEWS
2   -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3   -
4   -?? ?? ????, Version 4.0 Beta 4
5   -- Made implode() binary-safe (Andrei)
6   -- Made strstr(), stristr(), and ucwords() binary-safe() (Andrei)
7   -- Made strtoupper(), strtolower(), substr_replace() binary-safe. (Andrei)
8   -- Fix a crash in the Apache syntax highlighting mode (Zeev)
9   -- Report all ODBC error's not just the one on the top of the stack (lurcher)
10   -- OCI8 now returns NULL values in LONG columns correct. (Thies)
11   -- Added support for a C-like assert() function. (Thies)
12   -- Added CyberCash support. (Evan)
13   -- explode() is now binary-safe. (Thies)
14   -- strpos() is now binary-safe. (Thies)
15   -- added XML_Set_Object() function, now you can use the XML-Parser from
16   - within an object. (Thies)
17   -- Session vars are now decoded into $HTTP_STATE_VARS[] array and the
18   - globals, depending on track_vars and gpc_globals settings (Andrei)
19   -- Added get_used_files() function - returns a hash mapping the use()'d files
20   - to their full path (Zeev)
21   -- PHP 4 scripts will now obey the max_execution_time setting and actually
22   - time out (Rasmus)
23   -- Add configure command to phpinfo() output (Stig)
24   -- Add optional socket path to the mysql_?connect() functions (Rasmus)
25   -- Made mysql and gd work as shared extensions again (Stig)
26   -- Make the global GET/POST/Cookie variables and their $HTTP_*_VARS[] counterparts
27   - be references to each other (Zeev)
28   -- Added support for the 'use' keyword - behaves like 'require', but will not
29   - use the same file more than once (Andi & Zeev, Zend library)
30   -- Added check to see if a persistent connection is still valid with the