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
Dmitry Stogov
2b606e0a39
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
be217d08a4
Allow zend_is_interned_string to be pluggable
2011-07-27 23:34:49 +00:00
David Soria Parra
fa7c07b10c
Check if given string is long enough in zend_*_strtod
2011-07-27 14:17:45 +00:00
Pierre Joye
6e4435d628
- 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
68e5e29850
- Fix compiler warning
2011-07-25 11:51:43 +00:00
Felipe Pena
468d13513c
- Use ZEND_FE_END macro here
2011-07-25 11:50:10 +00:00
Felipe Pena
f1f2a649e2
- 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
4d926b1fa3
Change E_ALL to include E_STRICT
2011-07-23 22:07:22 +00:00
Pierre Joye
80496c9dc4
- 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
Stefan Marr
9a483afa5b
Fixed incorrect initialization when copied op_array.vars was NULL (TRAITS)
2011-07-23 18:12:31 +00:00
Stefan Marr
9f66085649
Fixed bug in the handling of conflicting property initializers for traits.
...
# Bug was uncovered by discussion in http://news.php.net/php.internals/54129
# Forgot to check the actual value of the initializer comparison, only checked
# whether comparison was successful which is not enough.
2011-07-23 13:48:07 +00:00
Stefan Marr
52b81b8566
Added test case which was only added to trunk, bug seems to be fixed already.
2011-07-23 13:42:58 +00:00
Pierre Joye
9805e1674a
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Derick Rethans
4e5960ed88
- Added a check for an enviroment variable (ZEND_DONT_UNLOAD_MODULES) that, if
...
set, prevents PHP from dl_closing() modules on shutdown.
- This makes it possible to spot memory leaks with valgrind in shared modules.
2011-07-14 12:21:15 +00:00
Stanislav Malyshev
c6076da77c
remove warning for is_a() BC
2011-07-12 05:20:40 +00:00
Dmitry Stogov
a0974f2d59
Fixed bug #54305 (Crash in gc_remove_zval_from_buffer)
2011-07-11 10:31:49 +00:00
Dmitry Stogov
f214fd4f7d
Fixed bug #55150 (php -a segfaults)
2011-07-11 07:10:30 +00:00
Felipe Pena
c5901b64a7
- Added zend_is_auto_global_quick function
2011-07-10 15:03:38 +00:00
Felipe Pena
327a9d45c9
- Year++
2011-07-10 13:05:32 +00:00
Felipe Pena
9aa25d0938
- Minor optimization taking the computed hash of interned strings
2011-07-10 12:37:42 +00:00
Felipe Pena
ce211cf5e6
- Minor optimization, use the computed hash when available
2011-07-10 02:00:00 +00:00
Felipe Pena
70cacfd3a8
- Changed zend_resolve_class_name() prototype
...
# No needed to pass fetch_type as pointer here
2011-07-09 17:27:59 +00:00
Felipe Pena
644b5fdec0
- WS
2011-07-09 14:35:37 +00:00
Felipe Pena
32a4d68013
- Minor optimization and clean up
2011-07-09 12:06:11 +00:00