Commit Graph

796 Commits

Author SHA1 Message Date
Dmitry Stogov
d2a9e7bbea Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long) 2009-04-28 07:13:43 +00:00
Arnaud Le Blanc
9f5de73681 Fixed initialization of tick functions list in ZTS 2009-03-27 02:33:44 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Dmitry Stogov
15b5f9a8c7 Fixed bug #47320 ($php_errormsg out of scope in functions) 2009-02-09 09:20:46 +00:00
Pierre Joye
c4d2527ebe - [MFB] fix nts build 2009-01-19 02:25:58 +00:00
Pierre Joye
cf2fbff656 - MFB: don't call it in non zts mode 2009-01-16 10:27:52 +00:00
Pierre Joye
b0dcfe527e - return SUCCESS on success
- check return value
2009-01-16 10:26:06 +00:00
Pierre Joye
96bc547ca2 MFB:
- add EG(windows_version_info), set at init time once per instance
   contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example)
 - [DOC] add the ability to disable a function when the windows function does not support a feature (for example symlink)
 - [DOC] symlink, hardlink & co support (1/3)
2009-01-16 10:02:50 +00:00
Ilia Alshanetsky
968e7af6cf MFB: Added mail logging functionality that allows logging of mail sent via
mail() function
2009-01-09 15:00:36 +00:00
Marcus Boerger
d5244ef11e - Register engine classes when and where they should be
- Show core module version as PHP version
2008-12-31 13:25:05 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Kalle Sommer Nielsen
e667c25403 [DOC] Remove define_syslog_variables() and define_syslog_variables ini option 2008-10-15 18:41:18 +00:00
Dmitry Stogov
e8894b43e6 Fixed Bug #43958 (class name added into the error message) 2008-09-02 09:46:00 +00:00
Jani Taskinen
778f5295ba - Fixed bug #44924 (sendmail path wrong) 2008-08-26 23:25:40 +00:00
Jani Taskinen
b798b366c8 Sync with PHP_5_3 (what a nice mess..thanks guys for keeping the branches in sync..NOT) 2008-08-26 23:22:31 +00:00
Pierre Joye
1907de98c6 - exposePHP_MAXPATHLEN 2008-08-23 17:53:19 +00:00
Marcus Boerger
deadefb49f - Cleanup exports and allow to overwrite ext registration 2008-08-22 12:59:38 +00:00
Felipe Pena
2985b4f9e3 - Removed some TSRMLS_FETCH()s 2008-08-15 19:45:25 +00:00
Felipe Pena
a5f867f3d5 - Constness (Added const qualifier to several function parameters) 2008-08-12 17:15:59 +00:00
Marcus Boerger
aea4ea120f - Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice
  because zend_register_funciton already copies them.
- Also Be able to deallocate Zend's built-in functions and do so when
  appropriate.
- After unregistering Zend's built-in functions only dl() is left and that
  seems to be fine.
2008-08-10 21:52:05 +00:00
Marcus Boerger
034d2e5916 - Turns out the easy solution for correct error_handling doesn't work. So
we need to provide save/replace/restore functions right away. It also
  to save/restore in the vm.
2008-08-08 17:10:49 +00:00
Felipe Pena
6182c24aa8 - Fixed the parameter type expected. set_time_limit() should accept only integer. 2008-07-25 13:39:39 +00:00
Felipe Pena
4eaf978874 - MFB: New parameter parsing API (set_time_limit) 2008-07-25 12:14:36 +00:00
Hannes Magnusson
5919165375 Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:36:21 +00:00
Dmitry Stogov
637e591a3d Fixed chdir() into requested file directory inconsistencies 2008-07-21 08:42:35 +00:00
Dmitry Stogov
7528240b85 Fixed bug #45352 (Segmentation fault because of tick function on second request) 2008-06-25 12:18:51 +00:00
Scott MacVicar
56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Antony Dovgal
5b5c286d49 use correct flags 2008-03-22 12:56:07 +00:00
Antony Dovgal
f1fbb3fd21 [DOC] revert short tags to their previous state 2008-03-21 16:38:50 +00:00
Stanislav Malyshev
da40d5a172 MF5: make short_open_tag user-accessible 2008-03-20 17:31:17 +00:00
Rasmus Lerdorf
b911467d1d MFB
Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.
2008-03-19 16:37:49 +00:00
Antony Dovgal
da036996be make use of zend_atol() 2008-03-19 12:40:48 +00:00
Stanislav Malyshev
c5c4b858df MFB: add request_order INI variable to control $_REQUEST content
# if not set (default), variables_order still is used
# request_order accepts G,P and C
2008-03-12 20:53:04 +00:00
Etienne Kneuss
2660bd1de9 User error handlers no longer catch supressed errors 2008-03-08 22:17:32 +00:00
Pierre Joye
e0d8f5c8bc - MFB: #42505, new sendmail default path breaks on Novell (Guenter Knauf) 2008-03-05 21:20:14 +00:00
Dmitry Stogov
c8b1dbff23 Optimized require_once() and include_once() by eliminationg open() syscall on se
cond usage.
2008-03-05 13:35:02 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Felipe Pena
b6fafb1a4d Fix build 2008-02-16 02:28:11 +00:00
Pierre Joye
48d86e7ad8 - [DOC] MFB: add PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants
2008-02-15 15:09:56 +00:00
Jani Taskinen
ad6e9ad259 - Allow using any constants registered by PHP in php.ini too 2008-02-04 20:38:42 +00:00
Dmitry Stogov
6847c18150 Added garbage collector 2008-01-22 09:29:29 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Hannes Magnusson
2ea5df33a7 Update the class method documentation links 2007-12-29 02:21:25 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Dmitry Stogov
5138a3b575 Fixed bug #42722 (display_errors setting ignored for E_PARSE and HTTP 500 page) 2007-10-18 13:12:01 +00:00
Ilia Alshanetsky
8c94e4045d MFB: Refactor code to make fixes for coverity issues #385 and #386 a bit
more obvious
2007-10-01 14:56:34 +00:00
Jani Taskinen
f964370a35 - Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Dmitry Stogov
38673d1f6f Fixed crash on POST request after dl("mbstring.so") 2007-09-24 11:53:57 +00:00
Antony Dovgal
e69a0b7533 check for NULL (coverity issue #386) 2007-09-21 14:11:45 +00:00
Stanislav Malyshev
f9d32b3685 MFB: disallow setting mail.force_extra_parameters from .htaccess 2007-09-13 20:06:15 +00:00