Nikita Popov
53efa1b0c6
Store aliased name of trait method
...
Currently, trait methods are aliased will continue to use the
original function name. In a few places in the codebase, we will
try to look up the actual method name instead. However, this does
not work if an aliased method is used indirectly
(https://bugs.php.net/bug.php?id=69180 ).
I think it would be better to instead actually change the method
name to the alias. This is in principle easy: We have to allow
function_name to be changed even if op array is otherwise shared
(similar to static_variables). This means we need to addref/release
the function_name separately, but I don't think there is a
performance concern here (especially as everything is usually
interned).
There is a bit of complication in opcache, where we need to make
sure that the function name is released the correct number of times
(interning may overwrite the name in the original op_array, but we
need to release it as many times as the op_array is shared).
Fixes bug #69180 .
Fixes bug #74939 .
Closes GH-5226.
2020-03-03 11:55:48 +01:00
..
2020-02-19 13:19:37 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:44:14 +02:00
2020-02-03 22:52:20 +01:00
2018-10-15 04:31:31 +02:00
2018-10-15 04:31:31 +02:00
2018-10-15 04:31:31 +02:00
2018-10-14 19:44:14 +02:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:44:14 +02:00
2018-10-14 19:44:14 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-06-04 16:28:16 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-11-07 21:31:47 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-07-22 11:39:52 +02:00
2019-11-07 21:31:47 +01:00
2020-02-03 22:52:20 +01:00
2019-11-07 21:31:47 +01:00
2012-10-10 10:27:49 +08:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2012-10-10 10:27:49 +08:00
2019-07-22 11:39:52 +02:00
2015-06-15 14:01:26 +03:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-11-07 21:31:47 +01:00
2020-02-03 22:52:20 +01:00
2020-02-26 15:00:08 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2016-12-18 17:10:19 +01:00
2020-02-03 22:52:20 +01:00
2009-05-21 16:01:37 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2009-08-01 01:45:22 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2010-05-25 22:46:17 +00:00
2010-06-11 23:37:55 +00:00
2020-02-03 22:52:20 +01:00
2019-12-21 11:58:00 +01:00
2020-02-03 22:52:20 +01:00
2018-02-20 21:53:48 +01:00
2020-02-03 22:52:20 +01:00
2018-10-10 10:39:10 +02:00
2012-06-22 12:05:29 -03:00
2020-02-18 14:35:58 +01:00
2012-10-31 11:13:32 +08:00
2012-11-27 13:34:36 +08:00
2015-05-17 17:31:43 -05:00
2020-02-03 22:52:20 +01:00
2013-06-16 15:22:23 -07:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-15 04:33:09 +02:00
2020-03-03 11:55:48 +01:00
2017-07-27 12:50:28 +08:00
2015-10-14 10:26:02 +08:00
2015-11-24 13:45:16 +08:00
2020-02-03 22:52:20 +01:00
2015-12-04 11:52:08 +08:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2019-10-22 11:26:02 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-05-09 12:33:53 +02:00
2018-07-02 18:56:27 +02:00
2019-01-31 13:52:06 +01:00
2018-09-29 14:47:57 +02:00
2018-10-02 17:47:07 +02:00
2020-02-28 17:21:19 +01:00
2019-03-22 12:39:27 +01:00
2020-02-03 22:52:20 +01:00
2019-10-21 09:22:09 +02:00
2020-01-16 15:30:24 +01:00
2020-02-03 22:52:20 +01:00
2020-02-28 17:06:05 +01:00
2020-01-17 11:37:35 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2020-02-03 22:52:20 +01:00
2018-06-28 22:45:26 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:44:14 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:46:15 +02:00
2015-10-14 10:26:02 +08:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-11-04 13:51:40 +01:00
2020-02-03 22:52:20 +01:00
2018-10-15 04:32:30 +02:00
2014-03-02 21:38:00 +08:00
2020-02-03 22:52:20 +01:00
2020-02-26 15:00:08 +01:00
2020-02-28 15:54:42 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2015-05-17 17:31:43 -05:00
2018-10-15 04:33:09 +02:00
2019-03-11 11:32:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-26 15:00:08 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-02-22 13:18:52 +01:00
2020-02-03 22:52:20 +01:00
2020-02-26 15:00:08 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2009-04-08 16:09:16 +00:00
2015-04-26 15:04:22 +02:00
2020-02-18 14:35:58 +01:00
2020-02-03 22:52:20 +01:00
2010-06-02 15:29:42 +00:00
2009-04-08 16:09:16 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2009-04-08 16:09:16 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2015-05-17 18:47:06 +02:00
2020-02-17 12:21:33 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-26 15:00:08 +01:00
2019-08-13 20:23:56 +02:00
2020-02-03 22:52:20 +01:00
2020-02-26 15:00:08 +01:00
2020-02-03 22:52:20 +01:00
2020-03-02 15:25:32 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-19 13:19:37 +01:00
2018-02-04 19:08:23 +01:00
2019-01-31 00:21:32 -02:00
2019-11-07 21:31:47 +01:00
2020-02-26 15:00:08 +01:00
2019-11-08 15:15:48 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2019-11-07 21:31:47 +01:00
2020-02-03 22:52:20 +01:00
2020-02-26 15:00:08 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:44:14 +02:00
2020-02-03 22:52:20 +01:00
2018-10-15 04:33:09 +02:00
2018-10-15 04:33:09 +02:00
2018-10-15 04:33:09 +02:00
2020-02-03 22:52:20 +01:00
2018-10-15 04:33:09 +02:00
2018-10-14 19:44:14 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:44:14 +02:00
2020-02-03 22:52:20 +01:00
2013-09-26 18:39:17 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-15 04:33:09 +02:00
2020-02-19 13:19:37 +01:00
2019-01-29 13:04:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-15 04:33:09 +02:00
2020-02-03 22:52:20 +01:00
2018-02-20 21:53:48 +01:00
2020-02-28 15:54:42 +01:00
2015-09-02 00:28:46 +02:00
2020-02-26 15:00:08 +01:00
2020-02-26 15:00:08 +01:00
2016-08-30 19:35:56 -07:00
2018-07-02 21:33:09 +02:00
2018-10-14 19:45:12 +02:00
2020-02-26 15:00:08 +01:00
2020-02-03 22:52:20 +01:00
2009-09-16 17:24:46 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2009-04-08 16:09:16 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-03-11 11:32:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-03-11 11:32:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-02-20 21:53:48 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-11-07 21:31:47 +01:00
2013-09-26 18:39:17 +02:00
2020-02-03 22:52:20 +01:00
2020-02-19 13:19:37 +01:00
2018-10-14 19:45:12 +02:00
2009-04-08 16:09:16 +00:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-03-11 11:32:20 +01:00
2020-01-22 21:24:36 +01:00
2018-10-15 04:33:09 +02:00
2018-09-11 17:21:17 +03:00
2020-02-03 22:52:20 +01:00
2020-02-10 11:05:26 +01:00
2020-01-22 21:24:36 +01:00
2019-03-11 11:32:20 +01:00
2020-02-10 11:05:26 +01:00
2018-07-02 21:24:38 +02:00
2019-03-11 11:32:20 +01:00
2019-09-23 16:39:52 +02:00
2019-07-22 16:59:23 +02:00
2020-02-26 15:00:08 +01:00
2019-07-22 16:49:08 +02:00
2020-02-18 14:35:58 +01:00
2018-10-15 04:33:09 +02:00
2018-02-20 21:53:48 +01:00
2020-01-16 19:14:31 +01:00
2020-02-19 13:19:37 +01:00
2020-02-26 15:00:08 +01:00
2020-02-03 22:52:20 +01:00
2020-02-17 11:51:09 +01:00
2012-01-17 08:09:13 +00:00
2019-07-22 11:39:52 +02:00
2018-10-14 19:45:12 +02:00
2018-10-15 04:33:09 +02:00
2018-10-15 04:33:09 +02:00
2020-02-03 22:52:20 +01:00