Commit Graph

242 Commits

Author SHA1 Message Date
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
Antony Dovgal
94f9dc1d8a use getenv() 2007-01-20 22:12:45 +00:00
Andrei Zmievski
0b222980d0 Rename php5 module to php6. Remove version number from
sapi/apache/mod_php.* filenames (for future's sake). No other SAPI
moduels modified (up to invididual maintainers).
2007-01-10 23:46:09 +00:00
Johannes Schlüter
086ae075c2 - Bump year 2007-01-10 22:17:09 +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
c5edb5a75e fix test on MacOS 2006-12-19 13:11:30 +00:00
Antony Dovgal
f11c9c8871 fix tests, use -n to prevent any problems with existing php.ini 2006-12-04 17:48:27 +00:00
Antony Dovgal
9f99f2e9b1 fix test 2006-11-24 13:40:29 +00:00
Antony Dovgal
bc7e217293 add tests for CLI 2006-11-24 13:32:07 +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
dbe2092313 implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
2006-08-08 16:59:11 +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
Andrei Zmievski
a4cea91d01 MFB 2006-04-23 19:57:40 +00:00
Frank M. Kromann
1791befa0c Fix Win32 build. NULL_ZSTR was converted to ZSTR(NULL_ZSTR) 2006-04-22 10:39:31 +00:00
Andrei Zmievski
a75b8f5f35 Fix compiler errors by using NULL_ZSTR where zstr is expected.
# I guess we need to use NULL_ZSTR instead of NULL when passing NULL to
# functions that expect zstr parameter.
2006-03-17 22:52:55 +00:00
Dmitry Stogov
34c493ea07 Unicode support for dl() patch. 2006-03-17 13:45:43 +00:00
Dmitry Stogov
86780519d4 Disabled dl(). Now it is enabled only when a SAPI layer registers it explicitly. Only CLI, CGI and EMBED do this. 2006-03-16 16:53:10 +00:00
Dmitry Stogov
6f7619cf6f Unicode support: zstr union 2006-03-01 16:27:47 +00:00
Johannes Schlüter
14e07c9ae2 - List --rf/--rc/--re only with enabled reflection 2006-02-21 21:14:36 +00:00
Johannes Schlüter
851e5109f6 - Fix build with readline-support 2006-02-21 21:04:19 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Dmitry Stogov
ed3a54c657 AIX support 2006-02-02 10:00:09 +00:00
Marcus Boerger
34c8cd0190 - Show whether this is the shell or just the starnge mode 2006-01-07 16:46:30 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Marcus Boerger
6f2a00690b - Add method support to --rfunction 2005-12-11 02:40:49 +00:00
Marcus Boerger
4258bc6f26 - Add docu 2005-12-11 02:16:24 +00:00
Marcus Boerger
9662ba59c4 - Rewrite --r* and add --rfunction 2005-12-10 13:43:51 +00:00
foobar
becbb993a1 nuke php3 legacy 2005-12-06 01:08:40 +00:00
foobar
3cdf23b830 - Fixed bug #35409 (undefined reference to 'rl_completion_matches') 2005-11-28 16:49:35 +00:00
Marcus Boerger
75329fe178 - Reflection was moved into its own extension 2005-11-17 23:20:39 +00:00
foobar
58d21892e1 - Fix compile failure when ext/readline is compiled as shared 2005-11-17 08:36:12 +00:00
Ilia Alshanetsky
4ded4455eb MFB51: Fixed memory leak on php-cli -h 2005-11-15 15:30:41 +00:00
foobar
a05a33f34d - Fix the "php -v" output when neither --enable-debug or --enable-gcov
is used.
#
# Rasmus, now it should give proper output, please test.
2005-11-12 00:38:00 +00:00
Marcus Boerger
c1869299c7 - heredoc handling in -a mode 2005-11-07 19:12:37 +00:00