Commit Graph

324 Commits

Author SHA1 Message Date
Arnaud Le Blanc
8e05c72f25 Fix skipif 2009-05-20 10:08:23 +00:00
Arnaud Le Blanc
3bc34ef8c1 Fix tests (MFB, etc) 2009-04-24 19:47:43 +00:00
Hannes Magnusson
142f8ea005 Englanti kielioppi (Jani) 2009-04-09 10:19:15 +00:00
Hannes Magnusson
b9c166f76e Fixed bug#47427 (-s outputs, not displays) 2009-04-09 10:07:24 +00:00
Felipe Pena
865d0f3b09 - Fix ZTS build 2009-04-08 00:14:37 +00:00
Arnaud Le Blanc
5683a60967 Fixed bug #47893 (CLI aborts on non blocking stdout) 2009-04-07 16:10:35 +00:00
Felipe Pena
7c860bb018 - Removed leftover UG(unicode) checks 2009-03-27 19:50:56 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Ilia Alshanetsky
af28e3443f Corrected fix for bug #46844 to only trigger on the 1st line of CLI opened
files.
2009-01-09 17:20:57 +00:00
Felipe Pena
cc42ff9fa2 - Fixed tests 2009-01-05 15:21:10 +00:00
Marcus Boerger
ebd735786c - Catch exceptions in cli -a 2009-01-02 13:14:17 +00:00
Marcus Boerger
509f9455a0 - WS 2008-12-31 14:15:41 +00:00
Marcus Boerger
415f9d73ed - Fix test 2008-12-31 12:32:59 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
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
Arnaud Le Blanc
0036a09ebe Open STDIN and php://stdin streams with the relevant
wrapper when the file descriptor is a socket (inetd, etc)
Fixes bug #43731
2008-11-04 21:04:28 +00:00
Marcus Boerger
57a1a7c48d - Cleanup 2008-11-04 00:34:24 +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
Rob Richards
a750e6a8e8 use getenv 2008-09-30 15:10:34 +00:00
Dmitry Stogov
85a0fa8fd0 Fixed bug #42318 (problem with nm on AIX, not finding object files) 2008-09-01 13:15:42 +00:00
Marcus Boerger
35d30c97fe - Fix test 2008-08-30 11:32:12 +00:00
Jani Taskinen
5a6f6baa86 - Fix tests 2008-08-14 20:05:00 +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
Nuno Lopes
ec8a21dd95 add 2008-07-06 17:00:00 +00:00
Nuno Lopes
96258d4a76 MFB 2008-07-06 16:42:10 +00:00
Felipe Pena
068e927322 - Removed UEXPECTF 2008-06-13 01:16:25 +00:00
Antony Dovgal
4ab97f25a8 fix test 2008-04-07 12:13:36 +00:00
Felipe Pena
223b7349a0 MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:27:37 +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
Felipe Pena
c2cc4c428e Fixed test 2008-03-19 19:16:58 +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
Antony Dovgal
9d255b6f2f fix test 2008-03-17 14:05:32 +00:00
Johannes Schlüter
421414f913 - New tests 2008-03-07 21:32:52 +00:00
Johannes Schlüter
b3fc4f94cf - New tests 2008-03-01 21:55:20 +00:00
Felipe Pena
187b9d27c0 Revert 2008-02-28 15:34:51 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Antony Dovgal
cfcfbb24da use pcre for testing reflection 2008-02-28 09:18:06 +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