Commit Graph

20298 Commits

Author SHA1 Message Date
foobar
efe365abdc Andrei forgot this.. 2003-03-19 23:08:58 +00:00
Andrei Zmievski
39d5a63803 - Keep track of starting/ending line numbers for user functions.
- Store last parsed doc comment in a compiler global for future use.
2003-03-19 21:17:47 +00:00
Andrei Zmievski
3a297fac22 Lowercase the function name when used as key in the function name. The
original case is still preserved in zend_function structure.
2003-03-19 21:07:49 +00:00
Marcus Boerger
58df04af27 - reenable $argc/$argv
- add a comment where hardcoded defaults would go
# i believe we have none for now though
2003-03-19 20:36:04 +00:00
David Hill
d15a641222 Correcting example to use proper variable - NO_INTERACTION 2003-03-19 18:04:17 +00:00
foobar
b26db9cd5c Using of quotes around paths is a very good idea.. 2003-03-19 16:53:02 +00:00
foobar
88fe9c2d3c Fixed bug #22775 (Fatal errors exit with status 0 with CGI/CLI) 2003-03-19 08:22:12 +00:00
801966d951 ChangeLog update 2003-03-19 01:33:04 +00:00
Wez Furlong
7379f47518 Sanity check for when a stream is requested to be persistent but the wrapper
does not respect the flag.
2003-03-19 00:17:15 +00:00
Wez Furlong
0fd995f9fc Add the mode string that was used to open the stream to the meta data,
as requested by Philip Olson.
2003-03-18 23:45:27 +00:00
Wez Furlong
86fb577d59 Implement persistent plain file streams.
Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
	STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);

the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.

Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.

This is deliberately *not* exposed to user-space PHP at this time.
2003-03-18 23:37:54 +00:00
Wez Furlong
6a87651006 Q} 2003-03-18 22:26:02 +00:00
Marcus Boerger
4529fb344c -turn html_errors on by default again
-disbale clickable error messages by docref_root default to ''
2003-03-18 22:21:54 +00:00
Jay Smith
c0d1508ec8 get_browser() needs to use zend_is_auto_global() on _SERVER. 2003-03-18 21:49:01 +00:00
Marcus Boerger
3e621fac94 make phpinfo() depend on executed sapi 2003-03-18 20:52:52 +00:00
Ilia Alshanetsky
d29d55e772 Cleanup. 2003-03-18 18:29:10 +00:00
foobar
d0ac3d0646 Fixed bug #22765 2003-03-18 17:30:32 +00:00
Wez Furlong
ce01fd9526 Avoid using FILE* where possible.
Tidy up handling of potential error situations for the php:// wrapper.
2003-03-18 16:40:29 +00:00
Zeev Suraski
40326f6adf - Fix situation where a derived class declares a public (or implicit public)
with the same name as a private in the parent
- Optimize 'static binding' of private properties a bit
2003-03-18 16:30:23 +00:00
Marcus Boerger
b21fdb762a use new callback to overwrite ini settings
# ok now lets split html_errors and phpinfo() formatting
2003-03-18 15:56:12 +00:00
Marcus Boerger
63739c7db8 give sapi modules the possibility to overwrite default ini settings 2003-03-18 15:53:33 +00:00
Wez Furlong
267db80b21 avoid unsigned issues. 2003-03-18 15:15:10 +00:00
Wez Furlong
862586e376 CS fixes 2003-03-18 14:35:15 +00:00
Wez Furlong
7c2ccb5f65 Fix for #22721 (poor file() performance on systems without mmap) 2003-03-18 14:35:01 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
foobar
980bac69f9 Fixed bug #22751 (Compile error in gdcache when external libgd is used) 2003-03-18 02:13:49 +00:00
14e9434586 ChangeLog update 2003-03-18 01:35:05 +00:00
foobar
6121c846b3 whitespace.. 2003-03-18 01:24:18 +00:00
Ilia Alshanetsky
e15cc99415 Win32 build fix. 2003-03-17 22:25:55 +00:00
Ian Holsman
2697be632c PR#22672 - User not logged under Apache2
patch provided by Andrew Bradford.
2003-03-17 21:28:41 +00:00
Ilia Alshanetsky
27a7eaf4e7 Fixed bug #22538 (failed stat on stdio/stdin/stderr streams). 2003-03-17 18:32:15 +00:00
foobar
6443ce1fc5 Fix the bad logic.. 2003-03-17 15:56:17 +00:00
foobar
b4b661ae0a WS & CS fixes 2003-03-17 15:06:11 +00:00
foobar
d8a62b8e4d WS & CS fixes 2003-03-17 14:45:07 +00:00
Stanislav Malyshev
eb5fe6944d MFZE1 2003-03-17 14:41:04 +00:00
Hartmut Holzgraefe
3343327ea1 fixing my proto fix :| 2003-03-17 13:50:27 +00:00
Wez Furlong
cfd0466389 Fix for Bug #21310, based on a patch by jflemer@php.net. 2003-03-17 13:40:45 +00:00
Hartmut Holzgraefe
dbe4f2238c proto fixes 2003-03-17 13:11:19 +00:00
Hartmut Holzgraefe
fa692f6744 proto fix 2003-03-17 13:08:59 +00:00
Hartmut Holzgraefe
212abb4996 proto fix 2003-03-17 13:00:13 +00:00
Hartmut Holzgraefe
6f24340f22 more proto fixes 2003-03-17 12:48:38 +00:00
foobar
9f3a46a12e Be sure we get the correct version.. 2003-03-17 12:43:29 +00:00
foobar
908a942a38 added the version info to be send as-is to buildtest-process 2003-03-17 12:24:09 +00:00
foobar
3a26859829 Added missing zend_mm.c file and renamed zend_object_API.c -> zend_objects_API.c 2003-03-17 11:23:42 +00:00
24b17aa8a0 ChangeLog update 2003-03-17 01:32:05 +00:00
Sascha Schumann
d0debaf45c Merge macro changes 2003-03-16 23:02:19 +00:00
Marcus Boerger
aba27fc6ca - disable html_errors per default as suggested by php.ini-<xxx>
- new error format that does not point to any documentation (if either
  not html_errors or no docref_root given e.g.: production boxes and default)
- documentation update in php.ini-<xxx>
# hope everyone is happy now
# and why on earth was enabling html_errors default?
2003-03-16 20:47:56 +00:00
foobar
fcb43b70ef WS & CS fixes + some TSRM_FETCH() removals + pval -> zval 2003-03-16 05:00:50 +00:00
0f21d60d7e ChangeLog update 2003-03-16 01:32:48 +00:00
foobar
d4a72592a4 - Fixed bug #22709 (crash within interbase when database unavailable) 2003-03-16 00:37:01 +00:00