Commit Graph

17700 Commits

Author SHA1 Message Date
Dmitry Stogov
9d7ca01c8b Dropped allow_call_time_pass_reference, the error is maden E_STRICT. 2006-03-16 11:32:00 +00:00
Dmitry Stogov
7c0e534157 Dropped zend.ze1_compatibility_mode 2006-03-16 10:33:23 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
Antony Dovgal
37ab9aa474 prepare to the 1.2 release 2006-03-16 07:31:01 +00:00
Marcus Boerger
ff359fab7f - Fix test 2006-03-16 00:40:11 +00:00
Dmitry Stogov
09619a30cb Fixed Bug #36614 (Segfault when using Soap) 2006-03-15 16:14:40 +00:00
Ilia Alshanetsky
111046ceed MFB51: Fixed memory leak on unused bind var. 2006-03-15 15:27:08 +00:00
Derick Rethans
c76917a773 - Fixed two memory issues:
- In the first one we were calculating the tmp_len wrong which made the
	u_strFromUTF32() function try to convert too many code points.
  - The second issue was a bit more subtle as the "what" string wasn't
	duplicated but still modified. This string is passed as data to the
	function and this kind of data the engine tries to free when the function
	ends. Because we were re-allocating the data the original memory location
	was already freed resulting in a double free error when the engine tries to
	free the argument as it was passed to the function.
2006-03-15 12:20:49 +00:00
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
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
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
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
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
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
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
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
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
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
315dd834a3 Fixed bug #36629 (SoapServer::handle() exits on SOAP faults) 2006-03-10 11:47:06 +00:00
Dmitry Stogov
cebd9e8f30 Fixed debug_zval_dump() to support private and protected members 2006-03-10 08:43:14 +00:00
Dmitry Stogov
f8576f84dc Implemented "jump label" operator (limited "goto") 2006-03-10 08:29:43 +00:00
Marcus Boerger
eec9a59b27 - Revert left-over 2006-03-09 23:07:48 +00:00
Marcus Boerger
24b3a0d8c4 - Add new test 2006-03-09 23:03:27 +00:00
Marcus Boerger
b7f6e116f7 - Add read ahead ability
- Add skipping empty lines
- Add ability to read lines as csv
2006-03-09 23:03:08 +00:00
Marcus Boerger
8cabf9175e - More testing via fgetcsv 2006-03-09 21:00:38 +00:00
Marcus Boerger
e0c9a617d5 - Add new test 2006-03-09 20:00:47 +00:00
Sebastian Bergmann
281ebbe664 Make spl_register_std_class() and spl_register_sub_class() available outside of SPL, for instance in SPL_Types. 2006-03-09 11:44:05 +00:00
Michael Wallner
9656a34cbc MFB: Fix bug #36656 (http_build_query generates invalid URIs due to use of square brackets) 2006-03-08 22:04:48 +00:00
Marcus Boerger
b883386ff0 - safe_mode is nuked in head
- spl_filesystem_object now allows controlling of clone too
2006-03-08 20:31:23 +00:00
Marcus Boerger
e8e264dcf2 - Cloning might need special treatment as well 2006-03-08 20:30:12 +00:00
Marcus Boerger
e324e11452 - Initial refcounting 2006-03-08 20:07:25 +00:00
Marcus Boerger
24726c19d5 - Something that uses void* oth might want to deinitialize it in the dtor 2006-03-08 20:06:16 +00:00
Ilia Alshanetsky
27e175eef0 So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since
the magic is gone :-).
2006-03-08 14:41:45 +00:00
Marcus Boerger
96fc81d615 - WS/CS 2006-03-08 00:56:31 +00:00