Commit Graph

11740 Commits

Author SHA1 Message Date
Andrei Zmievski
7b7f46aa2d - Fix memory leak when accessing undefined index or property.
- Only invoke call_get_handler() on an object in the chain if it's overloaded.
2001-12-07 22:03:19 +00:00
Markus Fischer
363a8b69c9 - Fix crash with invalid option to xslt_set_scheme_handlers(). 2001-12-07 18:16:29 +00:00
Sterling Hughes
751d155b96 Jani's AIX fixes 2001-12-07 17:37:00 +00:00
Rasmus Lerdorf
ff3774d1ee Let's not crash when no error str has been set 2001-12-07 17:29:53 +00:00
Dan Kalowsky
89aa330637 Fix for bug #13628.
# basically handles a SQL_ERROR case for all odbc_execute()'s
2001-12-07 17:21:49 +00:00
Thies C. Arntzen
9fff2f7bbe fix #13801 (imap_rfc822_parse_adrlist changes arg1) 2001-12-07 16:48:36 +00:00
Andrei Zmievski
480d2b5624 Make sure refcount is 1 on stack zval. 2001-12-07 14:30:55 +00:00
Hartmut Holzgraefe
8e29c1e9ee old stuff removed 2001-12-07 14:25:10 +00:00
Sterling Hughes
d95a4e2c19 Fix long2ip's handling of unsigned longs, by accepting a string argument and
then manually converting the string to an unsigned long using strtoul()
2001-12-07 13:20:18 +00:00
Hartmut Holzgraefe
836e8af6ff proto fixes 2001-12-07 10:17:20 +00:00
Hartmut Holzgraefe
7c8dc40fe3 proto fix 2001-12-07 10:10:47 +00:00
Hartmut Holzgraefe
126e776bb1 - proto descriptions
- changed to new parameter parser api
- changed to K&R style
- various cleanups
2001-12-07 09:49:26 +00:00
Egon Schmid
b847333273 Fixed one proto. 2001-12-07 09:47:35 +00:00
Egon Schmid
9f456af68b Fixed some protos. 2001-12-07 09:34:50 +00:00
Stig Bakken
9b17045bdd * configure help indent fix 2001-12-07 09:08:02 +00:00
Hartmut Holzgraefe
94737d086f proto fix 2001-12-07 07:27:00 +00:00
Hartmut Holzgraefe
15515da8a2 protos prepared 2001-12-07 07:21:05 +00:00
Andrei Zmievski
1ec143228a All right, let people RTFM. 2001-12-07 06:19:20 +00:00
Andrei Zmievski
9a1f3b48a9 Add fold markers in strategic places and improve MINIT function a bit. 2001-12-07 06:15:02 +00:00
Andrei Zmievski
ecd484ac21 If the method exists in object's function table, call it directly without
using __call() handler.
2001-12-07 06:08:15 +00:00
Andrei Zmievski
9789e43af1 Support overloaded method calls via __call(). 2001-12-07 05:46:02 +00:00
Doug MacEachern
1b35f3bcfc apr_table_elts are now const 2001-12-07 05:34:44 +00:00
Doug MacEachern
27018c0ff0 rename functions to match those supported in the apache 1.3 module:
apache_sub_request -> virtual
 get_all_headers    -> getallheaders
2001-12-07 05:31:07 +00:00
3c03232b35 ChangeLog update 2001-12-07 01:10:36 +00:00
8e4a4d2d60 NEWS update 2001-12-07 01:10:33 +00:00
Hartmut Holzgraefe
8b95f1005f added protos (but without description yet) 2001-12-06 22:27:49 +00:00
Hartmut Holzgraefe
6ebc57505c some cleanup of ext_skel stuff 2001-12-06 21:55:34 +00:00
Hartmut Holzgraefe
bd1ac39821 whitespace/indent 2001-12-06 21:51:52 +00:00
Hartmut Holzgraefe
49cc65cdae renamed rot13 to str_rot13() 2001-12-06 21:39:01 +00:00
Hartmut Holzgraefe
7a3c3e85ad proto fix 2001-12-06 19:18:41 +00:00
Doug MacEachern
543d76185d need to call ap_destroy_sub_req() before RETURN_TRUE in apache_sub_req()
(Jon Parise <jon@php.net>)
2001-12-06 19:03:29 +00:00
Hartmut Holzgraefe
71028d46cf ported rot13() from php3 2001-12-06 19:02:27 +00:00
foobar
7decb9dae5 Fix shared extension linking when compiling with e.g. CGI sapi. 2001-12-06 19:01:43 +00:00
Hartmut Holzgraefe
c1626365f9 proto fixes 2001-12-06 18:59:22 +00:00
Hartmut Holzgraefe
552ee2a247 proto fixes 2001-12-06 18:37:05 +00:00
Andi Gutmans
055709538c - Support constants. The following works now:
<?
	class foo {
		const GC = "foo constant\n";
	}

	define("GC", "Global constant\n");

	namespace;
	print GC;
	namespace foo;
	print GC;
	namespace;
	print foo::GC;

?>
2001-12-06 18:05:18 +00:00
Hartmut Holzgraefe
250aded265 proto fixes 2001-12-06 17:51:48 +00:00
Andi Gutmans
42486196ad - Initial work on changing namespace scope. Only methods & variables
- right now.
<?
	$hey = "Global hey\n";

	class foo {
		static $hey = "Namespace hey\n";
		function bar()
		{
			print "in foo::bar()\n";
		}
	}
	function bar()
	{
		print "in bar()\n";
	}

	bar();
	namespace foo;
	bar();
	namespace;
	bar();
	namespace foo;
	$bar_indirect = "bar";
	$bar_indirect();

	namespace;
	print $hey;
	namespace foo;
	print $hey;
	$hey = "Namespace hey #2\n";
	namespace;
	print $hey;
	$hey = "Global hey #2\n";
	namespace foo;
	print $hey;
?>
2001-12-06 17:47:04 +00:00
Andi Gutmans
fe94f59427 - Nuke the namespace work I did. It'll be redone differently. 2001-12-06 17:23:08 +00:00
Hartmut Holzgraefe
75b47ad142 fixing the proto fixes 2001-12-06 17:18:10 +00:00
Hartmut Holzgraefe
38472b48d7 proto fix 2001-12-06 17:15:59 +00:00
Hartmut Holzgraefe
b74a38968a proto fix (sort of) 2001-12-06 17:11:42 +00:00
Hartmut Holzgraefe
e5f4a7541d proto fixes 2001-12-06 17:09:09 +00:00
Zeev Suraski
990e2612cc Work around a quirk in the MySQL client library to fix unbuffered queries 2001-12-06 15:04:23 +00:00
Zeev Suraski
a702dc02f9 Fix session_unregister() 2001-12-06 14:20:20 +00:00
Zeev Suraski
2258453ba3 Remove PS_DEL_VAR macro, always use PS_DEL_VARL() 2001-12-06 13:33:10 +00:00
Sterling Hughes
84ed9d387f use PHP_INFO_ALL and PHP_CREDITS_ALL instead of hardcoding them 2001-12-06 13:31:34 +00:00
Sterling Hughes
91c6db000f 2 arguments, not 3 2001-12-06 11:44:38 +00:00
Markus Fischer
2b615c3ba4 - Prototype new parameter which forces the creation of new links. 2001-12-06 09:56:24 +00:00
foobar
d46f919bc1 Ignore .reg files created by pear_registry test. 2001-12-06 05:42:28 +00:00