Andi Gutmans
|
e858d27888
|
- Initial support for class constants. There are still a few semantic
- issues which need to be looked into but basically it seems to work.
- Example:
<?php
class foo
{
const hey = "hello";
}
print foo::hey;
?>
|
2001-11-30 16:29:47 +00:00 |
|
Andi Gutmans
|
d2da63f629
|
- Support static members. The following script works:
<?
class foo
{
class bar
{
function init_values()
{
for ($i=1; $i<10; $i++) {
foo::bar::$hello[$i] = $i*$i;
}
}
function print_values()
{
for ($i=1; $i<10; $i++) {
print foo::bar::$hello[$i] . "\n";
}
}
}
}
foo::bar::init_values();
foo::bar::print_values();
for ($i=1; $i<10; $i++) {
print $hello[$i]?"Shouldn't be printed\n":"";
}
?>
|
2001-11-25 08:49:09 +00:00 |
|
Andi Gutmans
|
559d611a86
|
- MFZE1
|
2001-11-24 18:27:20 +00:00 |
|
Andi Gutmans
|
a332f826a7
|
- Support instantiation of nested class. The following script now should
- work:
-<?php
- class foo
- {
- function bar()
- {
- print "bar() in class bar\n";
- }
-
- class barbara
- {
- function bar()
- {
- print "bar() in class foo::barbara\n";
- }
- }
- }
-
- $obj = new foo();
- $obj->bar();
-
- $obj = new foo::barbara();
- $obj->bar();
-
|
2001-11-04 19:30:49 +00:00 |
|
Andi Gutmans
|
b87194e0c6
|
- Add constructor to the zend_class_entry instead of looking it up each
- time by name.
- This will allow the next patch of being able to instantiate nested
- classes such as new foo::bar::barbara();
|
2001-11-03 11:59:14 +00:00 |
|
Andi Gutmans
|
26578c386d
|
- Initial support for nested class definitions
|
2001-10-29 17:19:02 +00:00 |
|
Zeev Suraski
|
8b53a129f7
|
MFTGZE1
|
2001-10-27 09:43:38 +00:00 |
|
Andi Gutmans
|
2eabb14dc7
|
- Merge the NAMESPACES_BRANCH. It wasn't a good idea to have a branch when
- the whole CVS tree is work in progress
|
2001-09-30 17:29:55 +00:00 |
|
Andi Gutmans
|
560606d210
|
- Get rid of warning and C++ comments
|
2001-08-30 15:31:35 +00:00 |
|
Andi Gutmans
|
29f5dbe10b
|
- Initial support for exceptions.
|
2001-08-30 15:26:30 +00:00 |
|
Zeev Suraski
|
4684d5f405
|
MFZE1
|
2001-08-30 12:08:23 +00:00 |
|
Andi Gutmans
|
d87fa22532
|
- Merge Sterling's patches from ZE1
|
2001-08-18 18:16:49 +00:00 |
|
Andrei Zmievski
|
ea315a2e70
|
MFZE1
|
2001-08-17 17:42:43 +00:00 |
|
Andi Gutmans
|
f909ff9ed0
|
- Try and nuke get_object_zval_ptr()
|
2001-08-16 15:01:25 +00:00 |
|
Andi Gutmans
|
ea48c0c46a
|
- Fix a bug in method calls.
- Try to get the old copying behavior of objects to work (doesn't work yet).
|
2001-08-16 14:04:04 +00:00 |
|
Andi Gutmans
|
33539126d0
|
- MFZE1
|
2001-08-13 18:33:41 +00:00 |
|
Andi Gutmans
|
30bad123f0
|
- MFZE1
|
2001-08-13 15:38:07 +00:00 |
|
Andi Gutmans
|
b6eb324cd2
|
- Merge from Engine 1
|
2001-08-13 15:23:37 +00:00 |
|
Andi Gutmans
|
5af7770a81
|
- Sync Engine2 CVS with latest Engine CVS
|
2001-08-07 03:17:33 +00:00 |
|
Andi Gutmans
|
e6697297b6
|
- Move to using Z_ macros
|
2001-08-06 02:52:03 +00:00 |
|
Zeev Suraski
|
7ecb33868c
|
require_once()/include_once will return true in case a file was not included
because it was already included earlier.
Changed the default return value type of the include() family from long to
boolean
|
2001-08-02 17:27:19 +00:00 |
|
Zeev Suraski
|
d76cf1da18
|
More TSRMLS_FETCH work
|
2001-07-31 04:53:54 +00:00 |
|
Zeev Suraski
|
4187439cff
|
More TSRMLS_FETCH work
|
2001-07-30 07:43:02 +00:00 |
|
Zeev Suraski
|
8ce8324e59
|
More TSRMLS_FETCH annihilation
|
2001-07-30 04:54:16 +00:00 |
|
Zeev Suraski
|
b57703825b
|
Avoid TSRMLS_FETCH()'s (still lots of work left)
|
2001-07-30 01:48:22 +00:00 |
|
Zeev Suraski
|
b4f3b9d3ce
|
Redesigned thread safety mechanism - nua nua
|
2001-07-28 10:51:54 +00:00 |
|
Zeev Suraski
|
2c254ba762
|
Get rid of ELS_*(), and use TSRMLS_*() instead.
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
|
2001-07-27 10:10:39 +00:00 |
|
Zeev Suraski
|
06fc55cc67
|
Revert bogus patch
|
2001-07-19 14:11:40 +00:00 |
|
Zeev Suraski
|
553505cb61
|
Fix bug #11970
|
2001-07-15 16:51:30 +00:00 |
|
Zeev Suraski
|
85b4df53c0
|
Improved interactive mode - it is now available in all builds, without any significant slowdown
|
2001-07-15 14:08:58 +00:00 |
|
Zeev Suraski
|
2536259557
|
Fix leak in the patch, and revert a couple of lines I didn't mean to commit
|
2001-06-27 15:47:31 +00:00 |
|
Zeev Suraski
|
ee115c8ecc
|
- Warn about illegal offsets
- Allow assignments to uninitialized string offsets (automatically pads the
string with spaces)
|
2001-06-27 15:40:49 +00:00 |
|
Andi Gutmans
|
5bf89ce61c
|
- Hopefully fix bug #11476 and improve garbage to be freed very quickly.
Tree tagged as PRE_GRANULAR_GARBAGE_FIX before commiting.
|
2001-06-21 22:30:23 +00:00 |
|
Andi Gutmans
|
8cd70926c5
|
- Nuke dependency of all of PHP on zend_execute_locks.h.
|
2001-06-21 21:17:10 +00:00 |
|
Zeev Suraski
|
851b1e3b35
|
Eliminate the leak that the original bogus code tried to solve
|
2001-06-21 15:33:55 +00:00 |
|
Zeev Suraski
|
cb0d2775fb
|
parent::methodname() now works better with runtime classes (fix bug #11589)
|
2001-06-21 14:53:05 +00:00 |
|
Zeev Suraski
|
3276cfd950
|
Fix bug #11590 (I want Andi to also review this patch before it goes into 4.0.6)
|
2001-06-21 08:17:09 +00:00 |
|
Andi Gutmans
|
1aa5b19cc9
|
- Fix string offsets crash.
|
2001-06-20 17:14:58 +00:00 |
|
Zeev Suraski
|
0c164128f8
|
Add missing exports
|
2001-06-19 08:52:19 +00:00 |
|
Zeev Suraski
|
38085881a6
|
Fix warning
|
2001-06-19 08:42:22 +00:00 |
|
Zeev Suraski
|
f78e65cabf
|
Floating point keys didn't work in array() (fix bug #6662)
|
2001-05-06 15:39:27 +00:00 |
|
Andi Gutmans
|
2d9eac7e0e
|
- Patch by Andrei to prevent crash in error situation when not all
object overloading handles are defined.
|
2001-05-02 19:51:33 +00:00 |
|
Andi Gutmans
|
90cf65411c
|
- Fix for crash bug when using invalid arguments in the foreach() loop.
- Reported by Yasuo Ohgaki
|
2001-04-20 07:09:22 +00:00 |
|
Andi Gutmans
|
492a619be3
|
- Whitespace
|
2001-03-10 09:21:48 +00:00 |
|
Zeev Suraski
|
36ded42156
|
Make parent:: work in runtime bindings as well
|
2001-03-07 10:07:25 +00:00 |
|
Zeev Suraski
|
87ee97e303
|
Fix bug #8899 (thanks Jani)
|
2001-03-04 22:27:56 +00:00 |
|
Andi Gutmans
|
d2c9e8074c
|
- Update copyright year
|
2001-02-26 05:43:27 +00:00 |
|
Andi Gutmans
|
e0b2a5f583
|
- Remove duplicate code and do a tiny optimization in DO_FCALL
|
2001-02-09 12:47:57 +00:00 |
|
Zeev Suraski
|
c3531b3750
|
Fix string offset data corruption
|
2001-02-05 22:27:47 +00:00 |
|
Andi Gutmans
|
f67df57491
|
- That doesn't seem like a smart thing to do :)
- I wonder if gcc optimized it out.
|
2001-01-27 12:29:02 +00:00 |
|