Keyur Govande
5bf6323e51
Patch for Bug #64544 .
...
The process title change module keeps track of the locally allocated
environ, so it doesn't need to worry about when environ changes
underneath it, for example by putenv()/setenv()
2013-03-29 14:27:36 +00:00
Keyur Govande
a0a995cff3
Support for CLI process title ( https://wiki.php.net/rfc/cli_process_title )
...
A new commit into branch 5.5
2013-03-07 18:54:34 +00:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
d1f0662e4d
Fixed bug #62725 (Calling exit() in a shutdown function does not return the exit value)
...
The fix is make 5.4 behavior consistent with 5.3
2012-08-02 23:03:38 +08:00
Johannes Schlüter
9a86784859
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fix memleak in CLI
Conflicts:
sapi/cli/php_cli.c
2012-06-27 11:46:57 +02:00
Johannes Schlüter
bc0972e78d
Fix memleak in CLI
2012-06-27 11:42:43 +02:00
Xinchen Hui
fd518ffc7e
Merge remote-tracking branch 'origin/PHP-5.3' into PHP-5.4
...
* origin/PHP-5.3:
Fixed bug #61546 (functions related to current script failed when chdir() in cli sapi).
- BFN
Conflicts:
sapi/cli/php_cli.c
2012-04-30 12:15:43 +08:00
Xinchen Hui
bae56a87f8
Fixed bug #61546 (functions related to current script failed when chdir() in cli sapi).
2012-04-30 12:09:22 +08:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Pierre Joye
fcbfbea8d2
- fix bug #60272 , typo
2011-11-11 18:50:52 +00:00
Dmitry Stogov
4a25a7740d
Fixed ZE specific compile warnings (Bug #55629 )
2011-09-13 13:29:35 +00:00
Xinchen Hui
6c0c4896b3
Prevented the warning about truncate int to char
2011-08-08 07:12:12 +00:00
Xinchen Hui
43301dae9b
Prevented the warning about truncate int to char
2011-08-08 07:12:12 +00:00
Felipe Pena
71e52a5ccd
- Reverted php_printf -> printf change
2011-07-01 17:18:50 +00:00
Felipe Pena
5304004cc7
- Fixed crash when using -e option
2011-06-25 20:40:03 +00:00
Felipe Pena
29588a6fa3
- Fixed crash when calling sapi_shutdown() and sapi hasn't been started
...
Reported by: David Tajchreber
2011-06-25 14:17:17 +00:00
Felipe Pena
dc467a70d3
- Fixed crash when zend_eval_string bailouts (-r 'a();')
...
Reported by: David Tajchreber
2011-06-25 13:15:24 +00:00
Pierre Joye
0d7226ed60
- reflection is always enabled
2011-06-25 10:47:54 +00:00
Pierre Joye
213e1f4456
- reflection is always enabled
2011-06-25 10:47:54 +00:00
Derick Rethans
8e30050416
- Fixed layout. Tabs on the terminal don't align nicely in most cases.
2011-06-25 10:16:46 +00:00
Felipe Pena
8480b7f4be
- Fix memleak on `php -v'
2011-06-21 01:47:05 +00:00
Felipe Pena
b83af94c2b
- Fixed hardcoded INI
2011-06-20 23:36:25 +00:00
Moriyoshi Koizumi
5b921a87a1
- Add built-in web server to CLI SAPI. See the RFC for detail.
2011-06-20 20:27:39 +00:00
Felipe Pena
6a504c6f6b
- Fix missing change from r303357 (related to bug #48831 )
2011-06-11 23:46:35 +00:00
Ilia Alshanetsky
f5779d5e16
Fixed bug #52496 (Zero exit code on option parsing failure).
2011-05-30 15:57:50 +00:00
Ilia Alshanetsky
a65eba016e
Fixed bug #52496 (Zero exit code on option parsing failure).
2011-05-30 15:57:50 +00:00
Johannes Schlüter
960e265b6c
Declare vars first. Fix Windows build.
2011-02-22 12:51:43 +00:00
Felipe Pena
b98ceb5e40
- Fixed build
2011-02-19 16:32:00 +00:00
Johannes Schlüter
6c734a6b4c
- Implement FR#53878 Interactive shell should work with shared readline extension
...
# This is useful w/ distributors who like to build all things shared or don't
# provide the readline extension. Or if a user pefers readline's behavior over
# libedit which might be used by the distributor.
2011-02-19 16:04:30 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Jérôme Loyet
e1b87cce1f
- Fixed #52045 (FPM tries to open php.ini from the current dir)
...
- Add php_ini_ignore_cwd to _sapi_module_struct
2010-11-11 17:24:27 +00:00
Pierre Joye
b6d8462ab2
- fix #48831 php -i has different output to php --ini
2010-09-14 10:36:21 +00:00
Pierre Joye
992991fe1b
- fix #48831 php -i has different output to php --ini
2010-09-14 10:36:21 +00:00
Kalle Sommer Nielsen
34b631f679
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
2010-08-18 13:34:40 +00:00
Felipe Pena
f2419953d9
- MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)
...
# To commit a new common fix
2010-06-30 02:30:14 +00:00
Felipe Pena
96bb25e8e7
- Reverted fix for bug #48930 (due binary compatibility breakage)
2010-06-29 11:37:13 +00:00
Felipe Pena
ced29dd706
- Improved initialization
2010-06-27 22:13:41 +00:00
Felipe Pena
22e2302e78
- Improved initialization
2010-06-27 22:13:41 +00:00
Felipe Pena
9b07568c43
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
2010-06-27 21:46:16 +00:00
Felipe Pena
3396a6d185
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
2010-06-27 21:46:16 +00:00
Michael Wallner
11d24c1593
* implement new output API, fixing some bugs and implementing some feature
...
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Johannes Schlüter
61db5cf98a
- Improved CLI Interactive readline shell (Johannes)
...
. Added cli.pager ini setting to set a pager for output.
. Added cli.prompt ini settingto configure the shell prompt.
. Added shortcut #inisetting=value to change ini settings at run-time.
. Don't terminate shell on fatal errors.
A pager can be a an shell command which will receive the command output on its
STDIN channel
php > #cli.pager=less
php > phpinfo();
(output will appear in the pager)
php > #cli.pager=grep -i readline
php > phpcredits();
Readline => Thies C. Arntzen
php > #cli.pager=
(output appears again direct on the terminal)
A prompt can contain a few escape sequences like
php > #cli.prompt=\e[032m\v \e[031m\b \e[34m\> \e[0m
5.3.99-dev php > //Colorful prompt with version number
A prompt can also contaian PHP code in backticks
php > #cli.prompt=`echo gethostname();` \b \>
guybrush php >
2010-05-20 20:55:33 +00:00
Johannes Schlüter
26af575926
Add ReflectionZendExtension class and --rz option to CLI
2010-03-30 22:35:23 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Felipe Pena
4411621217
- Fixed bug #50209 (Compiling with libedit cannot find readline.h)
...
(patch by tcallawa at redhat dot com)
2009-12-13 17:06:47 +00:00
Pierre Joye
4417646d72
- be sure to get all crt dbg errors in stderr
2009-09-02 20:02:17 +00:00