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

300 Commits

Author SHA1 Message Date
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
Antony Dovgal 87c9233d83 fix test 2008-01-29 12:27:49 +00:00
Hannes Magnusson 5bbb878db0 Fix test 2008-01-27 19:10:26 +00:00
Ilia Alshanetsky 7129e68436 MFB: fixed test 2008-01-13 17:23:36 +00:00
Ilia Alshanetsky 6c945ee014 MFB: Update copyright 2008-01-01 18:30:59 +00:00
Sebastian Bergmann 3c94f05aea MFB: Leftover: Bump copyright year. 2008-01-01 06:22:15 +00:00
Sebastian Bergmann 9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal b6da010f35 fix test 2007-12-15 12:44:21 +00:00
Rob Richards b9b4dd6d09 fix win build 2007-10-05 15:59:42 +00:00
Jani Taskinen 44cbb46246 - Added common getopt implementation to core.
- Added long-option feature to getopt().
- Made getopt() available on win32 systems.
Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
2007-10-01 12:32:39 +00:00
Nuno Lopes b514dc1070 MFB: fix compiler warnings 2007-09-29 11:26:51 +00:00
Dmitry Stogov 8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Stanislav Malyshev c56929d6f1 remove unneeded variables 2007-08-08 23:56:19 +00:00
Jani Taskinen dee01c13ad - Changed all AC_ARG_* options to PHP_ARG_* options and cleaned up some 2007-07-11 23:10:14 +00:00
foobar 2f51a4ec66 fix test 2007-06-01 22:19:20 +00:00
Johannes Schlüter 895a9fb212 - Fix build without reflection
# reflection_what is used fby --ri, too
2007-05-06 12:57:27 +00:00
Marcus Boerger 74e6d53ce4 - Fix function signature 2007-05-05 12:46:30 +00:00
Marcus Boerger 87041a3986 - Simplify/use consts 2007-05-05 12:09:21 +00:00
Marcus Boerger c40640626b - WS/CS 2007-05-04 22:09:30 +00:00
Hannes Magnusson 02af1b4a65 rename --ri core to --ri main
# "the man has spoken"
2007-04-25 09:53:20 +00:00
Hannes Magnusson 64179171f8 Add the ability to display the core ini entries via "php --ri core" 2007-04-23 21:24:54 +00:00
Johannes Schlüter 9ee50fc95d - Add my name (sync to CREDITS file) 2007-04-23 20:53:55 +00:00
Marcus Boerger 118fe71b72 - Rephrase as suggested by Chris Jones 2007-04-23 20:47:58 +00:00
Marcus Boerger 8e500e7749 - Add 'php --ini' to CLI which returns the INI file/dir configuration 2007-04-23 20:17:19 +00:00
Antony Dovgal 83d74b7488 fix long options 2007-04-23 11:04:54 +00:00