Stanislav Malyshev
5b98a09219
Custom object serializer infrastructure
...
# The detailed announce on the list will follow
2005-02-23 11:15:51 +00:00
Dmitry Stogov
57d2c2bb83
Fixed possible memory corruption
2005-02-20 10:19:11 +00:00
Marcus Boerger
a29f5391db
- Cleanup foreach handling
2005-02-11 22:26:45 +00:00
Dmitry Stogov
c91218ae8a
Fixed bug introduced with foreach() optimization patch
2005-02-07 17:54:58 +00:00
Dmitry Stogov
625e06f454
Fixed FE_RESET/FE_FETCH bug.
...
Now FE_RESET instruction takes jump-address from itself, not from the following FE_FETCH instruction.
2005-02-07 16:44:00 +00:00
Dmitry Stogov
fc96c7f7fa
foreash($a as $key => $val) optimization
...
Removed temorary array creation on each iteration.
2005-02-07 16:09:54 +00:00
Marcus Boerger
2d13dd0ef0
- Remove part of the cleanup which causes a problem with unnormal code
...
like tests/lang/040.phpt
# However there is a memleak introduced somewhen after august 04 for such
# code now, 5.0 and 4.3 are fine though.
2005-02-07 15:22:38 +00:00
Marcus Boerger
662cd8262e
- Cleanup foreach statement
2005-02-05 14:01:59 +00:00
Andi Gutmans
8838c0f860
- Two new API calls for Derick (retreive CV name and value) by Dmitry
2005-01-22 02:29:18 +00:00
Dmitry Stogov
57a0c3e159
Fixed patch for bug #31478 (SegFault/Memory Leak with empty())
2005-01-18 12:01:31 +00:00
Moriyoshi Koizumi
357b0c34b6
- Fix bug #31478 (segfault with empty())
2005-01-11 17:17:48 +00:00
foobar
4cf9d27072
- Fixed bug #28930 (PHP sources pick wrong header files generated by bison)
2004-12-30 15:18:24 +00:00
Dmitry Stogov
7c83c4e418
Fixed bug #30922 (reflective functions crash PHP when interfaces extend themselves)
2004-12-06 11:53:30 +00:00
Andi Gutmans
f2c7379ca7
- One more test (WS)
2004-10-16 23:17:58 +00:00
Andi Gutmans
30ff6d2836
- WS fix to test commit
2004-10-16 23:16:50 +00:00
Anantha Kesari H Y
c3dbe168fb
Fix for 30457
2004-10-16 09:28:45 +00:00
Andi Gutmans
3e382a7d06
- Don't allow access modifiers in interfaces. Explicitly stating public
...
- should also be disallowed but we don't have a way to detect it today.
2004-10-13 01:04:08 +00:00
Marcus Boerger
f71644b480
- Revert automatic pass arg_info
...
# We need to find a better solutions to prevent havy extension writer probs
2004-10-08 22:17:32 +00:00
Andi Gutmans
f9aef18c86
- Fix BC break with default in switch() having to be at the end.
2004-10-08 18:50:00 +00:00
Marcus Boerger
f916d603ef
- Add arginfo ZEND_ARG_SEND_AUTOMATIC which lets the compiler automatically
...
determine whether pass by ref is possible or pass by value is needed.
# This is usefull when functions take array or string parameters as
# expressions. In such a case force by ref is not applicable and the
# executor would copy the variable unnecessarily as soon as it is at least
# once referenced.
2004-10-05 18:36:46 +00:00
Andi Gutmans
db507dd153
- Commit the variable fetch optimization.
...
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
2004-10-04 19:54:35 +00:00
Marcus Boerger
8e09f92917
- Fix warning
2004-09-27 08:46:12 +00:00
Andi Gutmans
d8efe626b5
- Fix bug #27669 (Dmitry).
...
Fixes:
<?
class A
{
function hello()
{
echo "Hello World\n";
}
}
$y[0] = 'hello';
A::$y[0]();
?>
2004-09-16 00:40:38 +00:00
Andi Gutmans
ab52308356
- This one fixes rather strange problem - ZE allows multiple declarations of the same class constant.
...
- It could be a minor BC break, but I'm sure it's a bug. (Antony Dovgal aka tony2001)
2004-09-10 06:13:13 +00:00
Andi Gutmans
6bd3c36a53
- Recommit:
...
- Check signature of magic methods
- Register __get/__set/__call for internal classes
2004-09-09 16:51:45 +00:00
Andi Gutmans
96ab56e146
- Roll back VM commit
2004-09-09 16:47:22 +00:00
Marcus Boerger
be24e2455c
- Check signature of magic methods
...
- Register __get/__set/__call for internal classes
2004-09-09 09:51:43 +00:00
Sebastian Bergmann
aab4ad1a8e
Fugbix typo.
2004-09-02 17:27:44 +00:00
Marcus Boerger
1e708a5aeb
Bugfix #29882 isset crashes on arrays
2004-08-29 13:28:03 +00:00
Marcus Boerger
ec4f576cb3
Enforce semantics: Classes cannot extend Interfaces
2004-08-26 22:59:25 +00:00
Marcus Boerger
08c344c293
Drop doubled check
2004-08-26 22:32:38 +00:00
Marcus Boerger
690b45afaa
- Bugfix #29828 Interfaces no longer work
2004-08-26 22:25:55 +00:00
Marcus Boerger
efbfaec0a3
- Drop unused variable
2004-08-23 20:58:48 +00:00
Andi Gutmans
51501e8de0
- Improve performance of switch()
2004-08-23 20:16:35 +00:00
Sara Golemon
b5547442e5
Bugfix#29777 Some compilers don't like // style comments
2004-08-21 00:00:16 +00:00
Marcus Boerger
ce8331f9a5
Remove unnecessary check
2004-08-15 15:48:32 +00:00
Marcus Boerger
e45270dd2f
Add missing check
2004-08-14 19:02:17 +00:00
Andi Gutmans
993f70c1d2
- Don't use magic numbers
2004-08-12 05:54:11 +00:00
Andi Gutmans
de25255b6d
- Significantly improve performance of foreach($arr as $data). (Marcus)
2004-08-12 05:41:01 +00:00
Marcus Boerger
a0ff48dbd3
- Change to use memcmp instead of strcmp
2004-08-02 22:41:34 +00:00
Andi Gutmans
57d57237cf
- Fix typo
2004-08-02 17:36:45 +00:00
Marcus Boerger
5f0433db83
MFB: Enforce protocol on magic methods/functions
2004-08-02 08:27:57 +00:00
Sara Golemon
d96e7a170c
Revert goto opcode
2004-07-29 17:45:31 +00:00
Sara Golemon
8c844fdde3
Plug some memory leaks and promote unknown label to E_ERROR.
...
If someone tries to jump to a non-existant label execution really
shouldn't try to carry on.
2004-07-29 16:36:00 +00:00
Sara Golemon
5865b3680a
Add goto operator by popular request.
2004-07-29 15:23:47 +00:00
Stanislav Malyshev
7bdc6d4bf4
add todo
2004-07-20 08:58:18 +00:00
Marcus Boerger
374ac86e33
#28589 : Segfault in Reflection API
2004-05-31 21:38:01 +00:00
Andi Gutmans
4f77a021ce
- Don't allow passing NULL to type hinted parameter.
2004-05-11 14:28:40 +00:00
Andi Gutmans
399073f9d4
- Fixed bug #27923 . foreach() without a key should not check if the key
...
- is a reference (Adam)
2004-04-23 21:53:46 +00:00
Zeev Suraski
242aa98b0a
Restore fatal error in case a method that's supposed to implement an
...
interface/abstract method, breaks its prototype
2004-04-21 08:44:37 +00:00