1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Commit Graph

175 Commits

Author SHA1 Message Date
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
foobar d24f853464 typofix 2005-05-07 15:43:55 +00:00
Marcus Boerger 13ba056aff - Update 2005-05-07 13:54:02 +00:00
Marcus Boerger 1623537998 - Improved interactive mode of CLI (php -a) 2005-05-07 12:24:18 +00:00
foobar d7682085c6 Silence the warnings about weird characters in this man page 2005-04-30 04:12:01 +00:00
foobar 9af93dbb41 Expose EXEEXT and use for cli/cgi binaries 2005-04-21 14:57:53 +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
Frank M. Kromann 1d04952b1d Fix typo in man page. Bug #30727. Patch by Jakub Vrana 2004-11-09 15:05:20 +00:00
Anantha Kesari H Y 315e58f2f6 As NetWare LibC has optind and optarg macros defined in unistd.h our local variables were getting mistakenly preprocessed so undeffing optind and optarg 2004-10-08 12:22:35 +00:00
Edin Kadribasic 546e5bbc43 Made php -m output sorted case-insensitevly 2004-07-14 22:30:29 +00:00
Marcus Boerger 9216b3d182 Add a notice on STDIN 2004-05-02 09:14:02 +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
Marcus Boerger 1c00296cc7 Bugfix #27104 CLI/CGI SAPI module variable name conflict 2004-02-11 21:00:46 +00:00
Ilia Alshanetsky c858a4e93c Fixed possible memory leak with INI values. 2004-02-06 03:08:27 +00:00
Ilia Alshanetsky ffd3b1dd0a Parse command line ini directives passed using -d before -i, to ensure
correct settings output.
2004-02-04 22:49:28 +00:00
Wez Furlong 31f7699a85 Add optional php-win.exe variation of the CLI sapi.
php-win.exe runs in the windows GUI subsystem, and thus
has no console; stdio handles are effectively set to /dev/null
and no "dos box" will appear on screen when running scripts
using this sapi (php-gtk people will be familiar with this concept).

Aside from those differences, php-win.exe is 100% identical to
regular CLI
2004-01-14 03:14:18 +00:00
foobar ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Edin Kadribasic d2317fc110 Disable output buffering in CLI overriding php.ini setting.
Fixes #26755.
2004-01-02 22:31:32 +00:00
Andi Gutmans 3eadb12f7e - Commit fixes to PHP man page 2003-12-23 11:06:50 +00:00
Wez Furlong d756e1db23 add win32 configure option for CLI to switch on CRT heap debugging 2003-12-22 13:08:04 +00:00
Ilia Alshanetsky a643675b43 Fixed extra byte allocation for STD* constants and replace magic numbers
with sizeof().
2003-12-11 23:51:24 +00:00
Wez Furlong 05b9b20ed8 Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
foobar e01ab8c9cf - Made --program-prefix and --program-suffix work. (See bug #23030) 2003-12-01 15:17:13 +00:00
foobar ca18b631fd - Should fix some CLI build problems on some systems. 2003-09-08 13:10:10 +00:00
Marcus Boerger 2fde9b7794 Add a shortcut 2003-09-02 21:41:01 +00:00
Stanislav Malyshev 06273c5637 MF4: -m fix for premature extension unloading 2003-08-28 11:50:32 +00:00
Marcus Boerger d3473d1f58 - Provide a unified way to display uncaught exceptions, which shows
file/line/message info if possible.
- Add zend_eval_string_ex() to be able to handle exceptions in eval'd code.
- Use above function to fix memleaks in CLI.
2003-08-24 13:10:03 +00:00
Ilia Alshanetsky bccc247a97 Set module id 0 (internal) for constants registered by php_cli in C. 2003-08-22 01:50:02 +00:00
Marcus Boerger 744dd20520 Fix warnings 2003-08-17 19:14:30 +00:00
Ilia Alshanetsky 98d998b7ee Fixed bug #20896 (-s -w modes with php-cli cause php to hang). 2003-08-13 01:29:51 +00:00
Ilia Alshanetsky 3253746c26 Preserve exit status for non-php execution modes. 2003-08-01 16:52:49 +00:00
Ilia Alshanetsky 68616d764c Fixed bug #23509 (exit code lost when exit() called from
register_shutdown_function())
2003-08-01 12:26:28 +00:00
Stanislav Malyshev 7e663790c7 flush after banner print 2003-06-16 16:14:38 +00:00
James Cox f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Derick Rethans 814f793035 - MFB: Version output beautification 2003-05-30 16:10:58 +00:00
Marcus Boerger 6ddd6ca2be MFB 2003-05-30 00:11:37 +00:00
Marcus Boerger 1aebe79599 Simply print errors 2003-05-29 14:45:03 +00:00
Marcus Boerger a93bff54ef Update 2003-05-29 14:26:57 +00:00
Derick Rethans 87a85db670 - MFB 2003-05-26 18:37:48 +00:00