Pierre Joye
f15d9278eb
- use only the test name
2011-08-31 10:30:39 +00:00
Pierre Joye
6181baf15a
- use only test name
2011-08-31 10:22:18 +00:00
Pierre Joye
fbb1663806
- make it parser version independent
2011-08-31 10:05:54 +00:00
Felipe Pena
cb74745d2f
- Fixed ZTS build
2011-08-30 01:33:42 +00:00
Derick Rethans
b0be274324
- Zend engine part for bug #55158 : Add SORT_NATURAL type to array_multisort
...
(patch by Arpad Ray).
2011-08-29 20:24:09 +00:00
Stefan Marr
1f4dfded59
Fixed bug #55524 Traits should not be able to extend a class
...
# also used the Z_STRVAL where it seemed appropriate
2011-08-29 15:53:46 +00:00
Pierre Joye
9770f6041a
- Fix bug #55471 , fix zts build with dtrace (Laruense)
2011-08-21 11:51:00 +00:00
Etienne Kneuss
cb8d6198df
Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)
2011-08-17 23:50:04 +00:00
Felipe Pena
8db63e8874
- Drop T_SCALAR_CAST
2011-08-16 12:13:35 +00:00
Felipe Pena
35c9c4ed2d
- Fixed ZTS build
2011-08-16 12:01:36 +00:00
Hannes Magnusson
b55d116e9a
Improve errormessage on wrong use statements
2011-08-16 10:46:49 +00:00
Hannes Magnusson
306c42023e
Callable typehint following the rules of is_callable($arg, false);
2011-08-16 10:44:47 +00:00
Stefan Marr
466d5414df
Bug #55424 Fatal error when calling a method from a trait that is defined in parent class and required by using an abstract method in the trait.
...
# The method got unconditionally deleted from the class, since it was assumed that we override it, but we did not in case of abstract methods coming from a trait. Thus, dont delete when we try to merge in an abstract method.
2011-08-15 22:16:58 +00:00
Stefan Marr
f4d3d6c439
Fixed Bug #55355 : Inheritance chain was not regarded when checking whether the abstract method of a trait is satisfied.
2011-08-15 11:16:18 +00:00
Stefan Marr
b14b440c93
Fixed Bug #55372 Incorrect handling of literals led to memory corruption.
...
# Dmitry you might want to review this patch, since I split up zend_add_literal
# and added a version for post-pass_two() usage.
2011-08-15 09:54:06 +00:00
Stefan Marr
adfdd01372
Addendum for patch to bug #55214 : Class name was freed before method literal referring to it.
...
# Thanks to Felipe for catching this.
# The fix duplicates the name into the literal to avoid the dependency
2011-08-15 08:29:48 +00:00
Etienne Kneuss
f8154b0288
Fix typo
2011-08-08 14:52:34 +00:00
Pierrick Charron
7f203d4385
Fix typo
2011-08-08 11:30:56 +00:00
Pierrick Charron
5035c11f0e
Use snprintf to make the static analyzers happy
2011-08-08 11:19:49 +00:00
Derick Rethans
8ea0c7d6e6
- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.
2011-08-08 07:42:58 +00:00
Pierrick Charron
6ea19be489
Use snprintf and strncat to make the static analyzers happy
2011-08-08 03:08:59 +00:00
Derick Rethans
20936960b5
- Fixed bug #55378 : binary number literal returns float number though its value
...
is enough small
2011-08-07 17:36:31 +00:00
Gwynne Raskind
9e9c9b3430
For 5.4, fix C++-style comments. For trunk, forward-port build fix.
2011-08-07 16:31:21 +00:00
Felipe Pena
f9ca0cacb3
- Revert r314387
...
(property_info.name has the mangled name)
2011-08-07 13:04:02 +00:00
Pierrick Charron
3751efa3dc
function_name cannot be false
2011-08-07 06:19:43 +00:00
Rasmus Lerdorf
c44c0490d5
Since we have fci_cache = &fci_cache_local inside that block
...
and fci_cache is then later used outside the block, fci_cache_local
can't be block-scoped here
2011-08-07 00:50:46 +00:00
Rasmus Lerdorf
50d67ef7b5
Use snprintf here instead to make the static analyzers happy.
2011-08-07 00:25:22 +00:00
Rasmus Lerdorf
71af9259e3
Use property_info.name here instead since *name might be free'ed at this point
...
@dmitry please review
2011-08-07 00:01:17 +00:00
Felipe Pena
9480eace41
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
9c289189d3
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Rasmus Lerdorf
dc1e148165
Another potential missing va_end() found by Coverity
2011-08-05 22:26:16 +00:00
Rasmus Lerdorf
1ac9192d46
Fix missing va_end() found by Coverity
2011-08-05 22:18:42 +00:00
Dmitry Stogov
6803a38928
Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
2011-08-02 07:38:23 +00:00
Dmitry Stogov
d4a80cfa8d
Fixed bug #55305 (ref lost: 1st ref instantiated in class def, 2nd ref made w/o instantiating)
2011-08-01 15:23:16 +00:00
Dmitry Stogov
74f68932b7
Added support for Class::{expr}() syntax (Pierrick)
2011-08-01 12:08:44 +00:00
Dmitry Stogov
8ff0701e8d
Fixed bug #50816 (Using class constants in array definition fails).
2011-08-01 11:21:23 +00:00
Felipe Pena
4442b3f7a8
- Fixed tests
2011-07-31 18:51:15 +00:00
Stefan Marr
88f497f27d
Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]
2011-07-31 18:18:56 +00:00
Stefan Marr
dbc6849bca
Added __TRAIT__ magic constant [TRAITS] [DOC]
...
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.
2011-07-31 17:39:30 +00:00
Stefan Marr
70aad763e9
Fixed test which was assuming that E_STRICT is not on by default.
2011-07-31 16:15:40 +00:00
Felipe Pena
b07c3c3e01
- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
...
patch by: Gustavo Lopes (cataphract@php)
2011-07-31 12:27:47 +00:00
Dmitry Stogov
b32445d4f3
Reverted Gopal's patch that allowed plugable interned string check
...
1. It introduced a significant slowdown
2. It didn't fix the real problem in APC (I'm goint to commit the fix)
2011-07-28 12:01:42 +00:00
Gopal Vijayaraghavan
8089b31002
merge to trunk - Allow zend_is_interned_string to be pluggable
2011-07-28 03:03:06 +00:00
David Soria Parra
0beb0e7056
Check if given string is long enough in zend_*_strtod
2011-07-27 14:17:45 +00:00
Pierre Joye
4d0f1bfeb4
- add binary suport, FR #50638 , as defined in RFC https://wiki.php.net/rfc/binnotation4ints , patch by Jonah Harris
2011-07-27 00:14:02 +00:00
Felipe Pena
06f18d8cca
- Fix compiler warning
2011-07-25 11:51:43 +00:00
Felipe Pena
28461a5f3c
- Use ZEND_FE_END macro here
2011-07-25 11:50:10 +00:00
Felipe Pena
f8a3334c89
- Added new macro to be used in the end of zend_function_entry declaration (Gwynne)
2011-07-25 11:30:53 +00:00
Stanislav Malyshev
7bb8f9eecb
Change E_ALL to include E_STRICT
2011-07-23 22:07:22 +00:00
Pierre Joye
cbe0ed86e7
- add short array syntax as defined in https://wiki.php.net/rfc/shortsyntaxforarrays , 2nd solution using => only
2011-07-23 20:23:21 +00:00