History log of /PHP-5.5/Zend/zend_compile.h (Results 176 – 200 of 450)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.3.5RC3, php-5.0.0b4
# e7e0f7d4 12-Feb-2004 Zeev Suraski

- Check return-by-reference bit when implementing interface prototypes
- Add infrastructure for built-in functions to hint whether they
return by reference or not. It is NOT currently used

- Check return-by-reference bit when implementing interface prototypes
- Add infrastructure for built-in functions to hint whether they
return by reference or not. It is NOT currently used for anything,
except for interface prototypes (you can use it to request that the
function that implements your prototype returns by reference or
doesn't return by reference).
For downwards compatibility - by default, interface prototypes are
agnostic as to whether the function that implements them returns
by reference or not. Use ZEND_BEGIN_ARG_INFO_EX() with
ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that.
- Fix ArrayAccess::getOffset() to conduct additional checks.
If your getOffset() should work with multidimensional arrays - it
must return by reference.

show more ...


Revision tags: php-5.0.0b4RC1
# c5d84227 04-Feb-2004 Zeev Suraski

Reinstate early-binding for classes.

Note that this is available for downwards compatibility only - and it doesn't
work if you use new features (namely, interfaces). Generally, people s

Reinstate early-binding for classes.

Note that this is available for downwards compatibility only - and it doesn't
work if you use new features (namely, interfaces). Generally, people should
declare their classes before using them, but we just didn't want hell to break
loose (c)

show more ...


Revision tags: php-4.3.5RC2
# 9e60cb55 03-Feb-2004 Zeev Suraski

Rewrote exception support. Fixes a few limitations and bugs in the old
implementation, and allows exceptions to 'fire' much earlier than before.

Instructions on how to use the new mecha

Rewrote exception support. Fixes a few limitations and bugs in the old
implementation, and allows exceptions to 'fire' much earlier than before.

Instructions on how to use the new mechanism will follow on internals@
shortly...

Note - this (most probably) breaks the current implementation of
set_exception_handler()

show more ...


# 8e30d96a 02-Feb-2004 Zeev Suraski

Redesign the clone() feature to fix some fundamental flaws in the previous
implementation.

Using clone directly is now done using
$replica = clone $src;

Clone methods must n

Redesign the clone() feature to fix some fundamental flaws in the previous
implementation.

Using clone directly is now done using
$replica = clone $src;

Clone methods must now be declared as follows:
function __clone($that)
{
}

Clone methods in derived classes can call the __clone method of their parent
classes using parent::__clone($that)

show more ...


# 2adaa11f 28-Jan-2004 Zeev Suraski

Prevent classes from implementing interfaces that have the same function


Revision tags: RELEASE_1_3b6, php_ibase_before_split
# 3ca44539 24-Jan-2004 Marcus Boerger

Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow calling
internal non-static methods statically.
# As discussed with Zeev:
# - For BC standard userspace methods allow th

Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow calling
internal non-static methods statically.
# As discussed with Zeev:
# - For BC standard userspace methods allow this with an E_STRICT message.
# - If you want to implement an internal method taht can be called both
# statically and non-statically then use flag ZEND_ACC_ALLOW_STATIC.
# - Magic user space methods __*() cannot and __construct, __destruct,
# __clone can never be called statically.

show more ...


# 6020ffd0 23-Jan-2004 Marcus Boerger

Simplify detection of methods that must be called dynamic (with object)


# 7c2e02d3 23-Jan-2004 Marcus Boerger

Disallow static declaration of clone


Revision tags: php-4.3.5RC1
# ccfc46b0 08-Jan-2004 foobar

- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?


# 6923a16c 03-Jan-2004 Derick Rethans

- Fixed var_export() to show public, protected and private modifiers properly.
- Exported (un)mangle_property_name.


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1
# 9c909f41 16-Dec-2003 Sebastian Bergmann

Sync: Export externally used functions.


# 3a42baba 14-Dec-2003 Zeev Suraski

Fix behavior of return-by-reference functions. Remove erroneous warnings,
add E_STRICT warnings in case you return something by reference that you're
not supposed to (anything that's not a v

Fix behavior of return-by-reference functions. Remove erroneous warnings,
add E_STRICT warnings in case you return something by reference that you're
not supposed to (anything that's not a variable, or a return-value of a
function that returned by reference).

show more ...


# d344648b 24-Nov-2003 Andi Gutmans

- Fix __autoload() to preserve class case.
- Heads up, this patch might break stuff so please let me know if you
- bump into any problems.


# 296529b8 10-Nov-2003 Marcus Boerger

Split isset/isempty for object property and object dimension hooking.


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1
# 3c62b3b5 22-Oct-2003 Marcus Boerger

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.


Revision tags: php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3
# cec053f7 24-Aug-2003 Marcus Boerger

Don't identify alias'ed functions


# 1c2512dd 24-Aug-2003 Marcus Boerger

- Add fn_flag ZEND_ACC_ALIAS
- Unify way of function_entry generation by new macro ZEND_FENTRY


# baaa4c90 23-Aug-2003 Marcus Boerger

Internal classes can now have default properties.


# fbda310a 23-Aug-2003 Marcus Boerger

- Flag ctor/dtor methods
- Use this to prevent memleaks when an exception gets thrown in ctors.
# I added the dtor flags for consistency, atm a compareable check in
# isn't necessary for

- Flag ctor/dtor methods
- Use this to prevent memleaks when an exception gets thrown in ctors.
# I added the dtor flags for consistency, atm a compareable check in
# isn't necessary for destruction. But anyway i'll use this for the
# Relection API too.

show more ...


# 49c4866a 18-Aug-2003 Zeev Suraski

- Improve tracking
- Fix several overloading issues


Revision tags: php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5
# f8bbafd6 03-Aug-2003 Zeev Suraski

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

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.

show more ...


Revision tags: BEFORE_ARG_INFO
# 9d7122fb 03-Aug-2003 Zeev Suraski

Generalize fetch_class


Revision tags: php-4.3.3RC2
# 68fa4e50 30-Jul-2003 Zeev Suraski

Get rid of an opcode


# c0b46739 30-Jul-2003 Zeev Suraski

Improve array overloading - support unset($foo["bar"])


# 4839ce59 30-Jul-2003 Zeev Suraski

Remove garbage


12345678910>>...18