Marcus Boerger [Tue, 29 May 2007 08:44:05 +0000 (08:44 +0000)]
- Bug #41525 ReflectionParameter::getPosition() not available
# This was supposed to be dropped in 5.1.4, I wonder why thisis not in
# because the functionality is documented.
# [ DOC ] Make sure the function documentation is correct for:
# ReflectionParameter::getPosition
# ReflectionParameter::getDeclaringFunction
# ReflectionFunction::getExtension
# ReflectionFunction::getExtensionName
Rasmus Lerdorf [Fri, 25 May 2007 09:12:35 +0000 (09:12 +0000)]
Optimize sapi_get_request_time() slightly making it use the cached time
and also checking if there is a server_context before trying to call
the request_time sapi hook.
Rasmus Lerdorf [Thu, 24 May 2007 22:37:59 +0000 (22:37 +0000)]
I don't see any reason to leave the stack limitation at 20. We have
reports of this limit being hit now and as far as I can tell bumping it
to 128 isn't going break anything in the parser code.
foobar [Thu, 24 May 2007 21:40:41 +0000 (21:40 +0000)]
- Allow build without flex/bison installed (fixes builddir != srcdir build
when using distributed sources which inlude pre-generated bison/flex
output. See bug #38762 for more..)
Rasmus Lerdorf [Thu, 24 May 2007 20:53:05 +0000 (20:53 +0000)]
Avoid running off the end of a non-null terminated string. Not that we
should have any of those, but a mistake in an extension could hit this
and the check doesn't actually make any sense as far as I am concerned.
Raghubansh Kumar [Tue, 22 May 2007 16:01:59 +0000 (16:01 +0000)]
New version of gettype_settype_variation1.phpt gettype_settype_variation6.phpt
gettype_settype_variation2.phpt gettype_settype_variation7.phpt gettype_settype_variation3.phpt gettype_settype_variation8.phpt
gettype_settype_basic.phpt gettype_settype_variation4.phpt
gettype_settype_error.phpt gettype_settype_variation5.phpt
Ilia Alshanetsky [Tue, 22 May 2007 12:37:00 +0000 (12:37 +0000)]
[DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities()
that makes the function not encode existing html entities. The feature is
disabled by default and can be activated by passing FALSE as the 4th param
Timm Friebe [Tue, 22 May 2007 11:38:57 +0000 (11:38 +0000)]
- Fixed expectancy in for SQL query <select convert(datetime, "notadate")>
This query should return bool(false) and not a resource() because
the above is a syntax error
# Exact message yielded by SQL server is the following:
# "Syntax error during explicit conversion of VARCHAR value `notadate`
# to a DATETIME field.
Timm Friebe [Tue, 22 May 2007 11:36:55 +0000 (11:36 +0000)]
- Added constant TEMPDB, defaulting to "tempdb"
# This constant is used by some of the tests and should point
# to a database where the user has create proc|table permissions
Timm Friebe [Tue, 22 May 2007 11:35:47 +0000 (11:35 +0000)]
- Changed hardcoded "tempdb" database name to a constant
# This constant is defined in test.inc and defaults to "tempdb"
# In certain setups, create procedure permissions may not be granted
# in tempdb
Timm Friebe [Tue, 22 May 2007 11:33:36 +0000 (11:33 +0000)]
- Fixed tests on Windows
# The tests expected %s/test.inc in warnings and notices, but of course,
# on Windows, the directory separator is a backslash.
# Made this work in both worlds by testing for %stest.inc