Derick Rethans
6535933f7c
- Replaced the exec_finished hook by the zend_post_deactive hook for
...
extensions. The new hook will be run after the symbol table and destructors
are run. (Derick)
2004-03-16 22:27:26 +00:00
Derick Rethans
f59ac64430
- Bump API number so that it actually differs from PHP 4. This is needed
...
because we don't want PHP 4 and PHP 5 extensions to be in the same directory
when doing "make install" for shared, or phpize'd extensions.
2004-03-16 21:32:40 +00:00
Marcus Boerger
cbaa43ff12
Fix SEGV in certain conditions while calling static methods
2004-03-16 21:29:22 +00:00
Zeev Suraski
e2a5ebf597
Add ability to disable JIT for a particular auto global
2004-03-16 19:46:04 +00:00
Marcus Boerger
6e8c176a9d
TSRM fix
2004-03-16 18:04:25 +00:00
Sascha Schumann
b74128db59
Enable ptr format check for GCC 3.1 and higher
2004-03-16 17:35:57 +00:00
Ilia Alshanetsky
365f0120fe
Do not allow 3.0.4 for __attribute__.
2004-03-16 16:42:12 +00:00
Ilia Alshanetsky
fa5f52718a
Fixed bug #27600 (GCC 3.0.4 does not like __attribute__ directive)
2004-03-16 16:36:54 +00:00
Andi Gutmans
6a31fb9bb0
- Fix problem when using old-style constructors it wasn't being inherited
...
correctly.
2004-03-16 15:22:44 +00:00
Derick Rethans
b0dbd2abcc
- Spaces to tabs
2004-03-16 14:59:06 +00:00
Andi Gutmans
833b97d4c2
- If the called method is static then don't define $this
2004-03-16 14:49:52 +00:00
Andi Gutmans
0041aff953
- Error out if get_method() isn't defined.
...
- Use calling scope of internal function callee when calling a method
using static syntax (array("A", "func"));
2004-03-16 14:39:07 +00:00
Marcus Boerger
09e76476ef
Improve error message
2004-03-16 10:14:57 +00:00
3b2f56275a
ChangeLog update
2004-03-16 01:32:56 +00:00
Andi Gutmans
dae7093d93
- Restore E_NOTICE for longs and doubles.
2004-03-15 16:55:20 +00:00
foobar
97f81830b8
- Fixed bug #24582 (extensions can not be loaded dynamically in Solaris/iPlanet)
2004-03-15 16:06:29 +00:00
Andi Gutmans
14d711b9bb
- Nuke E_NOTICE. This caused a notice when doing if ($obj == NULL)
2004-03-15 14:15:47 +00:00
7c0a993cc3
ChangeLog update
2004-03-15 01:33:46 +00:00
Marcus Boerger
4efbb35067
Make object parameter optional
2004-03-14 22:40:25 +00:00
Ilia Alshanetsky
4c283fff27
Fixed bug #27590 (crash during shutdown when freeing persistent resources
...
in ZTS mode).
2004-03-14 20:11:13 +00:00
Andi Gutmans
1aedb9615a
- Fix windows build
2004-03-14 18:00:40 +00:00
Andi Gutmans
37d713ea49
- Fix for bug #27504
2004-03-14 17:52:58 +00:00
Andi Gutmans
47cb3323a8
- Fixing bug #27123
2004-03-14 17:16:31 +00:00
Andi Gutmans
f11c819ddb
- Improve compatibility mode and compare objects according to property
...
- comparison (sucky but this is how PHP 4 behaved).
2004-03-14 15:56:03 +00:00
Andi Gutmans
7901a2218c
- Fix flow of logic
2004-03-14 15:50:51 +00:00
Andi Gutmans
515e28ed5b
- Support old style of converting objects to long/double/bool.
...
- This is only enabled in compatibility mode, else it calls cast_object()
- and if that is not available we return 1 (true) so that the following
- code would work:
if ($obj) {
}
2004-03-14 15:45:09 +00:00
Marcus Boerger
2917102e3f
Fix: Add return type void
2004-03-14 15:27:56 +00:00
Andi Gutmans
88de69b97c
- Support Cast operator in convert_to_* so that we support internal
...
- extensions such as SimpleXML. This is for Sterling.
2004-03-14 13:52:36 +00:00
Andi Gutmans
4f897b2f3c
- Fix memory leak in the following code (Dmitry):
...
<?php
$a = array();
$a .= "x";
?>
2004-03-14 13:14:48 +00:00
Andi Gutmans
52cd980702
- Initial commit which allows comparing overloaded objects with native
...
- types (only for internal classes and not for user-land classes).
2004-03-14 12:44:28 +00:00
3b9cbffeec
ChangeLog update
2004-03-12 01:34:03 +00:00
Andi Gutmans
a87cc63aaa
- Real fix for bug #27535 (Dmitry)
2004-03-11 13:40:19 +00:00
Andi Gutmans
aa472500e1
- Attempt to fix bug #27535
2004-03-11 13:27:18 +00:00
25adeaf77c
ChangeLog update
2004-03-10 01:32:01 +00:00
Marcus Boerger
6a8a25567f
Rename hasMore() to valid() as discussed. (Part VI)
2004-03-09 16:53:12 +00:00
Marcus Boerger
50ee116f08
Clearify the different method/class flags (as discussed with Andi).
2004-03-09 16:38:37 +00:00
Marcus Boerger
494d8207fe
No longer needed
2004-03-09 15:53:42 +00:00
Andi Gutmans
f30b51f5b9
- Fix crash:
...
<?php
class ResourceFormat
{
const IMG = 1;
}
class Image
{
const RESOURCE_FORMAT = ResourceFormat::IMG;
}
print_r(constant('Image::RESOURCE_FORMAT'));
?>
2004-03-09 15:37:18 +00:00
Andi Gutmans
0fc9d5861d
- Nuke unused code.
2004-03-09 15:27:39 +00:00
7f74901434
ChangeLog update
2004-03-09 01:34:32 +00:00
Marcus Boerger
6b0f57ee50
Rename hasMore() to valid() as discussed. (Part II)
2004-03-08 18:05:41 +00:00
Marcus Boerger
b6b7c9eb65
Rename hasMore() to valid() as discussed. (Part I)
2004-03-08 17:33:31 +00:00
Marcus Boerger
c3b06ea21e
Check count.
2004-03-08 16:52:59 +00:00
Marcus Boerger
5208baee49
Add another missing conversion
2004-03-08 00:19:43 +00:00
e37f4db03d
ChangeLog update
2004-03-06 01:32:09 +00:00
Andi Gutmans
2af86692ea
- Fix some small problems I introduce in last patch.
2004-03-05 17:18:34 +00:00
Andi Gutmans
74775aa41a
- Finally fix the following:
...
$xml_mem = simplexml_load_string('<bookbody><part><chapter><page>1</page></chapter></part></bookbody>');
/* The following works fine */
foreach ($xml_mem->part as $part) {
foreach($part->chapter->page as $page) {
print $page;
}
}
/* The following segfaults */
foreach ($xml_mem->part as $part) {
foreach($part->chapter as $chapter) { // Difference here from previous example
print $chapter;
}
}
2004-03-05 13:04:21 +00:00
c851067bf9
ChangeLog update
2004-03-05 01:31:59 +00:00
Moriyoshi Koizumi
c0aabb79b2
- Fix memleak when scanner is called from within tokenizer extension.
...
# (only happens with zend multibyte feature enabled)
2004-03-04 22:50:55 +00:00
Stanislav Malyshev
97e7ce733a
fix the fix
2004-03-04 13:11:03 +00:00