Arnaud Le Blanc
76e5580b2e
Fixed endless loop in cli when ignore_user_abort is on
2008-11-25 03:49:21 +00:00
Felipe Pena
43791516db
- Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!)
2008-11-17 11:26:25 +00:00
Arnaud Le Blanc
047870a61f
MFB: Added header_remove() (chsc at peytz dotdk, Arnaud)
2008-11-13 10:33:08 +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
Antony Dovgal
9eb18c3ccb
nuke unused var
2008-08-14 09:46:12 +00:00
Dmitry Stogov
bb15ca0a56
Fixed bug #45779 (regression with shebang lines processing)
2008-08-13 06:17:15 +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
Antony Dovgal
dba7f154fc
fix warnings
2008-07-25 15:05:33 +00:00
Arnaud Le Blanc
6688c798e1
Allow filters to work on INPUT_SERVER in CLI (bug #44779 )
2008-07-24 09:11:48 +00:00
Antony Dovgal
55fecd6593
invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE
2008-07-23 11:24:35 +00:00
Felipe Pena
f76da1b96c
- Fixed bug #44246 (closedir() accepts a file resource opened by fopen())
2008-07-22 14:06:17 +00:00
Scott MacVicar
56352d1a2f
MFB 5.3: Rest of the changes for re2c merge
2008-03-26 14:46:17 +00:00
Marcus Boerger
bd366b66da
- Use sizeof rather than strlen and cleanup
2008-03-25 21:58:03 +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
Marcus Boerger
8942024d3d
- MFB Sync
2008-02-03 17:50:06 +00:00
Dmitry Stogov
3c02d2402d
Fixed bug #43968 (Extending internal class causes a crash)
...
The fix is a workaround for GCC optizer bug.
2008-01-29 20:01:43 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Jani Taskinen
44cbb46246
- Added common getopt implementation to core.
...
- Added long-option feature to getopt().
- Made getopt() available on win32 systems.
Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
2007-10-01 12:32:39 +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
Stanislav Malyshev
c56929d6f1
remove unneeded variables
2007-08-08 23:56:19 +00:00
Johannes Schlüter
895a9fb212
- Fix build without reflection
...
# reflection_what is used fby --ri, too
2007-05-06 12:57:27 +00:00
Marcus Boerger
74e6d53ce4
- Fix function signature
2007-05-05 12:46:30 +00:00
Marcus Boerger
87041a3986
- Simplify/use consts
2007-05-05 12:09:21 +00:00
Marcus Boerger
c40640626b
- WS/CS
2007-05-04 22:09:30 +00:00
Hannes Magnusson
02af1b4a65
rename --ri core to --ri main
...
# "the man has spoken"
2007-04-25 09:53:20 +00:00
Hannes Magnusson
64179171f8
Add the ability to display the core ini entries via "php --ri core"
2007-04-23 21:24:54 +00:00
Marcus Boerger
118fe71b72
- Rephrase as suggested by Chris Jones
2007-04-23 20:47:58 +00:00
Marcus Boerger
8e500e7749
- Add 'php --ini' to CLI which returns the INI file/dir configuration
2007-04-23 20:17:19 +00:00
foobar
c225e4a7d8
MFB
2007-04-17 19:48:16 +00:00
Antony Dovgal
30239ea383
check for NULL, then add flag
2007-02-22 10:06:02 +00:00
Antony Dovgal
30dacafa72
implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks in plain wrapper
2007-02-21 21:56:45 +00:00
Antony Dovgal
2ad6c07ca1
don't call php_module_startup() directly, use startup functions
...
patch by Andrei Nigmatulin
2007-02-20 19:19:14 +00:00
Marcus Boerger
94292d3e01
- Add --ri/--rextinfo
2007-01-23 20:02:29 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Antony Dovgal
03b68981f9
prevent potential leak on error
2006-12-21 00:43:00 +00:00
Antony Dovgal
92ed3d2b4c
call sapi_deactivate() & friends on error
...
fixes leak with `php-cli -n -c ..`
2006-11-24 11:54:48 +00:00
Ilia Alshanetsky
12b0b6368a
MFB: Restore support for unquoted -d options
2006-09-22 17:42:08 +00:00
Antony Dovgal
2486c2df50
fix leaks with php -d option=value -c /path -h
2006-09-15 08:18:10 +00:00
Dmitry Stogov
fcb9e3bc28
Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too low).
2006-08-22 12:05:10 +00:00
Antony Dovgal
5c06523d75
fix #37920 (compilation problems on z/OS)
2006-06-27 08:26:54 +00:00
Hannes Magnusson
9f96f0340b
Argument info
2006-06-25 19:17:20 +00:00
Antony Dovgal
737e1bdd92
initialize pointers
2006-06-20 13:01:08 +00:00
Michael Wallner
dbfa7271c8
MFB52: Fix Bug #37780 memory leak trying to execute a non existing file (CLI)
2006-06-19 14:53:03 +00:00
Johannes Schlüter
9c5fdd1b7f
- Removed useless -g command line option from CGI and CLI
...
- Fixed conflicting behaviour if -B and -a are set with CLI
- Fixed handling of auto_prepend and exceptions in readline-a-mode
2006-06-03 22:00:30 +00:00
Michael Wallner
231ad17475
- explicit usage of TS macros
...
# this could have been raised a lot earlier
2006-06-03 11:19:44 +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
Dmitry Stogov
b75a22b203
Fixed bug #37306 (max_execution_time = max_input_time).
2006-05-11 22:08:55 +00:00
Frank M. Kromann
954199c9fb
More ZSTR() fixes
2006-04-29 14:53:26 +00:00