Moriyoshi Koizumi
931e25297b
fixed mb_split (the value of third parameter treated wrongly)
2002-10-07 16:46:42 +00:00
Rasmus Lerdorf
ef9b51bcb0
readdir() was returning NULL instead of FALSE when used on an invalid
...
directory handle. If someone forgot to check (as someone here did) that
the opendir() succeeded, and then followed the documented usage by checking
readdir()!==FALSE things would go awry. The ZEND_FETCH_RESOURCE macro
explicitly does a RETURN_NULL on failure which is not what we want in this
case, so work around it. No need to change it for the OO case since the
object is not created if the opendir fails.
2002-10-07 16:46:38 +00:00
Moriyoshi Koizumi
9b849892ea
MFH
2002-10-07 16:15:36 +00:00
Stefan Esser
a8191a66c1
never smash the stack...
2002-10-07 16:11:30 +00:00
Stefan Esser
5619a3d0a5
fixing possible off by one in error case
2002-10-07 16:05:28 +00:00
Sander Roobol
35dc97df3b
Temporary (?) workaround (?) for is_executable() on Windows.
2002-10-07 15:16:47 +00:00
Stefan Esser
46f4a07d1c
Closing protected variables hole
2002-10-07 11:23:24 +00:00
Zeev Suraski
1143a7023c
Whitespace
2002-10-07 11:21:06 +00:00
foobar
eb67b2476b
Fix obvious error..
2002-10-07 11:08:11 +00:00
Jan Lehnardt
94daa9c26a
- fix typo and improve error message
2002-10-07 10:09:07 +00:00
Sascha Schumann
8ca10fb5e8
Call ob_flush to force the buffer contents to go through the rewriter.
2002-10-07 10:07:27 +00:00
Marc Boeren
cee4219e49
Tests will be skipped if a tester does not explicitly specify the
...
test-database setup in dbx_test.p.
2002-10-07 09:27:02 +00:00
Sascha Schumann
88b2d8bb8f
stdio buffers data in user land. By calling fflush(3), this
...
data is sent to the kernel using write(2). fsync'ing a
file descriptor is not required -- writing to a fd has the same
affect as calling fflush after each fwrite.
2002-10-07 03:12:06 +00:00
Sascha Schumann
2dde6fb594
Print out warning only, if a variable was actually migrated
2002-10-07 02:37:50 +00:00
5c782303a1
ChangeLog update
2002-10-07 00:34:07 +00:00
Melvyn Sopacua
bcddd58a92
Add --EXPECTF-- section: 'sprintf' for EXPECT sections. See for usage
...
example ext/xslt/tests/009.phpt.
# To aid debugging, a little commented section is left in, this can be
# stripped in due time, or properly integrated with some --debugging flag.
# But it's quite useful, when you make such tests.
2002-10-07 00:05:20 +00:00
Melvyn Sopacua
2628482ee9
(xslt tests) Add test for memory leaks, caused by inapproreate use of
...
the struct. Memory leak is caused by at least 2 errors on
handle.
2002-10-06 23:58:51 +00:00
Wez Furlong
510f3b0305
Try to ensure that we return the number of bytes requested during fread().
2002-10-06 23:27:53 +00:00
Sebastian Bergmann
d7f9e8526f
Silence warning.
2002-10-06 21:47:54 +00:00
Andi Gutmans
278a00e1d8
- Fix problem with unsetting object members.
2002-10-06 19:55:31 +00:00
Sander Roobol
83189bd742
Skip this test if we're not using ZE2
2002-10-06 19:39:12 +00:00
Sander Roobol
00a2715eda
We're testing stripCslashes() here :)
2002-10-06 19:26:56 +00:00
Sander Roobol
3e222bcbf1
Some more weird tests on Derick's request :)
2002-10-06 19:17:04 +00:00
Sander Roobol
9edfd75a5c
Some string tests
2002-10-06 19:12:22 +00:00
Derick Rethans
bd48e0cfe9
- Add new tests for: array_change_key_case, array_chunk and
...
array_count_values.
2002-10-06 18:42:03 +00:00
Sander Roobol
004d3d3a30
Fix another leak in implode()
2002-10-06 18:39:03 +00:00
Rasmus Lerdorf
76ee49e5b4
Fix for bug 19781
2002-10-06 17:47:50 +00:00
Derick Rethans
2ae0e71c97
- Fix highlight_string test.
2002-10-06 17:37:25 +00:00
Ilia Alshanetsky
6b5575a101
Code cleanup. Thanks Andi.
2002-10-06 17:17:38 +00:00
Rasmus Lerdorf
f32d63a3b3
Add php_ini_scanned_files() so "make test" can tell you when you have
...
additional .ini files that are scanned.
2002-10-06 17:04:10 +00:00
Sander Roobol
af14a8e75f
You can't detect NULL nicely - false is better and more PHPish.
2002-10-06 17:00:33 +00:00
Rasmus Lerdorf
d940131774
Fix build
2002-10-06 16:37:33 +00:00
Sander Roobol
533fda4121
Fixed getopt() - made it actually work
2002-10-06 16:33:14 +00:00
Melvyn Sopacua
8e1da7dbda
MFB
2002-10-06 16:32:24 +00:00
Ilia Alshanetsky
12f47fe85a
Added expected data to parse_url() test
2002-10-06 16:15:06 +00:00
Ilia Alshanetsky
1bbb55ec11
Added a much faster parse_url() implementation. This also fixes a number
...
of bugs in the old parse_url() implementation.
2002-10-06 16:14:42 +00:00
Melvyn Sopacua
a22ab3f8e3
missed this, needed by 007.phpt
2002-10-06 15:51:33 +00:00
Moriyoshi Koizumi
a1b3f8382d
added support for aliases of the encodings.
2002-10-06 15:31:52 +00:00
Zeev Suraski
df55f35798
Revert the implicit_flush mess.
...
Do not revert it again under any circumstances!
Yasuo/anybody else - if there are issues with implicit_flush, please inform
me and I will fix them.
2002-10-06 12:02:53 +00:00
Sander Roobol
68cd067670
Fixed segfault and memory leak in the new implementation of implode()
2002-10-06 11:28:11 +00:00
Sander Roobol
8cf14a42f5
Add testcases for implode() and str_repeat()
2002-10-06 11:26:49 +00:00
Sebastian Bergmann
6ca22a1740
HAVE_MBSTRING awareness.
2002-10-06 09:36:26 +00:00
Sebastian Bergmann
df472058e2
HAVE_MBREGEX awareness.
2002-10-06 09:29:54 +00:00
Zeev Suraski
de36720e0e
Begin the cleanup - remove ob_flush_all()
2002-10-06 09:06:24 +00:00
Rasmus Lerdorf
b832af75f0
WS fix - although the entire libgd directory is horrendously formatted.
...
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).
2002-10-06 08:39:05 +00:00
Rasmus Lerdorf
731943287f
Oops
2002-10-06 08:35:22 +00:00
Rasmus Lerdorf
409620351f
Ok, perhaps it's too late at night, but I see absolutely no reason for
...
this chunk of code here. Why is it writing a palette.map file to disk
in the middle of this function? Looks like leftover debug code, and this
particular code seems to be crashing on OSX as per bug #19704 .
2002-10-06 07:19:07 +00:00
Rasmus Lerdorf
26b69a7d93
Fix for bug #19700 - code by Wez
2002-10-06 06:47:53 +00:00
Moriyoshi Koizumi
0601d1fc41
made messages more consistent
2002-10-06 06:37:47 +00:00
Sebastian Bergmann
8684c06b6d
Add note about javax.servlet package.
2002-10-06 06:27:13 +00:00