1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00
Commit Graph

45 Commits

Author SHA1 Message Date
Marcus Boerger d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann 7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena 43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena 916b56d2d9 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 16:02:16 +00:00
Jani Taskinen bc6a9ad209 [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
[DOC]  startup:
[DOC]
[DOC]  To disable: Override default php.ini by using both -c and -n with
[DOC]              CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
[DOC]              to an empty string.
[DOC]
[DOC]  To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
[DOC]             to another path.

- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
- Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 00:49:59 +00:00
Felipe Pena a230643038 - MFB: Added arginfo 2008-07-16 11:59:34 +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
Dmitry Stogov ea9305c543 Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:49 +00:00
Sebastian Bergmann 9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov 8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen dee01c13ad - Changed all AC_ARG_* options to PHP_ARG_* options and cleaned up some 2007-07-11 23:10:14 +00:00
foobar 6504c24187 - Fixed bug #41576 (misbehaviour when using --without-apxs) 2007-06-03 20:26:45 +00:00
Antony Dovgal 658743f7b9 fix #40392 (memory leaks in PHP milter SAPI)
we should have dropped this SAPI years ago
2007-03-28 10:06:54 +00:00
Antony Dovgal 17efa1aea6 fix #40083 2007-01-10 14:10:28 +00:00
Sebastian Bergmann 3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Michael Wallner 4ce0141713 - new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
#  - improve existing output handlers
#  - move zlib.output_compression cruft from SAPI.c to zlib.c
#  - output_encoding handling was ambigious, resp. is undefined yet
#  - more tests
2006-06-02 19:51:43 +00:00
foobar 251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar 20241fe16a - 2004 -> 2005 2005-08-03 11:12:19 +00:00
Rasmus Lerdorf fdaa130f3a Add the new request_time sapi struct entry to all the sapis. Some of these
may have ways of getting the request time without the extra syscall, but
for now let's just make sure we don't crash and people will eventually
fill these in where applicable.
2004-12-20 19:33:41 +00:00
Ilia Alshanetsky e81addb5ca C++ comments. 2004-04-29 12:59:26 +00:00
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
James Cox f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Sebastian Bergmann 2c5d4b8c23 Bump year. 2002-12-31 15:59:15 +00:00
Harald Radi 0c4dc0afdf update todo 2002-12-08 19:05:43 +00:00
Harald Radi 3be2fdd14a initial checkin 2002-12-08 19:05:02 +00:00
Harald Radi 8529f3ba95 damn milter api:
"Furthermore, since there is not a one-to-one correspondence between
 threads and connections (N connections mapped onto M threads,
 M <= N), connection-specific data must be accessed through the handles
 provided by the Milter library."

which in other words means php_request_startup() and the corresponding
php_request_shutdown() will never be called for the same thread
2002-12-03 16:26:57 +00:00
Harald Radi bf16a54f5a fix typos and make example more useful 2002-12-03 14:43:43 +00:00
Jon Parise 6be496f44e Correct the punctuation of these error messages. 2002-12-02 00:21:15 +00:00
Harald Radi 3fb36b0c56 example 2002-12-01 20:29:14 +00:00
Harald Radi e25b194525 rename callbacks to fit the original name 2002-12-01 20:28:54 +00:00
Harald Radi b460dfc042 initial checkin 2002-12-01 19:55:48 +00:00
Harald Radi 9d5e55f790 if the api functions are called, check if they're valid in that context
reopen file per request, so milter doesn't hang. PHPA or APC can be used to speed the milter up
added a milter_init callback to init the milter before it is registered
added protos to make sniper happy
2002-12-01 19:50:07 +00:00
Harald Radi 8c19b754f9 first working version 2002-12-01 16:37:59 +00:00
Harald Radi db93856c07 check for libmilter path 2002-12-01 13:44:22 +00:00
Harald Radi e4bc32fbe2 no message 2002-12-01 13:36:53 +00:00
Harald Radi 1356e60fa3 no message 2002-12-01 12:23:47 +00:00
foobar e178bdc1ee Fix build 2002-12-01 05:14:56 +00:00
Harald Radi 0244ca1d97 it finally compiles now
tests will follow tomorrow
2002-12-01 03:37:49 +00:00
Harald Radi b7b5ca519f fix build 2002-12-01 02:45:30 +00:00
Harald Radi 39e03b580b todo or not todo 2002-12-01 01:36:26 +00:00
Harald Radi 3a0a2411c7 added remaining functions, still untested, still having problems with config.m4 2002-12-01 01:18:48 +00:00
Harald Radi ad6333654e Sendmail Milter SAPI
initial version
2002-12-01 00:21:10 +00:00