1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

16748 Commits

Author SHA1 Message Date
Markus Fischer 945ccfa76a - Remove superfluous E_WARNING if mysql_connect() fails; there's already
an E_WARNING a few lines above.
2002-10-05 00:54:31 +00:00
6b6fb53d86 NEWS update 2002-10-05 00:34:31 +00:00
23a68c448a ChangeLog update 2002-10-05 00:33:20 +00:00
David Viner 4f98cc5a55 adding the xslt_set_object function (as per discussion on php-dev and
the newly created sab-php@gingerall.cz)
--dviner
2002-10-04 23:06:10 +00:00
David Viner 1665272cee adding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee]
--dviner
2002-10-04 22:43:55 +00:00
Stefan Esser 4368b8e4ac some FTP servers return 32bit port numbers. 2002-10-04 22:20:08 +00:00
Brian France 3340e82508 Fixed a problem where opendir with <path>/ and having <path>/ in
open_basedir ini option didn't work.  It was removing the trailing
        slashes and then addeding it back to only one of the string,
        now it adds it back to to both if needed.
2002-10-04 22:16:16 +00:00
Stefan Esser 87c0577a0c some broken ftp servers return 32bit port numbers. 2002-10-04 21:58:39 +00:00
Ilia Alshanetsky 29be52fbfb A slightly better content-type check. 2002-10-04 21:31:34 +00:00
Ilia Alshanetsky 5f67f05d92 Added a note on how to enable .phps support. 2002-10-04 21:22:13 +00:00
Marcus Boerger 2e90bbe3c2 Return to old counting where every test is counted (even those of skipped
extensions). Inform about the number of extensions tested and skipped.
This makes the test summary more compareable.

Maybe i'll add a parameter/env-var to skip extension tests. That way we
could fasten tests for changes in the core. But it has to wait some days.
2002-10-04 21:19:51 +00:00
Ilia Alshanetsky 9f2b70d507 Added .phps support to Apache 2. It can be enabled by adding
AddType application/x-httpd-php-source .phps
to httpd.conf
2002-10-04 21:15:59 +00:00
Sterling Hughes df837e67c7 have implode use the smart_str_*() functions, this should speed things up
quite a bit...
2002-10-04 20:44:19 +00:00
Martin Jansen 1fe42e10b7 * Nuke warning when $php_errormsg is not set. 2002-10-04 20:00:51 +00:00
Sascha Schumann bfd2a857b2 Fix EOF cases
Noticed by: Ilia
2002-10-04 19:48:59 +00:00
Sascha Schumann 1918011c01 Interrupt loop, if the stream op fails. 2002-10-04 19:36:09 +00:00
Sascha Schumann 5e97e66abb Nuke warning 2002-10-04 19:20:13 +00:00
Sascha Schumann a4ec211e9e Add a few notes 2002-10-04 19:08:43 +00:00
Wez Furlong c429805e0b Make that error message more meaningful for systems like my SuSE 7.0 with
an apparently broken magic file.
2002-10-04 19:01:34 +00:00
Wez Furlong 9c5883bdf6 replace dont_block with a flag. 2002-10-04 18:59:34 +00:00
Ilia Alshanetsky 08645d53c0 Fixed bug #19746 2002-10-04 18:44:47 +00:00
Sascha Schumann 4f7e6dadd8 Improve the general behaviour of stream_gets and fix its semantics
with regard to sockets. The behaviour should be aligned with PHP 4.2 now.
This has been verified to some degree.

If the underlying stream operations block when no new data is readable,
we need to take extra precautions.

If there is buffered data available, we check for a EOL. If it exists,
we pass the data immediately back to the caller. This saves a call
to the read implementation and will not block where blocking
is not necessary at all.

If the stream buffer contains more data than the caller requested,
we can also avoid that costly step and simply return that data.
2002-10-04 18:21:40 +00:00
Rasmus Lerdorf 5610e348ec Kill a few more warnings 2002-10-04 18:03:29 +00:00
Rasmus Lerdorf 2ca6f26918 Kill warning 2002-10-04 18:01:52 +00:00
foobar 189ce6a308 combine those ob_* entries and keep the attention line on top 2002-10-04 17:28:48 +00:00
Marcus Boerger 3d6ecdeff0 return FALSE on error 2002-10-04 17:17:01 +00:00
Marcus Boerger 518e61de97 suggest paranthesis around || and && 2002-10-04 17:11:35 +00:00
Sander Roobol e6e2c1c70d Fixed a bug in the new implementation of str_repeat() 2002-10-04 17:10:51 +00:00
Derick Rethans ec6713f1ca - dot :) 2002-10-04 16:55:46 +00:00
Sterling Hughes 5605dcf7b6 fix a memory leak in implode()
# kept seperate from last commit on purpose.. ;)
2002-10-04 16:54:56 +00:00
Sterling Hughes abc9991925 @ Make the glue argument to implode() optional, if it is not specified
@ default to using "". (Sterling)
2002-10-04 16:53:14 +00:00
Andrei Zmievski 03823d4336 that was reverted for now 2002-10-04 14:12:13 +00:00
Melvyn Sopacua c4805ffeb1 Improve testkit for xslt.
002.phpt and 003.phpt are regression tests for reported bugs.
 004.phpt has been known to cause problems in some Sab/PHP combinations.
 No known reports in bug db for that one.
 Added skip mechanism
@- Added regression test for bugs #17791 and #17931 (Melvyn)
2002-10-04 11:41:34 +00:00
Melvyn Sopacua 7f1ad2395d (xslt_set_error_handler) Fixes array 'fields' argument to contain correct
information.
                         Patch by Lenar Lohmus.
@- Fixed fields argument to contain correct info. (Lenar Lohmus)
2002-10-04 09:22:03 +00:00
Sebastian Bergmann 1014d78515 Add PHP_CONFIG_FILE_SCAN_DIR. 2002-10-04 05:22:13 +00:00
Rasmus Lerdorf 989a61ed98 As discussed, add --with-config-file-scan-dir compile-time switch defining
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed.  This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting.  A list of parsed ini files is maintained and shown on the
phpinfo page.
2002-10-04 04:47:35 +00:00
Sean Bright 114dff39ce Add missing ?> 2002-10-04 02:34:15 +00:00
Sascha Schumann df0ea33d2b peek at freebsd's libc and fix _php_math_basetozval
PR: #19733
2002-10-04 02:21:33 +00:00
Sascha Schumann cfaffd2185 overflow check for _php_math_basetozval 2002-10-04 02:20:41 +00:00
Sascha Schumann 397277b8c3 Fix php_stat brokenness. 2002-10-04 01:05:03 +00:00
Sascha Schumann db3f7448a1 Add VCWD_ACCESS 2002-10-04 01:04:00 +00:00
4f05796a75 NEWS update 2002-10-04 00:35:27 +00:00
d42349737f ChangeLog update 2002-10-04 00:34:21 +00:00
Sascha Schumann fb84b3e1d0 remove trans_sid=1 2002-10-03 23:13:36 +00:00
Sascha Schumann 5db24fbb7b 20: rewriter uses arg_seperator.output for modifying URLs
21: rewriter handles <form> and <fieldset> correctly
2002-10-03 23:12:16 +00:00
Sascha Schumann 47cc29c9d1 19: serializing references test case using globals
18: rewriter correctly handles attribute names which contain dashes
2002-10-03 22:54:15 +00:00
foobar 0c66e1ccf6 sigh..is this so hard? 2002-10-03 22:26:43 +00:00
Andrei Zmievski a38123e756 Revert the patch for now. We'll be branching on Saturday the way it's
implemented is a bit half-baked. We can always merge it into the branch
at a later point.
2002-10-03 18:30:27 +00:00
Marcus Boerger ad120d2e28 $val not in first param to sprintf 2002-10-03 18:25:30 +00:00
Andrey Hristov 52c529c5af ws fixes.
#again :)
2002-10-03 18:15:18 +00:00