Commit Graph

33788 Commits

Author SHA1 Message Date
Dmitry Stogov
f584e957ac Optimized FastCGI SAPI check. Check for ini options only once. 2006-03-17 09:32:47 +00:00
Dmitry Stogov
22a7b0c06e Allowed 'auto_globals_jit' work together with 'register_argc_argv' 2006-03-17 08:59:02 +00:00
Dmitry Stogov
51f7ee02c8 FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS
EGV related code is commented.
2006-03-17 08:47:54 +00:00
Dmitry Stogov
53e1f2adfb Optimization of module unloading (temporary modules can be only in the end) 2006-03-17 08:34:34 +00:00
8ec6d16867 ChangeLog update 2006-03-17 06:31:49 +00:00
Ilia Alshanetsky
16ff5e5592 MFB51:
Allow PDO_MYSQL_ATTR_DIRECT_QUERY to be set via constructor
Allow getAttribute() to fetch MySQL specific attributes.
Eliminate unnecessary auto-commit call on connect.
2006-03-17 00:15:28 +00:00
Dmitry Stogov
86780519d4 Disabled dl(). Now it is enabled only when a SAPI layer registers it explicitly. Only CLI, CGI and EMBED do this. 2006-03-16 16:53:10 +00:00
Dmitry Stogov
ea9b9502e9 typo 2006-03-16 15:42:54 +00:00
Dmitry Stogov
3510eda470 ws 2006-03-16 15:38:29 +00:00
Dmitry Stogov
89a1a4cbc4 Return "new" by reference now throws an E_STRICT error 2006-03-16 15:35:26 +00:00
Seiji Masugata
c9dfb792c5 added option parameter mb_list_encodings( ). 2006-03-16 15:21:12 +00:00
Edin Kadribasic
5db1a8cad0 Added pg_field_table() as per req: #36750 2006-03-16 14:58:56 +00:00
Dmitry Stogov
dcd1ccd725 Added E_STRICT to E_ALL 2006-03-16 12:12:31 +00:00
Antony Dovgal
4810e15301 rephrase 2006-03-16 11:35:30 +00:00
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
a6ed0cb3e0 ChangeLog update 2006-03-16 06:31:47 +00:00
Marcus Boerger
6380908706 - Fix warning 2006-03-16 00:53:58 +00:00
Marcus Boerger
ff359fab7f - Fix test 2006-03-16 00:40:11 +00:00
Sara Golemon
1eca7b87d1 Fix improper byte count on partial reads 2006-03-15 21:18:36 +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
Dmitry Stogov
18d6d9d633 Fixed zend_u_strtod() that returned uninitialized value in case of empty string 2006-03-15 13:12:32 +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
Dmitry Stogov
d3e5691b41 Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4) 2006-03-15 11:15:20 +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
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