Pierre Joye
59614b05c4
- reject paths with trainling spaces using the very good new zend arg
2011-09-07 12:33:22 +00:00
Hannes Magnusson
ffe0c530af
Remove bogus skipif and make adjust the tests
2011-09-07 10:44:32 +00:00
Stanislav Malyshev
38ff70ef25
Commit Gustavo's closure rebinding patch as desided by vote
2011-09-07 06:46:27 +00:00
Pierre Joye
431db84bc9
- fix skipif
2011-09-06 15:40:12 +00:00
Pierre Joye
43e8a06cac
- parser version independent
2011-08-31 11:18:13 +00:00
Pierre Joye
cbcb66f63a
- parser version independent
2011-08-31 11:16:25 +00:00
Pierre Joye
9250c721c9
- use only the test name
2011-08-31 10:46:20 +00:00
Pierre Joye
fdeb68b565
- use only the test name
2011-08-31 10:43:39 +00:00
Pierre Joye
138bff32e7
- use only the test name
2011-08-31 10:30:39 +00:00
Pierre Joye
5c6e57264e
- use only test name
2011-08-31 10:22:18 +00:00
Pierre Joye
b1582cdc65
- make it parser version independent
2011-08-31 10:05:54 +00:00
Felipe Pena
895a10caf1
- Fixed ZTS build
2011-08-30 01:33:42 +00:00
Derick Rethans
56a87c2806
- 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
117e072941
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
7480c7d4e0
- Fix bug #55471 , fix zts build with dtrace (Laruense)
2011-08-21 11:51:00 +00:00
Etienne Kneuss
f6c2b4776c
Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)
2011-08-17 23:50:04 +00:00
Felipe Pena
17abf879ed
- Drop T_SCALAR_CAST
2011-08-16 12:13:35 +00:00
Felipe Pena
074c7e6a3a
- Fixed ZTS build
2011-08-16 12:01:36 +00:00
Hannes Magnusson
133596b6f7
Improve errormessage on wrong use statements
2011-08-16 10:46:49 +00:00
Hannes Magnusson
550980cfe5
Callable typehint following the rules of is_callable($arg, false);
2011-08-16 10:44:47 +00:00
Stefan Marr
4a51ea4b81
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
0500cffb2e
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
f2ed1242d6
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
c312e60280
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
6b5d5b8d12
Fix typo
2011-08-08 14:54:50 +00:00
Pierrick Charron
e17b5f7e1d
Fix typo
2011-08-08 11:30:56 +00:00
Pierrick Charron
d0a4c01099
Use snprintf to make the static analyzers happy
2011-08-08 11:19:49 +00:00
Derick Rethans
4a73e35168
- Document the new ZEND_DONT_UNLOAD_MODULES environment variable.
2011-08-08 07:42:58 +00:00
Pierrick Charron
ed7b3e703e
Use snprintf and strncat to make the static analyzers happy
2011-08-08 03:08:59 +00:00
Derick Rethans
3ed828a892
- 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
ef0e34580b
For 5.4, fix C++-style comments. For trunk, forward-port build fix.
2011-08-07 16:31:21 +00:00
Felipe Pena
619cfeef46
- Revert r314387
...
(property_info.name has the mangled name)
2011-08-07 13:04:02 +00:00
Pierrick Charron
b90059120d
function_name cannot be false
2011-08-07 06:19:43 +00:00
Gwynne Raskind
0af1e412a4
Fix build under Clang 2.9 - see LLVM bug #9164 ( http://llvm.org/bugs/show_bug.cgi?id=9164 ). Tested with GCC and Clang on Darwin and Ubuntu.
2011-08-07 05:20:49 +00:00
Rasmus Lerdorf
80931fee0c
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
99cb211c6c
Use snprintf here instead to make the static analyzers happy.
2011-08-07 00:25:22 +00:00
Rasmus Lerdorf
e2315d295a
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
707a8f70b8
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
783b05326a
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Rasmus Lerdorf
c1c2e18cb5
Another potential missing va_end() found by Coverity
2011-08-05 22:26:16 +00:00
Rasmus Lerdorf
22a5e73861
Fix missing va_end() found by Coverity
2011-08-05 22:18:42 +00:00
Dmitry Stogov
a550566ce9
Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off)
2011-08-02 07:38:23 +00:00
Dmitry Stogov
5e923d23b4
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
ad4d6d1ce3
Added support for Class::{expr}() syntax (Pierrick)
2011-08-01 12:08:44 +00:00
Dmitry Stogov
2edd90100c
Fixed bug #50816 (Using class constants in array definition fails).
2011-08-01 11:21:23 +00:00
Felipe Pena
9ffc8b739f
- Fixed tests
2011-07-31 18:51:15 +00:00
Stefan Marr
65cbcb3be9
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
0158804a15
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
858164624d
Fixed test which was assuming that E_STRICT is not on by default.
2011-07-31 16:15:40 +00:00
Felipe Pena
f52197815a
- Fixed bug #55326 (Trait method copying misindentifies serialization callbacks)
...
patch by: Gustavo Lopes (cataphract@php)
2011-07-31 12:27:47 +00:00