]> granicus.if.org Git - php/log
php
7 years agoMerge branch 'PHP-7.1'
Remi Collet [Mon, 13 Mar 2017 07:17:59 +0000 (08:17 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  rely on provided openssl.cnf to avoid possible failure with system defaults

7 years agorely on provided openssl.cnf to avoid possible failure with system defaults
Remi Collet [Mon, 13 Mar 2017 07:17:42 +0000 (08:17 +0100)]
rely on provided openssl.cnf to avoid possible failure with system defaults

7 years agoFix __sleep() returning undefined declared properties
Nikita Popov [Sun, 12 Mar 2017 21:15:46 +0000 (22:15 +0100)]
Fix __sleep() returning undefined declared properties

7 years agoClean up __sleep() related code
Nikita Popov [Sun, 12 Mar 2017 20:32:47 +0000 (21:32 +0100)]
Clean up __sleep() related code

7 years agoMerge branch 'pull-request/2414'
Joe Watkins [Sun, 12 Mar 2017 19:00:06 +0000 (19:00 +0000)]
Merge branch 'pull-request/2414'

* pull-request/2414:
  zend-test extension to house code that is required for testing internal APIs, but that we would not want to expose for regular builds

7 years agozend-test extension to house code that is required for testing internal APIs, but...
Nikita Popov [Fri, 10 Mar 2017 23:33:32 +0000 (00:33 +0100)]
zend-test extension to house code that is required for testing internal APIs, but that we would not want to expose for regular builds

7 years agoDrop unnecessary checks of pemalloc() return value
David Carlier [Sat, 11 Mar 2017 23:50:50 +0000 (23:50 +0000)]
Drop unnecessary checks of pemalloc() return value

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sun, 12 Mar 2017 16:04:02 +0000 (17:04 +0100)]
Merge branch 'PHP-7.1'

7 years agoImplement FR #74217: deterministic sqlite functions
andrewnester [Fri, 10 Mar 2017 17:34:23 +0000 (20:34 +0300)]
Implement FR #74217: deterministic sqlite functions

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 10 Mar 2017 17:21:09 +0000 (18:21 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 10 Mar 2017 17:20:49 +0000 (18:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #73960
Nikita Popov [Thu, 9 Mar 2017 20:09:36 +0000 (21:09 +0100)]
Fixed bug #73960

7 years agoConstify to void build warning for C++ ext. [-Wwrite-strings]
Remi Collet [Fri, 10 Mar 2017 10:52:26 +0000 (11:52 +0100)]
Constify to void build warning for C++ ext. [-Wwrite-strings]

Example (with v8js):

/builddir/build/BUILD/php-pecl-v8js-1.3.4/NTS/v8js_class.cc: In function 'void v8js_execute_script(zval*, v8js_script*, long int, long int, long int, zval**)':
/usr/include/php/Zend/zend.h:204:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
 #define zend_bailout()  _zend_bailout(__FILE__, __LINE__)
                                                         ^
/builddir/build/BUILD/php-pecl-v8js-1.3.4/NTS/v8js_class.cc:633:3: note: in expansion of macro 'zend_bailout'
   zend_bailout();
   ^~~~~~~~~~~~

7 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Fri, 10 Mar 2017 07:17:29 +0000 (15:17 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #74218 (ArrayIterator error message is confusing)

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Fri, 10 Mar 2017 07:16:01 +0000 (15:16 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74218 (ArrayIterator error message is confusing)

7 years agoFixed bug #74218 (ArrayIterator error message is confusing)
Xinchen Hui [Fri, 10 Mar 2017 07:15:31 +0000 (15:15 +0800)]
Fixed bug #74218 (ArrayIterator error message is confusing)

7 years agoMerge branch 'PHP-7.1'
Sara Golemon [Thu, 9 Mar 2017 19:58:19 +0000 (11:58 -0800)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Thu, 9 Mar 2017 19:56:54 +0000 (11:56 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Add NEWS entry for bab0b99f

7 years agoAdd NEWS entry for bab0b99f
Sara Golemon [Thu, 9 Mar 2017 19:47:29 +0000 (11:47 -0800)]
Add NEWS entry for bab0b99f

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 9 Mar 2017 19:48:32 +0000 (20:48 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 9 Mar 2017 19:48:14 +0000 (20:48 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #73370
Nikita Popov [Thu, 9 Mar 2017 19:47:06 +0000 (20:47 +0100)]
Fixed bug #73370

If len=0 malloc() is allowed to return NULL.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 9 Mar 2017 16:32:08 +0000 (17:32 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 9 Mar 2017 16:31:52 +0000 (17:31 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #71003: Add PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
Thomas Orozco [Thu, 9 Jun 2016 08:45:40 +0000 (10:45 +0200)]
Fixed bug #71003: Add PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 9 Mar 2017 15:45:40 +0000 (16:45 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 9 Mar 2017 15:44:25 +0000 (16:44 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #72096 Swatch time value incorrect for dates before 1970
mcq8 [Fri, 3 Jun 2016 19:28:20 +0000 (19:28 +0000)]
Fixed bug #72096 Swatch time value incorrect for dates before 1970

7 years agoDrop outdated makerpm script
Nikita Popov [Thu, 9 Mar 2017 15:24:51 +0000 (16:24 +0100)]
Drop outdated makerpm script

Not updated since 2003, uses Copyright tag (not supported since
2005), uses a number of configure options that have been dropped
ages ago, etc.

7 years agoPcntl: Make realtime signals available
Dennis Birkholz [Wed, 5 Aug 2015 14:42:42 +0000 (16:42 +0200)]
Pcntl: Make realtime signals available

Expose constants SIGRTMIN and SIGRTMAX and adjust range checks to
support realtime signals.

7 years agoEnable ccache on Travis
c9s [Wed, 4 May 2016 06:09:41 +0000 (14:09 +0800)]
Enable ccache on Travis

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Thu, 9 Mar 2017 07:44:18 +0000 (07:44 +0000)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix bug #74149 static embed SAPI linkage error

7 years agoFix bug #74149 static embed SAPI linkage error
Joe Watkins [Thu, 9 Mar 2017 07:42:32 +0000 (07:42 +0000)]
Fix bug #74149 static embed SAPI linkage error

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Wed, 8 Mar 2017 23:10:31 +0000 (00:10 +0100)]
Merge branch 'PHP-7.1'

7 years agoFixed bug #74058
andrewnester [Thu, 2 Mar 2017 13:59:32 +0000 (16:59 +0300)]
Fixed bug #74058

Fall back from get_property_ptr_ptr to read_property if offsetGet
is overridden.

7 years agoTry fallback on IPv4 ANYADDR when IPv6 ANYADDR fails
Sara Golemon [Wed, 8 Mar 2017 18:00:59 +0000 (10:00 -0800)]
Try fallback on IPv4 ANYADDR when IPv6 ANYADDR fails

https://bugs.php.net/bug.php?id=74166
A host system with no/limited IPv6 support will fail at binding
the IPv6 ANYADDR address (::) as the address family is unsupported.

Deal with this by handling failure to implicitly bind to ::
as a soft failure, falling back to 0.0.0.0.

If binding to :: failed for some other reason (e.g. port in use)
then binding to 0.0.0.0 will likely fail as well, but we'll
get appropriate warnings for that.

7 years agoMerge branch 'PHP-7.1'
Sara Golemon [Tue, 7 Mar 2017 20:11:31 +0000 (12:11 -0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Detect invalid port in xp_socket parse ip address

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Tue, 7 Mar 2017 20:11:22 +0000 (12:11 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Detect invalid port in xp_socket parse ip address

7 years agoDetect invalid port in xp_socket parse ip address
Sara Golemon [Tue, 7 Mar 2017 19:27:46 +0000 (11:27 -0800)]
Detect invalid port in xp_socket parse ip address

For historical reasons, fsockopen() accepts the port and hostname
separately: fsockopen('127.0.0.1', 80)

However, with the introdcution of stream transports in PHP 4.3,
it became possible to include the port in the hostname specifier:

fsockopen('127.0.0.1:80')
Or more formally: fsockopen('tcp://127.0.0.1:80')

Confusing results when these two forms are combined, however.
fsockopen('127.0.0.1:80', 443) results in fsockopen() attempting
to connect to '127.0.0.1:80:443' which any reasonable stack would
consider invalid.

Unfortunately, PHP parses the address looking for the first colon
(with special handling for IPv6, don't worry) and calls atoi()
from there.  atoi() in turn, simply stops parsing at the first
non-numeric character and returns the value so far.

The end result is that the explicitly supplied port is treated
as ignored garbage, rather than producing an error.

This diff replaces atoi() with strtol() and inspects the
stop character.  If additional "garbage" of any kind is found,
it fails and returns an error.

7 years agomove to hash API for interned strings ht management
Anatol Belski [Tue, 7 Mar 2017 18:01:00 +0000 (19:01 +0100)]
move to hash API for interned strings ht management

7 years agodrop redundant checks
Anatol Belski [Tue, 7 Mar 2017 14:42:19 +0000 (15:42 +0100)]
drop redundant checks

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 7 Mar 2017 14:31:54 +0000 (15:31 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  sync with the incremental and inter-file analysis option

7 years agosync with the incremental and inter-file analysis option
Anatol Belski [Tue, 7 Mar 2017 14:27:57 +0000 (15:27 +0100)]
sync with the incremental and inter-file analysis option

available as of cppcheck 1.77

7 years agomove to hash API
Anatol Belski [Tue, 7 Mar 2017 12:29:37 +0000 (13:29 +0100)]
move to hash API

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Tue, 7 Mar 2017 12:18:04 +0000 (13:18 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 7 Mar 2017 12:17:33 +0000 (13:17 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix out of bounds access in gc_find_additional_buffer()
Nikita Popov [Tue, 7 Mar 2017 12:16:06 +0000 (13:16 +0100)]
Fix out of bounds access in gc_find_additional_buffer()

7 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 7 Mar 2017 07:18:57 +0000 (10:18 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed pointer allignment

7 years agoFixed pointer allignment
Dmitry Stogov [Tue, 7 Mar 2017 07:18:34 +0000 (10:18 +0300)]
Fixed pointer allignment

7 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 7 Mar 2017 06:50:28 +0000 (09:50 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Ensure pointer alignment.

7 years agoEnsure pointer alignment.
Dmitry Stogov [Mon, 6 Mar 2017 14:09:05 +0000 (17:09 +0300)]
Ensure pointer alignment.

7 years agoremove accidentially commited file
Anatol Belski [Tue, 7 Mar 2017 00:33:19 +0000 (01:33 +0100)]
remove accidentially commited file

7 years agoextend ccppcheck defs
Anatol Belski [Tue, 7 Mar 2017 00:29:45 +0000 (01:29 +0100)]
extend ccppcheck defs

7 years agoEnsure pointer alignment.
Dmitry Stogov [Mon, 6 Mar 2017 14:09:05 +0000 (17:09 +0300)]
Ensure pointer alignment.

7 years agoInterned strings unification for TS/NTS
Anatol Belski [Sat, 4 Mar 2017 09:39:13 +0000 (10:39 +0100)]
Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end

There is no runtime interning.

With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.

7 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Fri, 3 Mar 2017 13:13:03 +0000 (16:13 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Fri, 3 Mar 2017 13:12:41 +0000 (16:12 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)

7 years agoFixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
Dmitry Stogov [Fri, 3 Mar 2017 13:10:46 +0000 (16:10 +0300)]
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)

7 years agoFixed file-cache support (serialization/deserialization of zend_type)
Dmitry Stogov [Fri, 3 Mar 2017 09:26:49 +0000 (12:26 +0300)]
Fixed file-cache support (serialization/deserialization of zend_type)

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 2 Mar 2017 19:47:56 +0000 (20:47 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  sync NEWS for bug #74159

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 2 Mar 2017 19:46:39 +0000 (20:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  sync NEWS for bug #74159

7 years agosync NEWS for bug #74159
Anatol Belski [Thu, 2 Mar 2017 19:45:15 +0000 (20:45 +0100)]
sync NEWS for bug #74159

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 2 Mar 2017 19:36:12 +0000 (20:36 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  improve signal globals consistency check for TS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 2 Mar 2017 19:34:48 +0000 (20:34 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  improve signal globals consistency check for TS

7 years agoimprove signal globals consistency check for TS
Anatol Belski [Thu, 2 Mar 2017 19:27:27 +0000 (20:27 +0100)]
improve signal globals consistency check for TS

Seems when we receive TERM, TLS is destroyed completely. In that case,
not only signal globals, but the entire globals array doesn't exist
anymore.

7 years agoMerge branch 'PHP-7.1'
Anatol Belski [Thu, 2 Mar 2017 15:43:10 +0000 (16:43 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  do not try to handle signals, when globals are inconsistent

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 2 Mar 2017 15:41:43 +0000 (16:41 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  do not try to handle signals, when globals are inconsistent

7 years agodo not try to handle signals, when globals are inconsistent
Anatol Belski [Thu, 2 Mar 2017 15:39:32 +0000 (16:39 +0100)]
do not try to handle signals, when globals are inconsistent

7 years agoZip: add support for encrypted archive
Remi Collet [Thu, 2 Mar 2017 12:36:40 +0000 (13:36 +0100)]
Zip: add support for encrypted archive

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 2 Mar 2017 11:36:31 +0000 (12:36 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 2 Mar 2017 11:36:04 +0000 (12:36 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoPHP bug #74004
somedaysummer [Fri, 27 Jan 2017 20:20:07 +0000 (15:20 -0500)]
PHP bug #74004

Fix for DOMDocument loadHTML and loadHTMLFile ignore LIBXML_NOWARNING
and LIBXML_NOERROR flags.

7 years agoMerge branch 'PHP-7.1'
Derick Rethans [Thu, 2 Mar 2017 11:28:17 +0000 (11:28 +0000)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Derick Rethans [Thu, 2 Mar 2017 11:28:09 +0000 (11:28 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed tests after tzdb removed abbreviations
Derick Rethans [Thu, 2 Mar 2017 11:28:02 +0000 (11:28 +0000)]
Fixed tests after tzdb removed abbreviations

7 years agoMake sure we anchor this test to February
Derick Rethans [Thu, 2 Mar 2017 11:27:44 +0000 (11:27 +0000)]
Make sure we anchor this test to February

7 years agoAdd test-case from bug #55157
Eric Poe [Sat, 4 Feb 2017 02:56:18 +0000 (21:56 -0500)]
Add test-case from bug #55157

The issue itself is not fixed, this is just a workaround.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 2 Mar 2017 11:14:00 +0000 (12:14 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 2 Mar 2017 11:13:38 +0000 (12:13 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix bug73858.phpt to work in months without 31 days
Mitch Hagstrand [Wed, 1 Mar 2017 23:08:59 +0000 (15:08 -0800)]
Fix bug73858.phpt to work in months without 31 days

Used hardcoded months in bug73858.phpt rather than the current and previous
month.

7 years agoUpdate NEWS
Christopher Jones [Thu, 2 Mar 2017 04:35:19 +0000 (15:35 +1100)]
Update NEWS

7 years agoUpdate NEWs
Christopher Jones [Thu, 2 Mar 2017 04:34:47 +0000 (15:34 +1100)]
Update NEWs

7 years agoMerge branch 'PHP-7.1'
Christopher Jones [Thu, 2 Mar 2017 04:33:50 +0000 (15:33 +1100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Christopher Jones [Thu, 2 Mar 2017 04:33:25 +0000 (15:33 +1100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #54379 (PDO_OCI: UTF-8 output gets truncated)
Christopher Jones [Thu, 2 Mar 2017 04:28:01 +0000 (15:28 +1100)]
Fixed bug #54379 (PDO_OCI: UTF-8 output gets truncated)

This was a modification of an incomplete PR #2276.

7 years agoRemove dead code related to error constants
Adam Baratz [Wed, 1 Mar 2017 21:28:47 +0000 (16:28 -0500)]
Remove dead code related to error constants

7 years agoRemove PHP5-specific code
Adam Baratz [Wed, 1 Mar 2017 21:27:26 +0000 (16:27 -0500)]
Remove PHP5-specific code

7 years agoUpdated to version 2017.1 (2017a)
Derick Rethans [Wed, 1 Mar 2017 20:07:53 +0000 (20:07 +0000)]
Updated to version 2017.1 (2017a)

7 years agoEmpty merge
Derick Rethans [Wed, 1 Mar 2017 20:07:52 +0000 (20:07 +0000)]
Empty merge

7 years agoUpdated to version 2017.1 (2017a)
Derick Rethans [Wed, 1 Mar 2017 20:07:51 +0000 (20:07 +0000)]
Updated to version 2017.1 (2017a)

7 years agoUpdated to version 2017.1 (2017a)
Derick Rethans [Wed, 1 Mar 2017 20:07:51 +0000 (20:07 +0000)]
Updated to version 2017.1 (2017a)

7 years agoEmpty merge
Derick Rethans [Wed, 1 Mar 2017 20:07:51 +0000 (20:07 +0000)]
Empty merge

7 years agoMerge branch 'PHP-7.1'
Remi Collet [Wed, 1 Mar 2017 16:03:11 +0000 (17:03 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  make type consistent with glob_t.gl_pathc

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Remi Collet [Wed, 1 Mar 2017 16:02:42 +0000 (17:02 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  make type consistent with glob_t.gl_pathc

7 years agomake type consistent with glob_t.gl_pathc
Remi Collet [Wed, 1 Mar 2017 16:01:58 +0000 (17:01 +0100)]
make type consistent with glob_t.gl_pathc

7 years agoMerge branch 'PHP-7.1'
Sara Golemon [Wed, 1 Mar 2017 01:18:08 +0000 (17:18 -0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix potential crash when setting invalid declare value

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Wed, 1 Mar 2017 01:17:41 +0000 (17:17 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix potential crash when setting invalid declare value

7 years agoFix potential crash when setting invalid declare value
Sara Golemon [Wed, 22 Feb 2017 21:56:38 +0000 (13:56 -0800)]
Fix potential crash when setting invalid declare value

Using a non-literal expression in a declare value can cause the
compiler to crash trying to turn that AST node into a usable zval.

There was an existing test for such values using 'encoding',
but that didn't crash because it's handled by the lexer
rather than being compiled.

Trying to use a non-literal with ticks reproduces the crash.

8 years agoMerge branch 'PHP-7.1'
Remi Collet [Tue, 28 Feb 2017 10:36:42 +0000 (11:36 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  make test slower again

8 years agomake test slower again
Remi Collet [Tue, 28 Feb 2017 10:36:24 +0000 (11:36 +0100)]
make test slower again