Commit Graph

20258 Commits

Author SHA1 Message Date
Christian Stocker
0cc4b081a3 fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method") 2003-03-20 09:48:19 +00:00
87a06aa8ea ChangeLog update 2003-03-20 01:33:31 +00:00
foobar
6638543a72 WS & CS fixes.. 2003-03-20 01:27:40 +00:00
Wez Furlong
e451d88399 Fix for persistent stream shutdown under debug builds 2003-03-20 01:23:04 +00:00
foobar
c8791084db CS fix 2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac WS & CS fixes 2003-03-20 01:12:57 +00:00
foobar
fb2c346be1 WS & CS fixes 2003-03-20 00:37:12 +00:00
foobar
eccecff5f9 WS & CS fixes 2003-03-20 00:22:57 +00:00
foobar
6a6e0151c5 Better config.m4.. 2003-03-19 23:52:45 +00:00
foobar
9ff622f268 And this too.. 2003-03-19 23:10:27 +00:00
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