Hannes Magnusson
992ffac970
MFB: saveXML() -> asXML() alias
2006-06-26 15:36:45 +00:00
Hannes Magnusson
7589f995c9
Removed obsolete arg_info include
2006-06-26 14:10:57 +00:00
Dmitry Stogov
ce56c376df
Fixed bug #37862 (Integer pointer comparison to numeric value)
2006-06-26 13:31:37 +00:00
Rasmus Lerdorf
157ce4f35e
Cleaner fix
2006-06-26 13:10:31 +00:00
Rasmus Lerdorf
eef9835bb1
sapi_getenv() estrdups the returned string now, so we need to free it
2006-06-26 13:03:41 +00:00
Hannes Magnusson
731c3e4db0
Removed custom deprecate error messages
...
Use the fancy ZEND_ACC_DEPRECATED flag.
2006-06-26 11:31:19 +00:00
Hannes Magnusson
f4ea75f240
Added argument info
...
(forces user-space filters to register correct arguments)
Added tests
2006-06-25 22:51:55 +00:00
Antony Dovgal
361c7da159
MFB: improve test
2006-06-25 21:23:38 +00:00
Hannes Magnusson
3f2f258517
Enabled image_type_to_extension() which has been in cvs for 2,5 years now..
...
Added test
2006-06-25 20:52:34 +00:00
Hannes Magnusson
57e8133427
Fixed image_type_to_extension()
...
Added support for IMAGETYPE_JPX & IMAGETYPE_JB2
2006-06-25 20:51:31 +00:00
Hannes Magnusson
bf0a79d381
Updated protos
...
Fixed vim folding
2006-06-25 19:19:31 +00:00
Hannes Magnusson
9f96f0340b
Argument info
2006-06-25 19:17:20 +00:00
Andrei Zmievski
ef263f219c
A lot of work on making TextIterator support propert codepoint-level
...
offsets and making it more robust in general.
2006-06-24 21:57:14 +00:00
Marcus Boerger
233a322f1e
- Fix ReflectionObject::getProperties() + dyn properties
2006-06-24 18:53:51 +00:00
Andrei Zmievski
72df9946d2
- Remove support for code units in TextIterator (people shouldn't be
...
examining individual code units anyway)
- Add offset() method.
- Add optional locale parameter to the constructor.
2006-06-24 18:18:38 +00:00
Antony Dovgal
770188279f
plug leak in my last patch
2006-06-23 13:52:53 +00:00
Ilia Alshanetsky
a2b61371cd
MFB: Change E_ERROR to E_RECOVERABLE_ERROR
2006-06-23 11:40:14 +00:00
Antony Dovgal
d9de0eac85
fix typo and bug #37886
2006-06-23 08:25:58 +00:00
Michael Wallner
4c4d083b52
MFB: use %zu to format size_t
2006-06-23 07:30:40 +00:00
Antony Dovgal
a3d2ed6356
timelib_day_of_week_ex() returns -1 if the year is less than 1753
...
don't use its return value directly, as accessing array element with negative index may lead to unpredictable result (crash?)
2006-06-22 21:03:48 +00:00
Antony Dovgal
fbbfdafe0a
add 4.3.10 dependency to package.xml
...
add check for PHP version in ./configure
2006-06-22 20:28:51 +00:00
Antony Dovgal
c605235b53
don't try to parse empty string, return false immediately
...
(fixes off-by-one)
2006-06-22 18:44:18 +00:00
Pierre Joye
011bb5fef6
- initialize the custom values to null (optional arg)
...
- raise error for REQUEST and unknown mode
2006-06-22 10:58:13 +00:00
Andrei Zmievski
e875205714
Implement user conversion error handler support. Works as normal error
...
handler, in that it can return false to make the default one take over.
Handler signature is:
user_handler($direction, $encoding, $char_byte, $offset, $message)
Also removed support for using exceptions in default error handler.
2006-06-21 20:17:21 +00:00
Ilia Alshanetsky
960ac4a6b1
MFB: Fixed compiler warnings.
2006-06-21 15:19:37 +00:00
Antony Dovgal
06ae96342f
improve check for stream mode, add tests
2006-06-21 14:38:06 +00:00
Antony Dovgal
49a29c9b94
don't try to read or write from/to a stream if it was open in different mode (leads to segfault in libbz2)
2006-06-21 13:12:00 +00:00
Antony Dovgal
f20ba806f9
fix invalid read with bzopen("","") and prevent filename from being empty (which causes endless loop somewhere is libbz2)
...
tests will follow
2006-06-21 12:42:50 +00:00
Antony Dovgal
9af1ea3883
fix compile failure with <s>ancient</s> older PHP versions caused by new globals management code
2006-06-21 10:51:55 +00:00
Andrei Zmievski
37972451f8
Implement unicode_set_error_handler() / unicode_restore_error_handler().
...
The error handler doesn't do anything yet. (vaporware)
2006-06-20 23:00:02 +00:00
Ilia Alshanetsky
e6543cd7dc
MFB: Removed pointless callbacks.
2006-06-20 22:42:42 +00:00
Nuno Lopes
b5fda0101c
MFB 5.2
2006-06-20 21:58:03 +00:00
Antony Dovgal
016fe711f9
fix tests
2006-06-20 19:49:44 +00:00
Hannes Magnusson
1cb807ab63
Renamed file to bug37864.phpt
2006-06-20 19:31:04 +00:00
Hannes Magnusson
2c87f890bc
Test for bug #37864 (file_get_contents() leaks on empty file)
2006-06-20 19:30:19 +00:00
Antony Dovgal
3d0e1456e4
fix test
2006-06-20 19:12:12 +00:00
Antony Dovgal
bc5a9692cb
don't leave garbage in tmp dir
2006-06-20 18:55:37 +00:00
Hannes Magnusson
f3334c8df3
add test for file_get_contents() leaking on empty file
2006-06-20 18:46:14 +00:00
Antony Dovgal
438d74568d
fix tests
2006-06-20 18:14:12 +00:00
Hannes Magnusson
d9f977e685
Add missing header include
2006-06-20 18:00:11 +00:00
Antony Dovgal
59e16e52de
init variables
2006-06-20 13:28:02 +00:00
Antony Dovgal
8fd8789c9a
nuke unused variables and init variables when needed
2006-06-20 13:21:10 +00:00
Antony Dovgal
f59302fe60
fix test to work on all platforms
2006-06-20 13:14:20 +00:00
Antony Dovgal
381269b354
fix test
2006-06-20 13:07:44 +00:00
Ilia Alshanetsky
2e1fd9c044
MFB: Added missing ifdef block.
2006-06-19 23:55:11 +00:00
Antony Dovgal
3210771d31
display oci8 version in phpinfo()
2006-06-19 18:21:19 +00:00
Antony Dovgal
635be00596
MFB: fix #37848 (ext/odbc compile failure)
2006-06-19 16:13:31 +00:00
Antony Dovgal
26713e9afe
fix #37807 (segmentation fault during SOAP schema import)
2006-06-19 11:43:36 +00:00
Ilia Alshanetsky
4396986fc7
MFB: Added posix_initgroups() function.
2006-06-19 02:19:45 +00:00
Hannes Magnusson
fc53160464
Revert accidental libxml class property declaration..
2006-06-17 13:15:37 +00:00