History log of /PHP-7.1/Zend/zend_compile.c (Results 776 – 800 of 1956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0ceea8a2 26-Sep-2013 Nikita Popov

Don't track parameter number in separate znode

We already track it in the op array already.


# 0d7a6388 26-Sep-2013 Nikita Popov

Implement variadic function syntax

As per RFC: https://wiki.php.net/rfc/variadics


# 98e4ecb6 19-Sep-2013 Michael Wallner

fix Zend/tests/ns_040.phpt failing

It was wrongly assumed the namespace has to be looked up in a case
sensitive manner too. Fixed the lookup to use a lower case
represenation of the

fix Zend/tests/ns_040.phpt failing

It was wrongly assumed the namespace has to be looked up in a case
sensitive manner too. Fixed the lookup to use a lower case
represenation of the import name.

show more ...


# 91a9569d 13-Sep-2013 Nikita Popov

Fix two warnings


# 96b1c214 13-Sep-2013 Nikita Popov

Provide more macros for handling of interned strings

* str_erealloc behaves like erealloc for normal strings, but will
use emalloc+memcpy for interned strings.
* str_estrndup be

Provide more macros for handling of interned strings

* str_erealloc behaves like erealloc for normal strings, but will
use emalloc+memcpy for interned strings.
* str_estrndup behaves like estrndup for normal strings, but will
not copy interned strings.
* str_strndup behaves like zend_strndup for normal strings, but
will not copy interned strings.
* str_efree_rel behaves like efree_rel for normal strings, but
will not free interned strings.
* str_hash will return INTERNED_HASH for interned strings and
compute it using zend_hash_func for normal strings.

show more ...


# 00799319 13-Sep-2013 Nikita Popov

Make consistent use of Z_*VAL macros in compiler


# ef9e003b 13-Sep-2013 Nikita Popov

Small cleanup in class name resolution of compiler

* The fetch_type and check_ns_name parameters of
zend_resolve_class_name were unused and are now removed.
* ZEND_FETCH_CLASS_G

Small cleanup in class name resolution of compiler

* The fetch_type and check_ns_name parameters of
zend_resolve_class_name were unused and are now removed.
* ZEND_FETCH_CLASS_GLOBAL is no longer used (no code actually
checking for it).
* The checks for usage of "namespace" as class name were
unnecessary as that situation can't occur anyways.

show more ...


# 612e77e5 30-Aug-2013 Anthony Ferrara

Fix issue with global fallback not in global space


# 6263f221 25-Aug-2013 Igor Wiedler

Handle case sensivity of constants (nikic)


# 28fa0896 25-Aug-2013 Igor Wiedler

Comment nitpick (nikic)


# 84c8aa36 25-Aug-2013 Igor Wiedler

self and parent are valid function and const names (nikic)


# 115c5ec7 24-Aug-2013 Igor Wiedler

Compile error on const definition conflicting with import


# 85d4cfb0 24-Aug-2013 Igor Wiedler

Disallow using functions/consts defined in the same file

* Keep track of defined function and const filenames
* Prohibit use function foo if function foo exists
* Prohibit use const

Disallow using functions/consts defined in the same file

* Keep track of defined function and const filenames
* Prohibit use function foo if function foo exists
* Prohibit use const foo if const foo exists

show more ...


# 30f16c35 23-Aug-2013 Igor Wiedler

Compile error on function definition conflicting with import


# 6b385ebc 22-Aug-2013 Danack

Removed assumption that \\ will be present

The function zend_add_ns_func_name_literal is called if the parser finds a function that is not in the global or current namespace. It assumes such

Removed assumption that \\ will be present

The function zend_add_ns_func_name_literal is called if the parser finds a function that is not in the global or current namespace. It assumes such a function will have a \\ in it, which is no longer true with the use function patch. The code change above removes that assumption and makes the test work:
PASS use and use function with the same alias [Zend/tests/use_function/conflicting_use_alias.phpt]

show more ...


Revision tags: php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2
# 4adf49ee 23-Jul-2013 Igor Wiedler

Import namespaced constants via new 'use const' sequence


# e1125a6a 23-Jul-2013 Igor Wiedler

Correctly distinguish between functions and constants

So far 'use function' applied to both constants and functions. This
patch correctly separates the two.


Revision tags: php-5.5.1, php-5.4.18RC1
# 5dd41627 16-Jul-2013 Igor Wiedler

Add new 'use function' sequence for importing namespaced functions

This is specified as the use_function RFC:

* https://wiki.php.net/rfc/use_function


# 8d86597d 23-Jul-2013 Veres Lajos

non living code related typo fixes


# e9a95d78 13-Jul-2013 Veres Lajos

typo fixes


# 1b06e0be 13-Jul-2013 Veres Lajos

typo fixes


# 72085b0e 13-Jul-2013 Veres Lajos

typo fixes


Revision tags: php-5.3.27, php-5.4.17, php-5.5.0, php-5.3.27RC1, php-5.4.17RC1
# 02e4d7a2 10-Jun-2013 Stanislav Malyshev

Merge branch 'pull-request/341'

* pull-request/341: (23 commits)
typofixes


# ac40c0b5 10-Jun-2013 Stanislav Malyshev

Merge branch 'pull-request/341'

* pull-request/341: (23 commits)
typofixes


# d8792d87 10-Jun-2013 Xinchen Hui

Fixed bug #64988 (Class loading order affects E_STRICT warning)


1...<<31323334353637383940>>...79