Dmitry Stogov
64931b62cc
Allow recursive calls to __get/__set for different properties
2005-11-15 13:35:23 +00:00
Dmitry Stogov
248345d920
Support for class constants and static members for internal classes
2005-09-01 10:05:32 +00:00
Andi Gutmans
eeecc8a015
- No release today. Found a critical bug...
2005-08-09 05:40:56 +00:00
Andi Gutmans
01d8e59d3b
- RC1
2005-08-09 05:08:59 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Andi Gutmans
bdf2753ee8
- Back to -dev
2005-07-14 14:01:02 +00:00
Andi Gutmans
a007ddb190
- Beta 3
2005-07-14 13:44:03 +00:00
Andi Gutmans
f030fe2f3a
- Back to -dev
2005-07-12 20:25:28 +00:00
Andi Gutmans
897818e1a0
- Beta 3
2005-07-12 19:59:52 +00:00
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
2005-07-07 16:07:09 +00:00
Andi Gutmans
ec92bb884e
- Back to -dev
2005-06-23 04:20:49 +00:00
Andi Gutmans
fe238490f9
- Beta 2
2005-06-23 03:56:37 +00:00
Andi Gutmans
da201c1be8
- Back to -dev. Guys (n' Girls), give at least 1 hour before you start
...
- complaining about not going back to -dev. I like checking the tarball
- before I change it back.
2005-06-21 16:31:19 +00:00
Andi Gutmans
9bf68ef6c5
- Take #3 :)
2005-06-21 15:44:50 +00:00
Andi Gutmans
cf0c7a9f5a
- Back to -dev
2005-06-20 22:34:57 +00:00
Andi Gutmans
fd3d8e9537
- Beta 2
2005-06-20 20:49:56 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +00:00
Dmitry Stogov
47676bc067
Fixed OS X compatibility
2005-06-15 19:05:55 +00:00
Dmitry Stogov
cec2347c96
Fixed bug #33212 ([GCC 4]: 'zend_error_noreturn' aliased to external symbol 'zend_error').
...
The fix is not tested on Solaris and DARWIN!
2005-06-13 11:22:59 +00:00
Andi Gutmans
16bbd70cd5
- Back to -dev
2005-06-11 17:03:42 +00:00
Andi Gutmans
e0787f3d24
- b2 (will post it to internals@)
2005-06-11 16:59:24 +00:00
Andi Gutmans
0638c657e1
- Back to -dev
2005-06-10 18:29:10 +00:00
Andi Gutmans
3b1f8e9ad7
- Go with 5.1.0b1
2005-06-10 18:06:43 +00:00
Marcus Boerger
757da1eed5
- New Interface Serializeable
...
- Change signature of unserialize() callback to ease inheritance and
support code reuse of handlers
2005-03-07 22:23:14 +00:00
Stanislav Malyshev
5b98a09219
Custom object serializer infrastructure
...
# The detailed announce on the list will follow
2005-02-23 11:15:51 +00:00
Anantha Kesari H Y
8eb3b715d1
NetWare can include autoconf generated config headers
2005-02-22 08:48:33 +00:00
Dmitry Stogov
fd4fe1c8d3
Fixed bugs #29767 and #31683 (__get and __set methods must not modify property name).
2005-02-02 07:19:22 +00:00
foobar
601140cbe9
New versions of glibc support a RTLD_DEEPBIND flag to dlopen. The
...
effect of this flag when loading a "foo.so" with undefined symbols is
that the search that symbol starts at foo.so and its dependencies
*before* the loading process' global symbol table.
This is an effective workaround for symbol namespace collisions between
various modules and the libraries on which they depend (where fixing the
respective modules or libraries is not possible e.g. due to API
constraints).
(By: Joe Orton)
2005-01-25 13:08:05 +00:00
foobar
2c65e09a4b
- Revert the weird change of ZEND_STRS() macro and use the correct
...
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +00:00
Rasmus Lerdorf
2a3ca10a61
Fix OSX DL_UNLOAD macro and actually use it to make shared extensions
...
work on OSX.
2005-01-10 21:57:30 +00:00
foobar
a139dbf9cc
- Fix outside-source-tree builds. Always include generated header files
...
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
Moriyoshi Koizumi
ae78d7d4bf
- Checks for Darwin'ish systems that uses Mach-O, which apparently doesn't
...
support weak symbol aliasing at this time.
2004-11-03 23:05:18 +00:00
Marcus Boerger
4b10a2562a
Bump version (as discussed with Andi)
2004-10-30 22:56:59 +00:00
Marcus Boerger
e0ec7c981e
- Fix build
2004-09-26 22:19:57 +00:00
Andi Gutmans
f17aa81edc
- Apply Thies and Sterling's patch which doesn't call ctor/dtor functions
...
- for types which don't require it (BOOL/NULL/LONG/DOUBLE)
- Breaks serialization!!!
2004-09-26 20:03:54 +00:00
Anantha Kesari H Y
ff40ceab56
defined ZEND_PATHS_SEPERATOR to semicolon for NetWare
2004-09-22 12:49:08 +00:00
Zeev Suraski
85a36e2bc3
Fix reverse dependency
2004-09-05 22:40:35 +00:00
Andi Gutmans
7d80f82e70
- Fix MAC OSX to always use native DSO loading
2004-07-28 19:05:40 +00:00
Marcus Boerger
0cd2da0309
- Execute destructors earlier (Florian Schaper, fschaper at intux org)
2004-07-25 07:14:49 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Andi Gutmans
c18badbfbf
- 5.0.1-dev
2004-07-13 19:56:49 +00:00
Andi Gutmans
399e2ca69f
- Roll PHP 5.0.0
2004-07-13 19:05:31 +00:00
Andi Gutmans
0bdbbd379e
- Go back to -dev (Shouldn't need another RC)
2004-06-07 18:57:34 +00:00
Andi Gutmans
6f47156228
- Roll RC3
2004-06-07 14:23:45 +00:00
Andi Gutmans
02032ccf9f
- Prepare for RC3RC2
2004-06-03 08:17:15 +00:00
Andi Gutmans
e51105c6a6
- Back to RC3-dev until we roll final
2004-05-27 15:03:46 +00:00
Andi Gutmans
5a9d648f1f
- RC3RC1
2004-05-27 11:39:35 +00:00
Andi Gutmans
87a9f7bdbb
- RC3-dev
2004-04-25 10:13:08 +00:00
Andi Gutmans
94c44ea9eb
- RC2
2004-04-25 08:32:50 +00:00
Andi Gutmans
206f0da25a
- RC2-dev
2004-04-21 10:34:27 +00:00
Andi Gutmans
40c20d3d72
- Prepare for RC2RC2 (if everything is OK especially Zeev's interface
...
- patch I'll roll RC2 tomorrow).
2004-04-21 09:59:52 +00:00
Andi Gutmans
245dd7367d
- RC2-dev
2004-04-14 11:24:17 +00:00
Andi Gutmans
acc4cd17ce
- RC2RC1
2004-04-14 11:03:47 +00:00
Andi Gutmans
1c7cfe739d
- Nuke code which hasn't been in use for ages.
2004-04-03 11:09:39 +00:00
Marcus Boerger
5230321731
- Fix Reflection class names
...
- Add ability to get the extension an internal class was defined in
# This is the patch Andi and me used to search for underscrores...
2004-03-30 18:36:53 +00:00
Andi Gutmans
814000305a
- Back to RC2-dev
2004-03-18 15:27:28 +00:00
Zeev Suraski
aac5c1f6c5
Prepare to roll RC1
2004-03-18 14:12:27 +00:00
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
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
foobar
97f81830b8
- Fixed bug #24582 (extensions can not be loaded dynamically in Solaris/iPlanet)
2004-03-15 16:06:29 +00:00
Marcus Boerger
494d8207fe
No longer needed
2004-03-09 15:53:42 +00:00
Hartmut Holzgraefe
1727c6a2bb
more EXTERN_C wrapping of ZEND_API prototypes
2004-02-20 08:03:27 +00:00
Hartmut Holzgraefe
3a3f95a399
wrap ZEND_API prototypes into BEGIN_EXTERN_C/END_EXTERN_C
...
for C++ extension support
2004-02-18 22:44:40 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Zeev Suraski
e94e3e1775
Some cleanup
2003-12-14 12:32:02 +00:00
Ilia Alshanetsky
e2012609d6
Fixed extra byte allocation for TRUE/FALSE/ZEND_THREAD_SAFE/NULL constants.
2003-12-11 23:50:13 +00:00
Marcus Boerger
3c62b3b5ac
Expand Interface C API.
...
In short: zend_class_entry->interface_gets_implemented() allows to modify
the class entry of a class when an interface gets implemented.
2003-10-22 19:59:58 +00:00
Marcus Boerger
b0b82541e8
Fix class/iterator relationship & handling
2003-10-18 18:43:31 +00:00
Marcus Boerger
25aa8b715e
Added c-api for iterators
...
# After 4 Month work and endless discussions...
2003-10-17 17:19:44 +00:00
Moriyoshi Koizumi
149f786025
Bug #25738 (alloca() related problems on the Darwin platform)
2003-10-03 22:02:55 +00:00
Marcus Boerger
1c86e53204
Bugfix #25528 (by Ard Biesheuvel)
2003-09-14 01:20:25 +00:00
Marcus Boerger
d45fd8a1b1
Make vspprintf available as zend utility function. Use it in exception output.
2003-08-31 09:35:54 +00:00
Sascha Schumann
744c68e447
older gccs don't understand attribute((format)) on function pointers
2003-08-28 17:31:31 +00:00
Sascha Schumann
83bd1f4398
ZEND_GCC_VERSION should always be defined to a number so we can use
...
simple comparisons all the time.
2003-08-28 17:04:16 +00:00
Sascha Schumann
2e36578cfd
Add format attribute to a number of functions
...
Kill a few warnings
2003-08-28 16:41:20 +00:00
Sascha Schumann
169d43e5fa
cleanup & centralize ZEND_GCC_VERSION and ZEND_ATTRIBUTE_MALLOC so that
...
they can be used by downstream applications
2003-08-28 14:53:02 +00:00
foobar
28447d62da
- Fixed bug #25240 (spaces before pre-processor directives)
2003-08-25 23:24:29 +00:00
Zeev Suraski
49c4866a47
- Improve tracking
...
- Fix several overloading issues
2003-08-18 22:31:11 +00:00
Sascha Schumann
602d1b0045
One bit fields need to be unsigned, otherwise there is no storage for
...
the sign bit
"A signed bit field has a length of 1 bit."
2003-08-17 13:49:52 +00:00
Zeev Suraski
fe9b5870af
Add logical XOR, proves to be quite useful lately
2003-08-04 07:52:36 +00:00
Zeev Suraski
f8bbafd604
ntroduce infrastructure for supplying information about arguments,
...
including:
- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance
Both user and builtin functions share the same data structures.
To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:
ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();
and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.
The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.
The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
2003-08-03 17:40:44 +00:00
Zeev Suraski
2fd4ffce17
Add exec_finished() callback for modules - this is the last place where the
...
modules may touch the symbol table reliably
2003-07-30 16:13:52 +00:00
Stanislav Malyshev
237116aa27
Remove namespace leftovers
2003-07-23 08:58:46 +00:00
foobar
aad797691b
Fix the HPUX alloca fix as suggested by Sascha
2003-07-19 13:10:24 +00:00
Andi Gutmans
99d0a5c86e
- Don't use alloca on HP-UX (Moriyoshi Koizumi <moriyoshi@at.wakwak.com>)
2003-07-19 07:19:21 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Stanislav Malyshev
039c174337
rm namespace leftovers
2003-06-04 08:16:55 +00:00
Stanislav Malyshev
f7f5a5ea6b
MEGA-patch: namespaces are R.I.P.
2003-06-02 12:13:11 +00:00
Derick Rethans
bfaf618b08
- Revert my symbol fix patch, and merge in Stas' fixes to Zend Engine 1.
2003-04-18 17:55:45 +00:00
Derick Rethans
bd77233ee3
- MacOSX also prepends the _ before symbols in bundles
2003-04-18 11:35:22 +00:00
Andrei Zmievski
5657b83691
Multi-purpose patch:
...
- The fields of zend_namespace were not completely initialized which
led to a variety of problems.
- The occurrence of class/interface/namespace definition is now
captured.
- Functions/classes/interfaces/namespaces can be preceded by doc
comments which are stored for use by extensions.
2003-03-31 20:42:01 +00:00
Zeev Suraski
26dd8492ed
Add support for interfaces
2003-03-05 11:14:44 +00:00
Zeev Suraski
955636af69
Avoid using a C++ reserved word
2003-02-18 17:18:28 +00:00
Wez Furlong
e52aac940f
Implement simple stream support in the ZE scanners.
2003-02-18 09:37:54 +00:00
Stanislav Malyshev
a4c3b2ce80
Namespace patch. Big changes:
...
1. Nested classes are gone.
2. New syntax for namespaces:
namespace foo {
class X { ... }
function bar { ... }
var x = 1;
const ZZ = 2;
}
3. Namespaced symbol access: $x = new foo::X; - etc.
For now, namespaces are case insensitive, just like classes.
Also, there can be no global class and namespace with the same name
(to avoid ambiguities in :: resolution).
2003-02-16 11:12:43 +00:00
Zeev Suraski
c17c7a2bfa
Centralize class initialization
2003-02-10 16:11:24 +00:00
Zeev Suraski
17439aa9c4
Rework static class properties - now supports access restrictions
2003-02-05 13:35:52 +00:00
Zeev Suraski
471947b188
Reimplement PPP properties
2003-02-04 12:12:34 +00:00
Zeev Suraski
31196cf679
whitespace
2003-02-02 16:29:42 +00:00
foobar
333406bdc2
- Added some missing CVS $Id$ tags, headers and footers.
2003-02-01 01:49:15 +00:00
Sascha Schumann
7431b52291
Revert commit which turned the lengths of strings into zend_uint.
2003-01-15 19:10:14 +00:00
Stanislav Malyshev
d48ffd97d6
RIP handle_* functions. ZE2 will use __ handlers instead.
...
# Yes, I know this will break some things. I will fix those I can find shortly.
2003-01-12 17:16:07 +00:00
Sebastian Bergmann
24db7f182a
ZTS fixes.
2003-01-12 14:25:58 +00:00
James Cox
24d034251d
cvs is dev not alpha.
2003-01-08 17:30:49 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Zeev Suraski
e062dffe6c
- Implement public/protected/private methods.
...
- Prevent instantiation of classes with abstract methods.
Based in part on Marcus's patch.
2002-12-06 17:09:44 +00:00
Andi Gutmans
27de54b0df
- MFZE1
2002-12-01 19:47:02 +00:00
Andi Gutmans
f222884e2d
- Revert as the patch doesn't compile
2002-12-01 19:22:30 +00:00
Andi Gutmans
b6ecd6704c
- MFZE1
2002-12-01 19:07:07 +00:00
Zeev Suraski
4be862b02c
MFZE1 - error_reporting fix
2002-11-19 17:51:30 +00:00
Ilia Alshanetsky
32e8ee9bee
MFZE1
2002-11-11 16:32:57 +00:00
Zeev Suraski
bd115087e3
MFZE1 - connection_status() fix
2002-09-19 15:58:01 +00:00
Zeev Suraski
711be83d49
MFZE1 - threading fix
2002-09-17 12:42:11 +00:00
Andi Gutmans
e3ca0ff0b8
- Prepare for alpha 3
2002-09-08 15:33:54 +00:00
Stanislav Malyshev
d8651c82cd
Support for __get, __set and __call in classes.
...
This should work as follows: if class hasn't member with given name,
__get/__set is called. If class has no method with given name, __call is called.
__get/__set are not recursive, __call can be.
2002-09-04 09:07:58 +00:00
Zeev Suraski
e801a99a50
MFZE1
2002-09-03 10:25:06 +00:00
Sebastian Bergmann
cfad3c664f
Add html_errors to zend_utility_values. Patch by Jan Lehnardt <jan@php.net>.
2002-09-03 09:41:41 +00:00
Zeev Suraski
88d3154b68
MFZE1
2002-08-13 15:14:45 +00:00
Derick Rethans
0650a59aea
- MFZE1 - MacOSX fixes by Marko Karppinen
2002-07-18 11:16:34 +00:00
Andi Gutmans
bc5ea87e28
- Commit patch to support protected member variables (by Timm Friebe w/
...
- some fixes by me).
- You can't access protected variables from outside the object. If you want
- to see a protected member from your ancestors you need to declare the
- member as protected in the class you want to use it in. You can't
- redeclare a protected variable as private nor the other way around.
2002-07-15 18:09:56 +00:00
Andi Gutmans
f24cb9731c
- Get ready for alpha2
2002-06-29 19:37:10 +00:00
Andi Gutmans
6339bd5912
- Fix bug 15037
...
- Bump version to alpha2-dev
2002-06-29 07:35:41 +00:00
Andi Gutmans
ba72dbf37a
- MFZE1
2002-06-24 07:11:12 +00:00
Andi Gutmans
90f43c78b0
- This should improve performance on Windows
2002-06-08 13:01:05 +00:00
Venkat Raghavan S
bc95839f19
NetWare changes
2002-05-30 08:52:21 +00:00
Andi Gutmans
7e5ec2d761
Initial support for built-in backtracing.
...
There are still a few problems such as includes and calling other functions
from internal functions which aren't seen (will have to think if and how to
fix this).
Also the main scripts filename isn't available. Need to think about that.
2002-05-02 17:20:48 +00:00
Harald Radi
51e797f1e3
some type cleanup work
2002-04-23 18:06:54 +00:00
Stanislav Malyshev
a68b448169
make compatible with current PHP
2002-04-07 17:12:38 +00:00
Harald Radi
d5e64b2287
added thread safe hashtable which allows concurrent
...
reads but only exclusive writes
2002-03-20 21:26:46 +00:00
Andi Gutmans
a990c4da3e
- Finish covering all parsed methods to check for validity in parser.
...
- Change zval's refcount to zend_uint (If it doesn't slow down the Engine
- too much it should probably stay this way). If anyone has time to test
- the difference in speed between zend_ushort & zend_uint in zend.h of
- the struct _zval_struct (one line change) I'd be glad to get some
- figures.
2002-03-19 19:09:53 +00:00
Andi Gutmans
0ee65254ee
- Forgot to close comment.
2002-03-12 19:41:02 +00:00
Andi Gutmans
9760fdcb37
- Macro for duality between Engine 1 and 2
2002-03-12 19:36:24 +00:00
Andi Gutmans
fb6976e46d
- Another couple of indirection fixes.
...
- Make class_entry->refcount be part of the structure and not allocated.
2002-03-12 19:22:29 +00:00
Stanislav Malyshev
92dd5e611b
- make class tables contain class_entry *, not class_entry
...
- fix isset($this)
2002-03-12 10:08:47 +00:00
Andi Gutmans
00e90f2ff3
- Experimental support for private members.
...
<?
class MyClass {
private $Hello = "Hello, World!\n";
function printHello()
{
print $this->Hello;
}
}
class MyClass2 extends MyClass {
function printHello()
{
MyClass::printHello(); /* Should print */
print $this->Hello; /* Shouldn't print out anything */
}
}
$obj = new MyClass();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello(); /* Should print */
$obj = new MyClass2();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello();
?>
2002-02-21 11:50:44 +00:00
Stanislav Malyshev
cefbdccb98
Pass TSRM to create_object
2002-02-14 09:20:51 +00:00
Stanislav Malyshev
6608f07322
Mega-commit: Enter the new object model
...
Note: only standard Zend objects are working now. This is definitely going to
break custom objects like COM, Java, etc. - this will be fixed later.
Also, this may break other things that access objects' internals directly.
2002-02-07 14:08:43 +00:00
Sebastian Bergmann
62dc854bb0
Happy New Year.
2002-01-06 15:21:36 +00:00
Andi Gutmans
8a0c756c58
- #define to help #ifdef stuff in PHP sources to make them work w/ ZE1 and
...
- 2
2001-12-29 18:07:08 +00:00
Andi Gutmans
73b159e056
- Experimental support for destructors. We need to see if destructors
...
- will actually work well in the context of PHP so we should consider this
- as experimental. Possible problems might be that when the constructor is
- run PHP might not be in a stable state.
2001-12-27 14:35:09 +00:00
Andi Gutmans
29ea3da2f8
- Pretty much finish _clone() support
2001-12-26 19:54:20 +00:00
Andi Gutmans
f4b832d277
- Fix crash bug in startup code.
...
- Start work on being able to reference global and local scope
2001-12-13 16:55:04 +00:00
Andi Gutmans
74efc41fc3
- Make classes have scope and function/constant lookups default to the class
2001-12-12 17:38:37 +00:00
Andi Gutmans
4cb97fa3b9
- Rename zend_class_entry.constants -> zend_class_entry.constants_table
2001-12-11 18:46:43 +00:00
Sebastian Bergmann
d863d52a5d
Update headers.
2001-12-11 15:16:21 +00:00
Sebastian Bergmann
4345f8a0b5
MFZE1 (AIX fixes)
2001-12-11 09:17:38 +00:00
Andi Gutmans
3bfee898db
- More namespaces work.
...
- Nuke memory leak.
2001-12-10 18:57:17 +00:00
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
48e54e0c7a
- RISC OS patch by Alex Waugh
2001-11-03 13:35:14 +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
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
Stanislav Malyshev
2a0a07b883
Add dlsym underscore detection, by Jani Taskinen
2001-08-26 15:25:55 +00:00
Andi Gutmans
718f323edc
- Fix compile problem
2001-08-19 15:23: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
Zeev Suraski
4f6c95d17a
Whitespace
2001-08-11 15:56:40 +00:00
Andi Gutmans
f5ea49a647
- For Sebastian. Will allow to see you're using the Engine 2 CVS via
...
phpinfo()
2001-08-11 00:20:37 +00:00
Andi Gutmans
2f6cd308f9
- Merge zend_try fix from Engine 1
2001-08-08 15:06:08 +00:00
Andi Gutmans
5af7770a81
- Sync Engine2 CVS with latest Engine CVS
2001-08-07 03:17:33 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Andi Gutmans
b40db64d0d
- Small patch to allow fixing the PHP tree to be compatible w/ the initial
...
- Zend 2 objects patch. Hopefully I can commit that this week.
2001-07-28 18:33:06 +00:00
Zeev Suraski
b4f3b9d3ce
Redesigned thread safety mechanism - nua nua
2001-07-28 10:51:54 +00:00
Sascha Schumann
6be787a929
Fix build
2001-07-28 00:46:42 +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
ef4fe54f0a
Always track bailout file/lineno
2001-07-21 16:21:22 +00:00
Zeev Suraski
931ebe08d7
Improve bailout mechanism, supports nesting of bailouts a-la try..catch
2001-07-21 14:25:27 +00:00
Zeev Suraski
fb532ba52b
Fix bug #10467
2001-07-16 11:41:06 +00:00
Andi Gutmans
12db900a6f
- Bump Zend version
2001-06-24 03:54:11 +00:00
Sascha Schumann
996e9a7212
add missing closing paranthesis
2001-05-11 19:41:11 +00:00
Andi Gutmans
62cc5c9c8f
- Bump up Zend version
2001-05-01 07:20:36 +00:00
Zeev Suraski
4e71bbed0a
include limits.h if available
2001-04-28 20:21:42 +00:00
Zeev Suraski
b87bac782f
Fix bug 5661
2001-04-28 20:13:25 +00:00
Andi Gutmans
0971ff99cb
- Whitespace changes to be standard like the rest of Zend
2001-04-27 18:51:56 +00:00
Andi Gutmans
d2c9e8074c
- Update copyright year
2001-02-26 05:43:27 +00:00
Stanislav Malyshev
e4f4983cdc
allow more extensions with resources
2001-02-14 13:17:49 +00:00
Andi Gutmans
3353ad7e6e
- Make people happy who like the Zend version number bumped up in parallel
...
with PHP.
2001-01-21 11:43:34 +00:00
Zeev Suraski
0e08845eb0
Add free_estring()
2001-01-15 10:52:06 +00:00
Zeev Suraski
903018ef36
- Remove backward dependency from PHP -> Zend
...
- Rename get_ini_entry() as get_configuration_directive() for clarity
(it doesn't use the INI subsystem, but the module-supplied function for
retrieving configuration directives)
2001-01-07 18:39:11 +00:00
Zeev Suraski
6b23ef6cef
Commit missing declaration
2001-01-03 08:35:23 +00:00
Stanislav Malyshev
35f4826fea
Add macro to replace value of zval with another value while preserving
...
referencing structure
2000-11-20 12:35:08 +00:00
Zeev Suraski
84f81c50ba
Update version
2000-10-11 17:40:40 +00:00
Andi Gutmans
e7f10a41f2
- Update Zend version.
2000-08-29 15:48:55 +00:00
Andi Gutmans
fcdc025d11
- Beautify code. Try and use more macros for splitting instead of
...
- replicating the code everywhere.
2000-08-04 08:11:54 +00:00
Andi Gutmans
1cce5ed178
- Add zend_ulong
2000-07-08 15:49:39 +00:00
Sascha Schumann
b982307dd1
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:54:19 +00:00
Zeev Suraski
f34b9d41be
Add $context argument to error handler
2000-06-29 15:07:59 +00:00
Andi Gutmans
3860254631
version update
2000-06-28 18:32:13 +00:00
Zeev Suraski
8e45536cf4
Make it possible to detect whether we're thread safe or not from PHP scripts and the php.ini
...
file
2000-06-26 18:15:33 +00:00
Stanislav Malyshev
536221be39
Make error callback be publicly accessible
2000-06-18 16:02:32 +00:00
Zeev Suraski
968d2c5b33
Get rid of <?php_track_vars?>
2000-06-12 16:07:15 +00:00
Zeev Suraski
98bf43f229
Enable asp_tags/short_tags/allow_call_time_pass_by_reference to work on a per-directory
...
basis as well
2000-06-06 19:13:54 +00:00
Zeev Suraski
d4b160c0d6
- Export normalize_bool
...
- This global/static syntax fix brought us back to the 4 documented conflicts
2000-06-03 03:05:01 +00:00
Zeev Suraski
0b7a9cea88
- Fix Win32 compilation (Use winsock2.h from now on)
...
- Add lambda() support
2000-06-03 01:49:49 +00:00
Zeev Suraski
8a8c3eafc8
Nuke the old error code, use the new one
2000-06-02 12:21:49 +00:00
Zeev Suraski
898c8ead87
IS_BC isn't really being used, but still...
2000-05-31 19:08:18 +00:00
Zeev Suraski
13b67621cf
Fix a bug in static initializers/default values/class member variables that contained
...
array values
2000-05-31 19:07:09 +00:00
Andi Gutmans
cc590f49f2
- Get ready for release
2000-05-21 16:29:38 +00:00