1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00
Commit Graph

210 Commits

Author SHA1 Message Date
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
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
Johannes Schlüter 14e07c9ae2 - List --rf/--rc/--re only with enabled reflection 2006-02-21 21:14:36 +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
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
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
foobar e4c8e1dc85 - Fixed minor memory leak triggered by: -dzlib.output_compression=1 -m 2005-11-06 22:41:51 +00:00
Ilia Alshanetsky 222fa05e1c Fixed -m memory leak 2005-10-19 21:57:35 +00:00
foobar b233ce0dd8 - Removed confusing dot. 2005-10-11 18:58:27 +00:00
Johannes Schlüter 7e85bac9ec - Fix #34557 php -m exits with "error" 1 2005-10-06 20:29:13 +00:00
Johannes Schlüter 9147629f59 - Add --rclass and --rextension arguments to CLI 2005-10-03 11:54:46 +00:00
foobar 000a9e3015 - Fixed problem with -dextension=foobar.so not having it's MINIT run. 2005-08-08 16:49:44 +00:00
Hartmut Holzgraefe 621238a3c3 fix extension loading from command line, resources didn't work
(still related to Bug #33899)
2005-08-08 08:45:33 +00:00
Ilia Alshanetsky a462e687dc Fixed possible memory corruption. 2005-06-21 00:12:35 +00:00
Marcus Boerger acd747d374 - Expose -a as special mode and show whether it is a shell or not 2005-06-06 07:11:08 +00:00
Johannes Schlüter bb6f4dfc7d - Fix readline loop-condition
- Fix cli_is_valid_code detection
2005-05-17 14:33:15 +00:00
Marcus Boerger 51fe495ea1 - Add command completion to CLI's -a mode 2005-05-14 19:33:18 +00:00
Marcus Boerger 1623537998 - Improved interactive mode of CLI (php -a) 2005-05-07 12:24:18 +00:00
Antony Dovgal 9ba5535993 fix #28803 (enabled debug causes bailout errors with CLI on AIX
because of fflush() called on already closed filedescriptor)
2005-03-22 15:08:52 +00:00
foobar a98460beac Revert bad idea. (no more error for invalid -d options) 2005-03-18 22:11:53 +00:00
foobar 9c2c04b580 - Made CLI option -d output error and exit if an non-existing (or unmodifyable) entry is passed 2005-03-17 13:43:32 +00:00
Derick Rethans 42b9b26e45 - ZTS fixes
#- Andrei, it would be nice if you could test ZTS builds too before you
#  commit...
2005-03-17 07:31:22 +00:00
Andrei Zmievski 06667585b5 Make it possible to load shared extensions from command line via
-dextension= mechanism.
2005-03-15 22:41:12 +00:00
Wez Furlong 07fd652824 it's 2005 already
# and we're all too lazy to go through and update all the copyright years :)
2005-03-12 14:07:35 +00:00
foobar 2c65e09a4b - Revert the weird change of ZEND_STRS() macro and use the correct
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +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
Antony Dovgal 71d9afee0c fix CLI leaks when using malformed option string 2004-11-15 14:00:48 +00:00
Edin Kadribasic 546e5bbc43 Made php -m output sorted case-insensitevly 2004-07-14 22:30:29 +00:00
Moriyoshi Koizumi 26799b851f - typo (must have sleep.) 2004-03-04 22:53:09 +00:00
Moriyoshi Koizumi e5fb0e3fbd - Prevent cli from printing multiple "Interactive mode enabled" if
the command line option is given more than once (like -aaaaaa).
2004-03-04 22:49:54 +00:00