History log of /PHP-7.1/Zend/zend_compile.c (Results 1501 – 1525 of 1956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5
# b6ff804c 04-Aug-2003 Stanislav Malyshev

fix leaks: bug #24831


# 1959133f 04-Aug-2003 Zeev Suraski

Simplify code using XOR


# 538aad24 03-Aug-2003 Marcus Boerger

Fix test and add missing initialization


# 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


# accd6b62 31-Jul-2003 Zeev Suraski

Finish the array overloading patch


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

Get rid of an opcode


# f41f62c2 30-Jul-2003 Zeev Suraski

Support overloading of $foo["bar"] += "baz"


# c0b46739 30-Jul-2003 Zeev Suraski

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


# 57b12285 27-Jul-2003 Stanislav Malyshev

fix compare


# 7b1bbc85 27-Jul-2003 Stanislav Malyshev

use zend_binary_strncasecmp


# 9fa2d523 27-Jul-2003 Stanislav Malyshev

make clone and throw coexist peacefully


# 5724c7a6 27-Jul-2003 Stanislav Malyshev

fix leaks with class constants (bug #24699)


# 78f8ca6e 27-Jul-2003 Stanislav Malyshev

make __clone call case insensitive, just as other calls are


# 55097d1d 24-Jul-2003 Zeev Suraski

Fix another HANDLE_NUMERIC bug. Looks like you opened Pandora's box, Sterling ;)


# 7928e763 24-Jul-2003 Zeev Suraski

Remove useless code


# 03b6af07 24-Jul-2003 Zeev Suraski

Support references in foreach()
Syntax:
foreach ($arr as &$val)
foreach ($arr as $key => &$val)


# 237116aa 23-Jul-2003 Stanislav Malyshev

Remove namespace leftovers


# e10dbc60 16-Jul-2003 Zeev Suraski

Fix bug in the verification of interface-function implementation


# 3a898f6d 16-Jul-2003 Zeev Suraski

More cleanup for assign-op handling of objects


# 13433852 07-Jul-2003 Zeev Suraski

Rework zend_do_declare_property and related code into one code base


# 938c0fbc 07-Jul-2003 Zeev Suraski

Initial support for overloading of array syntax for objects (very initial)


# d7e14ad8 03-Jul-2003 Marcus Boerger

Allow final private methods
#
# Declaring a method private and final would only be an error for an abstract
# class. But at the moment the method is defined and it's modifiers are checked

Allow final private methods
#
# Declaring a method private and final would only be an error for an abstract
# class. But at the moment the method is defined and it's modifiers are checked
# we do not know whether or not we have an abstract class. It could already be
# abstract but it also become abstract later.
#
# Since i made the mistake in first place i remove the check now.
#
# Providing the correct test would slow down the compiler becuase we'd have to
# iterate through all methods on all abstract classes and check for this. I
# guess we can live without. Or does anybody wants this to be implemented ?

show more ...


# 8f023416 03-Jul-2003 Stanislav Malyshev

enable Classname() constructor to be called via parent::__constructor()


# 02c7aacf 02-Jul-2003 Andi Gutmans

- Nuke CG(in_clone_method)


1...<<61626364656667686970>>...79