History log of /PHP-7.4/Zend/zend_language_parser.y (Results 251 – 275 of 553)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f614fc68 11-Apr-2014 Bob Weinand

Fix bug #66015 by reverting "Removed operations on constant arrays."


Revision tags: php-5.6.0beta1
# 20f2e598 09-Apr-2014 Nikita Popov

Fix ZTS build

This only makes it compile, it doesn't actually work, presumably
because interned strings are assumed in some places.


# 76cc99fe 03-Apr-2014 Dmitry Stogov

Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)


Revision tags: php-5.4.27, php-5.5.11, php-5.5.11RC1, php-5.4.27RC1
# 3d1fa4cb 06-Mar-2014 Tjerk Meesters

Allow T_POW in constant expressions


Revision tags: php-5.5.10, php-5.4.26, php-5.6.0alpha3
# 2eae1879 25-Feb-2014 Nikita Popov

Store arg_num in fcall entry

Instead of storing the argument number in the znode of the parameter
list, store it in fcall->arg_num. This mainly cleans up the parameter
parsing code,

Store arg_num in fcall entry

Instead of storing the argument number in the znode of the parameter
list, store it in fcall->arg_num. This mainly cleans up the parameter
parsing code, which previously had to duplicate all rules (this
becomes more excessive as more features are added, e.g. named params
would already require a minimum of 14 rules...)

show more ...


# ff162410 24-Feb-2014 Dmitry Stogov

Fixed traits support


Revision tags: php-5.4.26RC1, php-5.5.10RC1, php-5.6.0alpha2
# f4cfaf36 10-Feb-2014 Dmitry Stogov

Use better data structures (incomplete)


Revision tags: php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24, php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1
# aff56f3c 19-Nov-2013 datibbaw

add T_POW (**) operator

Fixed recognition of the operator

Added opcode, still doing multiply instead of pow()

opcode now always returns int(42)

The right answer, b

add T_POW (**) operator

Fixed recognition of the operator

Added opcode, still doing multiply instead of pow()

opcode now always returns int(42)

The right answer, but always a float

Yanked code from pow() implementation.

Should not handle negative long as exponent ourselves

Added test cases from pow()

Moved precedence higher than '~'

Added GMP operator overloading

Added ZEND_ASSIGN_POW (**=) operator.

Added pow() as a language construct.

Adjusted test cases for changed precedence.

Reduced pow() to shell function around ZEND_API pow_function()

Reduced test case to only contain edge cases
Added overloading test case

Moved unary minus above T_POW

Revert "Added pow() as a language construct."

Bad bad bad idea.

This reverts commit f60b98cf7a8371233d800a6faa286ddba4432d02.

Reverted unary minus behaviour due to previous revert.
Convert arrays to int(0)
Exponent with array as a base becomes int(0)

Rebase against master

Fixed tokenizer test case

show more ...


Revision tags: php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20, php-5.5.4RC1, php-5.4.20RC1
# 2c47dfba 29-Aug-2013 Nikita Popov

Implement argument unpacking

RFC: https://wiki.php.net/rfc/argument_unpacking


# c081ce62 03-Jan-2014 Xinchen Hui

Bump year


# 47c90277 03-Jan-2014 Xinchen Hui

Bump year


# c0d060f5 03-Jan-2014 Xinchen Hui

Bump year


# 152898ff 07-Nov-2013 Bob Weinand

Moved arrays again to "static_scalar:" & little cleanup


# e0135014 07-Nov-2013 Dmitry Stogov

Renaming


# 9647c61d 06-Nov-2013 Dmitry Stogov

Constant expressions refactoring


# 18e2b1a9 03-Nov-2013 Bob Weinand

Removed operations on constant arrays.
They make no sense as constants are not allowed to be arrays.
And as just properties are allowed to; no problem, we still don't
need operations on a

Removed operations on constant arrays.
They make no sense as constants are not allowed to be arrays.
And as just properties are allowed to; no problem, we still don't
need operations on any constant array.

show more ...


# ad967e13 03-Nov-2013 Bob Weinand

Added a few more operators


# 466c5dd1 31-Oct-2013 Bob Weinand

Fixed mem leaks, added tests and ternary operator


# 23617458 31-Oct-2013 Bob Weinand

Working commit for constant scalar expressions (with constants).
Tests will follow.


# 64caedd9 19-Oct-2013 Nikita Popov

Use zend_error_noreturn for all E_COMPILE_ERRORs


# 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


# 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 ...


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


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


1...<<11121314151617181920>>...23