Marcus Boerger
e8b05734be
- Prevent E_STRICT from ending up as exception
2005-08-16 18:10:34 +00:00
foobar
8864ad2606
- This ini option is only effective when set in php.ini or httpd.conf
...
or .htacces, etc. as GPC variables are set before any ini_set() is called
2005-08-05 21:44:26 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Dmitry Stogov
70bd938bbd
Fixed bug in new module statrup mechanism
2005-07-18 16:20:08 +00:00
Anantha Kesari H Y
d77acff66f
main/fopen_wrappers.c
...
NetWare file names are case insensitive
main/main.c
NetWare has no sendmail binary. It uses the smart host mailing code avaiolable in php distro. Could not find a better place to put this than main/main.c.
-- Kamesh
2005-07-16 12:21:34 +00:00
Ilia Alshanetsky
0131b2b032
Fixed double-free in the digest authentication handling.
...
# Found and Reported by Stefan Esser
2005-07-12 16:53:30 +00:00
Dmitry Stogov
43c84919be
Fixed crash in ext\standard\tests\general_functions\bug32647.php on Windows
2005-07-05 14:13:46 +00:00
Antony Dovgal
e05ec94e1e
reorder and prevent memleak: bailout after free()
2005-06-20 19:58:51 +00:00
foobar
a6c7324979
- No extra spaces before #ifndef
2005-06-20 07:04:07 +00:00
Dmitry Stogov
f47c78487b
Improved PHP extension loading mechanism with support for module dependencies and conflicts
2005-06-17 09:39:23 +00:00
Wez Furlong
a4874a5533
hmm, backing out this change, as it seems to cause problems with user-space
...
streams and filters (the ZE needs to close them before it blows away the
user-space code.
Noticed by Dmitry. Still need to find out how to avoid double-closing streams.
2005-06-09 12:15:14 +00:00
foobar
61e9d432d9
silence warning
2005-06-06 22:01:41 +00:00
Wez Furlong
42ada22e0c
Avoid double-freeing streams.
...
This can happen because all streams are registered as resources;
the engine also tracks them in the open_files global.
Avoid the potential for double-freeing by simply making streams exposed to the
engine have no closer for the engine to call; they will already be in the
resource list, and thus will be shut down properly at request end.
2005-06-06 01:51:48 +00:00
Zeev Suraski
5d880ee78c
__halt_compiler() patch interface
2005-06-04 16:16:53 +00:00
Antony Dovgal
d5bb03b11a
fix bugs #32742 (segmentation fault when the stream with a wrapper is not closed),
...
#32171 (Userspace stream wrapper crashes PHP)
2005-05-16 08:37:14 +00:00
foobar
085f2a6980
- Reorder request shutdown calls: Call all __destruct() functions and
...
register_shutdown_function() callbacks before flushing output buffers
and sending headers.
- Fixes bug #30578 and possibly others related to output buffering.
# Added some comments too about what happens and where
2005-04-28 07:50:53 +00:00
Andrey Hristov
396acbf64c
rename
2005-04-27 21:24:37 +00:00
Andrey Hristov
5778fccbbb
add INT_MAX and INT_SIZE constants.
...
#64bit machines are getting wider usage and these are needed
2005-04-19 17:30:07 +00:00
Rui Hirokawa
8235a70ef9
added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.
2005-04-04 15:06:36 +00:00
Andi Gutmans
b6554f5ad7
- Fix typos
2005-03-24 01:11:11 +00:00
Marcus Boerger
15ed825d6e
- Notices shouldn't be treatedas errors and thus not being conidered to be
...
converted to exceptions.
2005-03-23 07:54:22 +00:00
Marcus Boerger
7b3813ea11
- We don't need to block those here (works as it works with normal error
...
overloading)
2005-03-19 14:27:17 +00:00
foobar
d0bb8f5f12
This makes more sense. (Someone might actually use php_error_docref0() :)
2005-03-08 21:42:10 +00:00
foobar
3f57b46f67
cs fix (really annoying :)
2005-02-27 12:50:22 +00:00
Moriyoshi Koizumi
0d7845384f
- Fix bug #28568 (known_post_content_types is not thread safe).
...
# What is eventually necessiated is entire SAPI redesign, I think.
2005-02-21 15:14:02 +00:00
foobar
6ffb0dcaf2
- Fix leaks with registered shutdown functions.
2005-01-09 16:30:09 +00:00
Andi Gutmans
4e942cb07f
- Fix bug #27728 (Can't return within a zend_try{} or the previous
...
state isn't restored.
2004-12-10 22:59:25 +00:00
Anantha Kesari H Y
6021286c5d
removing php_output_activate Fix for bug#30397
2004-10-18 10:26:45 +00:00
Derick Rethans
3b2879b3c1
- Revert patch until it is discussed
2004-10-18 06:04:02 +00:00
Anantha Kesari H Y
d5eb399b5e
Fix for Bug #30397
2004-10-16 10:32:42 +00:00
Andi Gutmans
216853c0db
- Apply realpath() cache patch. We don't use it if we're in safe_mode and
...
- friends (which are quite slow anyway).
- If it proves to be stable I'll remove the #ifdef's in a few weeks.
2004-10-05 00:42:25 +00:00
Anantha Kesari H Y
0903dcdcf7
removed redundant NEW_LIBC checks for NETWARE
2004-09-29 10:36:24 +00:00
Zeev Suraski
85a36e2bc3
Fix reverse dependency
2004-09-05 22:40:35 +00:00
Zeev Suraski
b9310261d7
Fix an oldie fd leak
2004-08-16 12:24:52 +00:00
Derick Rethans
566230a01b
- Added the PHP_EOL constant (Patch by Paul Hudson)
2004-08-13 07:02:50 +00:00
Marcus Boerger
0cd2da0309
- Execute destructors earlier (Florian Schaper, fschaper at intux org)
2004-07-25 07:14:49 +00:00
Marcus Boerger
7722837517
- Use ErrorException instead of Exception
2004-07-15 22:22:06 +00:00
Ilia Alshanetsky
e389e255e6
The engine will take care out-of-memory situation for us.
2004-05-28 14:14:26 +00:00
Andi Gutmans
e410a0f5b1
- Fixed bug #27640 memory leak of registered_zend_ini_directives (Dmitry)
2004-05-23 16:02:36 +00:00
Derick Rethans
dcb0ee6ec4
- Allow extra parameters to mail to be forced also from virtual host settings.
2004-05-20 10:24:39 +00:00
Stanislav Malyshev
550da4ae7c
and set module startup flag on startup
2004-03-24 13:33:26 +00:00
Stanislav Malyshev
b514ab2ee9
reset module shutdown flag on startup
2004-03-24 13:31:34 +00:00
Derick Rethans
1ef3c8c74a
- Replaced the exec_finished hook by the zend_post_deactive hook for
...
extensions. The new hook will be run after the symbol table and destructors
are run. (PHP part)
2004-03-16 22:27:57 +00:00
Zeev Suraski
02344b1dae
Improve the way auto-globals JIT works, and add the ability to turn it off
2004-03-16 19:49:19 +00:00
Marcus Boerger
09e76476ef
Improve error message
2004-03-16 10:14:57 +00:00
Marcus Boerger
97b5bb474e
Guard display_startup_errors with checking for default (working) output
...
functions.
2004-03-14 23:56:07 +00:00
Zeev Suraski
3f514ccb79
- Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only affect auto-clone).
...
- Perform implementation checks even with simple inheritance (off when
compatibility mode is enabled).
- Restore default arguments in interfaces and handle it correctly.
- Move registration of internal classes later in the startup sequence
in order to have INI options available.
2004-02-25 10:58:06 +00:00
Zeev Suraski
e5e120460a
Remove empty comment
2004-02-24 15:13:13 +00:00
Marcus Boerger
b59989e716
Fix startup errors
2004-02-15 17:00:42 +00:00
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
2004-02-12 10:43:27 +00:00
Zeev Suraski
acb1f365d2
Cleanup
2004-02-10 18:46:53 +00:00
Zeev Suraski
b8a990ace7
Fix report_memleaks
2004-02-10 17:55:32 +00:00
Zeev Suraski
f069be85bf
Whitespace
2004-02-10 17:44:18 +00:00
Ilia Alshanetsky
ec09b090f9
Fixed bug #27175 (tzset() is not being called by PHP on startup).
2004-02-09 04:04:24 +00:00
Sara Golemon
a172481869
This should not have been an INI_ALL directive.
2004-01-29 00:08:21 +00:00
foobar
e3c80d52da
- Remove gpc_order since it doesn't serve any purpose.
2004-01-26 04:15:08 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Ilia Alshanetsky
be5670af2b
Fixed bug #26707 (Incorrect error for disabled functions/classes).
2003-12-24 16:38:22 +00:00
Marcus Boerger
2f9be5d518
Do not use before they are initialized.
2003-12-12 08:25:22 +00:00
Marcus Boerger
2c7c86bc60
Add some comments here
2003-12-12 07:59:46 +00:00
foobar
91b7cc2079
- Moved ext/db to PECL.
...
# Derick copied the sources in CVS repository to preserve CVS log.
2003-12-01 10:47:08 +00:00
Andi Gutmans
2fefe6148b
- Commit patch by standards
2003-11-19 06:11:47 +00:00
Ilia Alshanetsky
639216a4aa
Fixed bug #25746 (Do not bail out when unable to chdir original dir on
...
systems with broken getcwd()).
2003-10-09 02:58:34 +00:00
Ilia Alshanetsky
102a5cadfd
Fixed bug #25293 (Output correct EOL to error_log)
2003-09-24 23:20:48 +00:00
Ilia Alshanetsky
855015ecd0
When track_errors was enabled, we tried to assign value already freed char.
2003-09-18 00:04:57 +00:00
Marcus Boerger
e5e6040efe
Remove unwanted space
2003-09-04 14:43:36 +00:00
Marcus Boerger
e69028346a
Error message clean up part IV: spprintf/estrndup don't return on 'out of mem'
...
Error message clean up part V: Show PHP Startup/Shutdown
2003-09-02 12:12:05 +00:00
Marcus Boerger
a383ff01e6
Error message clean up part III: Fix ini setting logic & respect docref_root
2003-09-02 00:35:51 +00:00
Marcus Boerger
107a59ae72
Error message clean up part II: Don't show params where none apply.
2003-09-01 23:32:28 +00:00
Marcus Boerger
4e049f9fc9
Error message clean up part I: always show 'Unknown' instead of empty names.
2003-09-01 22:55:40 +00:00
Marcus Boerger
d45fd8a1b1
Make vspprintf available as zend utility function. Use it in exception output.
2003-08-31 09:35:54 +00:00
Sascha Schumann
af8e15b8db
kill warnings
2003-08-28 17:07:40 +00:00
Marcus Boerger
3b7d5781de
- Simplify php_error_cb()
...
- Make errors show the class where possible
2003-08-25 20:51:40 +00:00
Ilia Alshanetsky
d52172ad89
Fixed bug #25127 (reset memory_limit before terminating the request)
2003-08-22 20:01:53 +00:00
Zeev Suraski
7b4ec88d76
No need for those code blocks anymore...
2003-08-20 23:00:08 +00:00
Wez Furlong
b61e6e24c3
Unify TSRMLS_FETCH() usage.
...
Fix release build: two instances of } were placed inside #ifdef ZEND_DEBUG
2003-08-19 03:25:00 +00:00
Zeev Suraski
642e331309
Improve tracking
2003-08-18 22:31:29 +00:00
Masaki Fujimoto
ab9dcec292
- added script encoding support to Zend Engine 2.
...
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
'--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Ilia Alshanetsky
c99e16d14a
Timeout fix.
2003-08-09 23:15:40 +00:00
Zeev Suraski
0d77cf2a33
Call exec_finished()
2003-07-30 16:15:03 +00:00
Zeev Suraski
f4ae16519c
Remove old code
2003-07-21 17:41:42 +00:00
Ilia Alshanetsky
caef4c7776
Handle numeric keys passed via GPC
2003-06-17 17:15:02 +00:00
Ilia Alshanetsky
93a5238465
Fixed bug #24007 (Problem with register_globals & arrays)
2003-06-14 15:08:27 +00:00
Derick Rethans
5b1f7be3eb
- MFB: HTTP Request Methods are case sensitive
...
#- This was surrounded by an #ifdef, but I thought I fixed it too.
2003-06-12 08:38:58 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
foobar
d5253b4f1f
Follow the "standard" naming.
2003-05-30 20:03:10 +00:00
Ilia Alshanetsky
5298fd6256
MFB
2003-05-21 22:56:59 +00:00
Ilia Alshanetsky
b76261dcbb
Fixed bug #23454 (_REQUEST did not handle arrays with same names from
...
different sources correctly).
2003-05-13 22:08:48 +00:00
Sascha Schumann
2c7c0457b6
Ensure that open(".", 0); works, otherwise bail out
2003-05-13 18:48:01 +00:00
Sascha Schumann
af402a9e13
MFB don't close random fds
2003-05-13 02:26:42 +00:00
Ilia Alshanetsky
b20df54af7
Make serialize precision a configurable option.
2003-05-08 01:23:21 +00:00
Marcus Boerger
3fc4a32743
Infrastructure to catch warnings and throw tehm as errors autmatically
2003-05-07 01:02:23 +00:00
foobar
1948b45b3f
Make use of --with-exec-dir for real..
2003-04-28 21:00:32 +00:00
foobar
2219a62606
- Made 'register_long_arrays' to be "On" by default.
2003-04-25 10:57:23 +00:00
Sascha Schumann
bb50c3846f
Fix uninitialized reads
...
==32323== Conditional jump or move depends on uninitialised value(s)
==32323== at 0x80F5A5C: zend_ini_color_displayer_cb (/home/sas/src/php4/Zend/zend_ini.c:374)
==32323== by 0x80C5B7F: php_ini_displayer_cb (/home/sas/src/php4/main/php_ini.c:60)
==32323== by 0x80C5D15: php_ini_displayer (/home/sas/src/php4/main/php_ini.c:115)
==32323== by 0x80F0168: zend_hash_apply_with_argument (/home/sas/src/php4/Zend/zend_hash.c:707)
2003-04-16 12:44:08 +00:00
Marcus Boerger
0235d331b7
use the correct macro - noticed by Andrei
2003-03-31 19:14:18 +00:00
Marcus Boerger
7a76d5f438
cleanup
2003-03-30 13:59:05 +00:00
Sebastian Bergmann
3fc852824f
Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().
2003-03-26 07:44:11 +00:00
foobar
88fe9c2d3c
Fixed bug #22775 (Fatal errors exit with status 0 with CGI/CLI)
2003-03-19 08:22:12 +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