Fix and generalize $this handling.
ZEND_FETCH_FROM_THIS is removed, IS_UNUSED type on class variables will be
used instead as the sign that it's a fetch from $this
foobar [Tue, 15 Oct 2002 19:37:16 +0000 (19:37 +0000)]
- Added PHP_PROG_SED which checks whether the sed in system works with
very long strings.
#
# Sascha, is this okay? I added this here since any libtool/autoconf
# release out there doesn't have this yet..we can remove this when
# we can really start requiring such versions which have it?
#
# This sets $SED to the correct binary, so that should be used in
# places were the lines might be very long.
#
Wez Furlong [Tue, 15 Oct 2002 16:01:00 +0000 (16:01 +0000)]
Fix for 19906.
gzeof has different semantics from feof, in that gzeof will return true
if the read position is at EOF, even if the most recent read was 100%
successful.
feof will return true only (usually) if the most recent fread failed.
Sterling Hughes [Tue, 15 Oct 2002 14:51:01 +0000 (14:51 +0000)]
hopefully silence compile warnings on Solaris related to HUGEVAL being
undefined.. HUGEVAL is defined (well the manual would indicate so) in
stdlib.h, not math.h.
Zeev Suraski [Mon, 14 Oct 2002 12:05:09 +0000 (12:05 +0000)]
Change the 'security level' of registry entries to PHP_INI_SYSTEM. They're
in the system hive in the registry, so only people with administrative
priveleges can add stuff in there.
Derick Rethans [Mon, 14 Oct 2002 07:18:23 +0000 (07:18 +0000)]
- Added the TEST_PHP_USER environment variable with which you can specify
additional directories with tests to run. This is ideal for having your own
test suite on your system. You can specify more directories by seperating them
with a ",", for example:
TEST_PHP_USER=/dat/dev/xdebug/tests,/dat/dev/srm/tests make test
Wez Furlong [Mon, 14 Oct 2002 02:28:35 +0000 (02:28 +0000)]
@- fgets($fp) (with no length parameter) now uses a buffer as long as the
@ the next line available from the $fp. Previously, there was a 1KB limit.
@ (Wez)
Wez Furlong [Sun, 13 Oct 2002 22:52:33 +0000 (22:52 +0000)]
Fix a nasty nasty bug:
When not enough data to satisfy a read was found in the buffer, fgets modifies
the buf pointer to point to the position to store the next chunk. It then
returned the modified buf pointer, instead of a pointer to the start of the
buffer.
Also added some infrastructure for making fgets grow the buffer on-demand to
the correct line-size. Since streams uses reasonable chunk sizes, the
performance of the realloc's should be pretty good; in the best case, the line
is already found completely in the buffer, so the returned buffer will be
allocated to precisely the correct size.
In the worst case, where the buffer only contains part of the line, we get a
realloc per buffer fill. The reallocs are either the size of the remainder
of the line, or the chunk_size (if the buffer sill does not contain a complete
line). Each realloc adds an extra byte for a NUL terminator.
I think this will perform quite well using the default chunk size of 8K.
Shane Caraveo [Sun, 13 Oct 2002 09:40:44 +0000 (09:40 +0000)]
make fastcgi usage threadsafe, ready for future multithreaded fastcgi implementation
get rid of environment overwriting but hooking into php's environment function
set $_ENV correctly for mod_fastcgi
add -b to specify binding for fastcgi
new readme file with information for running under apache2.0 and iis
Yasuo Ohgaki [Sun, 13 Oct 2002 09:37:27 +0000 (09:37 +0000)]
Introduce connect_type option to pg_connect().
pg_connect(conn_str, conn_type) is allowed.
@Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo)
# If you have better idea about constant name(s), let me know.