Commit Graph

20701 Commits

Author SHA1 Message Date
Sara Golemon
76965beb04 Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks 2003-04-12 20:04:06 +00:00
Sara Golemon
0b5c1112c5 Rewrite strrpos and strripos to be binary safe and behave the way their prototype suggests (also like their counterparts strpos and stripos) i.e.: Allow string needles rather than just characters 2003-04-12 07:36:22 +00:00
Sebastian Bergmann
dccdb2f549 Fix warnings. 2003-04-11 17:30:42 +00:00
Wez Furlong
2090d23f02 Fix for #23069 (Windows sets readonly mode for temporary files in tempnam) 2003-04-11 11:08:44 +00:00
Derick Rethans
a802e0d6b3 - Fixed protos 2003-04-11 09:53:01 +00:00
Hartmut Holzgraefe
e06fdaae8b accept possible leaks for now to make SELECTS with both bound parameters
and results again ...
2003-04-11 04:41:52 +00:00
Hartmut Holzgraefe
a1ff81d277 proto fix 2003-04-11 04:30:29 +00:00
Hartmut Holzgraefe
2f26d2b693 parameter count for bind stuff is different in OO interface 2003-04-11 04:29:28 +00:00
Sara Golemon
8da5e8e48e Export constants to userland 2003-04-11 02:55:00 +00:00
Ilia Alshanetsky
4fbd27252d Fixed integer overflow inside mhash_keygen_s2k(). 2003-04-11 02:40:21 +00:00
Sterling Hughes
c013f78274 satisfy andi's switch fetish ;-) 2003-04-10 20:08:02 +00:00
Sebastian Bergmann
974f406eda Fix ZTS build. Fix warning. 2003-04-10 17:02:31 +00:00
Sebastian Bergmann
668fc20b97 Document 'const' keyword. 2003-04-10 16:54:46 +00:00
Sterling Hughes
0191ba5de1 allow expressions within constants, so the following is possible
class foo {
	const a = 1<<0;
	const b = 1<<1;
	const c = a | b;
}

this makes const a compile-time expression.  all other operators are
unaffected.
2003-04-10 15:43:47 +00:00
Christian Stocker
aa09b09e1a - More TSRMLS stuff.
- Fixed memleaks in domxml_doc_add_root, domxml_xslt_stylesheet
  and domxml_xslt_stylesheet_doc
- Completed implementation of domxml_doc_imported_node.
2003-04-10 12:45:38 +00:00
Stanislav Malyshev
6f08d5e759 Make Apache 2 define SG(request_info).path_translated like Apache 1 did. 2003-04-10 11:33:45 +00:00
Stanislav Malyshev
2849872f19 make Apache define SG(request_info).path_translted, like Apache 1 did. 2003-04-10 11:28:54 +00:00
Zeev Suraski
65f06d8027 Revert Harald's commit 2003-04-10 04:43:42 +00:00
Ilia Alshanetsky
8a9ff734a0 Fixed a crash in the query tracer output due to buffer overflow.
Fixed a crash in notice message for unbuffered query.
2003-04-10 04:35:39 +00:00
George Schlossnagle
dd090f4a77 One line fix so that it will compile 2003-04-10 03:11:27 +00:00
Harald Radi
07e775bcde removing the *syntactical sugar* again
# commiting that on behalf of the community :)
# don't blame me, i'm just acting as a proxy
2003-04-09 20:23:06 +00:00
Marcus Boerger
1cdd29eeef Fix ZTS build and warnings 2003-04-09 19:14:44 +00:00
Rasmus Lerdorf
861679d6c3 MFB: Forgotten _FORM -> _REQUEST change 2003-04-09 17:46:42 +00:00
Derick Rethans
429ae4e821 - Fixed printing the version string if it includes zend extensions in
text-mode
2003-04-09 15:19:07 +00:00
Edin Kadribasic
45d27aab68 *** empty log message *** 2003-04-09 12:03:58 +00:00
Christian Stocker
6f9d53e02d - Fixed some memleaks when using attributes
- Added attrnode->set_value()
(by Rob Richards)
2003-04-09 07:29:39 +00:00
Ilia Alshanetsky
7029ef01b3 Added missing bit from gd2.0.12 sync. 2003-04-09 01:55:48 +00:00
Marcus Boerger
bb0f885d51 Hopefully last fix on error reporting 2003-04-09 00:38:19 +00:00
Sara Golemon
87c5019dd2 Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending 2003-04-08 23:24:53 +00:00
Sara Golemon
41d4fcd0da Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents() 2003-04-08 22:10:15 +00:00
Sara Golemon
1e853b74a3 Added context support to file() 2003-04-08 21:00:07 +00:00
Christian Stocker
7467ad8c47 domdocument->free() was MFHd to PHP_4_3 branch. 2003-04-08 19:43:56 +00:00
Christian Stocker
7a14e6358a fixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname 2003-04-08 19:30:27 +00:00
Christian Stocker
00a18c470d NEWS entry fixes for domxml (more readable hopefully...) 2003-04-08 18:44:31 +00:00
Andrei Zmievski
591863d4b0 Switch some functions to use new zend_lookup_ns_class() methods. This
means that they will accept both simple and fully qualified class names.
2003-04-08 18:22:32 +00:00
Andrei Zmievski
e5f4c783bc Rename zend_register_internal_class_in_ns() to a better, less filling,
but with the same great taste zend_register_internal_ns_class().
2003-04-08 17:40:56 +00:00
Christian Stocker
b99146a5c7 make it possible to free DomHtmlDocuments as well 2003-04-08 17:22:19 +00:00
Andrei Zmievski
b18542ba68 Remove php_memnstr (it's in ZE now). 2003-04-08 17:15:43 +00:00
Andrei Zmievski
3b47a64269 Add zend_lookup_ns_class() function. 2003-04-08 17:10:01 +00:00
Andrei Zmievski
2154cddd0e Move memnstr into Zend and make an alias for BC in PHP. 2003-04-08 15:04:26 +00:00
Christian Stocker
50f5fcb0fe make it compile .... 2003-04-08 14:29:15 +00:00
foobar
a45b4258f0 file_set_contents -> file_put_contents 2003-04-08 14:12:52 +00:00
Christian Stocker
2c3dc13027 - Fixes a bunch of memleaks, especially with attributes (by Rob Richards and me)
- Added domdocument->free() for freeing documents during script-time
#will later merge to PHP_4_3
2003-04-08 13:19:49 +00:00
Tal Peer
487b190a41 FriBidi was moved to PECL long time ago 2003-04-08 11:35:23 +00:00
Sebastian Bergmann
11f53cd111 Fix Win32 build. 2003-04-08 07:36:58 +00:00
bf554c279f ChangeLog update 2003-04-08 00:31:01 +00:00
Ilia Alshanetsky
b2e521a178 Fixed bug #23102 (integer overflow in exif_iif_add_value()). 2003-04-08 00:18:57 +00:00
Sara Golemon
8001f2922c Add context support to file_get_contents 2003-04-08 00:02:47 +00:00
foobar
2bbe8da8cd Removed entry that is in the PHP_4_3 branch.. 2003-04-07 23:20:29 +00:00
foobar
ae9dc1f306 reorder 2003-04-07 23:19:22 +00:00