Commit Graph

33761 Commits

Author SHA1 Message Date
Derick Rethans
52bec1ea36 - Reduce space in serialization. The first 128 bytes will now use just the
character and everything above will use \uXXXX. It seems that unserialize
  doesn't work at all yet on the U: element so that I added to my to-do list.
2006-03-15 09:50:47 +00:00
Dmitry Stogov
d51599dfcd Eliminated run-time constant fetching for TRUE, FALSE and NULL 2006-03-15 09:04:48 +00:00
Dmitry Stogov
a623645b6f Fixed "zend_vm_gen.php --without-specializer" 2006-03-15 08:06:51 +00:00
d06e1f49b6 ChangeLog update 2006-03-15 06:31:57 +00:00
Sara Golemon
df77705572 Switch (zstr) casts to use ZSTR() macro. 2006-03-15 00:28:57 +00:00
Omar Kilani
6d841fe6a0 Mark as stable. 2006-03-15 00:15:05 +00:00
Sara Golemon
b576354982 More stream updates.
fgets() will work now as will anything which calls one of the
_php_stream_get_line() family of functions.
The one exception here is when the legacy defines are used on a unicode
stream.  At the moment they'll simply return NULL, I'll update these
to do sloppy conversion in a bit.

'make (u)test' still doesn't work, but it's a different doesn't work.
2006-03-14 21:15:05 +00:00
Pierre Joye
09ad6a6713 - initial commit, feel free to change/adapt 2006-03-14 16:28:35 +00:00
Dmitry Stogov
e4aa6e302e Fixed bug #35988 (Unknown persistent list entry type in module shutdown) 2006-03-14 15:16:27 +00:00
Antony Dovgal
49ec971d85 add brackets and clarity 2006-03-14 15:14:59 +00:00
Ilia Alshanetsky
24d06926d4 MFB51: Fixed offset/length parameter validation in substr_compare() function. 2006-03-14 14:55:27 +00:00
Dmitry Stogov
663ba73ca2 Fixed bug #36568 (memory_limit setting on win32 has no effect) 2006-03-14 14:19:19 +00:00
Dmitry Stogov
72acb65b24 zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros 2006-03-14 11:24:30 +00:00
Dmitry Stogov
b7933917f6 "jump" -> "goto" 2006-03-14 11:20:19 +00:00
Edin Kadribasic
7b156d6236 MFB: Fixed build 2006-03-14 11:14:05 +00:00
Edin Kadribasic
bcf85422c2 MFB: more verbose phpinfo() output 2006-03-14 11:04:13 +00:00
79f91078ef ChangeLog update 2006-03-14 06:31:48 +00:00
Pierre Joye
ff2822a82b - MFB: #36697, truecolor image lost im->transparent 2006-03-14 03:46:59 +00:00
Marcus Boerger
9eebea0a45 - Fix tests 2006-03-13 22:59:36 +00:00
Marcus Boerger
8f09deab58 - Cleanup 2006-03-13 22:54:05 +00:00
Sara Golemon
04df7e3bdc Make php_stream_write_buffer() return characters written, not bytes 2006-03-13 20:54:06 +00:00
Seiji Masugata
8c8ac4802b fixed compiler warning. 2006-03-13 15:04:03 +00:00
Derick Rethans
f7bfe18307 This makes file_put_contents() work for:
<?php
    declare(encoding="latin1");
    $a = "1234å67890";
    file_put_contents( "/tmp/testuc.1", $a);
    file_put_contents( "/tmp/testuc.2", (string) $a);

    $context = stream_context_create();
    stream_context_set_params($context, array( "output_encoding" => "latin1" ) );
    file_put_contents( "/tmp/testuc.3", $a, FILE_TEXT, $context);
    file_put_contents( "/tmp/testuc.4", (string) $a, FILE_TEXT, $context);
?>

But it still throws a warning on ".3". It's a small design issue that I
didn't want to touch right now.
2006-03-13 15:01:44 +00:00
Ilia Alshanetsky
fef63cd5e5 MFB51: Added overflow checks to wordwrap() function. 2006-03-13 14:37:32 +00:00
Dmitry Stogov
78aed20223 Optimized cleanup loops on request shutdown 2006-03-13 11:13:55 +00:00
Dmitry Stogov
c23806d331 Fixed realpath() cache for main script with FastCGI SAPI 2006-03-13 09:36:05 +00:00
29bc693710 ChangeLog update 2006-03-13 06:31:48 +00:00
Sara Golemon
48798021b5 Refactor streams layer for PHP6.
Don't be frightened by the size of this commit.
A significant portion of it is restoring the read buffer semantics back
to what PHP4/5 use.  (Or a close aproximation thereof).

See main/streams/streams.c and ext/standard/file.c for a set of
UTODO comments covering work yet to be done.
2006-03-13 04:40:11 +00:00
Ilia Alshanetsky
fe2842d21b MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice
from "var".
2006-03-12 16:53:41 +00:00
Marcus Boerger
946c955ce7 - Fix ReflectionParameter
. Reintroduce getClass()
  . Change getDeclaringClass() to return what it suggests
  . Add getDeclaringFunction()
  . Add getPosition()
# This also fixes Bug #36687 ReflectionParameter::getDeclaringClass returns
# wrong result
2006-03-12 15:34:46 +00:00
Marcus Boerger
352d4a6d8c - Prefix test names
- Add missing skipif
2006-03-12 12:11:22 +00:00
Rui Hirokawa
3b5a116511 fixed a possible null injection caused by missuse of mbstring.substitute_character. 2006-03-12 07:54:03 +00:00
4a46c50e71 ChangeLog update 2006-03-12 06:31:43 +00:00
Marcus Boerger
2275036bd0 - Fix writing faillog with redirected tests 2006-03-11 18:13:13 +00:00
Marcus Boerger
aa4140d7c2 - Fix test results with redirected tests 2006-03-11 17:57:40 +00:00
Marcus Boerger
d0b0dfd991 - Load list of extensions to test from php that is being tested rather than
from php running the tests
- When executing both unicode and native modes then show the type of test
  in the reult list (PASS:U, PASS:N, etc)
2006-03-11 16:54:11 +00:00
e93bc50c22 ChangeLog update 2006-03-11 06:31:48 +00:00
Marcus Boerger
6d09a7f151 - Drop supoerflous skipif 2006-03-11 00:25:07 +00:00
Marcus Boerger
d5b5583565 - Add test 2006-03-11 00:23:10 +00:00
Marcus Boerger
45b6a1cb24 - Set clone handler even though right now some spl code snippet is missing 2006-03-10 23:53:41 +00:00
Marcus Boerger
d85294d0f4 - Fix issue with parser error in included phar:// entries 2006-03-10 23:52:57 +00:00
Marcus Boerger
3dd3f2d736 - Works better with correct syntax 2006-03-10 23:02:18 +00:00
Marcus Boerger
5ed0ce3ae4 - Add new test 2006-03-10 22:55:09 +00:00
Marcus Boerger
ce7c583dd9 - Add neccessary skipif 2006-03-10 22:53:58 +00:00
Brian France
43b75c6ab4 for the primary file only lookup the real file path and
add it to the included_files list if already opened
	otherwise it will get opened and added to the included_files list in zend_execute_scripts
2006-03-10 18:16:24 +00:00
Pierre Joye
cb076717e2 - MFB: #36686, do not be quiet with the extern GD 2006-03-10 18:15:21 +00:00
Seiji Masugata
a7f7a7f389 fixed different value was returned in mb_get_info. 2006-03-10 16:36:52 +00:00
Dmitry Stogov
bc9eaa011e Fixed compilation error (Rob) 2006-03-10 16:35:57 +00:00
Dmitry Stogov
f0b9848949 Added RETVAL_EMPTRY_TEXT() and RETURN_EMPTY_TEXT() macroses 2006-03-10 16:35:21 +00:00
Dmitry Stogov
315dd834a3 Fixed bug #36629 (SoapServer::handle() exits on SOAP faults) 2006-03-10 11:47:06 +00:00