Commit Graph

38546 Commits

Author SHA1 Message Date
Lars Strojny
0bc6920f66 Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:11:45 +00:00
Lars Strojny
7309946677 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:05:42 +00:00
Derick Rethans
149848846d - MFH: Added DateInterval::createFromDateString() that creates an interval
from the relative parts of a date/time string.
- MFH: Fixed an issue where special relative bits were not applied.
2008-05-02 12:49:16 +00:00
Derick Rethans
97b37f253c - MFH: Rearranged some structures to allow for more powerfull period/intervals. 2008-05-01 16:15:45 +00:00
Derick Rethans
1b435af326 - MFH: Include the starting date by default in the iterator output, but add an
option to disable this behavior.
2008-05-01 13:31:22 +00:00
Ant Phillips
495ed877fc open_basedir tests for directory functions 2008-05-01 12:36:46 +00:00
Ant Phillips
98e6f9f954 open_basedir tests for directory functions 2008-05-01 11:46:18 +00:00
Derick Rethans
8c5274f479 - MFH: Added the DatePeriod class/iterator that iterates over a date time
object for a specific number of iterators and applies a DateInterval each
  time.
@DOC: More will follow though
2008-05-01 00:12:24 +00:00
Ant Phillips
ad93b947a2 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 15:20:18 +00:00
Ant Phillips
90c2cd0c37 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:52 +00:00
Dmitry Stogov
3adf158d79 IS_CONST operands are always have is_ref==1 and refcount==2, so we can eliminate unnecessary checks at specialization/compilation stage 2008-04-30 10:44:08 +00:00
Ant Phillips
c55db17098 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 09:28:02 +00:00
Antony Dovgal
cacce6bc65 fix spelling 2008-04-29 13:50:27 +00:00
Dmitry Stogov
28b7529012 Fixed GC slowdown 2008-04-29 13:43:31 +00:00
Ant Phillips
cdf5621b50 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:19 +00:00
Dmitry Stogov
3a86a06619 Added missing lazy initialization 2008-04-29 09:18:26 +00:00
Ant Phillips
52af9124b5 More session tests to improve code coverage for untested extension code 2008-04-29 08:57:09 +00:00
Dmitry Stogov
2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Antony Dovgal
c75658c477 MFH 2008-04-29 08:08:21 +00:00
Antony Dovgal
4489851424 fix test 2008-04-29 07:26:46 +00:00
Greg Beaver
cac1fd72ea fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path 2008-04-28 22:39:54 +00:00
Greg Beaver
c46d651b3e Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:31 +00:00
Scott MacVicar
f930028751 Fix windows build 2008-04-28 13:21:34 +00:00
Jani Taskinen
69e6d23ec5 - Fix test even if safe_mode is forced to be "On" in the binary 2008-04-28 12:30:24 +00:00
Derick Rethans
357292a098 - MFH: Fixed "this week", "previous week"/"last week" and "next week" phrases
by actually meaning the week.
#- MFH: For now the week starts on Monday, but I plan on making that
#  configurable.
2008-04-27 19:14:33 +00:00
Derick Rethans
2047fa858c - Added new date/time functionality:
. support for diffing date/times through date_diff() / DateTime::diff().
  . added DateInterval class to represent the difference between two date/times.
  . support for parsing ISO intervals for use with DateInterval.
  . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
    interval to an existing date/time.
- MFH: Fixed bug #44742 (timezone_offset_get() causes segmentation faults).
2008-04-25 12:35:58 +00:00
Ant Phillips
c173b0454c Extra open_basedir tests 2008-04-24 16:40:54 +00:00
Steph Fox
d19418e53c - re2c requirement update
(sorry, I thought I'd committed this ages ago)
2008-04-24 16:04:59 +00:00
Dmitry Stogov
8fac72574d Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes 2008-04-24 15:45:46 +00:00
Andrey Hristov
f4e659d2af Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
2008-04-24 14:22:19 +00:00
Ant Phillips
2667f76d7b Allow for chmod() to fail on symbolic links 2008-04-24 13:58:26 +00:00
Pierre Joye
9fecb8fa60 - MFH: improve test and remove files on exit 2008-04-24 08:45:35 +00:00
Dmitry Stogov
1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Johannes Schlüter
1a419cac12 - MFH: Fix Windows build 2008-04-23 16:56:51 +00:00
Ant Phillips
9ae3ae064f open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:15 +00:00
Ant Phillips
57e0d2acec These tests were backported from the PHP 6.0 branch, which in turn were ported from this branch and then updated to remove any dependencies on register_globals. With register_globals removed they are useful tests to run against the 5.X branches. 2008-04-22 16:04:31 +00:00
Ant Phillips
79b73d1218 New set of session extension tests for PHP 5.3 branch.
These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings, nor do they test anything
with register_globals enabled.
2008-04-22 16:04:30 +00:00
Robin Fernandes
5cb8dd8040 Fix some ereg tests for 64bit platforms. 2008-04-22 15:31:57 +00:00
Antony Dovgal
823b31d30c fix tests 2008-04-22 13:31:25 +00:00
Ilia Alshanetsky
3bcf8a3d00 Added a warning message on pdo::exec() failure in the event of an empty query 2008-04-22 13:01:45 +00:00
Antony Dovgal
4c4542e0d5 add news entry 2008-04-21 15:42:26 +00:00
Antony Dovgal
7c98e674b5 [DOC] add hash_copy() to be able to copy hash resource 2008-04-21 15:37:46 +00:00
Ilia Alshanetsky
30437c1241 Fixed error verbiage and free function_name on success 2008-04-21 14:32:57 +00:00
Dmitry Stogov
e4213bedb8 Optimized function call helper 2008-04-21 10:14:20 +00:00
Ilia Alshanetsky
239fa7f79f Fixed a bug #44403 (register_tick_function() does not check for a valid callback) 2008-04-20 15:07:39 +00:00
Felipe Pena
6bf6541b62 - Fixed tests 2008-04-20 02:06:20 +00:00
Felipe Pena
408bb1e48d - Better error message 2008-04-20 01:44:16 +00:00
Felipe Pena
3d2a5940a2 - New tests 2008-04-18 14:05:47 +00:00
Christopher Jones
dfe7affab5 Set extension status back to dev 2008-04-18 02:34:42 +00:00
Christopher Jones
0a6fb9085e Update description 2008-04-18 02:33:59 +00:00