Dmitry Stogov
034b7ff091
Get rid of ZEND_ACC_IMPLICIT_PUBLIC
2018-09-11 12:26:26 +03:00
Dmitry Stogov
5c39b2c328
Added test for bug #76860 (Missed "Accessing static property as non static" warning).
...
It's already fixed by previous commit.
2018-09-11 12:10:14 +03:00
Dmitry Stogov
3a249e769b
Squashed commit of the following:
...
commit 2d3cac9e00
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Sep 11 11:54:47 2018 +0300
Fixed static property access
commit 31786ee272
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Sep 11 11:05:29 2018 +0300
Avoid duplicate checks
commit 5ae502b979
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Sep 11 10:39:17 2018 +0300
Optimization
commit 82c17f0e8a
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Sep 11 09:26:50 2018 +0300
Removed unused zend_duplicate_property_info()
commit ba53d1d0dd
Merge: eacc11b8fd c4b14370cf
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Sep 11 09:24:13 2018 +0300
Merge branch 'master' into shadow
* master:
7.0.33 next
Sync NEWS [ci skip]
add NEWS for 76582
Enforce ordering of property compare in object comparisons
Fixed wrong assertion
Skip test on unsuitable env
commit eacc11b8fd
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Sep 10 13:12:39 2018 +0300
Fixed failure of ext/spl/tests/array_017.phpt
commit 62d1871430
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Sep 10 11:55:07 2018 +0300
Fixed issues
commit 1d37e3a40e
Merge: d6c3f098b6 1e550e6f7e
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Sep 10 10:21:20 2018 +0300
Merge branch 'master' into shadow
* master:
Update NEWS
Fix for bug #76582
Fix ssl stream reneg limit test to print only after first renegotiation
Make a copy unconditionally
Fix memory leak in pcre cache
Remove not needed checking for <errno.h>
Remove HAVE_ASSERT_H
Add test for bug #76850
Fixed bug #76850 Exit code mangled by set locale/preg_match
Remove empty PHP tags from test
Fix #75273 : php_zlib_inflate_filter() may not update bytes_consumed
Fix PCRE2 exclusion and remove dead libs in Makefile.gcov
Report mem leaks to stderr if no Win debugger is present
Use combined assignment contanation operator
Fixed bug #76796
Support fixed address mmap without replacement
commit d6c3f098b6
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Sep 7 13:56:30 2018 +0300
Get rid of ZEND_ACC_SHADOW
2018-09-11 11:56:45 +03:00
Sara Golemon
7f56150ef2
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Enforce ordering of property compare in object comparisons
2018-09-10 08:56:19 -04:00
Sara Golemon
a26a107aae
Enforce ordering of property compare in object comparisons
2018-09-10 08:47:50 -04:00
Nikita Popov
100733f86b
Merge branch 'PHP-7.3'
2018-09-07 12:10:15 +02:00
David Carlier
f7b573b4e9
Support fixed address mmap without replacement
...
Reapply changes for Zend fixed mapping but only for FreeBSD.
Other BSD might expose some day a similar flag (private
for OpenBSD for the moment for example).
The Linux's part could be brought back but not before 7.4,
at this time, distributions with kernel > 4.17 will be
more widely available.
2018-09-07 12:10:05 +02:00
Peter Kokot
b1f65fb25b
Remove netware header
...
Netware system is discontinued and support has been removed from PHP
source code.
2018-09-06 05:20:37 +02:00
Dmitry Stogov
25d43cab8c
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fixed support for commutative "user opcodes"
2018-09-05 22:11:36 +03:00
Dmitry Stogov
1d36c3361f
Fixed support for commutative "user opcodes"
2018-09-05 22:11:10 +03:00
Dmitry Stogov
8939c4d96b
Get rid of ZEND_ACC_CTOR, ZEND_ACC_DTOR and ZEND_ACC_IMPLEMENTED_ABSTRACT
2018-09-05 13:16:10 +03:00
Peter Kokot
6db3c105f2
Remove AC_FUNC_MEMCMP
...
Autoconf 2.59d (released in 2006) [1] started promoting several macros
as not relevant for newer systems anymore, including the `AC_FUNC_MEMCMP`.
On some old systems such as SunOS 4.1.3 (EOL in 2003) and NeXT x86
OpenStep (discontinued) the `memcmp` function wasn't present or it
didn't work properly. [2]
On current systems including at least Solaris 10+ this check is not
relevant anymore.
Refs:
[1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
[2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
2018-09-04 12:02:47 +02:00
Xinchen Hui
6078491720
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fixed bug #76825 (Undefined symbols ___cpuid_count)
2018-09-04 17:26:56 +08:00
Xinchen Hui
3497b75b73
Fixed bug #76825 (Undefined symbols ___cpuid_count)
2018-09-04 17:26:46 +08:00
Nikita Popov
ee33c943e7
Merge branch 'PHP-7.3'
2018-09-04 08:09:22 +02:00
Nikita Popov
d36230fcab
Fix incorrect literal freeing if pass_two generates fatal error
2018-09-04 08:08:39 +02:00
Dmitry Stogov
437e91e194
Keep collision list ordered from higher to lower buckets.
2018-09-04 01:19:07 +03:00
Dmitry Stogov
887e126240
Fixed condition
2018-09-03 14:50:35 +03:00
Dmitry Stogov
a57ec0aeb5
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fixed reference-countingin ZTS build.
2018-09-03 10:21:55 +03:00
Dmitry Stogov
bc731f8e7a
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed reference-countingin ZTS build.
2018-09-03 10:21:42 +03:00
Dmitry Stogov
accf5ed621
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed reference-countingin ZTS build.
2018-09-03 10:21:32 +03:00
Dmitry Stogov
7fde2243a7
Fixed reference-countingin ZTS build.
2018-09-03 10:20:40 +03:00
Christoph M. Becker
df9e75cad7
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fix #76820 : Z_COPYABLE invalid definition
2018-08-30 18:01:29 +02:00
Christoph M. Becker
c5231ad394
Fix #76820 : Z_COPYABLE invalid definition
...
We remove the extraneous parenthesis.
2018-08-30 18:00:51 +02:00
Remi Collet
2e4489fdf4
Merge branch 'PHP-7.3'
...
* PHP-7.3:
fix double cast to int on 32-bit
2018-08-30 09:05:01 +02:00
Remi Collet
cf6c32545e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
fix double cast to int on 32-bit
2018-08-30 09:04:43 +02:00
Remi Collet
6e703c957e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix double cast to int on 32-bit
2018-08-30 09:04:13 +02:00
Remi Collet
c1729272b1
fix double cast to int on 32-bit
2018-08-30 09:03:50 +02:00
Dmitry Stogov
19376453e8
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fixed incorrect ZEND_ACC_ARENA_ALLOCATED usage (it must be used only for internal functions).
2018-08-29 23:41:46 +03:00
Dmitry Stogov
566a75e97c
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed incorrect ZEND_ACC_ARENA_ALLOCATED usage (it must be used only for internal functions).
2018-08-29 23:41:22 +03:00
Dmitry Stogov
fd5a453cb9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed incorrect ZEND_ACC_ARENA_ALLOCATED usage (it must be used only for internal functions).
2018-08-29 23:41:14 +03:00
Dmitry Stogov
709e4e4f17
Fixed incorrect ZEND_ACC_ARENA_ALLOCATED usage (it must be used only for internal functions).
2018-08-29 23:40:17 +03:00
Peter Kokot
ef12e96215
Remove AC_FUNC_VPRINTF
...
Autoconf 2.59d (released in 2006) 1 started promoting several macros
as not relevant for newer systems anymore, including the AC_FUNC_VPRINTF.
This macro checks for presence of the vprint function otherwise checks
for presence of the _doprnt function. This check was relevant on very
old systems and today can be omitted since it should be well supported
by now. [2]
Also PHP doesn't use the HAVE_VPRINTF or HAVE_DOPRNT symbols.
Refs:
[1] http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
[2] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
2018-08-29 21:31:55 +02:00
Remi Collet
404a97dd57
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Revert "Support fixed address mmap without replacement"
Revert "Don't report mmap failure if it is expected"
2018-08-29 14:41:27 +02:00
Remi Collet
a55bcaa14d
Revert "Support fixed address mmap without replacement"
...
This reverts commit 0f68ff5c92 .
2018-08-29 14:41:04 +02:00
Remi Collet
8cc7e2a2df
Revert "Don't report mmap failure if it is expected"
...
This reverts commit 446b5b15d3 .
2018-08-29 14:40:59 +02:00
Dmitry Stogov
cd9f0a22fc
Perform run-time binding reusing HashTable bucket (without new bucket insertion).
2018-08-29 00:35:07 +03:00
Peter Kokot
409b5133cc
Change some permissions from 755 to 644
...
This patch syncs file permissions accross the PHP source code files
since these don't need to be executable.
2018-08-28 23:26:49 +02:00
Dmitry Stogov
2fbfdde1b6
Cleanup class linking
2018-08-27 16:40:25 +03:00
Dmitry Stogov
ea9628936f
Move zend_verify_abstract_class() into zend_inheritance.c
2018-08-27 12:56:17 +03:00
Dmitry Stogov
02eded868c
Avoid function copying
2018-08-27 12:47:32 +03:00
Anatol Belski
e42e8b1051
Refactor stat implementation
...
- move relevant parts into win32
- general cleanup
- use Windows API and fallback to POSIX
- improve filetime to timestamp conversion
- improve stat/fsat
- handle ino by using file index
- handle st_dev by using volume serial number
The inode implementation is based on file indexes from NTFS. On 32-bit,
fake inodes are shown, that may lead to unexpeted results. 64-bit
implementation is most reliable.
2018-08-26 22:30:06 +02:00
Dmitry Stogov
6136a20544
ZEND_DECLARE_CLASS, ZEND_DECLARE_INHERITED_CLASS and ZEND_DECLARE_INHERITED_CLASS_DELAYED don't need return value anymore.
2018-08-24 15:40:53 +03:00
Dmitry Stogov
b36dbdd1dd
Perform "early-binding" directly during compilation
2018-08-24 15:18:38 +03:00
Dmitry Stogov
8050f4a334
Keep information about unresolved parent class in zend_class_entry->parent_name
2018-08-24 00:20:57 +03:00
Dmitry Stogov
d140df58e6
Keep information about unresolved interfaces in zend_class_entry->interface_names.
...
Move interface implementation code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_INTERFACE and ZEND_VERIFY_ABSTRACT_CLASS opcodes.
2018-08-23 17:16:28 +03:00
Dmitry Stogov
67397970b2
Replace zend_class_entry->traits by persistent zend_class_entry->trait_names.
...
Move trait binding code into ZEND_DECLARE_*CLASS opcodes.
Remove ZEND_ADD_TRIAIT and ZEND_BIND_TRAITS opcodes.
2018-08-23 02:02:26 +03:00
Dmitry Stogov
92fdf9d629
Change zend_lookup_class_ex() and zend_fetch_class_by_name() prototypes to accept optional lower-case class name as zend_string*, instead of zval*.
2018-08-22 17:07:31 +03:00
Christoph M. Becker
1f698e0f94
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fix #76773 - Methods with a concrete scope need to be added again
2018-08-22 14:08:46 +02:00
Chris Wright
9ace33b9c5
Fix #76773 - Methods with a concrete scope need to be added again
2018-08-22 14:08:15 +02:00