Anatol Belski
dec8eb431a
noted the TSRM changes to UPGRADING.INTERNALS
2014-12-18 09:09:02 +01:00
Anatol Belski
e8acb9ff26
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
fix integral constant overflow warning
Use HUGE PAGES for opcahce SHM, if available.
2014-12-17 17:46:48 +01:00
Anatol Belski
79354ba6d0
fix integral constant overflow warning
...
as it's promoted to size_t when passed to ZEND_CALL_ARG
2014-12-17 16:47:05 +01:00
Dmitry Stogov
12ce17c47e
Use HUGE PAGES for opcahce SHM, if available.
2014-12-17 14:59:08 +03:00
Anatol Belski
e1fcb9ea66
integrated the static tsrmls cache into ext/skel
2014-12-17 12:37:50 +01:00
Anatol Belski
9c354ba182
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
Added EXPECTED(). Most functions have arguments.
2014-12-17 11:53:45 +01:00
Anatol Belski
3b6a8b1163
remove the thread ctx from curl
2014-12-17 11:38:46 +01:00
Anatol Belski
386cb177bd
remove unused ZTS macros
2014-12-17 11:05:23 +01:00
Anatol Belski
99d0078ab9
remove TSRMLS_* occurence
2014-12-17 11:03:13 +01:00
Remi Collet
f61071205f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
2014-12-17 11:01:23 +01:00
Remi Collet
f382fbf4c1
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
2014-12-17 11:00:52 +01:00
Remi Collet
5fc2fede9c
Better fix for #68601 for perf
...
https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467
2014-12-17 10:59:36 +01:00
Anatol Belski
8122bee654
enable static tsrmls cache in the embed SAPI
2014-12-17 10:58:31 +01:00
Anatol Belski
af21b3b6dc
get rid of TSRMLS_* in the embed SAPI
2014-12-17 10:52:28 +01:00
Dmitry Stogov
4d21ad31dd
Added EXPECTED(). Most functions have arguments.
2014-12-17 12:16:02 +03:00
Anatol Belski
4acc56d5b2
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
fix unserializer patch
move this entry to the correct version
add missing NEWS entry
add missing NEWS entry
Updated or skipped certain 32-bit tests
add NEWS entry for #68594
5.4.37
add more BC breaks
update news
add CVE
add missing test file
Fix bug #68594 - Use after free vulnerability in unserialize()
Fix typo
Hash value must not zero?
2014-12-17 05:29:36 +01:00
Xinchen Hui
cf84bf53ea
Merge branch 'fix-typo' of https://github.com/gustavotemple/php-src
2014-12-17 11:52:42 +08:00
Xinchen Hui
cfc8b57342
Merge branch 'master' of https://git.php.net/repository/php-src
2014-12-17 11:52:19 +08:00
Stanislav Malyshev
8b0deb8cd2
fix unserializer patch
2014-12-16 17:50:54 -08:00
Ferenc Kovacs
5ab1ddacca
Merge branch 'PHP-5.6'
...
* PHP-5.6:
move this entry to the correct version
2014-12-17 02:18:43 +01:00
Ferenc Kovacs
ffae8f1549
move this entry to the correct version
2014-12-17 02:18:29 +01:00
Ferenc Kovacs
63509691b8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing NEWS entry
add missing NEWS entry
5.4.37
2014-12-17 02:15:36 +01:00
Ferenc Kovacs
54b3871b11
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
add missing NEWS entry
add missing NEWS entry
5.4.37
2014-12-17 02:14:25 +01:00
Ferenc Kovacs
5a67d9a229
add missing NEWS entry
2014-12-17 02:13:59 +01:00
Ferenc Kovacs
925fa271ec
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add missing NEWS entry
5.4.37
Conflicts:
configure.in
main/php_version.h
2014-12-17 02:13:13 +01:00
Ferenc Kovacs
cd387b4575
add missing NEWS entry
2014-12-17 02:10:36 +01:00
Andrea Faulds
43c3ba5b55
Merge branch 'zppFailOnOverflow'
...
* zppFailOnOverflow:
Updated or skipped certain 32-bit tests
2014-12-17 01:07:39 +00:00
Andrea Faulds
1392102b0c
Updated or skipped certain 32-bit tests
2014-12-17 01:06:48 +00:00
Ferenc Kovacs
d3dc3388cc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add NEWS entry for #68594
2014-12-17 02:00:12 +01:00
Ferenc Kovacs
c6a7d1eaed
add NEWS entry for #68594
2014-12-17 01:59:38 +01:00
Stanislav Malyshev
8fe4cc6d28
5.4.37
2014-12-16 11:44:41 -08:00
Stanislav Malyshev
a4ddd3a636
add more BC breaks
2014-12-16 11:00:51 -08:00
Stanislav Malyshev
9152214c1e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update news
add CVE
add missing test file
Fix bug #68594 - Use after free vulnerability in unserialize()
Conflicts:
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
2014-12-16 10:25:03 -08:00
Stanislav Malyshev
681a1afd3f
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update news
add CVE
add missing test file
Fix bug #68594 - Use after free vulnerability in unserialize()
Conflicts:
ext/standard/var_unserializer.c
2014-12-16 10:19:32 -08:00
Stanislav Malyshev
8efd73c4d2
update news
2014-12-16 10:18:07 -08:00
Stanislav Malyshev
622a346302
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
add CVE
add missing test file
Fix bug #68594 - Use after free vulnerability in unserialize()
2014-12-16 10:17:07 -08:00
Stanislav Malyshev
53f129a44d
add CVE
2014-12-16 10:16:31 -08:00
Stanislav Malyshev
b75867fff0
add missing test file
2014-12-16 10:15:17 -08:00
Stanislav Malyshev
630f9c33c2
Fix bug #68594 - Use after free vulnerability in unserialize()
2014-12-16 10:15:17 -08:00
Anatol Belski
2eef2abee5
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Optimize argument passing handlers:
Fix pcre non-FAST_ZPP build
Conflicts:
Zend/zend_compile.c
Zend/zend_execute.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/pcre/php_pcre.c
2014-12-16 17:13:47 +01:00
Dmitry Stogov
3a18597774
Optimize argument passing handlers:
...
- predcalculate offsets of passed argument and store it in opline->result.var for ZEND_SEND_*;
- don't update "number of passed arguments" op each ZEND_SEND_* opcode, store it on call frame creation
- Change ZEND_HANDLE_EXCEPTION to determine "number of passed arguments" in incomplete calls fefore freeing
2014-12-16 18:40:52 +03:00
Anatol Belski
5ea8c3cefc
don't need this in nts mode
2014-12-16 14:52:35 +01:00
Andrea Faulds
ea7f768b2f
Fix pcre non-FAST_ZPP build
2014-12-16 12:45:41 +00:00
Anatol Belski
89f87576a1
various fixes for removing explicit tsrm_ls usage
2014-12-16 12:56:00 +01:00
Anatol Belski
9d70df24f8
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
C89 fixes
use portable struct stat
fixed macro va args expansion for vs
2014-12-16 12:22:27 +01:00
Anatol Belski
673003757f
C89 fixes
2014-12-16 12:20:59 +01:00
Anatol Belski
bee4a28433
use portable struct stat
2014-12-16 12:20:58 +01:00
Anatol Belski
f1d1185c64
fixed macro va args expansion for vs
2014-12-16 12:20:57 +01:00
Anatol Belski
24f0d2ed54
make the TSRM macros depend no the macroed cache name
2014-12-16 10:44:43 +01:00
Anatol Belski
a85eb75cba
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
fix perm again...
cleanup uneeded cast
fix bad pointer cast in ext/phar, fix segfault and failed tests (bigendian)
Conflicts:
ext/phar/func_interceptors.c
ext/phar/phar_object.c
sapi/apache2handler/sapi_apache2.c
2014-12-16 10:21:05 +01:00
Anatol Belski
9e4310eeeb
reworked ini dtor
2014-12-16 10:15:02 +01:00
Remi Collet
53c8b180c8
fix perm again...
2014-12-16 10:13:58 +01:00
Remi Collet
61cb019e20
cleanup uneeded cast
2014-12-16 10:06:32 +01:00
Remi Collet
5c0e118573
fix bad pointer cast in ext/phar, fix segfault and failed tests (bigendian)
2014-12-16 09:31:20 +01:00
Anatol Belski
eb629b70da
free the right globals
...
That's the same as in the previous commit. In the TS mode the tsrm
cache pointer might be unavailable or point to a wrong thread, so
the exact globals passed should be freed.
2014-12-16 09:12:09 +01:00
Anatol Belski
50a93357fb
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
fix perms
fix perms
PowerPC64 support in safe_address function
2014-12-16 08:42:18 +01:00
Remi Collet
62691b2d6a
fix perms
2014-12-16 08:38:51 +01:00
Remi Collet
ee0b922ece
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix perms
2014-12-16 08:38:29 +01:00
Remi Collet
181f34f375
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix perms
2014-12-16 08:37:56 +01:00
Remi Collet
9c4de388c6
fix perms
2014-12-16 08:37:48 +01:00
Anatol Belski
c0cb3a1dc4
depending on declaration the tsrm cache pointer might be unavailable
...
during shutdown when the main thread frees all the other threads
resources. Even otherwise, exact resource passed to the dtor should
be freed, not the one from the current thread.
2014-12-16 08:26:34 +01:00
Gustavo Frederico Temple Pedrosa
1e82da8d17
PowerPC64 support in safe_address function
...
Add a ppc64-specific implementation of the safe_address
function with overflow checking.
2014-12-16 08:20:01 +01:00
Anatol Belski
209a7a27a5
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Revert "Removed useless local variable"
Fix the fix for bug #55415
add BC breaks from PHPNG RFC
add include for definition of php_url_encode
2014-12-16 08:04:51 +01:00
Anatol Belski
64b423d6ed
removed the extra tsrm pointer passed to ctor/dtor
2014-12-16 08:03:15 +01:00
Dmitry Stogov
caf5521416
Revert "Removed useless local variable"
...
This reverts commit 44ae32ad55 .
It doesn't work properly. We can't access call->scope after free.
2014-12-16 01:44:10 +03:00
Stanislav Malyshev
d9f277bd16
Fix the fix for bug #55415
2014-12-15 11:40:48 -08:00
Stanislav Malyshev
b65d184d5e
add BC breaks from PHPNG RFC
2014-12-15 11:33:28 -08:00
Stanislav Malyshev
e304c3191b
add include for definition of php_url_encode
2014-12-15 11:33:27 -08:00
Anatol Belski
bd76a50019
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Removed deprecated checks
2014-12-15 20:18:40 +01:00
Dmitry Stogov
4e48bff3ce
Removed deprecated checks
2014-12-15 16:42:28 +03:00
Gustavo Frederico Temple Pedrosa
3e9a99de80
Fix typo
2014-12-15 13:11:07 +00:00
Anatol Belski
f62ad3bc57
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
made the apache ini holders to be zend_bool
Removed useless local variable
Use simpler functions
Fixed test
small fixes to UPGRADING
Reorder to save alignment size (of course, only for common used structs)
2014-12-15 13:57:43 +01:00
Anatol Belski
178363cbff
made the apache ini holders to be zend_bool
...
since they're documented to be so and we spare 16 byte
2014-12-15 13:49:46 +01:00
Dmitry Stogov
44ae32ad55
Removed useless local variable
2014-12-15 14:43:30 +03:00
Dmitry Stogov
dd01ade999
Use simpler functions
2014-12-15 14:43:16 +03:00
Dmitry Stogov
381bd80a79
Fixed test
2014-12-15 12:52:50 +03:00
Anatol Belski
dba27372ec
in ext/soap globals are initialized also on minit
2014-12-15 10:52:12 +01:00
Stanislav Malyshev
33b0349ed8
small fixes to UPGRADING
2014-12-14 23:49:43 -08:00
Xinchen Hui
7081c9bca6
Reorder to save alignment size (of course, only for common used structs)
2014-12-15 01:44:53 -05:00
Anatol Belski
61f90fbe0b
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Save 8 bytes on 64 bits
Conflicts:
Zend/zend_API.c
2014-12-15 07:13:09 +01:00
Anatol Belski
5ff59f986c
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Revert HTTP status codes merger
fixed tests, bugs in status codes merger
Fixed bug #55415 (php_info produces invalid anchor names)
NEWS
Implement feature request #55467 (phpinfo: PHP Variables with $ and single quotes)
NEWS
Change back to use is_int() as function instead of is_integer(), as per Jan Tvrdík's request @github
NEWS
Change is_long() to be an alias of is_integer()
Fix indentation
Share HTTP status codes map
2014-12-15 07:01:29 +01:00
Xinchen Hui
8f177fde90
Save 8 bytes on 64 bits
2014-12-15 00:43:28 -05:00
Andrea Faulds
7950429626
Revert HTTP status codes merger
...
This reverts commits 65768edcf3 , 627b350f31 and 9c18ad3ac9 .
2014-12-15 01:30:58 +00:00
Andrea Faulds
9c18ad3ac9
fixed tests, bugs in status codes merger
2014-12-14 23:41:11 +00:00
Kalle Sommer Nielsen
ad01fd8b49
Fixed bug #55415 (php_info produces invalid anchor names)
...
@@ Slightly based off Johannes' patch
2014-12-14 23:09:13 +01:00
Kalle Sommer Nielsen
9afae43b12
NEWS
2014-12-14 22:49:00 +01:00
Kalle Sommer Nielsen
d82fa2273f
Implement feature request #55467 (phpinfo: PHP Variables with $ and single quotes)
2014-12-14 22:47:58 +01:00
Kalle Sommer Nielsen
6b00fba877
NEWS
2014-12-14 22:32:42 +01:00
Kalle Sommer Nielsen
6b8ed592b9
Change back to use is_int() as function instead of is_integer(), as per Jan Tvrdík's request @github
2014-12-14 22:26:16 +01:00
Kalle Sommer Nielsen
a3615aeea4
NEWS
2014-12-14 22:13:07 +01:00
Kalle Sommer Nielsen
04c11f918a
Change is_long() to be an alias of is_integer()
...
@@ See internals: news.php.net/php.internals/79639
@@ Manual will be updated so that is_int() will be an alias of is_integer()
@@ I picked integer over int for consitentcy as we do not use str instead of string either
2014-12-14 21:57:07 +01:00
Andrea Faulds
627b350f31
Fix indentation
2014-12-14 19:20:06 +00:00
Andrea Faulds
d450f6aabc
Merge branch 'unify_http'
...
* unify_http:
Share HTTP status codes map
2014-12-14 19:18:23 +00:00
Andrea Faulds
65768edcf3
Share HTTP status codes map
2014-12-14 19:16:51 +00:00
Anatol Belski
a857f3a147
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Fix bug #67106 split main fpm config
split fpm config to two parts. PR#903
fix typo
Fix undefined behaviour in strnatcmp
Fix undefined behaviour in strnatcmp
Fixed memory leak introduced by 73458e8f
update NEWS
move the test to the right place
Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-14 19:44:24 +01:00
Anatol Belski
0a40e6a3db
removed the TS part, as suggested by Dmitry.
...
Tests seem to be ok so far
2014-12-14 19:12:13 +01:00
Remi Collet
855d296638
Fix bug #67106 split main fpm config
2014-12-14 14:23:43 +01:00
Anatol Belski
7b6ed8db2f
almost all the replacements of TSRMLS_* are done
...
Some places have to be yet touched as they use different/custom
macros namings for the same. Also some places in the code became
redundant now, this is the next task. To name some: ext/mysqlnd,
sapi/embed, ext/curl and some smaller places here and there.
2014-12-14 14:22:42 +01:00
Elan Ruusamäe
9f189dd290
split fpm config to two parts. PR#903
...
main config = global options
secondary config = pool options
makes easier to add new pools:
duplicate pool config in fpm.d dir
https://bugs.php.net/bug.php?id=67106
2014-12-14 14:21:46 +01:00
Anatol Belski
e112f6a04e
second shot on removing TSRMLS_*
2014-12-14 14:07:59 +01:00
Remi Collet
70c141b8f8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix typo
2014-12-14 09:23:25 +01:00
Remi Collet
505adabf25
fix typo
2014-12-14 09:22:59 +01:00
Andrea Faulds
a2038e6826
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix undefined behaviour in strnatcmp
update NEWS
move the test to the right place
Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-13 22:31:20 +00:00
Andrea Faulds
51771ed238
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix undefined behaviour in strnatcmp
update NEWS
move the test to the right place
Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-13 22:30:19 +00:00
Andrea Faulds
f804a3614e
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix undefined behaviour in strnatcmp
update NEWS
move the test to the right place
Fixed bug #68545 NULL pointer dereference in unserialize.c
Conflicts:
NEWS
2014-12-13 22:28:45 +00:00
Andrea Faulds
034e6decb3
Fix undefined behaviour in strnatcmp
2014-12-13 22:27:10 +00:00
Andrea Faulds
2cca4d0193
Fix undefined behaviour in strnatcmp
2014-12-13 22:06:27 +00:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Andrea Faulds
8c99b65c4d
Fixed memory leak introduced by 73458e8f
2014-12-13 21:11:09 +00:00
Anatol Belski
bb66f385d0
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (37 commits)
NEWS
NEWS
Fix bug #68601 buffer read overflow in gd_gif_in.c
Fixed compilation warnings
Removed unnecessary checks
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
Merged PR #911 .
Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before.
Updated NEWS
Updated NEWS
Updated NEWS
Fix bug #68532 : convert.base64-encode omits padding bytes
Updated NEWS
Updated NEWS
Updated NEWS
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
Updated NEWS
Updated NEWS
Fix MySQLi tests
Fixed gd test
...
2014-12-13 19:43:45 +01:00
Andrea Faulds
0ea0b591d7
Merge branch 'zppFailOnOverflow'
...
* zppFailOnOverflow:
Fix MySQLi tests
Fixed gd test
Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG()
Fixed copy-and-paste error
Fix more 32-bit tests
Skip buncha tests on 32-bit
skip simplexml
skip posix 32-bit
skip tests on 32-bit
Fixes simplexml test
Fixes posix tests
Fixes iconv tests
Marked tests as 32-bit
Fixed more 32-bit tests
Fixed some 32-bit tests
Mark said ext/date tests as 32-bit only
Fixed ext/date tests broken by zpp error on overflow
Fixed broken tests
Make zpp fail if NaN passed for int, or out-of-range float for non-capping int
Conflicts:
ext/date/tests/getdate_variation7.phpt
ext/date/tests/localtime_variation3.phpt
2014-12-13 18:38:15 +00:00
Remi Collet
de0afce55b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fix bug #68601 buffer read overflow in gd_gif_in.c
2014-12-13 09:06:24 +01:00
Remi Collet
2e5de0c323
NEWS
2014-12-13 09:05:48 +01:00
Remi Collet
8bd67ce748
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fix bug #68601 buffer read overflow in gd_gif_in.c
2014-12-13 09:05:33 +01:00
Remi Collet
ba62b9bbf8
NEWS
2014-12-13 09:04:57 +01:00
Remi Collet
07b5896a13
Fix bug #68601 buffer read overflow in gd_gif_in.c
2014-12-13 09:03:44 +01:00
Xinchen Hui
3753e6d978
Hash value must not zero?
2014-12-13 11:42:53 +08:00
Dmitry Stogov
3893c1fc3d
Fixed compilation warnings
2014-12-12 21:57:34 +03:00
Dmitry Stogov
68cfeed70f
Removed unnecessary checks
2014-12-12 21:57:12 +03:00
Julien Pauli
8ff4abb468
Merge branch 'PHP-5.6'
...
* PHP-5.6:
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:24:29 +01:00
Julien Pauli
3769aee67c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:24:16 +01:00
Jille Timmermans
9beb3763db
pcntl_signal_dispatch: Speed up by preventing system calls when unnecessary
2014-12-12 18:16:12 +01:00
Julien Pauli
0adfa03397
Merged PR #911 .
2014-12-12 18:00:13 +01:00
Guilherme Blanco
094d409b3d
Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before.
2014-12-12 17:29:54 +01:00
Julien Pauli
5ad01e1d33
Updated NEWS
2014-12-12 17:02:20 +01:00
Julien Pauli
446eed10ee
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
Fix bug #68532 : convert.base64-encode omits padding bytes
2014-12-12 16:51:50 +01:00
Julien Pauli
238529fc3e
Updated NEWS
2014-12-12 16:51:37 +01:00
Julien Pauli
a0d848f795
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
Fix bug #68532 : convert.base64-encode omits padding bytes
2014-12-12 16:50:42 +01:00
Julien Pauli
d43d0663af
Updated NEWS
2014-12-12 16:50:32 +01:00
mcq8
86f1875536
Fix bug #68532 : convert.base64-encode omits padding bytes
2014-12-12 16:42:38 +01:00
Julien Pauli
8e42063c0c
Updated NEWS
2014-12-12 16:14:52 +01:00
Julien Pauli
ebe755f149
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
Conflicts:
Zend/zend_compile.c
2014-12-12 16:14:24 +01:00
Julien Pauli
4cda98264e
Updated NEWS
2014-12-12 16:12:52 +01:00
Julien Pauli
d5dd29ce5c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
Conflicts:
Zend/zend_compile.c
2014-12-12 16:11:26 +01:00
Julien Pauli
d6eb3b49c8
Updated NEWS
2014-12-12 15:06:04 +01:00
Kévin Dunglas
ee226b961c
Fixed Bug #65576 (Constructor from trait conflicts with inherited constructor)
2014-12-12 14:58:23 +01:00
Anatol Belski
dfb18b1188
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
updated NEWS
PowerPC64 support for add and sub with overflow check
PowerPC64 support for operators with overflow check
Fixed bug #68583 Crash in timeout thread
Reduced size of zend_op on 64-bit systems.
Make ZEND_INIT_FCALL keep predcalculted size of necessary stack space in opline->op1.num to avoid its recalculation on each execution.
Removed unused variables
Improved array_merge() and array_replace() (1-st array may be added using simple procedure).
Replaced zendi_convert_to_long() with _zval_get_long_func()
Moved zend_is_true() from zend_execute.h/zend_execute_API.c into zend_operators.h/zend_operators.c. Splited the most expensive part of inline i_zend_is_true() into a separate zend_object_is_true(). Replaced zendi_convert_to_long() with cals to zend_is_true().
Revert "Save one xor instr"
Save one xor instr
Conflicts:
Zend/zend_execute_API.c
2014-12-12 14:25:59 +01:00
Julien Pauli
2e735660d2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
2014-12-12 14:20:58 +01:00
Julien Pauli
d1a2c15221
Updated NEWS
2014-12-12 14:20:41 +01:00
Julien Pauli
895b4efab0
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
2014-12-12 14:18:43 +01:00
Julien Pauli
fbe9b2c088
Updated NEWS
2014-12-12 14:18:27 +01:00
Anatol Belski
f4311686cc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #68583 Crash in timeout thread
Conflicts:
Zend/zend_execute.h
Zend/zend_execute_API.c
2014-12-12 13:26:17 +01:00
Anatol Belski
b1709b8ff0
updated NEWS
2014-12-12 12:17:42 +01:00
Anatol Belski
c96ffaa653
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #68583 Crash in timeout thread
Conflicts:
Zend/zend_execute.h
2014-12-12 12:05:47 +01:00
Gustavo Frederico Temple Pedrosa
5dbeb9e65e
PowerPC64 support for add and sub with overflow check
...
This adds fast architecture-specific implementations of the
following functions for the ppc64:
* fast_add_function
* fast_sub_function
2014-12-12 10:47:54 +01:00
Gustavo Frederico Temple Pedrosa
fd045c7021
PowerPC64 support for operators with overflow check
...
This adds fast architecture-specific implementations of
the following functions for the ppc64:
* fast_increment_function
* fast_decrement_function
2014-12-12 10:47:50 +01:00
Anatol Belski
3affc0e8a2
Fixed bug #68583 Crash in timeout thread
...
This replaces the GUI element used for execution timeout handling
on Windows. Instead a timer queue technique is used, which is indeed
a thread pool. A timer queue timer is a lightweight object handled
but that thread pool and the timer thread spends most of the time
sleeping and waiting for an alert.
Please note also that this introduces neither binary nor source
breach. The custom timeout thread functions are deleted, however
they was not exported throug DLL, so couldn't be used by any
external code. As well they couldn't be used anywhere in the core
except in executor api, because those custom timeout thread
functions they used to operate on static variables which would
be overwritten (and that would blow).
So instead a relatively modern technique is used for the timeout
handling. It's still not perfect because the executor still has to
check EX(timed_out). This can be a topic for an improvement in
master. But brobably can be tricky as currently it seems to be not
possible to signal an individual thread. Also note another issue
that static variables aren't thread safe, but the current timer
implementation is.
2014-12-12 10:43:31 +01:00
Dmitry Stogov
14e29f5146
Reduced size of zend_op on 64-bit systems.
...
the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces the size of each opcode from 48 to 32 bytes (saves 16 bytes for each opcode, and applications use thousands of opoceds). This reduced the number of CPU cache misses by 12% and improved performance of real-life apps by 1-2%.
The patch affects how constants and jump targets are represented in VM during execution. Previously they were implemented as absolute 64-bit pointers. Now they are relative 32-bit offsets.
In run-time constant now should be accessed as:
RT_CONSTANT(op_array, opine->op1) instead of opline->op1.zv
EX_CONSTANT(opline->op1) instead of opline->op1.zv
Jump targets:
OP_JMP_ADDR(opline, opline->op2) instead of opline->op2.jmp_addr
The patch doesn't change zend_op representation for 32-bit systems. They still use absolute addresses. The compile-time representation is also kept the same.
2014-12-12 10:19:41 +03:00
Anatol Belski
de99a94c38
explicit passing of *tsrm_ls isn't needed anymore
2014-12-12 08:11:14 +01:00
Dmitry Stogov
9ea35a37b9
Make ZEND_INIT_FCALL keep predcalculted size of necessary stack space in opline->op1.num to avoid its recalculation on each execution.
2014-12-12 09:01:42 +03:00
Dmitry Stogov
2ea5f7aea4
Removed unused variables
2014-12-12 08:09:42 +03:00
Stanislav Malyshev
97df260b27
update NEWS
2014-12-11 10:41:17 -08:00
Anatol Belski
0323f66fa2
move the test to the right place
2014-12-11 10:39:47 -08:00
Anatol Belski
13f1c276ab
Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-11 10:39:37 -08:00
Dmitry Stogov
381438e5df
Improved array_merge() and array_replace() (1-st array may be added using simple procedure).
2014-12-11 19:18:31 +03:00
Dmitry Stogov
73458e8f19
Replaced zendi_convert_to_long() with _zval_get_long_func()
2014-12-11 15:01:06 +03:00
Dmitry Stogov
27dc5986df
Moved zend_is_true() from zend_execute.h/zend_execute_API.c into zend_operators.h/zend_operators.c.
...
Splited the most expensive part of inline i_zend_is_true() into a separate zend_object_is_true().
Replaced zendi_convert_to_long() with cals to zend_is_true().
2014-12-11 13:18:40 +03:00
Anatol Belski
22be00cb3c
TSRMLS_D should be void, thanks Dmitry
2014-12-11 10:03:39 +01:00
Xinchen Hui
634448e2de
Revert "Save one xor instr"
...
This reverts commit bd5c5d3729 .
2014-12-11 03:19:33 -05:00
Xinchen Hui
882741639c
Merge branch 'master' of https://git.php.net/repository/php-src
2014-12-11 00:03:45 -05:00
Xinchen Hui
bd5c5d3729
Save one xor instr
2014-12-11 00:03:31 -05:00
Dmitry Stogov
e087d3ac7f
Merge branch 'master' into native-tls
...
* master: (23 commits)
move the test to the right place
fix TS build and C89 compat
updated NEWS
Fixed bug #68545 NULL pointer dereference in unserialize.c
Updated NEWS
Updated NEWS
Updated NEWS
NEWS
Fix bug #68526 Implement POSIX Access Control List for UDS
Improved basic zval copying primitives: ZVAL_COPY_VALUE(), ZVAL_COPY(), ZVAL_DUP()
Wrap RETURN_VALUE_USED() with EXPECTED() or UNEXPECTED() macros according to more frequent usage patterns.
Improved ASSIGN_<OP>, ASSIGN_DIM and UNSET_DIM
drop dead/unused code
simplified code
Move ZVAL_DEREF() and make_real_object() into slow paths.
Pass znode_op structure by value (it fits into one word) instead of pointer to structure.
Move checks for references into slow paths.
Improved ASSIGN_DIM and ASSIGN_OBJ
Fixed typo
Move checks for references into slow paths of handlers or helpers. Remove duplicate opcode handlers.
...
2014-12-10 23:24:11 +03:00
Anatol Belski
92a9477cc3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
move the test to the right place
2014-12-10 13:23:15 +01:00
Anatol Belski
21da246807
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
move the test to the right place
2014-12-10 13:22:52 +01:00
Anatol Belski
c5f7dcd1dc
move the test to the right place
2014-12-10 13:19:51 +01:00
Anatol Belski
da78550006
fix TS build and C89 compat
2014-12-10 12:23:46 +01:00
Anatol Belski
aeb30576f6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #68545 NULL pointer dereference in unserialize.c
Updated NEWS
Updated NEWS
Conflicts:
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
2014-12-10 11:54:31 +01:00
Anatol Belski
a96957f0da
updated NEWS
2014-12-10 11:49:13 +01:00
Anatol Belski
4a82cdce66
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #68545 NULL pointer dereference in unserialize.c
Conflicts:
ext/standard/var_unserializer.c
2014-12-10 11:47:34 +01:00
Anatol Belski
20d93534d5
Fixed bug #68545 NULL pointer dereference in unserialize.c
2014-12-10 11:43:33 +01:00
Julien Pauli
c4c9f7456b
Updated NEWS
2014-12-10 11:24:43 +01:00
Julien Pauli
e6f9059a86
Updated NEWS
2014-12-10 11:23:40 +01:00
Julien Pauli
9a1fc445bf
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
2014-12-10 11:22:46 +01:00
Julien Pauli
a67a5dc0ad
Updated NEWS
2014-12-10 11:22:28 +01:00
Remi Collet
19d481945e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix bug #68526 Implement POSIX Access Control List for UDS
2014-12-10 08:19:29 +01:00
Remi Collet
eda813fd37
NEWS
2014-12-10 08:19:04 +01:00
Remi Collet
744ada7d9d
Fix bug #68526 Implement POSIX Access Control List for UDS
...
- add --with-fpm-acl build option which allow to manage ACL
on Unix Domain Socket
- add listen.acl_users pool option
- add listen.acl_groups pool option
Keep old behavior (chmod) if option not used or not supported.
2014-12-10 08:15:21 +01:00
Dmitry Stogov
2f3c79b4bf
Improved basic zval copying primitives: ZVAL_COPY_VALUE(), ZVAL_COPY(), ZVAL_DUP()
2014-12-09 18:07:39 +03:00
Dmitry Stogov
29b9105beb
Wrap RETURN_VALUE_USED() with EXPECTED() or UNEXPECTED() macros according to more frequent usage patterns.
2014-12-09 17:07:12 +03:00
Dmitry Stogov
5b3a69c29f
Improved ASSIGN_<OP>, ASSIGN_DIM and UNSET_DIM
2014-12-09 15:15:24 +03:00
Remi Collet
f0f51da936
drop dead/unused code
2014-12-09 11:25:53 +01:00
Dmitry Stogov
98e81e13cf
simplified code
2014-12-09 12:17:55 +03:00
Dmitry Stogov
0b19a7c235
Move ZVAL_DEREF() and make_real_object() into slow paths.
2014-12-09 03:05:06 +03:00
Dmitry Stogov
f70545678b
Pass znode_op structure by value (it fits into one word) instead of pointer to structure.
2014-12-09 03:03:38 +03:00
Dmitry Stogov
11f7854e75
Move checks for references into slow paths.
2014-12-09 01:09:44 +03:00
Dmitry Stogov
b6c6e7960a
Improved ASSIGN_DIM and ASSIGN_OBJ
2014-12-09 00:10:23 +03:00
Dmitry Stogov
0bfc9c6979
Fixed typo
2014-12-08 18:40:37 +03:00
Dmitry Stogov
db4271d332
Move checks for references into slow paths of handlers or helpers. Remove duplicate opcode handlers.
2014-12-08 18:11:14 +03:00
Derick Rethans
eb6fb71e55
Merge branch 'PHP-5.6'
2014-12-08 11:07:00 +00:00
Derick Rethans
9d4f4483cb
Merge branch 'PHP-5.5' into PHP-5.6
2014-12-08 11:06:50 +00:00
Derick Rethans
4078c35939
Merge branch 'day-of-week-issues' into PHP-5.5
2014-12-08 11:06:41 +00:00
Derick Rethans
5f9a68d3ef
Fixed day_of_week function as it could sometimes return negative values internally.
2014-12-08 11:06:12 +00:00
Dmitry Stogov
70a2748b5e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed possible read after end of buffer and use after free.
2014-12-08 12:25:52 +03:00
Dmitry Stogov
278c38165c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed possible read after end of buffer and use after free.
2014-12-08 12:24:16 +03:00
Dmitry Stogov
e6ad29ae96
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed possible read after end of buffer and use after free.
2014-12-08 12:20:01 +03:00
Dmitry Stogov
dd791cd717
Fixed possible read after end of buffer and use after free.
2014-12-08 12:18:27 +03:00
Nikita Popov
c6d0c55a23
Fix arrow operator precedence
...
I accidentially added => as the highest-precedence operator...
2014-12-07 23:00:48 +01:00
Anatol Belski
ba35b22bc4
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (35 commits)
Fixed bug #68398 msooxml matches too many archives
Fix zpp call in apache_getenv()
Drop unnecessary zval containers
fixed test
C89 compat
add include for missing localeconv_r proto
updated NEWS
Fixed bug #65230 setting locale randomly broken
Fix compilation error (ref #68424 )
Removed useless handlers
Move checks for references into slow paths of operator functions. Remove duplicate opcode handlers.
Revert unintentional docblock change
Restored zip/oci8 PHP 4 code, add PHP 7 checks
Note macro removal in UPGRADING.INTERNALS
Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)
Zend Engine 3
Updated NEWS
Updated NEWS
Updated NEWS
Start adding new attribute to control multi statements
...
2014-12-06 21:37:15 +01:00
Anatol Belski
aa52fcf179
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #68398 msooxml matches too many archives
2014-12-06 20:51:41 +01:00
Anatol Belski
41a2f7074d
Fixed bug #68398 msooxml matches too many archives
2014-12-06 20:51:00 +01:00
Nikita Popov
7be91dd730
Fix zpp call in apache_getenv()
2014-12-06 12:38:56 +01:00
Nikita Popov
204e3f8d5a
Drop unnecessary zval containers
2014-12-06 12:38:56 +01:00
Anatol Belski
51bae8805d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed test
2014-12-06 12:32:16 +01:00
Anatol Belski
0854fd8b81
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fixed test
2014-12-06 12:31:55 +01:00
Anatol Belski
5d126245a3
fixed test
2014-12-06 12:31:27 +01:00
Anatol Belski
42d7cb4c2c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
C89 compat
add include for missing localeconv_r proto
2014-12-06 12:18:36 +01:00
Anatol Belski
08241ee3f3
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
C89 compat
add include for missing localeconv_r proto
2014-12-06 12:18:05 +01:00
Anatol Belski
9016018ccc
C89 compat
2014-12-06 12:14:17 +01:00
Anatol Belski
373aa7c81f
add include for missing localeconv_r proto
2014-12-06 12:09:35 +01:00
Anatol Belski
3d68d843cb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #65230 setting locale randomly broken
2014-12-06 12:01:09 +01:00
Anatol Belski
8d79139980
updated NEWS
2014-12-06 12:00:39 +01:00
Anatol Belski
ebaf130a15
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #65230 setting locale randomly broken
2014-12-06 12:00:17 +01:00
Anatol Belski
1b4d5ad46a
Fixed bug #65230 setting locale randomly broken
2014-12-06 11:59:43 +01:00
Matteo Beccati
0d76e16504
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix compilation error (ref #68424 )
2014-12-06 10:24:56 +01:00
Matteo Beccati
b120f9beb2
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix compilation error (ref #68424 )
2014-12-06 10:24:27 +01:00
Matteo Beccati
625b929c6e
Fix compilation error (ref #68424 )
2014-12-06 10:23:56 +01:00
Dmitry Stogov
a555bdf7d1
Removed useless handlers
2014-12-06 03:03:48 +03:00
Dmitry Stogov
5ba4ae7f67
Move checks for references into slow paths of operator functions. Remove duplicate opcode handlers.
2014-12-06 02:14:45 +03:00
Adam Harvey
751aa92fe5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert unintentional docblock change
2014-12-05 13:58:48 -08:00
Adam Harvey
381fd62ccf
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Revert unintentional docblock change
2014-12-05 13:58:19 -08:00
Adam Harvey
79131b4617
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert unintentional docblock change
2014-12-05 13:57:46 -08:00
Chris Christoff
0e985d3726
Revert unintentional docblock change
...
Revert unintentional docblock change
It looks like commit dd8e59da8f
introduced an unintended docbloc change. I have reverted this
change in this commit.
2014-12-05 13:57:03 -08:00
Andrea Faulds
150dc69d6e
Merge branch 'ZendEngine3'
...
* ZendEngine3:
Restored zip/oci8 PHP 4 code, add PHP 7 checks
Note macro removal in UPGRADING.INTERNALS
Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)
Zend Engine 3
2014-12-05 19:47:27 +00:00
Andrea Faulds
8a065c554b
Restored zip/oci8 PHP 4 code, add PHP 7 checks
2014-12-05 19:46:31 +00:00
Andrea Faulds
8efe343352
Note macro removal in UPGRADING.INTERNALS
2014-12-05 19:46:31 +00:00
Andrea Faulds
c7157e4cfb
Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)
2014-12-05 19:46:30 +00:00
Andrea Faulds
90d916c4b1
Zend Engine 3
2014-12-05 19:46:30 +00:00
Julien Pauli
b7251a89da
Updated NEWS
2014-12-05 17:07:13 +01:00
Julien Pauli
5a528076d2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
Start adding new attribute to control multi statements
2014-12-05 17:06:33 +01:00
Julien Pauli
0e67973e9a
Updated NEWS
2014-12-05 17:06:16 +01:00
Julien Pauli
5104c2bbc3
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
Start adding new attribute to control multi statements
2014-12-05 17:05:37 +01:00
Julien Pauli
3add3491b3
Updated NEWS
2014-12-05 17:05:21 +01:00
pwolanin
4c0bd5e77a
Start adding new attribute to control multi statements
2014-12-05 17:03:31 +01:00
Dmitry Stogov
8ab9396adf
Get rid of few more duplicate handlers
2014-12-05 18:23:39 +03:00
Anatol Belski
e0a0bea826
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
. Fixed bug #68120 Update bundled libsqlite
2014-12-05 15:51:53 +01:00
Anatol Belski
a3e4b889e7
updated NEWS
2014-12-05 15:51:26 +01:00
Anatol Belski
297f582f5c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
. Fixed bug #68120 Update bundled libsqlite
Conflicts:
ext/sqlite3/libsqlite/sqlite3.c
2014-12-05 15:50:18 +01:00
Anatol Belski
fccd1eda5f
. Fixed bug #68120 Update bundled libsqlite
2014-12-05 15:43:53 +01:00
Dmitry Stogov
e6180ebb64
Improved BOOL, BOOL_NOT and conditional jumps
2014-12-05 17:04:15 +03:00
Dmitry Stogov
62867f008d
Improved ECHO and PRINT
2014-12-05 15:07:49 +03:00
Dmitry Stogov
a417ebfc48
Get rid of duplicare FETCH_DIM_* handlers
2014-12-05 13:45:03 +03:00
Anatol Belski
653bba5e60
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:09:27 +01:00
Anatol Belski
0e09e5e6fa
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:08:55 +01:00
Anatol Belski
fa863c9ea3
updated NEWS
2014-12-05 11:08:32 +01:00
Anatol Belski
7943f944c2
Fixed bug #65769 localeconv() broken in TS builds
2014-12-05 11:06:06 +01:00
Dmitry Stogov
c7f695f311
Get rid of duplicate handlers (where the code for IS_TMP_VAR and IS_VAR operands is the same)
2014-12-05 12:40:47 +03:00
Julien Pauli
62de4bd19c
Updated NEWS
2014-12-05 10:18:41 +01:00
Julien Pauli
3cd156d1d9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
Fixed #68479 - Added escape parameter to SplFileObject::fputcsv
Conflicts:
ext/spl/spl_directory.c
2014-12-05 10:18:22 +01:00
Julien Pauli
cb9cc6b8e1
Updated NEWS
2014-12-05 10:12:35 +01:00
Julien Pauli
ee709c5366
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
Fixed #68479 - Added escape parameter to SplFileObject::fputcsv
2014-12-05 10:12:08 +01:00
Julien Pauli
1e40b0aff6
Updated NEWS
2014-12-05 10:11:49 +01:00
Peter Cowburn
557026301f
Fixed #68479 - Added escape parameter to SplFileObject::fputcsv
2014-12-05 10:10:10 +01:00
Anatol Belski
faa3363351
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix dir separators in test
2014-12-05 07:08:59 +01:00
Anatol Belski
6cf5ac7567
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix dir separators in test
2014-12-05 07:08:35 +01:00
Anatol Belski
c65143d571
fix dir separators in test
2014-12-05 07:07:58 +01:00
Xinchen Hui
2d89574b58
Make it const as Levi asked for
2014-12-05 12:11:13 +08:00
Anatol Belski
88bb9fedc4
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (111 commits)
Fix zend_fcall_info_arg*() to use ZVAL_COPY
Fixed #65213 - cannot cast SplFileInfo to boolean
add initial install
switch to C travis project instead of PHP
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/ )
fix TS build
add config option to target codegen architectures
updated NEWS
updated NEWS
Fixed bug #55541 errors spawn MessageBox, which blocks test automation
Get rid of duplicate handlers (ZEND_ADD_SPEC_TMP_TMP and ZEND_ADD_SPEC_VAR_VAR are absolutely the same).
Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.
Fixed __debugInfo() support
Update UPGRADING for the new variadic functions, and re-sort.
Improved POST INC/DEC
make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path
Missed closed folder mark
Revert "Unecessary assignment"
Fixed improper memory release
Unecessary assignment
...
2014-12-05 03:50:02 +01:00
Michael Wallner
f0a17c293b
Fix zend_fcall_info_arg*() to use ZVAL_COPY
...
As zend_fcall_info_args_clear() calls zval_ptr_dtor() we also have
to increase the refcount of refcounted zvals added as params,
like it is already done in zend_fcall_info_args_ex().
2014-12-04 13:02:30 +01:00
Ferenc Kovacs
f8e7b3d166
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add initial install
switch to C travis project instead of PHP
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/ )
2014-12-04 11:12:42 +01:00
Ferenc Kovacs
9c5d84ace1
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
add initial install
switch to C travis project instead of PHP
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/ )
2014-12-04 11:12:32 +01:00
Ferenc Kovacs
4f9f7c7948
Merge branch 'pull-request/932' into PHP-5.5
...
* pull-request/932:
add initial install
switch to C travis project instead of PHP
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/ )
2014-12-04 11:12:17 +01:00
Tjerk Meesters
7e933c5ff8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed #65213 - cannot cast SplFileInfo to boolean
Conflicts:
ext/spl/spl_directory.c
2014-12-04 07:22:54 +08:00
Tjerk Meesters
52b41f24e3
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed #65213 - cannot cast SplFileInfo to boolean
2014-12-04 07:21:13 +08:00
Tjerk Meesters
2bcf8a6cd9
Fixed #65213 - cannot cast SplFileInfo to boolean
2014-12-04 07:17:33 +08:00
Ferenc Kovacs
a8b49bbf18
add initial install
2014-12-04 00:13:38 +01:00
Ferenc Kovacs
b0f7a46b21
switch to C travis project instead of PHP
2014-12-04 00:08:04 +01:00
Ferenc Kovacs
43c36bdb73
use the generic TRAVIS environment var to check for travis (see http://docs.travis-ci.com/user/ci-environment/ )
2014-12-04 00:07:32 +01:00
Anatol Belski
e04971ce21
fix TS build
2014-12-03 19:50:02 +01:00
Anatol Belski
00ac1ae53c
add config option to target codegen architectures
2014-12-03 19:20:36 +01:00
Anatol Belski
463c615dfe
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #55541 errors spawn MessageBox, which blocks test automation
2014-12-03 16:49:13 +01:00
Anatol Belski
5deac25ea0
updated NEWS
2014-12-03 16:48:49 +01:00
Anatol Belski
f3b4c05423
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
updated NEWS
Fixed bug #55541 errors spawn MessageBox, which blocks test automation
2014-12-03 16:48:07 +01:00
Anatol Belski
13aaba40cd
updated NEWS
2014-12-03 16:47:38 +01:00
Anatol Belski
65fce7f950
Fixed bug #55541 errors spawn MessageBox, which blocks test automation
...
With that, also fixed bug #68297 (Application Popup provides too few
information) as a better error message is provided to the event log.
In the second case, the condition for display_startup_error was removed. The
condition was added as a fix for bug #30760 which was preventing the
MessageBox to appear. When display_startup_error=on, the error will be seen
on the console. But when running under a webserver it'll probably get lost,
so we need to log it other way into the event log (would be done automatically
when message box was used, but that would eventually cause issues of blocked
execution).
Generally speaking - any MessageBox or other graphical element is a potential
issue and that was repeatedly reported. Graphical elements shouldn't be used
in the core. Even being a rare one it can cause a bad situation where the
server is blocked. Yet some places have to cleaned up.
2014-12-03 16:33:05 +01:00
Dmitry Stogov
e5716d1b5a
Get rid of duplicate handlers (ZEND_ADD_SPEC_TMP_TMP and ZEND_ADD_SPEC_VAR_VAR are absolutely the same).
2014-12-03 18:02:02 +03:00
Dmitry Stogov
5dd427eac2
Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.
2014-12-03 16:56:09 +03:00
Dmitry Stogov
e938064110
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed __debugInfo() support
2014-12-03 12:13:50 +03:00
Dmitry Stogov
cd68c4b1d2
Fixed __debugInfo() support
2014-12-03 12:13:01 +03:00
Adam Harvey
dcd559951b
Merge branch 'PHP-5.6'
2014-12-02 16:48:12 -08:00
Adam Harvey
e346608209
Update UPGRADING for the new variadic functions, and re-sort.
2014-12-02 16:47:31 -08:00
Dmitry Stogov
631f05f71e
Improved POST INC/DEC
2014-12-03 02:47:03 +03:00
Ferenc Kovacs
7296f9ddfc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path
2014-12-02 19:19:30 +01:00
Ferenc Kovacs
d81b7c4450
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path
2014-12-02 19:19:16 +01:00
Ferenc Kovacs
4d743eee5f
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path
Conflicts:
run-tests.php
2014-12-02 19:18:57 +01:00
Ferenc Kovacs
b28c3eb47e
make sure that we don't truncate the stack trace and cause false test failures when the test is executed in a directory with long path
2014-12-02 19:17:58 +01:00
Xinchen Hui
1ad5d8d9e7
Merge branch 'master' of https://git.php.net/repository/php-src
2014-12-02 22:21:35 +08:00
Xinchen Hui
5f80df0dbe
Missed closed folder mark
2014-12-02 22:21:19 +08:00
Dmitry Stogov
569d8646c0
Revert "Unecessary assignment"
...
This reverts commit b19333663a .
2014-12-02 16:47:26 +03:00
Dmitry Stogov
072dd32075
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Unecessary assignment
2014-12-02 16:29:54 +03:00
Dmitry Stogov
9e27a69c2f
Fixed improper memory release
2014-12-02 16:29:13 +03:00
Xinchen Hui
e031f212b2
Merge branch 'master' of https://git.php.net/repository/php-src
2014-12-02 21:24:00 +08:00
Xinchen Hui
b19333663a
Unecessary assignment
2014-12-02 21:23:39 +08:00
Dmitry Stogov
1982bce1a8
Support for different CPU page sizes
2014-12-02 16:17:26 +03:00
Dmitry Stogov
60dbf7b541
Fixed "finally" handling (the bug was introduced by recent removing of EX(delayed_exception))
2014-12-02 16:05:30 +03:00
Anatol Belski
8ced6f1167
fix datatype mismatches and warnings
2014-12-02 11:24:21 +01:00
Anatol Belski
ad1967dec5
add /nologo to ARFLAGS
2014-12-02 10:02:20 +01:00
Anatol Belski
b35555f6cd
fix datatype mismatches
2014-12-02 09:15:11 +01:00
Anatol Belski
1bcc7d919c
fix datatype mismatches
2014-12-02 09:15:10 +01:00
Anatol Belski
4cba2f9811
fix datatype mismatch
2014-12-02 09:15:09 +01:00
Anatol Belski
1172aff298
fix datatype mismatches
2014-12-02 09:15:08 +01:00
Anatol Belski
f15463bf39
silence the lib.exe
2014-12-02 09:15:07 +01:00
Remi Collet
8199278ffb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix Bug #68536 Pack for 64bits integer is broken on bigendian.
2014-12-02 08:41:35 +01:00
Remi Collet
196b768928
NEWS
2014-12-02 08:40:52 +01:00
Remi Collet
6f3714a8fc
Fix Bug #68536 Pack for 64bits integer is broken on bigendian.
...
Covered by ext/standard/tests/strings/pack64.phpt
2014-12-02 08:38:39 +01:00
Remi Collet
9aabfeb6c4
fix string is optional, set default length, thanks laruence
2014-12-02 07:41:35 +01:00
Remi Collet
67fc5d6bbb
Fix type of string length in zpp call
...
Fix 23 failed tests (detected on bigendian)
2014-12-02 07:06:10 +01:00
Anatol Belski
6ae09ddf49
Merge branch 'PHP-5.6'
...
* PHP-5.6:
one more refix to the test
2014-12-01 19:10:44 +01:00
Anatol Belski
c45fcfd063
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
one more refix to the test
2014-12-01 19:10:18 +01:00
Anatol Belski
a0c03a3ec5
one more refix to the test
2014-12-01 19:09:39 +01:00
Remi Collet
65ad2aadea
cleanup uneeded cast
2014-12-01 19:06:16 +01:00
Anatol Belski
1b8b384b11
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix dir separator in test
2014-12-01 18:56:14 +01:00
Anatol Belski
fe4a5abf30
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix dir separator in test
2014-12-01 18:55:52 +01:00
Anatol Belski
b6d624e54e
fix dir separator in test
2014-12-01 18:55:20 +01:00
Remi Collet
4d16ca0beb
Fix type of string lengths.
...
Those values are used in various call (including zpp) where
a size_t is expected.
This fix 82 failed test on ppc64
(bigendian is perfect to detect stack issue)
2014-12-01 16:10:44 +01:00
Anatol Belski
c64ce84cd6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix possible null pointer math
2014-12-01 14:43:43 +01:00
Anatol Belski
f33bd9c846
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix possible null pointer math
2014-12-01 14:43:22 +01:00
Anatol Belski
cb6dea6ea8
fix possible null pointer math
2014-12-01 14:40:35 +01:00
Gustavo Frederico Temple Pedrosa
87e0802a99
PowerPC64 support in long multiplication
...
In long integer multiplications, avoid casting
both operands to long double and use an inline
assembly-based overflow checking function instead.
2014-12-01 10:55:53 +01:00
Ferenc Kovacs
d04685732e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.
2014-12-01 10:15:42 +01:00
Ferenc Kovacs
d964832255
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.
Conflicts:
.travis.yml
2014-12-01 10:14:32 +01:00
Ferenc Kovacs
a3a0e49586
Revert "don't try to send in the test results until we restored qa.php.net" as qa.php.net is back.
...
This reverts commit 5515937073 .
2014-12-01 10:12:06 +01:00
Anatol Belski
49de5b7aed
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add include for missing usleep proto
C89 compat
Added more useful warning messages
Changed based on comments and make its behaviour equal to the Windows version
Fix #53092 - dns_get_record does not return false on dns server failure
Fix php cli (-S option) inconsistent port parsing
Conflicts:
main/streams/plain_wrapper.c
2014-12-01 08:32:12 +01:00
Anatol Belski
c370683903
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
add include for missing usleep proto
C89 compat
Added more useful warning messages
Changed based on comments and make its behaviour equal to the Windows version
Fix #53092 - dns_get_record does not return false on dns server failure
Fix php cli (-S option) inconsistent port parsing
2014-12-01 08:30:59 +01:00
Anatol Belski
c1ec815fae
add include for missing usleep proto
2014-12-01 08:27:46 +01:00
Anatol Belski
f4a0e601ee
C89 compat
2014-12-01 08:24:44 +01:00
Stanislav Malyshev
a41412cdf0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added more useful warning messages
Changed based on comments and make its behaviour equal to the Windows version
Fix #53092 - dns_get_record does not return false on dns server failure
Fix php cli (-S option) inconsistent port parsing
2014-11-30 22:44:02 -08:00
Tjerk Meesters
7ccd7b5975
Added more useful warning messages
2014-11-30 22:42:31 -08:00
Tjerk Meesters
0109eb07cf
Changed based on comments and make its behaviour equal to the Windows version
2014-11-30 22:42:31 -08:00
Tjerk Meesters
f2b7aeda2b
Fix #53092 - dns_get_record does not return false on dns server failure
2014-11-30 22:42:31 -08:00
nil0x42
2534671f0b
Fix php cli (-S option) inconsistent port parsing
...
Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).
2014-11-30 22:42:30 -08:00
Tjerk Meesters
bfe7c6988f
Added more useful warning messages
2014-11-30 22:42:13 -08:00
Tjerk Meesters
904dca6392
Changed based on comments and make its behaviour equal to the Windows version
2014-11-30 22:42:13 -08:00
Tjerk Meesters
d037785165
Fix #53092 - dns_get_record does not return false on dns server failure
2014-11-30 22:42:13 -08:00
nil0x42
2a73d56ef9
Fix php cli (-S option) inconsistent port parsing
...
Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).
2014-11-30 22:42:12 -08:00
Tjerk Meesters
85e2e6c1fd
Added more useful warning messages
2014-11-30 22:39:25 -08:00
Tjerk Meesters
977d84490b
Changed based on comments and make its behaviour equal to the Windows version
2014-11-30 22:39:18 -08:00
Tjerk Meesters
7b44790db5
Fix #53092 - dns_get_record does not return false on dns server failure
2014-11-30 22:39:09 -08:00
nil0x42
a87300241f
Fix php cli (-S option) inconsistent port parsing
...
Add port range verification of listening port with -S option for the php cli.
This fixes inconsistent listening port due to unverified cast from long to short
with htons(3).
2014-11-30 22:29:24 -08:00
Remi Collet
4ba828652b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
XFAIL as catch_workers_output = yes seems not reliable
2014-12-01 07:29:19 +01:00
Remi Collet
cb1a297bf4
XFAIL as catch_workers_output = yes seems not reliable
2014-12-01 07:28:49 +01:00
Stanislav Malyshev
7efd03eadc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
fix ZTS
Conflicts:
ext/curl/multi.c
ext/date/php_date.c
2014-11-30 22:22:50 -08:00
Stanislav Malyshev
8b2a8c46b0
Merge branch 'pull-request/728'
...
* pull-request/728:
Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
Conflicts:
ext/curl/multi.c
2014-11-30 22:22:15 -08:00
Stanislav Malyshev
e0b6e5222b
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update NEWS
Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
2014-11-30 22:22:01 -08:00
Stanislav Malyshev
f75da60b18
update NEWS
2014-11-30 22:19:24 -08:00
Jille Timmermans
1b4368db77
Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
2014-11-30 22:18:22 -08:00
Jille Timmermans
7049d3450e
Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
2014-11-30 22:18:12 -08:00
Stanislav Malyshev
85bada10c1
fix ZTS
2014-11-30 21:50:29 -08:00
Stanislav Malyshev
bfc8d297be
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update news
update news
update NEWS
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
Conflicts:
ext/standard/crypt.c
2014-11-30 21:47:40 -08:00
Stanislav Malyshev
720ba67948
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update news
update news
update NEWS
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
2014-11-30 21:39:49 -08:00
Stanislav Malyshev
f7eedbe9a6
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update news
Conflicts:
ext/standard/crypt.c
2014-11-30 21:38:30 -08:00
Stanislav Malyshev
84be568366
update news
2014-11-30 21:37:39 -08:00
Stanislav Malyshev
3003793480
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update news
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
2014-11-30 21:12:17 -08:00
Stanislav Malyshev
39007e23a4
update news
2014-11-30 21:12:03 -08:00
Stanislav Malyshev
4d162a2d9b
update NEWS
2014-11-30 21:11:20 -08:00
Stanislav Malyshev
abf5b9481b
Merge branch 'pull-request/868' into PHP-5.5
...
* pull-request/868:
Apply error-code-salt fix to Windows too
Bug fixes in light of failing bcrypt tests
Add tests from 1.3. Add missing tests.
Upgrade crypt_blowfish to version 1.3
2014-11-30 21:09:41 -08:00
Leigh
301b7f990a
Apply error-code-salt fix to Windows too
...
Conflicts:
ext/standard/crypt.c
2014-11-30 21:07:31 -08:00
Leigh
7e870c596d
Bug fixes in light of failing bcrypt tests
...
Conflicts:
ext/standard/crypt.c
2014-11-30 21:06:39 -08:00
Leigh
2d9d10fbbf
Add tests from 1.3. Add missing tests.
...
3 of the missing tests fail. // TODO
2014-11-30 21:05:40 -08:00
Leigh
29f51e1ca9
Upgrade crypt_blowfish to version 1.3
2014-11-30 21:05:32 -08:00
Stanislav Malyshev
f3faa205c7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Conflicts: ext/date/php_date.c
Conflicts:
ext/date/php_date.c
2014-11-30 20:50:43 -08:00
m.bennewitz
4675b79e65
Conflicts:
...
ext/date/php_date.c
2014-11-30 20:49:18 -08:00
Stanislav Malyshev
9924a08558
Merge branch 'pull-request/878'
...
* pull-request/878:
#68268 : DatePeriod: Getter for start date, end date and interval
2014-11-30 20:37:37 -08:00
Stanislav Malyshev
cd55c19695
Merge branch 'pull-request/877'
...
* pull-request/877:
gmp_random_seed()
2014-11-30 20:28:25 -08:00
Stanislav Malyshev
c64949626d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Adds test cases for openssl EC improvements
Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
Fixes memory leak introduced in 2b9af967
Conflicts:
ext/openssl/openssl.c
2014-11-30 18:32:56 -08:00
Stanislav Malyshev
25e3e78016
Merge branch 'pull-request/916'
...
* pull-request/916:
Adds test cases for openssl EC improvements
Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
2014-11-30 18:27:37 -08:00
Stanislav Malyshev
de65eaa8c8
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixes memory leak introduced in 2b9af967
2014-11-30 18:26:39 -08:00
Stanislav Malyshev
17094017f7
Merge branch 'pull-request/914' into PHP-5.5
...
* pull-request/914:
Fixes memory leak introduced in 2b9af967
2014-11-30 18:26:17 -08:00
Stanislav Malyshev
8c08124c0e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Adds test cases for openssl EC improvements
Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
2014-11-30 18:24:23 -08:00
Dominic Luechinger
6048ac32b4
Adds test cases for openssl EC improvements
2014-11-30 18:17:48 -08:00
Dominic Luechinger
5d1cc7d135
Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
...
When working with elliptic curve and openssl some functions are not
aware of the different handling.
Improvements:
- Fixes export of EC private keys
- Adds curve information to openssl_pkey_get_details
Conflicts:
ext/openssl/openssl.c
2014-11-30 18:02:55 -08:00
Stanislav Malyshev
91f14ddb3d
Merge branch 'pull-request/885'
...
* pull-request/885:
Added test and review suggestion
Fix bug #68335 : rmdir doesnt work with file:// stream wrapper
2014-11-30 17:35:32 -08:00
Stanislav Malyshev
b564e7b0de
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS
fix typo
Added test and review suggestion
Fix bug #68335 : rmdir doesnt work with file:// stream wrapper
2014-11-30 17:35:11 -08:00
Stanislav Malyshev
aae5d4d9db
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Update NEWS
fix typo
2014-11-30 17:34:51 -08:00
Stanislav Malyshev
ffb62112f8
Update NEWS
2014-11-30 17:34:07 -08:00
Stanislav Malyshev
977974f95f
fix typo
2014-11-30 17:09:53 -08:00
Stanislav Malyshev
60d5b2ec24
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Added test and review suggestion
Fix bug #68335 : rmdir doesnt work with file:// stream wrapper
2014-11-30 17:07:02 -08:00
mcq8
04808aa7e1
Added test and review suggestion
2014-11-30 16:38:20 -08:00
mcq8
6eaa4d01d3
Fix bug #68335 : rmdir doesnt work with file:// stream wrapper
2014-11-30 16:38:13 -08:00
Stanislav Malyshev
fff70770dd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix tests for systems with no de_DE locales
2014-11-30 16:13:14 -08:00
Stanislav Malyshev
f6aa6324fb
fix tests for systems with no de_DE locales
2014-11-30 16:12:56 -08:00
Remi Collet
bfa9c4609d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Move chown to fpm_unix_set_socket_premissions()
2014-11-29 16:52:25 +01:00
Remi Collet
e1d4ac426c
Move chown to fpm_unix_set_socket_premissions()
...
For consistency, with fpm_unix_resolve_socket_premissions.
Compute + Use in the same source file.
To make easier future enhancement.
Also check chdir output to fix a build warning.
2014-11-29 16:49:08 +01:00
Julien Pauli
74163b36d1
Updated NEWS
2014-11-29 14:51:18 +01:00
Julien Pauli
8779578354
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
Fix #60509 , pcntl_signal doesn't decrease ref-count of old handler
2014-11-29 14:42:07 +01:00
Julien Pauli
57d7b4fc56
Updated NEWS
2014-11-29 14:41:48 +01:00
Julien Pauli
736279239e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
Fix #60509 , pcntl_signal doesn't decrease ref-count of old handler
2014-11-29 14:41:06 +01:00
Julien Pauli
40e518b4c3
Updated NEWS
2014-11-29 14:40:47 +01:00
Julien Pauli
19b5bc8ce2
Fix #60509 , pcntl_signal doesn't decrease ref-count of old handler
2014-11-29 14:39:19 +01:00
Julien Pauli
e78acb7664
Updated NEWS
2014-11-29 12:15:17 +01:00
Julien Pauli
2faf448982
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Updated NEWS
SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME
Conflicts:
ext/spl/spl_directory.c
2014-11-29 12:14:37 +01:00
Julien Pauli
c4f9f1ff4c
Updated NEWS
2014-11-29 12:11:27 +01:00
Julien Pauli
a93fb3524e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS
SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME
2014-11-29 12:11:06 +01:00
Julien Pauli
59bd4117ac
Updated NEWS
2014-11-29 12:10:54 +01:00
Paul Garvin
605d32bedd
SPL: Fix for bug 66405 RecursiveDirectoryIterator with CURRENT_AS_PATHNAME
...
Currently when you use RecursiveDirectoryIterator with the
CURRENT_AS_PATHNAME flag PHP will throw an UnexpectedValueException with
message 'Objects returned by RecursiveIterator::getChildren() must implement
RecursiveIterator'.This happend because getChildren() will return the
current directory name instead of an Iterator (or subclass of) as required
by the RecursiveIterator interface.
This commit changes getChildren() to return annother
RecursiveDirectoryIterator but current() still returns the path name when
CURRENT_AS_PATHNAME is used. A PHPT test case (bug66405.phpt) that
reproduces the bug is included.
This fix was originally against the PHP-5.4 branch, but it was not merged
before 5.4 reached EOL. I am hoping to get it applied to 5.5, 5.6, and
master.
2014-11-29 12:04:44 +01:00
Julien Pauli
c7ea45308d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
2014-11-29 11:39:51 +01:00
Julien Pauli
4bf299a250
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
2014-11-29 11:39:37 +01:00
Julien Pauli
1813fe9f38
Merge branch 'pull-request/656' into PHP-5.5
...
* pull-request/656:
PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
2014-11-29 11:38:57 +01:00
Popa Marius Adrian
cf2cd8fb20
PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
...
cleanup and PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION > 1
2014-11-29 11:38:36 +01:00
Andrea Faulds
d5afeef247
Fix MySQLi tests
2014-11-29 04:13:55 +00:00
Andrea Faulds
175844ca29
Fixed gd test
2014-11-29 02:58:41 +00:00
Andrea Faulds
f90b877f41
Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG()
2014-11-29 02:13:20 +00:00
Andrea Faulds
d19ce51854
Fixed copy-and-paste error
2014-11-29 01:52:23 +00:00
Andrea Faulds
01554bf3e4
Merge branch 'master' into zppFailOnOverflow
2014-11-29 01:45:54 +00:00
Andrea Faulds
65c8edd525
Fix more 32-bit tests
2014-11-29 01:26:34 +00:00
Andrea Faulds
ebaa42302a
Skip buncha tests on 32-bit
2014-11-29 01:05:19 +00:00
Ferenc Kovacs
719083bd94
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test with readline on mac
2014-11-29 01:49:40 +01:00
Ferenc Kovacs
7e4b77c921
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix test with readline on mac
2014-11-29 01:49:23 +01:00
Ferenc Kovacs
108bf84967
fix test with readline on mac
2014-11-29 01:47:45 +01:00
Andrea Faulds
55e1c032e5
skip simplexml
2014-11-28 23:45:28 +00:00
Andrea Faulds
088580557d
skip posix 32-bit
2014-11-28 23:39:08 +00:00
Andrea Faulds
f574ad140e
skip tests on 32-bit
2014-11-28 23:30:15 +00:00
Ferenc Kovacs
82979862ba
fix phpdbg, _zend_execute_data.scope was removed with 9a36cb1a07
2014-11-28 22:12:02 +01:00
Dmitry Stogov
2d39d033e3
Avoid useless dereferences
2014-11-28 19:45:39 +03:00
Dmitry Stogov
38d70aec3e
Removed useless check
2014-11-28 16:50:35 +03:00
Julien Pauli
45c4b0b2b0
updated NEWS
2014-11-28 13:36:16 +01:00
Julien Pauli
96f2265d58
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
Fix #65419 - Inside trait, self::class != __CLASS__
Conflicts:
Zend/zend_compile.c
2014-11-28 13:31:53 +01:00
Julien Pauli
a76f8e297d
updated NEWS
2014-11-28 13:27:46 +01:00
Julien Pauli
b248a7a95c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
updated NEWS
Fix #65419 - Inside trait, self::class != __CLASS__
2014-11-28 13:26:53 +01:00
Julien Pauli
619adc9795
updated NEWS
2014-11-28 13:26:20 +01:00
Julien Pauli
7c77ca38b1
Fix #65419 - Inside trait, self::class != __CLASS__
2014-11-28 13:24:25 +01:00
Anatol Belski
5f65c77e98
Merge branch 'PHP-5.6'
...
* PHP-5.6:
disable ext/openssl/tests/stream_server_reneg_limit.phpt for windows
2014-11-28 12:25:08 +01:00
Anatol Belski
1552d6ae7b
disable ext/openssl/tests/stream_server_reneg_limit.phpt for windows
...
This is using the openssl binary which, despite it's contained in the
deps, would probably miss all it's environment. It is just prone to
failure and thus is not worth it.
2014-11-28 12:24:32 +01:00
Anatol Belski
e7a6c15b93
Fixed bug #68225 unpack and X format code
...
This is done by reverting some parts to the state of pre 7, whereby
that means all the size_t potential isn't exhausted. This might be
a subject of the subsequent fix, the functionality can be ensured
with the supplied test.
2014-11-28 10:22:03 +01:00
Dmitry Stogov
dcfe58773e
Rename EX_VAR_2() into ZEND_CALL_VAR() and EX_VAR_NUM_2() into ZEND_CALL_VAR_NUM().
2014-11-28 11:11:33 +03:00
Dmitry Stogov
1da14c9f81
Pack EX(frame_info) into EX(This).u1.v.reserved. Rename "frame"kind" into "call_kind" and VM_FRAME_... into ZEND_CALL_...
2014-11-28 10:33:03 +03:00
Dmitry Stogov
11384ba77b
Pack EX(num_args) into EX(This).u2.num_args
2014-11-28 10:28:49 +03:00
Dmitry Stogov
9a36cb1a07
Get rid of EX(scope). In most cases we use EG(scope) anyway. EX(scope) was used to switch EG(scope) back after call, but it's possibleto use EX(func)->common.scope instead.
2014-11-28 10:21:18 +03:00
Anatol Belski
864cd82ace
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
updated NEWS
refactored the mbstring config.w32
Update NEWS
Fixed compilation warnings
Fixed bug #68504 --with-libmbfl configure option not present on Windows
Changed "finally" handling. Removed EX(fast_ret) and EX(delayed_exception). Allocate and use additional IS_TMP_VAR slot on VM stack instead.
the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody.
#68446 is fixed
Reimplemented silence operator (@) handling on exceptions. Now each silence region is stored in op_array->brk_cont_array. On exception ZEND_HANDLE_EXCEPTION handler traverse this array and restore original EG(error_reporting) if exception occured inside a "silence" region.
remove the NEWS entries for the reverted stuff
typo fix
go back with phpdbg to the state of 5.6.3, reverting the controversial commits(remote debugging/xml protocol)
5.5.21 now
New label length test
Fix ext/filter/tests/033.phpt
Fix filter_list test
FILTER_VALIDATE_DOMAIN and RFC conformance for FILTER_VALIDATE_URL
Conflicts:
ext/mbstring/config.w32
2014-11-27 15:59:43 +01:00
Anatol Belski
4dcc8a6371
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
refactored the mbstring config.w32
Fixed bug #68504 --with-libmbfl configure option not present on Windows
2014-11-27 13:40:34 +01:00
Anatol Belski
b0645abdcc
updated NEWS
2014-11-27 13:40:07 +01:00
Anatol Belski
088f8b528b
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
refactored the mbstring config.w32
Fixed bug #68504 --with-libmbfl configure option not present on Windows
2014-11-27 13:39:23 +01:00
Anatol Belski
42af411620
refactored the mbstring config.w32
2014-11-27 13:37:00 +01:00
Julien Pauli
0504dab810
Update NEWS
2014-11-27 11:40:48 +01:00
Julien Pauli
61a276f2e4
Merge branch 'pull-request/826'
...
* pull-request/826:
New label length test
Fix ext/filter/tests/033.phpt
Fix filter_list test
FILTER_VALIDATE_DOMAIN and RFC conformance for FILTER_VALIDATE_URL
2014-11-27 11:22:23 +01:00
Dmitry Stogov
109baa0394
Fixed compilation warnings
2014-11-27 12:52:31 +03:00
Anatol Belski
3ec8730e89
Fixed bug #68504 --with-libmbfl configure option not present on Windows
2014-11-27 09:14:47 +01:00
Dmitry Stogov
216ef32173
Changed "finally" handling. Removed EX(fast_ret) and EX(delayed_exception). Allocate and use additional IS_TMP_VAR slot on VM stack instead.
2014-11-27 09:56:43 +03:00
Ferenc Kovacs
c0a4561fb4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody.
5.5.21 now
2014-11-27 00:13:33 +01:00
Ferenc Kovacs
fcf21c4d00
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
the darwin specific test fails for me with the same output which is the expected for the original test I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on qa.php.net/reports and on google which do see this test failing on mac. if this change causes you to have this test failing on Mac, please drop me a mail so we can improve the current test so it passes for everybody.
5.5.21 now
Conflicts:
configure.in
main/php_version.h
2014-11-27 00:13:11 +01:00
Ferenc Kovacs
5d67e8617b
the darwin specific test fails for me with the same output which is the expected for the original test
...
I couldn't find anybody who managed to see this test passing, but I found a bunch of other reports on
qa.php.net/reports and on google which do see this test failing on mac.
if this change causes you to have this test failing on Mac, please drop me a mail so we can improve
the current test so it passes for everybody.
2014-11-27 00:08:40 +01:00
Ferenc Kovacs
b5d341a70e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
#68446 is fixed
2014-11-26 23:15:51 +01:00
Ferenc Kovacs
543ad4b2d3
#68446 is fixed
2014-11-26 23:12:49 +01:00
Dmitry Stogov
303d73ecd2
Reimplemented silence operator (@) handling on exceptions. Now each silence region is stored in op_array->brk_cont_array. On exception ZEND_HANDLE_EXCEPTION handler traverse this array and restore original EG(error_reporting) if exception occured inside a "silence" region.
2014-11-26 22:44:58 +03:00
Ferenc Kovacs
d1c83ef6a4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove the NEWS entries for the reverted stuff
2014-11-26 19:14:10 +01:00
Ferenc Kovacs
247774e3fd
remove the NEWS entries for the reverted stuff
2014-11-26 19:13:46 +01:00
Ferenc Kovacs
fce7f707ce
Merge branch 'PHP-5.6'
...
merge phpdbg commits from PHP-5.6 but keep the phpdbg unchanged in master
2014-11-26 18:42:53 +01:00
Ferenc Kovacs
aef51819ce
typo fix
2014-11-26 18:41:50 +01:00
Ferenc Kovacs
0afc04b913
go back with phpdbg to the state of 5.6.3, reverting the controversial commits(remote debugging/xml protocol)
2014-11-26 18:38:36 +01:00
Anatol Belski
81a24f054b
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
PHP-5.6.5 is next
2014-11-26 17:20:53 +01:00
Julien Pauli
3656349990
5.5.21 now
2014-11-26 11:31:58 +01:00
Ferenc Kovacs
078066fbd8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
PHP-5.6.5 is next
Conflicts:
configure.in
main/php_version.h
2014-11-26 10:24:18 +01:00
Ferenc Kovacs
fa2a2a1059
PHP-5.6.5 is next
2014-11-26 10:21:37 +01:00
Anatol Belski
67f1d2ae26
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
updated lib versions
updated lib versions
2014-11-26 09:51:39 +01:00
Anatol Belski
6e56c13517
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated lib versions
updated lib versions
2014-11-26 08:35:29 +01:00
Anatol Belski
fe92a811ed
updated lib versions
2014-11-26 08:35:00 +01:00
Anatol Belski
1414f2c095
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
updated lib versions
2014-11-26 08:33:32 +01:00
Anatol Belski
68126a76b4
updated lib versions
2014-11-26 08:33:06 +01:00
Anatol Belski
3ca0ca1548
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (102 commits)
fix dir separator in test
fix TS build
fix TS build
Better fix for bug #68446
Revert "Merge remote-tracking branch 'origin/PHP-5.6'"
Revert NEWS and set test to XFAIL
Revert "Fix bug #68446 (bug with constant defaults and type hints)"
Improved zend_hash_clean() and added new optimized zend_symtable_clean()
Use inline version of zval_ptr_dtor()
Added new optimized zend_array_destroy() function
Moved i_zval_ptr_dtor() from zend_execute.h to zend_variables.h
fix REGISTER_NS_*_CONSTANT macros
Removed useless assert. EG(uninitialized_zval) can't be refcounted.
Use specialized destructors when types of zvals are known.
move tests into proper place
Improved assignment to object property
Reuse zend_assign_to_variable() in zend_std_write_property()
cleanup comments from svn/cvs era
fix dir separator in test
fork test for windows
...
2014-11-26 08:17:35 +01:00
Anatol Belski
108b2c4bb9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix dir separator in test
2014-11-25 18:16:55 +01:00
Anatol Belski
4576b4d58a
fix dir separator in test
2014-11-25 18:16:26 +01:00
Anatol Belski
d36bf0e8ee
fix TS build
2014-11-25 17:58:20 +01:00
Anatol Belski
6900f573b7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix TS build
2014-11-25 17:57:51 +01:00
Anatol Belski
2c8aee0bb8
fix TS build
2014-11-25 17:56:28 +01:00
Dmitry Stogov
1c569b41d5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Better fix for bug #68446
2014-11-25 18:12:30 +03:00
Dmitry Stogov
e116595e63
Better fix for bug #68446
2014-11-25 18:09:08 +03:00
Dmitry Stogov
83ce1d9a78
Revert "Merge remote-tracking branch 'origin/PHP-5.6'"
...
This reverts commit 38229d13d1 , reversing
changes made to 77f172725a .
2014-11-25 15:40:08 +03:00
Bob Weinand
0e3771b631
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
Zend/zend_compile.c
Zend/zend_execute.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2014-11-25 13:05:36 +01:00
Bob Weinand
0ca47ba8d8
Revert NEWS and set test to XFAIL
2014-11-25 12:27:17 +01:00
Bob Weinand
aba95c2399
Revert "Fix bug #68446 (bug with constant defaults and type hints)"
...
This reverts commit 5ef138b0c7 .
2014-11-25 12:24:29 +01:00
Dmitry Stogov
3727e26456
Improved zend_hash_clean() and added new optimized zend_symtable_clean()
2014-11-25 14:17:21 +03:00
Dmitry Stogov
fb42d9d46e
Use inline version of zval_ptr_dtor()
2014-11-25 13:05:35 +03:00
Dmitry Stogov
ab7b38e336
Added new optimized zend_array_destroy() function
2014-11-25 12:58:29 +03:00
Dmitry Stogov
8319f59722
Moved i_zval_ptr_dtor() from zend_execute.h to zend_variables.h
2014-11-25 12:37:46 +03:00
krakjoe
e07feeaf8b
Merge branch 'master' of https://github.com/php/php-src
2014-11-25 08:37:02 +00:00
krakjoe
9b6836ebd3
fix REGISTER_NS_*_CONSTANT macros
2014-11-25 08:36:30 +00:00
Dmitry Stogov
d4f42289dd
Removed useless assert. EG(uninitialized_zval) can't be refcounted.
2014-11-25 11:33:57 +03:00
Dmitry Stogov
a271c7a5cf
Use specialized destructors when types of zvals are known.
2014-11-25 01:22:59 +03:00
Stanislav Malyshev
d7808ddae4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
move tests into proper place
2014-11-24 12:27:04 -08:00
Stanislav Malyshev
faa396c67d
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
move tests into proper place
2014-11-24 12:26:50 -08:00
Stanislav Malyshev
f86aa349eb
move tests into proper place
2014-11-24 12:26:20 -08:00
Dmitry Stogov
85d04a48d9
Improved assignment to object property
2014-11-24 23:19:24 +03:00
Dmitry Stogov
42d33a9fc6
Reuse zend_assign_to_variable() in zend_std_write_property()
2014-11-24 20:33:27 +03:00
Popa Adrian Marius
899c24a8c1
cleanup comments from svn/cvs era
2014-11-24 18:40:20 +02:00
Anatol Belski
7582b57c87
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix dir separator in test
fork test for windows
update for LiteSpeed
update for LiteSpeed
2014-11-24 16:27:43 +01:00
Anatol Belski
3578e5b250
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix dir separator in test
fork test for windows
update for LiteSpeed
2014-11-24 16:25:38 +01:00
Anatol Belski
09f2355eec
fix dir separator in test
2014-11-24 16:14:17 +01:00
Anatol Belski
ac8b1a9de1
fork test for windows
2014-11-24 16:09:26 +01:00
Dmitry Stogov
99818a576f
Use inline version of the function in the loop
2014-11-24 17:20:49 +03:00
Dmitry Stogov
e45dbba560
Micro optimization
2014-11-24 15:46:34 +03:00
Remi Collet
95a609c5d1
FPM: change "listen = port" behavior from IPv4 catch-all to IPv6 catch-all (+ IPv4-mapped)
2014-11-24 09:38:36 +01:00
Jille Timmermans
00c6033f99
Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set)
2014-11-24 09:37:55 +01:00
Sobak
d8fbcca725
Remove no longer used scripts
2014-11-23 18:10:26 -08:00
Stanislav Malyshev
1db49d8c5b
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update for LiteSpeed
2014-11-23 18:06:47 -08:00
Stanislav Malyshev
f79bf4900a
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update for LiteSpeed
2014-11-23 18:05:49 -08:00
Stanislav Malyshev
7dbc5e5c69
update for LiteSpeed
2014-11-23 18:05:26 -08:00
Stanislav Malyshev
4469049b7b
update for LiteSpeed
2014-11-23 18:03:07 -08:00
Stanislav Malyshev
be638b22e7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
tests image gd
xmlwriter_full_end_element tests
Tests for writeAttributeNS and xmlwriter_write_attribute_ns
2014-11-23 17:53:00 -08:00
Stanislav Malyshev
90445ba4a4
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
tests image gd
xmlwriter_full_end_element tests
Tests for writeAttributeNS and xmlwriter_write_attribute_ns
2014-11-23 17:52:50 -08:00
Stanislav Malyshev
d7f27984d2
Merge branch 'pull-request/757' into PHP-5.5
...
* pull-request/757:
xmlwriter_full_end_element tests
Tests for writeAttributeNS and xmlwriter_write_attribute_ns
2014-11-23 17:52:43 -08:00
Stanislav Malyshev
711a3ab9d1
Merge branch 'pull-request/782' into PHP-5.5
...
* pull-request/782:
tests image gd
2014-11-23 17:52:08 -08:00
Stanislav Malyshev
ac56bacc63
Merge branch 'pull-request/752'
...
* pull-request/752:
Updated NEWS regarding LiteSpeed SAPI
2014-11-23 17:49:45 -08:00
Dominic Luechinger
17e98661c6
Adds test cases for openssl EC improvements
2014-11-24 02:31:19 +01:00
Stanislav Malyshev
f782d6710d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
test to function addcslashes
test
Test PHP Init Fail Without Params
Add my information to this test
Add a test for the exception cases of readline_read_history
added some tests to datetime and dateinterval functions
added various tests for XSLTProcessor and one test for iconv extension
teste basico da funcao timezone_version_get
2014-11-23 17:26:35 -08:00
Stanislav Malyshev
a8dfb33db8
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Add my information to this test
Add a test for the exception cases of readline_read_history
added some tests to datetime and dateinterval functions
added various tests for XSLTProcessor and one test for iconv extension
teste basico da funcao timezone_version_get
2014-11-23 17:26:28 -08:00
Stanislav Malyshev
1330491994
Merge branch 'pull-request/854' into PHP-5.5
...
* pull-request/854:
teste basico da funcao timezone_version_get
2014-11-23 17:23:34 -08:00
Stanislav Malyshev
9d7206dcea
Merge branch 'pull-request/855' into PHP-5.5
...
* pull-request/855:
added some tests to datetime and dateinterval functions
added various tests for XSLTProcessor and one test for iconv extension
2014-11-23 17:22:54 -08:00
Stanislav Malyshev
24cd25824e
Merge branch 'pull-request/856' into PHP-5.5
...
* pull-request/856:
Add my information to this test
Add a test for the exception cases of readline_read_history
2014-11-23 17:22:02 -08:00
Stanislav Malyshev
2c67c0246e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Test PHP Init Fail Without Params
2014-11-23 17:21:29 -08:00
Stanislav Malyshev
fa76fa8e32
Merge branch 'pull-request/863' into PHP-5.5
...
* pull-request/863:
Test PHP Init Fail Without Params
2014-11-23 17:21:20 -08:00
marcosptf
49a133dd0b
test to function addcslashes
...
test to function bin2hex
2014-11-23 17:19:56 -08:00
marcosptf
2917c70252
test
2014-11-23 17:19:47 -08:00
Stanislav Malyshev
3e0591a3d0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update CODING_STANDARDS
2014-11-23 17:14:46 -08:00
Stanislav Malyshev
e7ea4f9237
Merge branch 'pull-request/811'
...
* pull-request/811:
Update CODING_STANDARDS
2014-11-23 17:14:39 -08:00
Archil Imnadze
926bd6cc7a
Update CODING_STANDARDS
2014-11-23 17:14:32 -08:00
Stanislav Malyshev
7c2a772c6f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Correct two zlib tests to use a string, not a const
2014-11-23 17:13:12 -08:00
Stanislav Malyshev
0bf0c12abf
Merge branch 'pull-request/817'
...
* pull-request/817:
Correct two zlib tests to use a string, not a const
2014-11-23 17:13:03 -08:00
Stanislav Malyshev
34c1ba5685
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Correct two zlib tests to use a string, not a const
2014-11-23 17:12:52 -08:00
Tim Siebels
5351ecbfca
Correct two zlib tests to use a string, not a const
2014-11-23 17:12:37 -08:00
Stanislav Malyshev
759f03ac84
Merge branch 'pull-request/819'
...
* pull-request/819:
Indention fix
2014-11-23 17:11:54 -08:00
Dominic Luechinger
e795675845
Adds better handling of EC keys: OPENSSL_KEYTYPE_EC
...
When working with elliptic curve and openssl some functions are not
aware of the different handling.
Improvements:
- Fixes export of EC private keys
- Adds curve information to openssl_pkey_get_details
2014-11-24 02:04:37 +01:00
Stanislav Malyshev
7092317eab
Merge branch 'pull-request/900'
...
* pull-request/900:
Fix incorrect argument reflection info for array_multisort()
2014-11-23 16:40:49 -08:00
Stanislav Malyshev
704e4fe605
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
Fix incorrect argument reflection info for array_multisort()
2014-11-23 16:40:16 -08:00
Stanislav Malyshev
de075d172c
update NEWS
2014-11-23 16:39:52 -08:00
Alexander Lisachenko
a5aae1b66c
Fix incorrect argument reflection info for array_multisort()
2014-11-23 16:38:30 -08:00
Stanislav Malyshev
3f263c44f4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix incorrect argument reflection info for array_multisort()
2014-11-23 16:32:57 -08:00
Alexander Lisachenko
a023e032b9
Fix incorrect argument reflection info for array_multisort()
2014-11-23 16:29:15 -08:00
Stanislav Malyshev
7daa97a383
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix NEWS order
update NEWS
Update the VM generation script, per Bob.
Update NEWS after rebase.
Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
2014-11-23 16:25:10 -08:00
Stanislav Malyshev
5a3e236bd5
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix NEWS order
2014-11-23 16:24:54 -08:00
Stanislav Malyshev
03dcf66f9a
fix NEWS order
2014-11-23 16:21:53 -08:00
Stanislav Malyshev
faee48506d
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update NEWS
Update the VM generation script, per Bob.
Update NEWS after rebase.
Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
2014-11-23 16:18:52 -08:00
Stanislav Malyshev
05394d6056
update NEWS
2014-11-23 16:18:04 -08:00
Stanislav Malyshev
9ef264504d
Merge branch 'pull-request/840' into PHP-5.5
...
* pull-request/840:
Update the VM generation script, per Bob.
Update NEWS after rebase.
Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
2014-11-23 16:17:17 -08:00
Stanislav Malyshev
b4ef6a91ac
Merge branch 'pull-request/850'
...
* pull-request/850:
Update comments in php.ini
2014-11-23 16:14:21 -08:00
Stanislav Malyshev
135e30034c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update comments in php.ini
2014-11-23 16:14:15 -08:00
Stanislav Malyshev
7e4de4f8d6
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Update comments in php.ini
2014-11-23 16:13:58 -08:00
Sobak
6d148f7ed9
Update comments in php.ini
2014-11-23 16:13:44 -08:00
Stanislav Malyshev
8be5ca97d3
Merge branch 'pull-request/859'
...
* pull-request/859:
added missing INSTALL_ROOT
2014-11-23 16:10:03 -08:00
Stanislav Malyshev
0506f5c123
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added missing INSTALL_ROOT
2014-11-23 16:09:52 -08:00
Stanislav Malyshev
fa7615af59
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
added missing INSTALL_ROOT
2014-11-23 16:09:40 -08:00
Sebastian Brandt
c7248e6359
added missing INSTALL_ROOT
2014-11-23 16:09:24 -08:00
Stanislav Malyshev
6a32137af5
Merge branch 'pull-request/872'
...
* pull-request/872:
Fix php.ini-*'s comment about directive: request_order
2014-11-23 16:08:19 -08:00
Stanislav Malyshev
1edc826bed
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix php.ini-*'s comment about directive: request_order
2014-11-23 16:08:14 -08:00
Reeze Xia
7386b74b07
Fix php.ini-*'s comment about directive: request_order
...
request_order directive only support register G,P,C but not all of
the EGPCS global variables.
The doc <http://php.net/manual/en/ini.core.php#ini.request-order >
is ok.
2014-11-23 16:07:47 -08:00
Stanislav Malyshev
529e195778
Merge branch 'pull-request/898'
...
* pull-request/898:
add php_create_socket/php_destroy_socket PHP_SOCKETS_API to abel to create socket ressource in other ext
2014-11-23 15:23:01 -08:00
Stanislav Malyshev
07a032eae8
Merge branch 'pull-request/891'
...
* pull-request/891:
Minor: typo fix in filter_var comment
2014-11-23 15:19:09 -08:00
Stanislav Malyshev
2c1a6f1f7d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Minor: typo fix in filter_var comment
2014-11-23 15:18:53 -08:00
Kévin Dunglas
8439eb6277
Minor: typo fix in filter_var comment
2014-11-23 15:18:47 -08:00
Stanislav Malyshev
2671b9b951
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Minor fix: Missing quotes in openssl test case for bug bug64802
2014-11-23 15:16:00 -08:00
Dominic Luechinger
437ab7f1f4
Minor fix: Missing quotes in openssl test case for bug bug64802
2014-11-23 15:15:49 -08:00
Dominic Luechinger
f652ff0544
Minor fix: Missing quotes in openssl test case for bug bug64802
2014-11-23 15:15:17 -08:00
Bob Weinand
701a1698f4
Merge remote-tracking branch 'origin/PHP-5.6'
2014-11-24 00:10:49 +01:00
Bob Weinand
dd70a2c7ae
Added NEWS entry and test for bug 68446
2014-11-24 00:08:45 +01:00
Stanislav Malyshev
114418812c
Merge branch 'pull-request/893'
...
* pull-request/893:
fix typo in UPGRADING.INTERNALS
2014-11-23 15:01:24 -08:00
Stanislav Malyshev
1895d202b4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
typo fixes - https://github.com/vlajos/misspell_fixer
Conflicts:
ext/ftp/ftp.h
ext/pgsql/pgsql.c
ext/phar/func_interceptors.c
ext/standard/image.c
2014-11-23 14:54:58 -08:00
Veres Lajos
06fdf359e3
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-23 14:52:47 -08:00
Bob Weinand
38229d13d1
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
Zend/zend_compile.c
Zend/zend_execute.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2014-11-23 23:50:47 +01:00
Veres Lajos
4dc994571d
typo fixes - https://github.com/vlajos/misspell_fixer
...
Conflicts:
ext/ftp/ftp.h
ext/pcre/pcrelib/pcre_printint.c
ext/pcre/pcrelib/sljit/sljitLir.c
ext/pcre/pcrelib/sljit/sljitLir.h
ext/pcre/pcrelib/sljit/sljitNativeARM_32.c
ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c
ext/pgsql/pgsql.c
ext/phar/func_interceptors.c
ext/soap/soap.c
ext/standard/image.c
2014-11-23 14:33:43 -08:00
Bob Weinand
5ef138b0c7
Fix bug #68446 (bug with constant defaults and type hints)
2014-11-23 21:10:41 +01:00
Stanislav Malyshev
77f172725a
Add NEWS & UPGRADING
2014-11-22 22:25:57 -08:00
Stanislav Malyshev
9d7c5dbed9
secured unserialize
...
- update for BC-compatible unserialize
- add tests
2014-11-22 22:25:18 -08:00
Florian MARGAINE
489bfb0af9
Fixes memory leak introduced in 2b9af967
...
Fixes https://bugs.php.net/bug.php?id=68285
2014-11-23 01:42:26 +01:00
Remi Collet
01893e309b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
typo
NEWS
Fixed Bug #68478 acess_log don't use prefix
2014-11-22 10:37:31 +01:00
Remi Collet
c8dd415543
typo
2014-11-22 10:37:22 +01:00
Remi Collet
6e17a439a9
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed Bug #68478 acess_log don't use prefix
2014-11-22 10:36:54 +01:00
Remi Collet
9664312e30
NEWS
2014-11-22 10:36:45 +01:00
Remi Collet
c50ee655ea
Fixed Bug #68478 acess_log don't use prefix
...
Calling fpm_conf_process_all_pools before fpm_log_open
allow to use fpm_evaluate_full_path and so to honor
global prefix or pool prefix for access.log
2014-11-22 10:35:51 +01:00
Remi Collet
48fa365006
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
minor typo in test
add test for global / pool prefix and bug #68478
Fixed Bug #68478 acess_log don't use prefix
2014-11-22 10:31:26 +01:00
Remi Collet
6b974874ab
NEWS
2014-11-22 10:30:42 +01:00
Remi Collet
3a3f67f79b
minor typo in test
2014-11-22 10:29:51 +01:00
Remi Collet
fd5c421a00
add test for global / pool prefix and bug #68478
2014-11-22 10:29:05 +01:00
Remi Collet
b924af8db9
Fixed Bug #68478 acess_log don't use prefix
...
Calling fpm_conf_process_all_pools before fpm_log_open
allow to use fpm_evaluate_full_path and so to honor
global prefix or pool prefix for access.log
2014-11-22 10:25:53 +01:00
Stanislav Malyshev
134827dbd5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "made lsapi_main.c compatible with PHP7/phpng ."
Updated NEWS
Updated NEWS
2014-11-22 00:41:40 -08:00
Stanislav Malyshev
515fa6160d
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Revert "made lsapi_main.c compatible with PHP7/phpng ."
Updated NEWS
2014-11-22 00:41:06 -08:00
Stanislav Malyshev
bc55af0cf2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Revert "made lsapi_main.c compatible with PHP7/phpng ."
2014-11-22 00:40:11 -08:00
Stanislav Malyshev
96cde1841a
Revert "made lsapi_main.c compatible with PHP7/phpng ."
...
This reverts commit 9fb816f45a .
Not a security-related fix.
2014-11-22 00:38:04 -08:00
Julien Pauli
d2aeef63ab
Updated NEWS
2014-11-21 16:18:51 +01:00
Julien Pauli
9a06628c80
Updated NEWS
2014-11-21 16:17:49 +01:00
Julien Pauli
99fa36cc58
Updated NEWS
2014-11-21 16:16:54 +01:00
Julien Pauli
af3a42022b
Fix #68185 - Inconsistent insteadof definition
2014-11-21 16:05:31 +01:00
Julien Pauli
a99adfac4e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #68185 - Inconsistent insteadof definition
2014-11-21 16:04:26 +01:00
Julien Pauli
ab3525c401
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix #68185 - Inconsistent insteadof definition
Conflicts:
Zend/zend_compile.c
2014-11-21 15:50:27 +01:00
Julien Pauli
cd3b46f28a
Fix #68185 - Inconsistent insteadof definition
2014-11-21 15:37:33 +01:00
Anatol Belski
27d7ae6330
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed test
2014-11-21 13:58:08 +01:00
Anatol Belski
64b9277867
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fixed test
2014-11-21 13:57:46 +01:00
Anatol Belski
59a9e7af21
fixed test
...
on Linux gettext requires a locale to be installed on the system
2014-11-21 13:56:49 +01:00
Remi Collet
146d42ae5d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add test for fastcgi_finish_request()
2014-11-21 11:28:42 +01:00
Remi Collet
1e14f805f9
add test for fastcgi_finish_request()
2014-11-21 11:28:20 +01:00
Anatol Belski
bcd9c6b256
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added test for things done so far for bug #66265
partially fixed bug #66265
forked bug67052.phpt for Windows
2014-11-21 10:25:18 +01:00
Anatol Belski
0581e877a5
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
added test for things done so far for bug #66265
partially fixed bug #66265
forked bug67052.phpt for Windows
2014-11-21 10:24:53 +01:00
Anatol Belski
f2e33dc725
added test for things done so far for bug #66265
2014-11-21 10:22:47 +01:00
Anatol Belski
56fac96bec
partially fixed bug #66265
...
NTS mode should additionally use _putenv to satisfy libs like gettext
relying on _getenv. As _putenv isn't thread safe, it wouldn't bring
much for the TS mode as it would change locale across all the threads
and require locking to avoid random fails with concurrent _getenv
calls.
2014-11-21 09:57:12 +01:00
Anatol Belski
502ce90873
forked bug67052.phpt for Windows
2014-11-21 09:53:55 +01:00
Remi Collet
178dd83814
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
Raise a warning when listen = hostname used and is resolved as multiple addresses
2014-11-21 07:57:07 +01:00
Remi Collet
b97fd60b42
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
Raise a warning when listen = hostname used and is resolved as multiple addresses
2014-11-21 07:56:48 +01:00
Remi Collet
8be510ae63
NEWS
2014-11-21 07:56:39 +01:00
Remi Collet
5be75da202
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
...
Add a "There are no allowed addresses for this pool"
2014-11-21 07:55:13 +01:00
Remi Collet
c4ca220467
Raise a warning when listen = hostname used and is resolved as multiple addresses
...
Using getaddrinfo is perhaps not a good idea... if we are not able
to listen on multiple addresses...
At least this message should help to diagnose problem, ex
... Found address for localhost, socket opened on ::1
... Found multiple addresses for localhost, 127.0.0.1 ignored
2014-11-21 07:54:51 +01:00
Remi Collet
831e21a8c3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
move zlog_set_level() again
Change pm.start_servers default warning to notice
2014-11-21 07:50:19 +01:00
Remi Collet
d10df70f4e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
move zlog_set_level() again
Change pm.start_servers default warning to notice
2014-11-21 07:50:04 +01:00
Remi Collet
1f4972e348
NEWS
2014-11-21 07:49:53 +01:00
David Zuelke
9e8d4a1b06
move zlog_set_level() again
...
from fpm_unix_init_main() to fpm_conf_post_process() this time (see #894 ),
because otherwise nothing in fpm_conf_init_main() obeys log levels
2014-11-21 07:49:08 +01:00
David Zuelke
8beb153460
Change pm.start_servers default warning to notice
...
Unlike other settings, this has a perfectly reasonable default, calculated using
a dynamic formula. If the default was hardcoded to "2" or something, then it
would make sense to have a warning, since that could potentially be bad, but for
a dynamically calculated value based on other mandatory settings, a notice ought
to be enough.
2014-11-21 07:47:04 +01:00
Remi Collet
a849096c08
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add test for #68391
NEWS
NEWS
Fixed bug #68391 Returns the pool config files in order
2014-11-21 07:37:05 +01:00
Remi Collet
5234c2941f
add test for #68391
2014-11-21 07:36:34 +01:00
Remi Collet
4ab05e8f69
NEWS
2014-11-21 07:35:49 +01:00
Remi Collet
61f6cd0da5
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed bug #68391 Returns the pool config files in order
2014-11-21 07:35:10 +01:00
Remi Collet
cf3a902286
NEWS
2014-11-21 07:34:40 +01:00
Florian MARGAINE
29d2c13809
Fixed bug #68391 Returns the pool config files in order
...
Fixes https://bugs.php.net/bug.php?id=68391
2014-11-21 07:33:15 +01:00
Adam Harvey
9de44a29e0
Merge branch 'PHP-5.6'
2014-11-20 16:19:36 -08:00
Adam Harvey
245d01892a
Merge branch 'PHP-5.5' into PHP-5.6
2014-11-20 16:19:03 -08:00
Adam Harvey
73cb5ca777
Merge branch 'PHP-5.4' into PHP-5.5
2014-11-20 16:18:42 -08:00
George Wang
b664909397
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
2014-11-20 16:56:28 -05:00
George Wang
d467761663
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2014-11-20 16:56:03 -05:00
George Wang
0f9f0c0bd5
Merge branch 'master' of git.php.net:php-src
2014-11-20 16:55:22 -05:00
George Wang
dce692dfa0
made lsapi_main.c compatible with PHP7/phpng .
...
Conflicts:
sapi/litespeed/lsapi_main.c
2014-11-20 16:54:42 -05:00
George Wang
620db04e91
made lsapi_main.c compatible with PHP7/phpng .
2014-11-20 16:50:15 -05:00
George Wang
bd3bc097b0
made lsapi_main.c compatible with PHP7/phpng .
2014-11-20 16:49:56 -05:00
George Wang
9fb816f45a
made lsapi_main.c compatible with PHP7/phpng .
2014-11-20 16:49:01 -05:00
Anatol Belski
4f3ac2cdbe
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (36 commits)
NEWS
adapt test for error message introduce in fix for #68463
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
run a few request in this test
fix test
fix test
added info about some other macro changes
added note about toolset and phpize
added note about the response files
split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
split formatter_format*.phpt for ICP 54.1
split dateformat_timezone_arg_variations*.phpt for ICU 54.1
split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
fix icu version to test
split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
clone dateformat_calendars_variant3.phpt for ICU 54.1
split collator_get_sort_key_variant3.phpt for icu 54.1
...
2014-11-20 15:20:18 +01:00
Remi Collet
8904fbc692
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
adapt test for error message introduce in fix for #68463
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
2014-11-20 15:17:02 +01:00
Remi Collet
15d8601866
NEWS
2014-11-20 15:16:39 +01:00
Remi Collet
6e1e113b91
adapt test for error message introduce in fix for #68463
2014-11-20 15:15:54 +01:00
Remi Collet
5c6ccb2d8f
Fix bug #68463 listen.allowed_clients can silently result in no allowed access
...
Add a "There are no allowed addresses for this pool"
2014-11-20 15:14:34 +01:00
Remi Collet
9081e8a4d2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
run a few request in this test
2014-11-20 14:45:35 +01:00
Remi Collet
7ef559ff80
run a few request in this test
2014-11-20 14:45:17 +01:00
Anatol Belski
9a91e5019d
fix test
2014-11-20 14:37:17 +01:00
Anatol Belski
00c856250f
fix test
2014-11-20 14:35:04 +01:00
Anatol Belski
583c3dc9e7
added info about some other macro changes
2014-11-20 14:23:15 +01:00
Anatol Belski
f030cd8bda
added note about toolset and phpize
2014-11-20 14:23:14 +01:00
Anatol Belski
799057c6be
added note about the response files
2014-11-20 14:23:13 +01:00
Anatol Belski
548fe5617c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
split formatter_format*.phpt for ICP 54.1
split dateformat_timezone_arg_variations*.phpt for ICU 54.1
split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
fix icu version to test
split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
clone dateformat_calendars_variant3.phpt for ICU 54.1
split collator_get_sort_key_variant3.phpt for icu 54.1
split ext/intl/tests/collator_create3.phpt for icu >= 54.1
2014-11-20 13:37:13 +01:00
Anatol Belski
e25b23d1c9
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
split formatter_format*.phpt for ICP 54.1
split dateformat_timezone_arg_variations*.phpt for ICU 54.1
split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
fix icu version to test
split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
clone dateformat_calendars_variant3.phpt for ICU 54.1
split collator_get_sort_key_variant3.phpt for icu 54.1
split ext/intl/tests/collator_create3.phpt for icu >= 54.1
Conflicts:
ext/intl/tests/dateformat_create_cal_arg_variant3.phpt
ext/intl/tests/dateformat_formatObject_calendar_variant3.phpt
ext/intl/tests/dateformat_formatObject_datetime_variant3.phpt
ext/intl/tests/dateformat_get_set_calendar_variant3.phpt
ext/intl/tests/dateformat_get_set_timezone_variant3.phpt
ext/intl/tests/dateformat_timezone_arg_variations3.phpt
ext/intl/tests/msgfmt_format_intlcalendar_variant3.phpt
2014-11-20 13:36:37 +01:00
Anatol Belski
6c3768b154
split msgfmt_format_intlcalendar_variant*.phpt for ICU 54.1
2014-11-20 13:26:23 +01:00
Anatol Belski
65ca28b463
split formatter_format*.phpt for ICP 54.1
2014-11-20 13:17:41 +01:00
Anatol Belski
2ec7f04f7e
split dateformat_timezone_arg_variations*.phpt for ICU 54.1
2014-11-20 13:12:02 +01:00
Anatol Belski
a52ff5cde6
split dateformat_get_set_timezone_variant*.phpt for ICU 54.1
2014-11-20 13:06:22 +01:00
Anatol Belski
36a2e235dd
fix icu version to test
2014-11-20 13:01:04 +01:00
Anatol Belski
96249b68e5
split ext/intl/tests/dateformat_get_set_calendar_variant*.phpt for 54.1
2014-11-20 12:58:41 +01:00
Anatol Belski
278d71e508
split dateformat_formatObject_datetime_variant*.phpt for ICU 54.1
2014-11-20 12:53:11 +01:00
Anatol Belski
9cfe459e21
split dateformat_formatObject_calendar_variant*.phpt for ICU 54.1
2014-11-20 12:46:48 +01:00
Anatol Belski
54af278762
split dateformat_create_cal_arg_variant2.phpt for ICU 53.1 and 54.1
2014-11-20 12:39:52 +01:00
Anatol Belski
b61dba5e1d
clone dateformat_calendars_variant3.phpt for ICU 54.1
2014-11-20 11:49:39 +01:00
Anatol Belski
8ca69ff641
split collator_get_sort_key_variant3.phpt for icu 54.1
2014-11-20 11:37:06 +01:00
Anatol Belski
f97fc096a3
split ext/intl/tests/collator_create3.phpt for icu >= 54.1
2014-11-20 11:17:42 +01:00
Remi Collet
6bb201e46e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Raise a warning when listen = hostname used and is resolved as multiple addresses
NEWS
Fixed #68458 Change pm.start_servers default warning to notice
fix test description
tests for #895
move zlog_set_level() again
Change pm.start_servers default warning to notice
2014-11-20 10:18:12 +01:00
Remi Collet
9fd54bd9d8
Raise a warning when listen = hostname used and is resolved as multiple addresses
...
Using getaddrinfo is perhaps not a good idea... if we are not able
to listen on multiple addresses...
At least this message should help to diagnose problem, ex
... Found address for localhost, socket opened on ::1
... Found multiple addresses for localhost, 127.0.0.1 ignored
2014-11-20 10:15:15 +01:00
Remi Collet
dec0db79c3
Fixed #68458 Change pm.start_servers default warning to notice
...
Add another test
014 checks that no "notice" are traced when log_level=warning
015 checks that "notice" are traced when log_level=notice
2014-11-20 08:16:21 +01:00
David Zuelke
8bd99d1ca7
fix test description
2014-11-20 08:16:20 +01:00
David Zuelke
919365bfcf
tests for #895
2014-11-20 08:16:20 +01:00
David Zuelke
75f6b73ab1
move zlog_set_level() again
...
from fpm_unix_init_main() to fpm_conf_post_process() this time (see #894 ),
because otherwise nothing in fpm_conf_init_main() obeys log levels
2014-11-20 08:16:20 +01:00
David Zuelke
5d66314cea
Change pm.start_servers default warning to notice
...
Unlike other settings, this has a perfectly reasonable default, calculated using
a dynamic formula. If the default was hardcoded to "2" or something, then it
would make sense to have a warning, since that could potentially be bad, but for
a dynamically calculated value based on other mandatory settings, a notice ought
to be enough.
2014-11-20 08:16:20 +01:00
Remi Collet
914787491d
NEWS
2014-11-20 08:15:13 +01:00
Dmitry Stogov
03815693ec
Fixed typo
2014-11-20 10:13:08 +03:00
Remi Collet
1939097ede
Fixed #68458 Change pm.start_servers default warning to notice
...
Add another test
014 checks that no "notice" are traced when log_level=warning
015 checks that "notice" are traced when log_level=notice
2014-11-20 08:12:27 +01:00
David Zuelke
a128cbad57
fix test description
2014-11-20 08:11:44 +01:00
David Zuelke
49be4af42b
tests for #895
2014-11-20 08:11:44 +01:00
David Zuelke
befce20c84
move zlog_set_level() again
...
from fpm_unix_init_main() to fpm_conf_post_process() this time (see #894 ),
because otherwise nothing in fpm_conf_init_main() obeys log levels
2014-11-20 08:11:43 +01:00
David Zuelke
909d44f20d
Change pm.start_servers default warning to notice
...
Unlike other settings, this has a perfectly reasonable default, calculated using
a dynamic formula. If the default was hardcoded to "2" or something, then it
would make sense to have a warning, since that could potentially be bad, but for
a dynamically calculated value based on other mandatory settings, a notice ought
to be enough.
2014-11-20 08:11:43 +01:00
Remi Collet
edb05ae37e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Factorization and consistency - create a fpm_use_error_log() to check when file or stderr should be used - use it everywhere for consistency - add some comments
2014-11-20 07:52:19 +01:00
Remi Collet
7e0ccb6d12
Factorization and consistency
...
- create a fpm_use_error_log() to check when file or stderr should be used
- use it everywhere for consistency
- add some comments
2014-11-20 07:49:54 +01:00
Anatol Belski
14fa5339f8
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
NEWS
Fix #68355 : Inconsistency in example php.ini comments
NEWS
Fixed bug #68452 php-fpm man page is oudated (-O)
NEWS
Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
NEWS
Fixed bug #68381 Set FPM log level earlier during init
2014-11-19 23:21:34 +01:00
Veres Lajos
4b9535341a
typo fixes - https://github.com/vlajos/misspell_fixer
2014-11-19 20:23:00 +00:00
Peter Cowburn
f767451980
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix #68355 : Inconsistency in example php.ini comments
2014-11-19 17:06:59 +00:00
Peter Cowburn
48c0cf7df6
NEWS
2014-11-19 17:03:15 +00:00
Chris McCafferty
1e92b24a2a
Fix #68355 : Inconsistency in example php.ini comments
...
There are some arbitrary differences between php.ini-production and
php.ini-development. This patch corrects the differences.
2014-11-19 16:57:47 +00:00
Remi Collet
cf00c1b2e7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fixed bug #68452 php-fpm man page is oudated (-O)
NEWS
Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
NEWS
Fixed bug #68381 Set FPM log level earlier during init
2014-11-19 16:49:37 +01:00
Remi Collet
a521d7e1be
NEWS
2014-11-19 16:49:23 +01:00
Remi Collet
c5a1c5f5a4
Fixed bug #68452 php-fpm man page is oudated (-O)
2014-11-19 16:49:05 +01:00
Remi Collet
4a36482378
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
NEWS
Fixed bug #68381 Set FPM log level earlier during init
2014-11-19 16:48:21 +01:00
Remi Collet
d438bcf226
NEWS
2014-11-19 16:47:52 +01:00
Remi Collet
858c9d86fa
Fixed bug #68452 php-fpm man page is oudated (-g, -R, -z)
2014-11-19 16:46:51 +01:00
Anatol Belski
0180912823
default tsrmls cache to NULL
2014-11-19 12:26:24 +01:00
Anatol Belski
c6bad96f30
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (398 commits)
NEWS
add test for bug #68381
Fixed bug #68381 Set FPM log level earlier during init
proper dllexport
move to size_t where zend_string is used internally
fix some datatype mismatches
return after the warning, to fix uninitialized salt usage
fix datatype mismatches
add missing type specifier
fix datatype mismatches
fix unsigned check
"extern" shouldn't be used for definitions
joined identical conditional blocks
simplify fpm tests
SEND_VAR_NO_REF optimization
Add test for bug #68442
Add various tests for FPM - covering recent bugs (68420, 68421, 68423, 68428) - for UDS - for ping and status URI - for multi pool and multi mode
Include small MIT FastCGI client library from https://github.com/adoy/PHP-FastCGI-Client
Get rid of zend_free_op structure (use zval* instead). Get rid of useless TSRMLS arguments.
Add new FPM test for IPv4/IPv6
...
Conflicts:
win32/build/config.w32
2014-11-18 21:18:52 +01:00
Remi Collet
64a39dc7b0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
add test for bug #68381
Fixed bug #68381 Set FPM log level earlier during init
2014-11-18 17:46:15 +01:00
Remi Collet
c40e665ecd
NEWS
2014-11-18 17:45:50 +01:00
Remi Collet
f164df0b7b
add test for bug #68381
2014-11-18 17:45:50 +01:00
David Zuelke
9a43410871
Fixed bug #68381 Set FPM log level earlier during init
...
The log level will be ignored throughout log events in fpm_unix_init_main, until
the very end when zlog_set_level is finally called.
In particular, fpm_unix_conf_wp may throw notices like this:
> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…
Which will still appear even if log_level in php-fpm.conf is set to warning+
2014-11-18 17:45:49 +01:00
Remi Collet
5674827ead
NEWS
2014-11-18 17:43:28 +01:00
David Zuelke
03cf70ab1e
Fixed bug #68381 Set FPM log level earlier during init
...
The log level will be ignored throughout log events in fpm_unix_init_main, until
the very end when zlog_set_level is finally called.
In particular, fpm_unix_conf_wp may throw notices like this:
> [08-Nov-2014 17:13:36] NOTICE: [pool www] 'user' directive is ignored when…
Which will still appear even if log_level in php-fpm.conf is set to warning+
2014-11-18 17:42:21 +01:00
Anatol Belski
5400f92c75
proper dllexport
2014-11-18 15:38:35 +01:00
Anatol Belski
376a366f0c
move to size_t where zend_string is used internally
2014-11-18 13:19:53 +01:00
Anatol Belski
075fc1ff1a
fix some datatype mismatches
2014-11-18 13:19:52 +01:00
Anatol Belski
f8f86a44ef
return after the warning, to fix uninitialized salt usage
2014-11-18 13:19:52 +01:00
Anatol Belski
7e8e7ff634
fix datatype mismatches
2014-11-18 13:19:51 +01:00
Anatol Belski
2a1bfe6f0c
add missing type specifier
2014-11-18 13:19:50 +01:00
Anatol Belski
fb6c3d3cf5
fix datatype mismatches
2014-11-18 13:19:49 +01:00
Anatol Belski
7c5ae9a1cf
fix unsigned check
2014-11-18 13:19:48 +01:00
Anatol Belski
544a2c4792
"extern" shouldn't be used for definitions
2014-11-18 13:19:47 +01:00
Anatol Belski
6b3b4fc944
joined identical conditional blocks
2014-11-18 13:19:46 +01:00
Remi Collet
43a02fc31d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
simplify fpm tests
2014-11-18 13:12:19 +01:00
Remi Collet
ec26d7a80f
simplify fpm tests
2014-11-18 13:11:53 +01:00
Dmitry Stogov
e20a727430
SEND_VAR_NO_REF optimization
2014-11-18 14:37:36 +03:00
Remi Collet
d86b5e2b08
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add test for bug #68442
2014-11-18 11:10:45 +01:00
Remi Collet
51394dff3f
Add test for bug #68442
...
Add another helper function fpm_display_log
Restore change from c996a989 badly reverted in 8c0cc49
2014-11-18 11:08:49 +01:00
Remi Collet
615b0ec7f5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add various tests for FPM - covering recent bugs (68420, 68421, 68423, 68428) - for UDS - for ping and status URI - for multi pool and multi mode
Include small MIT FastCGI client library from https://github.com/adoy/PHP-FastCGI-Client
2014-11-18 08:09:56 +01:00
Remi Collet
8c0cc49b9b
Add various tests for FPM
...
- covering recent bugs (68420, 68421, 68423, 68428)
- for UDS
- for ping and status URI
- for multi pool and multi mode
2014-11-18 08:07:45 +01:00
Remi Collet
a740f9e783
Include small MIT FastCGI client library from
...
https://github.com/adoy/PHP-FastCGI-Client
Add run_request function to easily run a FastCGI call,
which is needed for new tests.
2014-11-18 08:01:18 +01:00
Dmitry Stogov
c746dcd7fd
Get rid of zend_free_op structure (use zval* instead).
...
Get rid of useless TSRMLS arguments.
2014-11-18 09:05:48 +03:00
Remi Collet
96220027e1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add new FPM test for IPv4/IPv6
2014-11-17 15:23:33 +01:00
Remi Collet
d8868b654e
Add new FPM test for IPv4/IPv6
...
Use 9000+PHP_INT_SIZE as poprt
- to avoid using default 9000
- to allow multipole 32/64 bits simultaneous run
2014-11-17 15:22:04 +01:00
Dmitry Stogov
76019b86c0
Reorder fields for most often access pattern
2014-11-17 14:06:50 +03:00
Remi Collet
269470e65e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update fpm configuration for #68428
update fpm configuration for #68428
fix incompatible pointer types
fix incompatible pointer types
2014-11-17 09:43:56 +01:00
Remi Collet
ab2215deb3
update fpm configuration for #68428
2014-11-17 09:43:51 +01:00
Remi Collet
c996a9899e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update fpm configuration for #68428
fix incompatible pointer types
2014-11-17 09:43:26 +01:00
Remi Collet
d9fd670fdc
update fpm configuration for #68428
2014-11-17 09:43:23 +01:00
Remi Collet
09f9f7ce50
update fpm configuration for #68428
2014-11-17 09:43:09 +01:00
Anatol Belski
317d7c62ee
fix incompatible pointer types
2014-11-17 09:34:20 +01:00
Anatol Belski
873a460c7c
fix incompatible pointer types
2014-11-17 09:33:58 +01:00
Anatol Belski
1504e9c9df
fix incompatible pointer types
2014-11-17 09:33:37 +01:00
Remi Collet
2c816d0c9b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fixed bug #68428 allowed_client is IPv4 only
2014-11-17 09:23:59 +01:00
Remi Collet
82c71158c1
NEWS
2014-11-17 09:23:47 +01:00
Remi Collet
45b17d0f96
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed bug #68428 allowed_client is IPv4 only
2014-11-17 09:23:26 +01:00
Remi Collet
6d9b4ca5fc
NEWS
2014-11-17 09:23:16 +01:00
Remi Collet
3a8103ae47
Fixed bug #68428 allowed_client is IPv4 only
2014-11-17 09:22:13 +01:00
Kévin Dunglas
54f06d2381
New label length test
2014-11-17 08:10:29 +01:00
Remi Collet
2b1f90af2b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
comment about ipv4-mapped in fpm conf
Improve fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-17 06:59:03 +01:00
Remi Collet
f22e0c0a6a
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
comment about ipv4-mapped in fpm conf
Improve fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-17 06:58:28 +01:00
Remi Collet
4475cbdc85
comment about ipv4-mapped in fpm conf
2014-11-17 06:57:59 +01:00
Remi Collet
4657289e87
Improve fix bug #68421 access.format='%R' doesn't log ipv6 address
...
Log IPv4-Mapped-Ipv6 address as IPv4 (not as IPv6)
2014-11-17 06:53:38 +01:00
Dmitry Stogov
54fa424751
Micro optimization
2014-11-17 08:36:14 +03:00
Remi Collet
9e3ebd3a0d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
improve comments about FPM listen option
2014-11-16 18:01:01 +01:00
Remi Collet
10a957ed35
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
improve comments about FPM listen option
2014-11-16 18:00:24 +01:00
Remi Collet
23fd22f9ed
improve comments about FPM listen option
2014-11-16 17:59:36 +01:00
Remi Collet
cac8e96738
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
2014-11-15 08:14:51 +01:00
Remi Collet
51acb9dddd
NEWS
2014-11-15 08:14:43 +01:00
Remi Collet
e52295988c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
2014-11-15 08:14:09 +01:00
Remi Collet
69b9381901
NEWS
2014-11-15 08:13:56 +01:00
Remi Collet
ffbb38dd98
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses
2014-11-15 08:12:07 +01:00
Remi Collet
9871cf78f6
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses
2014-11-15 08:11:32 +01:00
Remi Collet
1d9bb287c5
Fixed Bug #68420 listen=9000 listens to ipv6 localhost instead of all addresses
...
Restore default behavior when no address configured:
Listen on all IPv4 addresses.
At some time we could consider to switch to all IPv6
but this will be a BC break.
2014-11-15 08:08:23 +01:00
Anatol Belski
82c2e3f201
fix build
...
ifdef this var declaration to avoid the vs warning
2014-11-14 22:19:41 +01:00
Remi Collet
4ae31bff12
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
2014-11-14 19:14:53 +01:00
Remi Collet
548352aa1e
NEWS
2014-11-14 19:14:42 +01:00
Remi Collet
546fb3407d
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
2014-11-14 19:14:02 +01:00
Remi Collet
e4974f6cc6
NEWS
2014-11-14 19:13:53 +01:00
Remi Collet
13401c8098
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-14 19:10:43 +01:00
Remi Collet
b7bc907cfd
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-14 19:10:19 +01:00
Remi Collet
5112fdd670
Fix bug #68421 access.format='%R' doesn't log ipv6 address
2014-11-14 19:09:50 +01:00
Anatol Belski
1ae7743a07
less spaces in the makefile generated commands
2014-11-14 17:39:43 +01:00
Anatol Belski
034a88135f
separate LDFLAGS and ARFLAGS to fix the unknown opts warns
2014-11-14 17:39:42 +01:00
Anatol Belski
a85ce501da
partial cleanup to work with size_t str length in password_hash
...
php_crypt() and co use int, though this is fair enough. Could
be refactored later for tidiness reasons.
2014-11-14 17:39:41 +01:00
Anatol Belski
dbddbcc950
remove unused var
2014-11-14 17:39:40 +01:00
Anatol Belski
b7eee5bfaf
added comment
2014-11-14 17:39:39 +01:00
Anatol Belski
8434a7f2ab
validate sockets portable way
2014-11-14 17:39:38 +01:00
Anatol Belski
e1d0ca7cae
fix unused var warning
2014-11-14 17:39:37 +01:00
Anatol Belski
3b4a6dc114
removed useless check
...
the offset member is an unsigned
2014-11-14 17:39:35 +01:00
Remi Collet
871dc9febc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #68423i PHP-FPM will no longer load all pools
2014-11-14 17:33:14 +01:00
Remi Collet
d66640a334
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix bug #68423i PHP-FPM will no longer load all pools
2014-11-14 17:32:46 +01:00
Remi Collet
23db119768
Fix bug #68423i PHP-FPM will no longer load all pools
...
The hash need to be unique per IP + Port
Previous version have (IPv4 only)
sprintf(key, "%u.%u.%u.%u:%u", IPQUAD(&sa_in->sin_addr), (unsigned int) ntohs(sa_in->sin_port));
2014-11-14 17:29:31 +01:00
Alexander Lisachenko
e8868959ed
Fix incorrect argument reflection info for array_multisort()
2014-11-14 15:36:56 +03:00
Kévin Dunglas
a8742d30ea
Fix ext/filter/tests/033.phpt
2014-11-14 11:40:39 +01:00
Remi Collet
706e5aabd1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS for 1b15620744
2014-11-14 10:59:04 +01:00
Remi Collet
063a06b8e5
NEWS for 1b15620744
2014-11-14 10:58:27 +01:00
Kévin Dunglas
5ad3f87557
Fix filter_list test
2014-11-14 10:56:39 +01:00
Kévin Dunglas
728945d0a5
FILTER_VALIDATE_DOMAIN and RFC conformance for FILTER_VALIDATE_URL
2014-11-14 10:01:53 +01:00
Anatol Belski
e6ea376a91
avoid repeated strlen usage, remove unused vars
2014-11-13 19:57:34 +01:00
Anatol Belski
14ccac0237
fix datatype mismatch
2014-11-13 19:57:33 +01:00
Anatol Belski
e5acd78f7a
fix datatype mismatch
2014-11-13 19:57:32 +01:00
Anatol Belski
50825aa879
extend warn list to exclude
2014-11-13 19:57:31 +01:00
Anatol Belski
5f81cfe097
fix datatype mismatch and kick unused var
2014-11-13 19:57:30 +01:00
Anatol Belski
c865472ef0
fix datatype mismatches, remove dead part of code
2014-11-13 19:57:29 +01:00
Anatol Belski
cf979ca6fe
remove unused vars
2014-11-13 19:57:28 +01:00
Anatol Belski
0f7f800d8a
added missing type specifier
2014-11-13 19:57:27 +01:00
Dmitry Stogov
1f432c85b0
Micro optimization
2014-11-13 17:36:08 +03:00
Remi Collet
b75bd26096
fix merge
2014-11-13 13:09:44 +01:00
Remi Collet
1b15620744
Fix build with gmp < 4.2
...
See 3d6d863ccb
and acd7fcf55f
2014-11-13 13:08:00 +01:00
Anatol Belski
9b19f516a5
add a configure option to suppress uncritical warns with clang
2014-11-13 11:43:01 +01:00
Anatol Belski
b6c8349be0
pass vc++ version to clang, that will be forwarded to _MSC_VER
2014-11-13 11:20:09 +01:00
Anatol Belski
191fe09e33
HAVE_STRNLEN should be in all toolsets
2014-11-13 10:47:57 +01:00
Anatol Belski
8644f4624c
set the vc++ next name
2014-11-13 08:18:40 +01:00
Xinchen Hui
6771f5590c
Another fix for test fail
2014-11-13 14:23:25 +08:00
Xinchen Hui
241b1a7840
Revert "Fixed test fails (prop read always has a IS_STRING member now)"
...
This reverts commit 39913c4cdf .
2014-11-13 14:16:08 +08:00
Xinchen Hui
c80069c298
Merge branch 'master' of https://git.php.net/repository/php-src
2014-11-13 12:54:17 +08:00
Xinchen Hui
39913c4cdf
Fixed test fails (prop read always has a IS_STRING member now)
2014-11-13 12:47:03 +08:00
Anatol Belski
4d7a21d0f2
pre create the build dir
...
otherwise response file generation might fail
2014-11-12 19:06:09 +01:00
Anatol Belski
29b28f7ce6
fix test cleanup
...
this could leave garbage after it as the test file is removed in
flush (the fd could still be opened)
2014-11-12 18:05:24 +01:00
Anatol Belski
d7a0046468
fix test cleanup
2014-11-12 17:57:20 +01:00
Anatol Belski
f00cf67d1e
C89 compat
2014-11-12 17:57:19 +01:00
Anatol Belski
15f419a635
trim when adding flags, avoid multiple spaces
2014-11-12 17:57:18 +01:00
Anatol Belski
988112a2e1
use response files for exts and sapi linking
2014-11-12 17:57:17 +01:00
Anatol Belski
1acbcdeb27
generate response files for use by linker
...
Object dir path can under circumstances cause that the expanded
command line exceeds the length allowed by the OS. Linker can read
the object lists from a file which eliminates this issue.
2014-11-12 17:57:17 +01:00
Anatol Belski
79c61c71c2
generalize arch setup
2014-11-12 17:57:16 +01:00
Anatol Belski
54868c84ce
fix int to void* cast on x64
2014-11-12 17:57:15 +01:00
Matteo Beccati
55e01cda7a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed NEWS
2014-11-12 16:54:33 +01:00
Matteo Beccati
86127a077f
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed NEWS
2014-11-12 16:54:17 +01:00
Matteo Beccati
faaea4f304
Fixed NEWS
...
Some entries had been mistakenly removed in ad468d20b1
2014-11-12 16:51:26 +01:00
Ferenc Kovacs
428f36198e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
2014-11-12 14:51:39 +01:00
Ferenc Kovacs
00e763f499
update NEWS
2014-11-12 14:51:18 +01:00
Ferenc Kovacs
37143666d4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
2014-11-12 14:46:07 +01:00
Ferenc Kovacs
fea84a1c9c
update NEWS
2014-11-12 14:45:39 +01:00
Ferenc Kovacs
7691e58d30
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
2014-11-12 14:29:11 +01:00
Ferenc Kovacs
5f15d6f0d8
update NEWS
2014-11-12 14:28:45 +01:00
Matteo Beccati
1f1b412e5a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #53829 Compiling PHP with large file support will replace function gzopen by gzopen64
Remove unneeded md5 hashing from PHP-5.6 branch. It's removed from master already by my previous commit.
Conflicts:
ext/session/session.c
2014-11-12 11:23:24 +01:00
Matteo Beccati
07655ffe7e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #53829 Compiling PHP with large file support will replace function gzopen by gzopen64
2014-11-12 11:22:48 +01:00
Matteo Beccati
65fee90462
Fixed bug #53829 Compiling PHP with large file support will replace function gzopen by gzopen64
2014-11-12 11:21:11 +01:00
Julien Pauli
14d3e173aa
Fixed wrong NEWS
2014-11-12 10:59:54 +01:00
Yasuo Ohgaki
9e072d9565
Remove unneeded md5 hashing from PHP-5.6 branch.
...
It's removed from master already by my previous commit.
2014-11-12 13:43:54 +09:00
Stanislav Malyshev
0326471a0a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix loop - size_t is unsigned so can not be negative
fix copypaste error
Conflicts:
ext/standard/html.c
2014-11-11 16:35:41 -08:00
Stanislav Malyshev
32fd4590a5
fix loop - size_t is unsigned so can not be negative
2014-11-11 16:34:50 -08:00
Stanislav Malyshev
1b143f4033
fix loop - size_t is unsigned so can not be negative
2014-11-11 16:33:02 -08:00
Stanislav Malyshev
4571cc2195
fix copypaste error
2014-11-11 16:33:02 -08:00
Stanislav Malyshev
99b538a722
Merge branch 'PHp-5.4' into PHP-5.5
...
* PHp-5.4:
5.4.36-dev
Fixed bug #66584 Segmentation fault on statement deallocation
Conflicts:
configure.in
main/php_version.h
2014-11-11 16:32:38 -08:00
Stanislav Malyshev
98b22864ff
5.4.36-dev
2014-11-11 16:31:38 -08:00
Matteo Beccati
2323e95df9
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-11 16:25:31 -08:00
Ferenc Kovacs
cf468b0f5c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
2014-11-12 00:25:34 +01:00
Ferenc Kovacs
74d6c23b39
update NEWS
2014-11-12 00:25:16 +01:00
Ferenc Kovacs
9207179935
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
update NEWS
update NEWS
2014-11-12 00:21:16 +01:00
Ferenc Kovacs
a2e7b9162c
update NEWS
2014-11-12 00:21:04 +01:00
Ferenc Kovacs
654bb8faf3
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update NEWS
update NEWS
2014-11-12 00:20:54 +01:00
Ferenc Kovacs
791fc70025
update NEWS
2014-11-12 00:19:51 +01:00
Ferenc Kovacs
b05e123cde
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
2014-11-12 00:18:55 +01:00
Ferenc Kovacs
db5ad4c51f
update NEWS
2014-11-12 00:18:13 +01:00
Anatol Belski
1264731dd1
fix printf spec
2014-11-11 20:28:28 +01:00
Anatol Belski
0e6c7c6165
fix datatype mismatch and unused var warning
2014-11-11 20:16:13 +01:00
Anatol Belski
524f854193
eliminate duplicated identical function definitions
2014-11-11 18:24:21 +01:00
Anatol Belski
9757d9adbf
generalize --with-php-build option handling
2014-11-11 18:24:20 +01:00
Anatol Belski
c0db5cd93d
refactor zts related config
2014-11-11 18:24:19 +01:00
Derick Rethans
3e8975bc95
Merge branch 'PHP-5.6'
2014-11-11 14:01:31 -03:00
Derick Rethans
a19d96fc58
Merge branch 'PHP-5.5' into PHP-5.6
2014-11-11 14:01:26 -03:00
Derick Rethans
695a102ede
- Updated to version 2014.10 (2014j)
2014-11-11 14:01:24 -03:00
Xinchen Hui
8511b33bd0
Update NEWs
2014-11-11 16:33:36 +08:00
Xinchen Hui
75b6f97334
Merge branch 'PHP-5.6'
...
Conflicts:
ext/soap/soap.c
2014-11-11 16:31:32 +08:00
Xinchen Hui
399ec40a76
Update NEWS
2014-11-11 16:24:59 +08:00
Xinchen Hui
e003c56c74
Merge branch 'PHP-5.5' into PHP-5.6
2014-11-11 16:23:18 +08:00
Xinchen Hui
327d4f9afb
Fixed bug #68361 (Segmentation fault on SoapClient::__getTypes)
2014-11-11 16:22:49 +08:00
Andrea Faulds
cc353884c6
Merge branch 'zppFailOnOverflow' of github.com:Ralt/php-src into zppFailOnOverflow
2014-11-11 00:13:01 +00:00
Anatol Belski
6d215f8cee
fix trailing slash
2014-11-11 00:51:21 +01:00
Anatol Belski
d509e79d70
further fixes to win build
...
- fixed pdb generation with vs
- made object-out-dir to use an absolute path, that fixes path issues
with x86/x64 and nmake snap
2014-11-11 00:38:37 +01:00
Anatol Belski
64c081f347
moved libs and debug/release mode setup into functions
2014-11-10 23:30:16 +01:00
Anatol Belski
96805364fa
fix var declaration used by macro conditions
2014-11-10 23:30:15 +01:00
Anatol Belski
5ad7cad103
fix sprintf spec
2014-11-10 23:30:15 +01:00
Anatol Belski
940e69147e
fix var usage only when unistd.h available
2014-11-10 23:30:14 +01:00
Anatol Belski
c3471cc1c9
cleanup unused variable
2014-11-10 23:30:13 +01:00
Anatol Belski
88ba5a625c
do portable socket checks
...
also introduced a portable macro for that
2014-11-10 23:30:12 +01:00
Anatol Belski
09aa419d13
initialiize opline for the case it lands in default case
2014-11-10 23:30:11 +01:00
Florian MARGAINE
df1b722b67
Fixes simplexml test
2014-11-10 21:44:48 +01:00
Rasmus Lerdorf
96c5c1ef59
Fix skipif test here
2014-11-10 10:42:57 -08:00
Rasmus Lerdorf
ad468d20b1
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Fixed bug #68370 ("unset($this)" can make the program crash)
Fixed NEWS for 5.5
Fix opcache.revalidate_freq per-request behavior
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
2014-11-10 10:42:30 -08:00
Rasmus Lerdorf
bff7dc70d8
Fix skipif test here
2014-11-10 10:42:17 -08:00
Rasmus Lerdorf
1e5077d1e8
Fix skipif test here
2014-11-10 10:41:18 -08:00
Rasmus Lerdorf
5464e331d1
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (70 commits)
convert_to_string also does the check
A better fix(do the convertion in compile time)
update UPGRADING.INTERNALS
better description for the toolset config option
use proper declarations for zend_stat_t
move these functions to the appropriate place
Fixed segfault in bug62500.phpt
Update NEWS
Fixed bug #68370 ("unset($this)" can make the program crash)
move more common ldflags into function
rename intel toolset to icc - shorter
fix gd compilation with icc toolset
either ms or intel linker is used, /libpath is supported
further catch up with phpize and improved clang arch setup
add /fallback for clang-cl
parametrize WINVER and update its value
further refactoring of toolset+phpize stuff
catch up the toolset changes with phpize
fix linking for clang, using linker directly
adjust pid_t declaration so it doesn't conflict with apache one
...
2014-11-10 10:36:57 -08:00
Rasmus Lerdorf
19992250cf
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
...
* 'PHP-5.6' of git.php.net:php-src:
Update NEWS
Fixed bug #68370 ("unset($this)" can make the program crash)
Fix opcache.revalidate_freq per-request behavior
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-10 10:36:46 -08:00
Xinchen Hui
44bc735a62
convert_to_string also does the check
2014-11-10 23:41:55 +08:00
Xinchen Hui
28ee04f480
Merge branch 'master' of https://git.php.net/repository/php-src
2014-11-10 23:38:33 +08:00
Xinchen Hui
84cd04fca0
A better fix(do the convertion in compile time)
2014-11-10 23:35:45 +08:00
Anatol Belski
5eb65a71a7
update UPGRADING.INTERNALS
2014-11-10 14:25:14 +01:00
Mathieu CARBONNEAUX
a0909f0a12
add php_create_socket/php_destroy_socket PHP_SOCKETS_API to abel to create socket ressource in other ext
2014-11-10 12:31:21 +01:00
Anatol Belski
744fb45217
better description for the toolset config option
2014-11-10 10:58:21 +01:00
Anatol Belski
25e75cd091
use proper declarations for zend_stat_t
2014-11-10 10:58:20 +01:00
Anatol Belski
999d387bf8
move these functions to the appropriate place
...
and include the necessary header
2014-11-10 10:58:19 +01:00
Xinchen Hui
249e3de5da
Fixed segfault in bug62500.phpt
2014-11-10 17:54:18 +08:00
Xinchen Hui
7d69fa7179
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into PHP-5.5
2014-11-10 13:52:07 +08:00
Xinchen Hui
3ae9399e40
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_execute_API.c
2014-11-10 13:51:24 +08:00
Xinchen Hui
eacf998af2
Update NEWS
2014-11-10 13:47:50 +08:00
Xinchen Hui
b9e44888c0
Merge branch 'PHP-5.5' into PHP-5.6
2014-11-10 13:47:14 +08:00
Xinchen Hui
ab84939254
Fixed bug #68370 ("unset($this)" can make the program crash)
2014-11-10 13:46:47 +08:00
Florian MARGAINE
62f6c3c0c4
Fixes posix tests
2014-11-09 22:48:56 +01:00
Florian MARGAINE
344eba1be8
Fixes iconv tests
2014-11-09 21:29:21 +01:00
Andrea Faulds
5b52fb5f9f
Marked tests as 32-bit
2014-11-09 20:03:13 +00:00
Andrea Faulds
26bb809c21
Fixed more 32-bit tests
2014-11-09 19:36:07 +00:00
Andrea Faulds
b70779304c
Fixed some 32-bit tests
2014-11-09 01:53:52 +00:00
Andrea Faulds
d22f3b18ea
Merge branch 'master' into zppFailOnOverflow
2014-11-08 18:28:43 +00:00
Anthon Pang
479c03dfc5
fix typo in UPGRADING.INTERNALS
2014-11-08 08:58:44 -05:00
Anatol Belski
12cf41ca35
move more common ldflags into function
2014-11-07 19:58:30 +01:00
Anatol Belski
af7e3064f3
rename intel toolset to icc - shorter
2014-11-07 19:24:17 +01:00
Anatol Belski
7d7182e1b0
fix gd compilation with icc toolset
2014-11-07 19:13:41 +01:00
Anatol Belski
2e5cba25e8
either ms or intel linker is used, /libpath is supported
2014-11-07 18:39:03 +01:00
Anatol Belski
fc734cf95d
further catch up with phpize and improved clang arch setup
2014-11-07 18:33:37 +01:00
Anatol Belski
cfd2b39c18
add /fallback for clang-cl
2014-11-07 14:36:13 +01:00
Anatol Belski
c78c6adbd5
parametrize WINVER and update its value
2014-11-07 14:07:33 +01:00
Anatol Belski
b155ba21bd
further refactoring of toolset+phpize stuff
2014-11-07 13:48:29 +01:00
Julien Pauli
722dd4637b
Fixed NEWS for 5.5
2014-11-07 12:59:48 +01:00
Anatol Belski
4d8c28af60
catch up the toolset changes with phpize
...
also packed common parts into functions so there's less code duplication
2014-11-07 11:48:03 +01:00
Anatol Belski
46d6baf6a0
fix linking for clang, using linker directly
2014-11-07 10:18:11 +01:00
Anatol Belski
936575c2e2
adjust pid_t declaration so it doesn't conflict with apache one
2014-11-07 10:18:09 +01:00
Anatol Belski
1310bb5e2e
using the determined linker instead of compiler
...
this is a clang issue, longer parameter strings would be issue for both
compiler and linker
2014-11-07 10:18:03 +01:00
Anatol Belski
ac71c5812b
fix x64 recognition for clang and icc
2014-11-07 10:18:02 +01:00
Anatol Belski
cd2aa28a7d
basic support for Intel Composer
2014-11-07 10:18:01 +01:00
Anatol Belski
876c7c451c
build system to support clang
2014-11-07 10:18:00 +01:00
Anatol Belski
b9f1daa976
basic clang compatibility on windows
2014-11-07 10:17:59 +01:00
Dmitry Stogov
2afb5df4da
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix opcache.revalidate_freq per-request behavior
Conflicts:
ext/opcache/ZendAccelerator.h
2014-11-07 10:24:25 +03:00
Dmitry Stogov
e6581d52cc
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix opcache.revalidate_freq per-request behavior
2014-11-07 10:17:48 +03:00
Dmitry Stogov
033abd6d77
Fix opcache.revalidate_freq per-request behavior
2014-11-07 10:16:25 +03:00
Dmitry Stogov
6b4b972565
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
Update NEWS
2014-11-07 09:57:27 +03:00
Dmitry Stogov
45719aee26
fixed compilation error
2014-11-07 09:55:13 +03:00
Dmitry Stogov
e120438c8c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-07 09:54:05 +03:00
Dmitry Stogov
ed4c0245c7
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
2014-11-07 09:48:26 +03:00
Dmitry Stogov
9dfa843a38
Partial fix for bug #68365 (zend_mm_heap corrupted after memory overflow in zend_hash_copy)
2014-11-07 09:46:49 +03:00
Rasmus Lerdorf
2375d659d7
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
...
* 'PHP-5.6' of git.php.net:php-src: (142 commits)
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
Update NEWS
Fixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini
fix dir separator in test
arg1-3 are not variable names to use; removed useless buffer variable
update NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
Initialize the offset table - PCRE may sometimes miss offsets
set default response code to 200
set default response code to 200
set default response code to 200
Fixed bug #66584 Segmentation fault on statement deallocation
Add credit
fix ZTS build
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
Fixed Bug #68104 (Segfault while pre-evaluating a disabled function)
Temporarily disable wait/xml protocol...
don't try to send in the test results until we restored qa.php.net
Fix uninitialized value...
...
2014-11-06 10:19:45 -08:00
Rasmus Lerdorf
96a6f688cb
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src:
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 09:49:11 -08:00
Matteo Beccati
f5130c3058
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 16:35:49 +01:00
Matteo Beccati
8fccf0bac9
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 16:34:47 +01:00
Matteo Beccati
8fdc4d8797
Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
2014-11-06 15:47:32 +01:00
Dmitry Stogov
4f3763e202
Micro optimizations
2014-11-06 17:45:41 +03:00
Dmitry Stogov
53a437d3c3
Use better function
2014-11-06 17:45:14 +03:00
Anatol Belski
f2ad1fb3c9
fix preprocessor conditions
2014-11-06 14:03:42 +01:00
Anatol Belski
bea7d06b79
fix comment
2014-11-06 13:55:58 +01:00
Anatol Belski
f5092bd304
final name for vc14 isn't yet set
2014-11-06 13:50:19 +01:00
Anatol Belski
1b4e9c2713
Merge branch 'pull-request/869'
...
* pull-request/869:
Various fixes to allow support for new VS2014 features - Added some typeof checks to handle JS errors introduced in VS2014 - Added VS2014 to the list of compilers - Changed to use stdint.h if we are using VS2014 or higher - Skip defining timespec if we're using VS2014 or higher - Moved u_char typedef out to always be defined regardless of VS version
2014-11-06 13:42:24 +01:00
Dmitry Stogov
75041379a6
Improved object property access.
2014-11-06 14:50:03 +03:00
Yasuo Ohgaki
c9c8f86539
Update NEWS
2014-11-06 13:54:16 +09:00
Yasuo Ohgaki
6b8328de74
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini
Fixed 2 tests that expects bool retrun value from save handler.
Conflicts:
ext/session/session.c
2014-11-06 13:49:43 +09:00
Yasuo Ohgaki
4dd3fbfcd2
Fixed bug #68331 - This was partial patch for https://wiki.php.net/rfc/session-lock-ini
2014-11-06 13:06:29 +09:00
Chris Tankersley
6b0eca060f
Various fixes to allow support for new VS2014 features
...
- Added some typeof checks to handle JS errors introduced in VS2014
- Added VS2014 to the list of compilers
- Changed to use stdint.h if we are using VS2014 or higher
- Skip defining timespec if we're using VS2014 or higher
- Moved u_char typedef out to always be defined regardless of VS version
2014-11-05 18:00:09 -05:00
Rasmus Lerdorf
63831d6984
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
...
* 'PHP-5.5' of git.php.net:php-src: (29 commits)
fix dir separator in test
update NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
Initialize the offset table - PCRE may sometimes miss offsets
set default response code to 200
set default response code to 200
Fixed bug #66584 Segmentation fault on statement deallocation
fix ZTS build
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
don't try to send in the test results until we restored qa.php.net
Don't treat warnings as failures in the junit output
Fixed test to work with recent libcurl versions
PHP 5.5.20 now
Ensure we have enough input data before parsing date
Fix bug #68095 - invalid read in php_getopt()
NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
- Updated to version 2014.9 (2014i)
updated libmagic.patch in 5.5
...
2014-11-05 12:39:42 -08:00
Kévin Dunglas
a5c5d9a0e1
Minor: typo fix in filter_var comment
2014-11-05 19:38:23 +01:00
Anatol Belski
4b8cc567cd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix dir separator in test
2014-11-05 15:43:37 +01:00
Anatol Belski
d4050f42fd
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix dir separator in test
2014-11-05 15:43:13 +01:00
Anatol Belski
53266476e6
fix dir separator in test
2014-11-05 15:42:45 +01:00
Bob Weinand
90b4ec51ad
Fix bad merge
2014-11-04 18:23:20 +01:00
Bob Weinand
ad8ee74225
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
ext/standard/file.c
2014-11-04 17:16:49 +01:00
Bob Weinand
342d56b23d
arg1-3 are not variable names to use; removed useless buffer variable
2014-11-04 16:59:32 +01:00
Anatol Belski
3b6cd5fe4c
improved the ZEND_FASTCALL convention for vc12+
2014-11-04 10:07:44 +01:00
Andrea Faulds
faa4c6155e
Respect flags when fetching class by name
2014-11-04 00:15:26 +00:00
Stanislav Malyshev
365f8d5886
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
2014-11-03 11:44:01 -08:00
Stanislav Malyshev
c511e0560f
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
update NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
2014-11-03 11:43:51 -08:00
Stanislav Malyshev
acd93dfb6d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
2014-11-03 11:43:40 -08:00
Stanislav Malyshev
0ddcf2a919
update NEWS
2014-11-03 11:43:15 -08:00
Remi Collet
7740edae36
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
...
Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.
No other solution found.
We cannot for ensure correct use of allocator with shared lib.
Some memory can allocated before php init
Some memory can be freed after php shutdown
Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp
2014-11-03 11:42:15 -08:00
Stanislav Malyshev
bf59acdea7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Initialize the offset table - PCRE may sometimes miss offsets
set default response code to 200
set default response code to 200
set default response code to 200
fix NEWS & version
NEWS
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Conflicts:
ext/pcre/php_pcre.c
2014-11-03 11:40:15 -08:00
Stanislav Malyshev
90ba99a2c2
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Initialize the offset table - PCRE may sometimes miss offsets
set default response code to 200
set default response code to 200
fix NEWS & version
NEWS
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-11-03 11:38:29 -08:00
Stanislav Malyshev
279550ee85
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Initialize the offset table - PCRE may sometimes miss offsets
set default response code to 200
fix NEWS & version
NEWS
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Conflicts:
configure.in
ext/curl/interface.c
main/php_version.h
2014-11-03 11:37:43 -08:00
Stanislav Malyshev
c351b47ce8
Initialize the offset table - PCRE may sometimes miss offsets
2014-11-03 11:31:02 -08:00
George Wang
a8be707bf1
Merge branch 'master' of git.php.net:php-src
2014-11-03 11:44:35 -05:00
George Wang
bba11e3255
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
2014-11-03 11:44:13 -05:00
George Wang
3918e544d8
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2014-11-03 11:43:43 -05:00
George Wang
79de59e862
set default response code to 200
2014-11-03 11:43:22 -05:00
George Wang
4435161456
set default response code to 200
2014-11-03 11:43:04 -05:00
George Wang
19f3f4b155
set default response code to 200
2014-11-03 11:42:45 -05:00
George Wang
1a2ec3fc60
set default response code to 200
2014-11-03 11:42:01 -05:00
Andrea Faulds
71566b994f
Merge branch 'master' into zppFailOnOverflow
2014-11-01 22:49:53 +00:00
mcq8
3442851f62
Added test and review suggestion
2014-11-01 19:51:25 +01:00
Matteo Beccati
f9a77b71e2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-01 19:21:38 +01:00
Matteo Beccati
e12d69df0c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-01 19:20:43 +01:00
Matteo Beccati
69f6aee35c
Fixed bug #66584 Segmentation fault on statement deallocation
2014-11-01 19:19:56 +01:00
Xinchen Hui
241d73cbf9
Merge branch 'PHP-5.6'
2014-11-01 22:30:22 +08:00
Xinchen Hui
00b50850eb
Add credit
2014-11-01 22:29:55 +08:00
mcq8
de4638d3fd
Fix bug #68335 : rmdir doesnt work with file:// stream wrapper
2014-11-01 04:32:18 +01:00
Anatol Belski
e2305ac27e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix ZTS build
2014-10-31 19:53:59 +01:00
Anatol Belski
1b1f7c627a
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix ZTS build
2014-10-31 19:53:39 +01:00
Anatol Belski
1fc80d0ca7
fix ZTS build
2014-10-31 19:53:16 +01:00
Anatol Belski
ed9ada5fa1
fix datatype mismatches
2014-10-31 19:36:23 +01:00
Anatol Belski
6498126afa
fix datatype mismatches
2014-10-31 19:36:22 +01:00
Anatol Belski
073c5e0997
fix warning not all control paths return a value
2014-10-31 19:36:21 +01:00
Anatol Belski
cd574ca467
fix datatype mismatch warning
2014-10-31 19:36:19 +01:00
Anatol Belski
a6ebaa142e
fix datatype mismatch warnings
2014-10-31 19:36:18 +01:00
Anatol Belski
e3934515c4
fix datatype mismatch warnings
2014-10-31 19:36:17 +01:00
Matteo Beccati
ddcd221e5e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
2014-10-31 18:58:59 +01:00
Matteo Beccati
e797db8909
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
2014-10-31 18:57:59 +01:00
Matteo Beccati
29ee694341
Added PGSQL_TEST_CONNSTR env var support for ext/pgsql tests
2014-10-31 18:54:16 +01:00
Matteo Beccati
9580fcfedd
Fixed bug #67462 PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction
2014-10-31 18:11:32 +01:00
Adam Harvey
4bb836be20
Update the VM generation script, per Bob.
2014-10-31 10:10:49 -07:00
Adam Harvey
087150de95
Update NEWS after rebase.
2014-10-31 10:09:14 -07:00
Adam Harvey
5b5f99ef18
Add BEGIN_EXTERN_C() and END_EXTERN_C() to .h files missing them.
2014-10-31 10:08:17 -07:00
Xinchen Hui
53f258e2d4
Update NEWS
2014-10-31 17:38:18 +08:00
Xinchen Hui
ccb09eb352
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_API.c
2014-10-31 17:37:56 +08:00
Xinchen Hui
d017c4bf3a
Merge branch 'PHP-5.6' of https://git.php.net/repository/php-src into PHP-5.6
2014-10-31 17:36:33 +08:00
Xinchen Hui
d9d181e5ad
Fixed Bug #68104 (Segfault while pre-evaluating a disabled function)
2014-10-31 17:32:23 +08:00
Xinchen Hui
84783ecb7e
Fixed outof memory (length == -1)
2014-10-31 12:25:40 +08:00
Dmitry Stogov
10107db61e
Use DECLARE_CONST instruction instead of call to internal define() function when possible
2014-10-30 16:42:39 -07:00
Bob Weinand
7f61dc7d35
Merge remote-tracking branch 'origin/PHP-5.6'
...
Ignore commit 113f1fd6d5 when merging
2014-10-31 00:05:43 +01:00
Dmitry Stogov
1551db8faa
Added constant expression evaluation for "dirname(__FILE__)".
...
Improved constant expression evaluation for function calls
2014-10-30 15:15:51 -07:00
Bob Weinand
113f1fd6d5
Temporarily disable wait/xml protocol...
2014-10-30 23:09:57 +01:00
Anatol Belski
e0ee1fbc26
fix datatype mismatches
2014-10-30 20:06:53 +01:00
Anatol Belski
f6f81b6545
fix datatype mismatche warnings
2014-10-30 20:06:52 +01:00
Anatol Belski
b0499545ee
fix datatype mismatches
2014-10-30 20:06:51 +01:00
Anatol Belski
c7fa029487
fix datatype mismatch warnings
2014-10-30 20:06:50 +01:00
Anatol Belski
edfabf19a7
fix datatype mismatch warnings
2014-10-30 20:06:49 +01:00
Anatol Belski
05bad6a957
fix some datatype mismatches in ext/bz2
...
Additionally, as bz2 read/write routines expect int for sizes, it could
overflow. So fixed the logic. Things in compress/decompress are more
complicated so they was left as they are yet.
2014-10-30 20:06:48 +01:00
Anatol Belski
88d2e43db3
fix datatype mismatch warnings
2014-10-30 20:06:47 +01:00
Ferenc Kovacs
12fba83c48
Merge branch 'PHP-5.6'
...
* PHP-5.6:
don't try to send in the test results until we restored qa.php.net
Fix uninitialized value...
Don't treat warnings as failures in the junit output
2014-10-30 18:19:48 +01:00
Ferenc Kovacs
067852ca61
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
don't try to send in the test results until we restored qa.php.net
Don't treat warnings as failures in the junit output
Conflicts:
.travis.yml
2014-10-30 18:14:37 +01:00
Ferenc Kovacs
5515937073
don't try to send in the test results until we restored qa.php.net
2014-10-30 18:12:37 +01:00
Bob Weinand
b9d1dc329f
Merge phpdbg into PHP-5.6
2014-10-30 13:17:58 +01:00
Bob Weinand
4fd66387a9
Fix uninitialized value...
2014-10-30 12:15:27 +01:00
Anatol Belski
e6874a9b41
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add DLL export to the output globals
2014-10-30 10:28:05 +01:00
Anatol Belski
73e2dd3381
add DLL export to the output globals
2014-10-30 10:27:20 +01:00
Xinchen Hui
fced6e6148
Save memory allocating
2014-10-30 16:55:40 +08:00
Xinchen Hui
af22cd665c
Fixed memory leak in ZEND_JMPZ_EX (op1 and result may share same slot)
2014-10-30 16:00:08 +08:00
Xinchen Hui
429b0bb38a
Merge branch 'PHP-5.6'
2014-10-30 11:54:00 +08:00
Xinchen Hui
9e1da42af1
Use macro
2014-10-30 11:52:29 +08:00
Xinchen Hui
64a44eab77
Merge branch 'PHP-5.6'
2014-10-30 11:42:40 +08:00
Xinchen Hui
7b4993dd16
Fixed build.... (shouldn't it be zend_output_globals?)
2014-10-30 11:42:02 +08:00
Anatol Belski
d77ce31763
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix output globals importing
export output globals
use portable strndup implementation
unix sockets aren't available on windows
dll export APIs needed by phpdbg
fix sapi/phpdbg/config.w32
Don't treat warnings as failures in the junit output
2014-10-29 20:04:56 +01:00
Anatol Belski
fc904569ea
fix output globals importing
2014-10-29 20:03:28 +01:00
Anatol Belski
5d76185792
export output globals
...
needed by phpdbg
2014-10-29 20:02:41 +01:00
Anatol Belski
4b8f411d31
use portable strndup implementation
2014-10-29 19:49:20 +01:00
Anatol Belski
f842b8f4be
unix sockets aren't available on windows
2014-10-29 19:39:46 +01:00
Anatol Belski
fdbfcc0b51
dll export APIs needed by phpdbg
2014-10-29 19:32:52 +01:00
Anatol Belski
79a4339f1b
fix sapi/phpdbg/config.w32
2014-10-29 19:28:21 +01:00
Anatol Belski
23f089a6b3
fix datatype mismatches
2014-10-29 15:30:16 +01:00
Anatol Belski
897695764c
fix datatype mismatches
...
sizeof(struct _string) doesn't increase.
2014-10-29 15:30:14 +01:00
Anatol Belski
1100f1b8fd
fix datatype mismatch
2014-10-29 15:30:13 +01:00
Anatol Belski
110cf649b7
fix datatype mismatches
...
especially spl_dual_it_object current.pos should have the same datatype as
limit.offset, also this doesn't increase the struct size.
2014-10-29 15:30:12 +01:00
Anatol Belski
9d21ff6b9e
fix datatype mismatches
...
PCRE uses plain datatypes, no typedefs.
2014-10-29 15:30:11 +01:00
Anatol Belski
da1d0ee1bd
fix the comparison return value
2014-10-29 15:30:10 +01:00
Anatol Belski
3a6db1e77a
fix datatype mismatch
2014-10-29 15:30:09 +01:00
Anatol Belski
e888f3e4de
fix datatype mismatches
2014-10-29 15:30:08 +01:00
Anatol Belski
8041bbb76b
fix datatype mismatch warning
2014-10-29 15:30:07 +01:00
Anatol Belski
c6116bea57
fix datatype mismatches
2014-10-29 15:30:06 +01:00
Anatol Belski
10d843b0fb
fix datatype mismatch warnings
2014-10-29 15:30:04 +01:00
Anatol Belski
20f8f533e1
fix datatype mismatch warns
2014-10-29 15:30:03 +01:00
Anatol Belski
842a98ef32
fix datatype mismatch warn
2014-10-29 15:30:02 +01:00
Anatol Belski
9fd0364576
fix datatype mismatch warnings
2014-10-29 15:30:01 +01:00
Anatol Belski
cf581178e7
fix "inconsistent dll linkage" warning caused by bison
...
stdlib.h might not be always using _STDLIB_H, that will move bison
to redeclare the malloc/free prototypes.
2014-10-29 15:30:00 +01:00
Anatol Belski
d9d16d2e68
fix datatype mismatch warnings
2014-10-29 15:29:59 +01:00
Matteo Beccati
8bd58502ca
Don't treat warnings as failures in the junit output
...
This matches Travis and the actual return code.
2014-10-29 14:34:58 +01:00
Matteo Beccati
abfb30dc67
Don't treat warnings as failures in the junit output
...
This matches Travis and the actual return code.
2014-10-29 14:34:48 +01:00
Matteo Beccati
a3b4f8320d
Don't treat warnings as failures in the junit output
...
This matches Travis and the actual return code.
2014-10-29 14:33:36 +01:00
Bob Weinand
3e9138e6b5
Merge remote-tracking branch 'origin/PHP-5.6'
2014-10-29 11:44:46 +01:00
Bob Weinand
68b5dd2ba9
Merge phpdbg into PHP-5.6
2014-10-29 11:43:01 +01:00
Bob Weinand
6545a5c234
Merge php-src into phpdbg
2014-10-29 11:40:56 +01:00
Matteo Beccati
551cb82a59
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed test to work with recent libcurl versions
PHP 5.5.20 now
2014-10-29 11:32:57 +01:00
Matteo Beccati
eb4e4b7bca
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed test to work with recent libcurl versions
PHP 5.5.20 now
Conflicts:
configure.in
main/php_version.h
2014-10-29 11:32:12 +01:00
Matteo Beccati
daf9357d27
Fixed test to work with recent libcurl versions
2014-10-29 11:28:27 +01:00
Bob Weinand
919bd3eb0c
Enable shared builds for webhelper
2014-10-29 11:28:09 +01:00
Remi Collet
770473a648
Merge branch 'PHP-5.6'
...
* PHP-5.6:
cleanup uneeded json
2014-10-29 07:26:58 +01:00
Remi Collet
89e613cf01
cleanup uneeded json
2014-10-29 07:26:41 +01:00
Remi Collet
7dd871438f
cleanup uneeded json
2014-10-29 07:26:41 +01:00
Bob Weinand
4fec48d1b0
Merge remote-tracking branch 'origin/PHP-5.6'
2014-10-28 23:07:46 +01:00
Bob Weinand
47fd168fed
Move missing zend_hash_* macros from phpdbg.h to zend_hash.h
2014-10-28 23:07:36 +01:00
Bob Weinand
beb767dbe0
Merge phpdbg into PHP-5.6
2014-10-28 23:06:50 +01:00
Bob Weinand
a5415456d4
Merge phpdbg into PHP-5.6
2014-10-28 23:06:50 +01:00
Bob Weinand
31ada13463
Removed last HAVE_JSON check
2014-10-28 23:06:32 +01:00
Bob Weinand
66aead4b5f
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
sapi/phpdbg/phpdbg_wait.c
sapi/phpdbg/phpdbg_webdata_transfer.c
2014-10-28 23:00:10 +01:00
Bob Weinand
45e2dc692b
Merge phpdbg into PHP-5.6
2014-10-28 22:44:29 +01:00
Bob Weinand
be5d389768
Merge phpdbg into PHP-5.6
2014-10-28 22:44:29 +01:00
Bob Weinand
234df7d2ca
Fix versions & config.m4
2014-10-28 22:33:41 +01:00
Bob Weinand
4bc7a91be7
Merge ../phpdbg into PHP-5.6
...
Conflicts:
sapi/phpdbg/config.m4
2014-10-28 22:15:05 +01:00
Bob Weinand
6150d9342c
Merge ../phpdbg into PHP-5.6
...
Conflicts:
sapi/phpdbg/config.m4
2014-10-28 22:15:05 +01:00
Bob Weinand
d25cc7f090
Use serialize instead of json for transfer
2014-10-28 22:14:35 +01:00
Bob Weinand
69b999eb7e
Add webhelper in config.w32
2014-10-28 22:11:30 +01:00
Bob Weinand
9ba0654ad7
Merge php-src into phpdbg
...
Conflicts:
config.m4
2014-10-28 21:15:47 +01:00
Remi Collet
9afb17868c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix phpdbg build when src tree != build tree
2014-10-28 19:13:27 +01:00
Remi Collet
36fef6dcd9
fix phpdbg build when src tree != build tree
2014-10-28 19:12:41 +01:00
Remi Collet
9028846c63
fix phpdbg build when src tree != build tree
2014-10-28 19:12:41 +01:00
Bob Weinand
563f62ac49
Merge remote-tracking branch 'origin/PHP-5.6'
2014-10-28 17:43:15 +01:00
Bob Weinand
2a24763f6c
Merge ../phpdbg into PHP-5.6
2014-10-28 17:42:38 +01:00
Bob Weinand
ec53351447
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
configure.in
main/php_version.h
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_prompt.c
2014-10-28 17:40:27 +01:00
Bob Weinand
7561e6b6e3
Remove the ugly hack via a temp file to store breakpoints
2014-10-28 17:25:48 +01:00
Bob Weinand
297baa0c18
Remove the ugly hack via a temp file to store breakpoints
2014-10-28 17:25:48 +01:00
Bob Weinand
82640b7363
Typo (notfoundc => notfound)
2014-10-28 17:25:46 +01:00
Bob Weinand
fd8a70b1ee
Typo (notfoundc => notfound)
2014-10-28 17:25:46 +01:00
Bob Weinand
c895fbea22
Fix quitting on a second run
2014-10-28 17:25:46 +01:00
Bob Weinand
76bd799eb7
Fix quitting on a second run
2014-10-28 17:25:46 +01:00
Bob Weinand
b7d83ff8a6
Fix wrong exec length on relative paths
2014-10-28 17:25:45 +01:00
Bob Weinand
c34fd92466
Fix wrong exec length on relative paths
2014-10-28 17:25:45 +01:00
Bob Weinand
a8ac22452d
Fix possibly unclosed <stream> tags
2014-10-28 17:25:45 +01:00
Bob Weinand
cc3587f4a3
Fix possibly unclosed <stream> tags
2014-10-28 17:25:45 +01:00
Bob Weinand
9990089f28
Fix potential segfaults and unresolved breaks
2014-10-28 17:25:43 +01:00
Bob Weinand
79c66e7cd2
Fix potential segfaults and unresolved breaks
2014-10-28 17:25:43 +01:00
Bob Weinand
64774c7ddb
*Always* clean up and run destructors
2014-10-28 17:25:43 +01:00
Bob Weinand
fe5f5d40f2
*Always* clean up and run destructors
2014-10-28 17:25:43 +01:00
Anatol Belski
efe9cc3a86
rework fix to php_com_do_invoke_byref,
...
fix crashing function with void arguments
2014-10-28 17:25:09 +01:00
Anatol Belski
05fa1b8ecc
fix possible zero deref
2014-10-28 17:25:08 +01:00
Anatol Belski
e2951a191e
fix error code upcast on x64
2014-10-28 17:25:06 +01:00
Anatol Belski
26e7e54e78
several fixes to com_dotnet for x64
2014-10-28 17:25:05 +01:00
Anatol Belski
3b6a9a3916
exclude the 32 bit only test
2014-10-28 17:25:04 +01:00
Anatol Belski
1493124e2b
initialize the input arg lengths
2014-10-28 17:25:02 +01:00
Anatol Belski
41a505fc7f
fix datatype mismatches
2014-10-28 17:25:00 +01:00
Anatol Belski
e4464a8e85
convert API for size_t where zend_string is used under the hood
2014-10-28 17:24:59 +01:00
Anatol Belski
36b64b44d5
fix signature, zend_string is used for function name
2014-10-28 17:24:58 +01:00
Anatol Belski
e7945419dd
fix datatype mismatches
2014-10-28 17:24:56 +01:00
Anatol Belski
1770ae641b
fix datatype mismatches
2014-10-28 17:24:55 +01:00
Anatol Belski
77ab77fd02
fix datatype mismatch
2014-10-28 17:24:54 +01:00
Anatol Belski
e048426402
fix datatype mismatch
2014-10-28 17:24:53 +01:00
Anatol Belski
5ac84a5a47
fix datatype mismatch warns
2014-10-28 17:24:51 +01:00
Anatol Belski
99d12cf202
fix datatype mismatch
2014-10-28 17:24:50 +01:00
Bob Weinand
49e31265ed
Remove the ugly hack via a temp file to store breakpoints
2014-10-28 17:20:21 +01:00
Julien Pauli
c7f074b163
5.6.4 now
2014-10-28 16:00:19 +01:00
Julien Pauli
71e200b338
PHP 5.5.20 now
2014-10-28 15:01:53 +01:00
Bob Weinand
b24640f463
Typo (notfoundc => notfound)
2014-10-28 13:55:56 +01:00
Bob Weinand
b8dd98178c
Fix quitting on a second run
2014-10-28 13:55:14 +01:00
Bob Weinand
24a88e3906
Fix wrong exec length on relative paths
2014-10-28 13:27:20 +01:00
Bob Weinand
2b3ea0a2bd
Fix possibly unclosed <stream> tags
2014-10-28 13:20:43 +01:00
Bob Weinand
da3d6f3d64
Fix potential segfaults and unresolved breaks
2014-10-28 12:38:07 +01:00
Bob Weinand
cce9550e48
*Always* clean up and run destructors
2014-10-28 12:27:19 +01:00
Xinchen Hui
5190d8fb56
Addtion fix for bug #68252 , forget static variable hanlding
2014-10-28 17:42:06 +08:00
Xinchen Hui
e6fe3127d0
Fixed bug #68252 (segfault in Zend/zend_hash.c in function _zend_hash_del_el)
...
Don't leave a UNDEF gap in function_table
2014-10-28 17:36:03 +08:00
Remi Collet
2bec5d18b7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Ensure we have enough input data before parsing date
2014-10-28 08:51:22 +01:00
Remi Collet
47acdcb176
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Ensure we have enough input data before parsing date
2014-10-28 08:50:48 +01:00
Remi Collet
13a218d328
Ensure we have enough input data before parsing date
...
This check have be removed in
http://git.php.net/?p=php-src.git;a=commit;h=ba2f87b50667f147c198abd31fc31eb09522f3d7
But the parser really need 17 char.
And the string need to be nul terminated for this check
So avoid reading random byte from memory.
2014-10-28 08:48:22 +01:00
Stanislav Malyshev
6457c34ad8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #68095 - invalid read in php_getopt()
2014-10-27 19:10:43 -07:00
Stanislav Malyshev
c5659cb8bd
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix bug #68095 - invalid read in php_getopt()
2014-10-27 19:09:39 -07:00
Stanislav Malyshev
deadeeae1d
Fix bug #68095 - invalid read in php_getopt()
...
It's a hacky solution and incomplete, but I don't see other way
without refactoring the whole getopt protocol.
2014-10-27 19:06:44 -07:00
Anatol Belski
0f5858e3a3
fix datatype mismatch
2014-10-27 17:31:38 +01:00
Anatol Belski
9858df2f80
fix datatype mismatch warnings
2014-10-27 17:28:01 +01:00
Anatol Belski
fa1e8f70f4
fix datatype mismatch
2014-10-27 17:20:24 +01:00
Anatol Belski
201f47e5db
fix datatype mismatch
2014-10-27 17:16:24 +01:00
Anatol Belski
deaeca4000
fix datatype mismatches
2014-10-27 17:15:26 +01:00
Anatol Belski
390182d8e6
fix datatype mismatch warning
2014-10-27 17:04:44 +01:00
Anatol Belski
868dbf609b
fix datatype mismatches
2014-10-27 17:02:52 +01:00
Anatol Belski
52bd403d0b
fix datatype mismatches
2014-10-27 16:38:53 +01:00
Anatol Belski
37634c9a67
fix datatype mismatch
2014-10-27 16:38:52 +01:00
Anatol Belski
d8ed655351
fix datatype mismatch warns
2014-10-27 16:38:51 +01:00
Anatol Belski
05f812c8d3
catch up with zend_html_puts
2014-10-27 16:38:49 +01:00
Anatol Belski
e99040659e
fix datatype mismatches and warns
2014-10-27 16:38:48 +01:00
Anatol Belski
11b119d526
fix datatype mismatches
2014-10-27 16:38:47 +01:00
Anatol Belski
82c36cf5e8
fix datatype mismatches
2014-10-27 16:38:46 +01:00
Anatol Belski
73ecac89e1
fix datatype mismatches and warnings
2014-10-27 16:38:45 +01:00
Anatol Belski
b983929652
fix datatype mismatch warnings
2014-10-27 16:38:44 +01:00
Anatol Belski
ae06555003
fix datatype mismatch warnings
2014-10-27 16:38:42 +01:00
Anatol Belski
ac964fbe30
fix datatype mismatches
2014-10-27 16:38:41 +01:00
Anatol Belski
b0d86d87d8
fix datatype mismatches
2014-10-27 16:38:40 +01:00
Anatol Belski
5b5e2d3d45
fix datatype mismatch warnings
2014-10-27 16:38:39 +01:00
Anatol Belski
8fdaeef8e8
fix datatype mismatches
2014-10-27 16:38:38 +01:00
Bob Weinand
baba4254ce
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
sapi/phpdbg/phpdbg_bp.c
2014-10-27 14:32:58 +01:00
Bob Weinand
44079a0c82
Merge phpdbg into PHP-5.6
2014-10-27 14:07:26 +01:00
Bob Weinand
0ede82d466
Merge phpdbg into PHP-5.6
2014-10-27 14:07:26 +01:00
Bob Weinand
2297a9aa01
Fix resolving breakpoints of already loaded files
2014-10-27 13:55:20 +01:00
Bob Weinand
8b98ffea5f
Never exist xml mode...
2014-10-27 13:27:54 +01:00
Bob Weinand
a3ae401524
Merge remote-tracking branch 'origin/PHP-5.6'
2014-10-27 13:19:33 +01:00
Bob Weinand
35d90d3858
Merge phpdbg into PHP-5.6
...
Conflicts:
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_prompt.c
2014-10-27 13:11:13 +01:00
Bob Weinand
6eab2b9101
Merge phpdbg into PHP-5.6
...
Conflicts:
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_prompt.c
2014-10-27 13:11:13 +01:00
Bob Weinand
b4db856d37
Fix failing quit when quitting during execution
2014-10-27 11:02:08 +01:00
Bob Weinand
9139d031d8
Fix segfault when cleaning without execution context
2014-10-27 11:01:43 +01:00
Bob Weinand
5e8359d360
Fix listening on port
2014-10-27 10:49:16 +01:00
Anatol Belski
08684a9828
Merge branch 'master' of github.com:krakjoe/phpdbg
...
Conflicts:
phpdbg_prompt.c
2014-10-27 10:19:59 +01:00
Anatol Belski
0e7987c61a
improve the current sigio handling on win32
2014-10-27 10:08:58 +01:00
Remi Collet
2233625e02
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
Conflicts:
ext/gmp/gmp.c
2014-10-27 07:53:54 +01:00
Remi Collet
cc91072f0e
NEWS
2014-10-27 07:51:50 +01:00
Remi Collet
0146505187
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
Conflicts:
ext/gmp/gmp.c
2014-10-27 07:50:42 +01:00
Remi Collet
88527e4569
NEWS
2014-10-27 07:47:18 +01:00
Remi Collet
3c925b18fa
Fix bug #63595 GMP memory management conflicts with other libraries using GMP
...
Drop use of php memory allocators as this raise various conflicts
with other extensions and libraries which use libgmp.
No other solution found.
We cannot for ensure correct use of allocator with shared lib.
Some memory can allocated before php init
Some memory can be freed after php shutdown
Known broken run cases
- php + curl + gnutls + gmp
- mod_gnutls + mod_php + gnutls + gmp
- php + freetds + gnutls + gmp
- php + odbc + freetds + gnutls + gmp
- php + php-mapi (zarafa) + gnutls + gmp
2014-10-27 07:45:34 +01:00
Rasmus Lerdorf
c8e1fae17f
Fix off-by-one here
2014-10-26 16:59:17 -07:00
Rasmus Lerdorf
8d84b1f67a
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (240 commits)
Do not execute anything after quit or clean command
Fix last commit, and do not output unnecessary information
Stabilize execution, always run destructors and extended file breakpoints
Fix nullptr dereference in clean without exec context
remove dodgy param parser, bring userland breakpoint api inline with PHP7
disable output buffering by default
Add question to reset execution in run/exec/clean
- Updated to version 2014.9 (2014i)
actually remove this
disable output buffering, better breakpoint api for userland, remove hand parsing of params
Fix phpdbg output when outputting via php with active output handlers
Fixed Closure::call() NEWS/UPGRADING
Set engine back to initial state after fatal-ed ev command
Fix eventual stack overflow after clean cmd
Fix listing of files with no absolute path
updated libmagic.patch in master
updated libmagic.patch in 5.6
updated libmagic.patch in 5.5
NEWS
NEWS
...
2014-10-26 16:58:45 -07:00
Bob Weinand
09da8952d0
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_parser.c
sapi/phpdbg/phpdbg_parser.h
sapi/phpdbg/phpdbg_prompt.c
2014-10-27 00:34:56 +01:00
Bob Weinand
50756b515c
Do not execute anything after quit or clean command
2014-10-27 00:00:19 +01:00
Bob Weinand
e7ddcbcb86
Do not execute anything after quit or clean command
2014-10-27 00:00:19 +01:00
Bob Weinand
190f4f9f18
Fix last commit, and do not output unnecessary information
2014-10-27 00:00:18 +01:00
Bob Weinand
26babfb357
Fix last commit, and do not output unnecessary information
2014-10-27 00:00:18 +01:00
Bob Weinand
3ab7734b88
Stabilize execution, always run destructors and extended file breakpoints
2014-10-27 00:00:16 +01:00
Bob Weinand
510676fbbf
Stabilize execution, always run destructors and extended file breakpoints
2014-10-27 00:00:16 +01:00
Bob Weinand
69bc61de41
Fix nullptr dereference in clean without exec context
2014-10-27 00:00:15 +01:00
Bob Weinand
af9c6afa6f
Fix nullptr dereference in clean without exec context
2014-10-27 00:00:15 +01:00
krakjoe
41537cdddc
remove dodgy param parser, bring userland breakpoint api inline with PHP7
2014-10-27 00:00:14 +01:00
krakjoe
de656f8a49
remove dodgy param parser, bring userland breakpoint api inline with PHP7
2014-10-27 00:00:14 +01:00
krakjoe
51c1cc4ff5
disable output buffering by default
2014-10-27 00:00:14 +01:00
krakjoe
fa3a01374d
disable output buffering by default
2014-10-27 00:00:14 +01:00
Bob Weinand
cc70ec1e67
Add question to reset execution in run/exec/clean
2014-10-27 00:00:13 +01:00
Bob Weinand
2bcc8d8394
Add question to reset execution in run/exec/clean
2014-10-27 00:00:13 +01:00
Bob Weinand
f4748ff9ff
Do not execute anything after quit or clean command
2014-10-26 23:33:54 +01:00
Bob Weinand
29edee4e70
Fix last commit, and do not output unnecessary information
2014-10-26 22:21:18 +01:00
Bob Weinand
05711d9961
Stabilize execution, always run destructors and extended file breakpoints
2014-10-26 20:43:49 +01:00
Derick Rethans
9e62255c62
Merge branch 'PHP-5.6'
2014-10-26 11:07:48 -04:00
Derick Rethans
25e3560546
Merge branch 'PHP-5.5' into PHP-5.6
2014-10-26 10:54:09 -04:00
Derick Rethans
22b9f16e9a
- Updated to version 2014.9 (2014i)
2014-10-26 10:54:07 -04:00
Bob Weinand
1ff04117c3
Fix nullptr dereference in clean without exec context
2014-10-26 10:48:45 +01:00
krakjoe
65eaab52b6
remove dodgy param parser, bring userland breakpoint api inline with PHP7
2014-10-26 07:24:35 +00:00
krakjoe
5feb96520a
disable output buffering by default
2014-10-26 07:08:29 +00:00
krakjoe
8ba69820f7
actually remove this
2014-10-26 07:05:55 +00:00
krakjoe
29446f2f04
disable output buffering, better breakpoint api for userland, remove hand parsing of params
2014-10-26 07:02:15 +00:00
Bob Weinand
918466c262
Add question to reset execution in run/exec/clean
2014-10-26 03:50:28 +01:00
Bob Weinand
044f37a832
Merge remote-tracking branch 'origin/PHP-5.6'
...
Conflicts:
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_list.c
2014-10-25 19:09:19 +02:00
Bob Weinand
e4e39d852a
Merge phpdbg into PHP-5.6
2014-10-25 18:59:48 +02:00
Bob Weinand
24babb0194
Merge phpdbg into PHP-5.6
2014-10-25 18:59:48 +02:00
Bob Weinand
bbcee18b4b
Fix phpdbg output when outputting via php with active output handlers
2014-10-25 18:48:43 +02:00
Andrea Faulds
87c28ccd28
Merge branch 'Closure_apply'
...
* Closure_apply:
Fixed Closure::call() NEWS/UPGRADING
2014-10-25 17:06:11 +01:00
Andrea Faulds
73a34fed93
Fixed Closure::call() NEWS/UPGRADING
2014-10-25 17:05:52 +01:00
Bob Weinand
be5242e0fe
Set engine back to initial state after fatal-ed ev command
2014-10-25 15:29:54 +02:00
Bob Weinand
e995ad1131
Fix eventual stack overflow after clean cmd
2014-10-25 15:28:41 +02:00
Bob Weinand
b79e9044f9
Fix listing of files with no absolute path
2014-10-25 15:06:34 +02:00
Anatol Belski
c1639b3e52
stdint will be included in the win32 variant, so don't do it twice
2014-10-25 13:01:17 +02:00
Anatol Belski
71a653452f
updated libmagic.patch in master
2014-10-25 12:06:17 +02:00
Anatol Belski
470a2e1a8e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch in 5.6
updated libmagic.patch in 5.5
2014-10-25 12:05:34 +02:00
Anatol Belski
3794431b78
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
updated libmagic.patch in 5.5
2014-10-25 12:04:27 +02:00
Anatol Belski
7e5bd4ec69
updated libmagic.patch in 5.6
2014-10-25 12:03:49 +02:00
Anatol Belski
270df3ffd6
updated libmagic.patch in 5.5
2014-10-25 12:01:58 +02:00
Remi Collet
1fbc93512f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
2014-10-25 11:31:54 +02:00
Remi Collet
e75e003ae4
NEWS
2014-10-25 11:30:53 +02:00
Remi Collet
cefa310cf9
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
2014-10-25 11:30:29 +02:00
Remi Collet
ec3d25fcbd
NEWS
2014-10-25 11:29:53 +02:00
Remi Collet
5b295bf191
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
...
Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0
CVE -2014-3710
(cherry picked from commit 1803228597 )
2014-10-25 11:29:16 +02:00
STANLEY SUFFICOOL
f35e6a8394
Update PDO_DBLIB README file
2014-10-24 20:30:18 -07:00
STANLEY SUFFICOOL
a1a18fca6e
Fixed Bug #52885 - PDO_DBLIB: Binary data may be truncated
...
Data containing characters in conflict with the server
codepage or containing null char will throw an error.
Implement binary quoting to allow binding of binary values.
2014-10-24 20:10:04 -07:00
STANLEY SUFFICOOL
e33ba844e5
Merge branch 'master' of https://git.php.net/push/php-src
...
* 'master' of https://git.php.net/push/php-src: (164 commits)
refix the broken place
fix infinite loop
fix datatype mismatch warnings
fix datatype mismatches
fix datatype mismatches
fix datatype mismatches
fix datatype mismatch warnings
fix datatype mismatch warnings
fix datatype mismatch warnings
fix datatype mismatch warning
fix datatype mismatches
fix datatype mismatch warnings
Re-add phpdbg to travis
Added some NEWS
Make xml valid (missing space between attrs)
Fix info classes file name in xml
Add note about <eval> tag for errors in xml.md
Name the tag <eval> if the error id during ev cmd
Do not print out xml as PHP print...
Fix output to wrong function
...
2014-10-24 20:00:48 -07:00
Anatol Belski
4262663e4c
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
refix the broken place
2014-10-25 02:17:41 +02:00
Anatol Belski
0a5b7d1316
refix the broken place
...
typecast from signed to unsigned of a bigger size
2014-10-25 02:13:44 +02:00
Anatol Belski
173659d341
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
fix infinite loop
2014-10-25 00:33:58 +02:00
Anatol Belski
010f4b7979
fix infinite loop
2014-10-25 00:32:45 +02:00
Anatol Belski
c51a42076c
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (214 commits)
fix datatype mismatch warnings
fix datatype mismatches
fix datatype mismatches
fix datatype mismatches
fix datatype mismatch warnings
fix datatype mismatch warnings
fix datatype mismatch warnings
fix datatype mismatch warning
fix datatype mismatches
fix datatype mismatch warnings
Re-add phpdbg to travis
Added some NEWS
Make xml valid (missing space between attrs)
Fix info classes file name in xml
Add note about <eval> tag for errors in xml.md
Name the tag <eval> if the error id during ev cmd
Do not print out xml as PHP print...
Fix output to wrong function
Fixed parameter order on %.*s
Too much copypaste...
...
2014-10-24 22:28:32 +02:00
Anatol Belski
1b4fd5825a
fix datatype mismatch warnings
2014-10-24 20:57:38 +02:00
Anatol Belski
89ed34e3e9
fix datatype mismatches
2014-10-24 20:50:09 +02:00
Anatol Belski
283947af74
fix datatype mismatches
...
and convert APIs to size_t where zend_string internally used
2014-10-24 20:50:08 +02:00
Anatol Belski
f7d3355e75
fix datatype mismatches
...
and convert len args to size_t where the underlaying API uses zend_string
2014-10-24 20:50:06 +02:00
Anatol Belski
35576ea0ac
fix datatype mismatch warnings
2014-10-24 20:50:05 +02:00
Anatol Belski
ca46bd04b1
fix datatype mismatch warnings
2014-10-24 20:50:04 +02:00
Anatol Belski
2af99b1866
fix datatype mismatch warnings
2014-10-24 20:50:03 +02:00
Anatol Belski
9ccc3a0c3c
fix datatype mismatch warning
2014-10-24 20:50:02 +02:00
Anatol Belski
ff02a1416e
fix datatype mismatches
2014-10-24 20:50:01 +02:00
Anatol Belski
4cb58a3936
fix datatype mismatch warnings
2014-10-24 20:50:00 +02:00
Bob Weinand
444b465f3d
Re-add phpdbg to travis
2014-10-24 19:32:35 +02:00
Bob Weinand
2bcac53bca
Made phpdbg compatible with new engine
2014-10-24 19:29:50 +02:00
Bob Weinand
c03ac47baf
Added some NEWS
2014-10-24 19:26:04 +02:00
Bob Weinand
062284e4fb
Merge phpdbg into PHP-5.6
2014-10-24 19:22:45 +02:00
Bob Weinand
9b4d9ac6c7
Merge phpdbg into PHP-5.6
2014-10-24 19:22:45 +02:00
Bob Weinand
3639942891
Make xml valid (missing space between attrs)
2014-10-24 14:42:18 +02:00
Bob Weinand
dc61a5c359
Fix info classes file name in xml
2014-10-24 14:29:06 +02:00
Bob Weinand
87c055e95e
Add note about <eval> tag for errors in xml.md
2014-10-24 14:18:02 +02:00
Bob Weinand
9053b8a4d4
Name the tag <eval> if the error id during ev cmd
2014-10-24 14:16:49 +02:00
Bob Weinand
b0089e3c2f
Do not print out xml as PHP print...
2014-10-24 13:11:14 +02:00
Bob Weinand
9ce03bc7da
Fix output to wrong function
2014-10-24 12:55:44 +02:00
Bob Weinand
56b3eda377
Fixed parameter order on %.*s
2014-10-24 12:32:48 +02:00
Bob Weinand
23a408a51b
Too much copypaste...
2014-10-23 20:14:12 +02:00
Bob Weinand
f025482678
Add xml formatted deep dump of return value from ev
2014-10-23 17:19:26 +02:00
Anatol Belski
53560ca06b
rework the previous fix for var names with size_t, no ugly casts anymore
2014-10-23 16:50:35 +02:00
Anatol Belski
74997dcf7e
add include for usleep() proto
2014-10-23 16:49:47 +02:00
Anatol Belski
4fa92438f4
fix datatype mismatches
2014-10-23 16:38:25 +02:00
Anatol Belski
5b9f3a24d6
fix datatype mismatch
2014-10-23 16:31:19 +02:00
Anatol Belski
99e236e3cc
fix datatype mismatches
2014-10-23 16:29:02 +02:00
Anatol Belski
744c19eed8
fix datatype mismatches
2014-10-23 16:22:20 +02:00
Anatol Belski
df6aff48a6
fix pack64.phpt related fail on win64
2014-10-23 15:47:47 +02:00
Anatol Belski
f375b530bb
fix datatype mismatches
2014-10-23 15:47:46 +02:00
Anatol Belski
4f9bb66e99
fix datatype mismatch
2014-10-23 15:47:45 +02:00
Anatol Belski
29b43af072
exhaust zend_long/size_t potential in levenstein
2014-10-23 15:47:44 +02:00
Bob Weinand
28dcdb2d13
Fix some compiler warnings
2014-10-23 13:23:37 +02:00
Bob Weinand
6ee2dc47f3
Move phpdbg_print and helper functions to phpdbg_out.*
2014-10-23 13:16:00 +02:00
Bob Weinand
4a836ced7e
Do not use int8_t when it is useless...
2014-10-23 13:02:50 +02:00
Dmitry Stogov
6e396961c5
Fixed "instanceof" with undefined classes
2014-10-23 14:50:57 +04:00
Bob Weinand
504448bce3
Fixed frame numbering in xml output
2014-10-23 12:38:35 +02:00
Bob Weinand
d61a12799c
Do not display dots in xml output for i v/i d
2014-10-23 12:23:48 +02:00
Anatol Belski
88ca46d92b
fix datatype mismatches
2014-10-23 11:45:44 +02:00
Anatol Belski
f010efc924
fix datatype mismatches
2014-10-23 11:36:34 +02:00
Anatol Belski
91652cf3c7
fix datatype mismatches
2014-10-23 11:05:47 +02:00
Anatol Belski
451065a434
fix datatype mismatches
2014-10-23 10:30:05 +02:00
Anatol Belski
0413a6e7a3
fix datatype mismatches
2014-10-23 10:30:04 +02:00
Anatol Belski
c448023bd0
fix datatype mismatches
2014-10-23 10:30:03 +02:00
Anatol Belski
a61f6ab737
fix datatype mismatches
2014-10-23 10:30:02 +02:00
Anatol Belski
50cc4abbf7
fix datatype mismatch
2014-10-23 10:30:00 +02:00
Anatol Belski
303973f076
fix datatype mismatches
2014-10-23 10:29:59 +02:00
Anatol Belski
ddaae1a02c
fix datatype mismatch
2014-10-23 10:29:58 +02:00
Anatol Belski
e70dce7d99
fix datatype mismatch
2014-10-23 10:29:57 +02:00
Anatol Belski
53797ec1c9
move the more common case up
2014-10-23 10:29:56 +02:00
Anatol Belski
e91b669e23
catch up with the latest key length change
2014-10-23 10:29:55 +02:00
Anatol Belski
f227922446
move key lengths to use size_t as zend_string is used internally anyway
2014-10-23 10:29:54 +02:00
Dmitry Stogov
4fd435abab
Embed FETCH_CLASS <string> into the following NEW
2014-10-23 11:52:34 +04:00
STANLEY SUFFICOOL
5f91b0a3c7
Merge branch 'master' of https://git.php.net/push/php-src
...
* 'master' of https://git.php.net/push/php-src :
Implement Bug #66063 - pdo_dblib enable timeout parameter
2014-10-22 23:20:26 -07:00
STANLEY SUFFICOOL
560649283c
Implement Bug #66062 - pdo_dblib enable timeout parameter
2014-10-22 23:17:28 -07:00
STANLEY SUFFICOOL
0282546111
Implement Bug #66063 - pdo_dblib enable timeout parameter
2014-10-22 23:14:23 -07:00
Stanley Sufficool
5ba114e0a6
Merge branch 'master' of https://git.php.net/push/php-src
2014-10-22 20:14:58 -07:00
Stanley Sufficool
83144a7281
Fixed bug #64511 - pdo_dblib segfaults or leaks on nextRowset()
2014-10-22 20:13:22 -07:00
Dmitry Stogov
8793aa407e
Optimized HashTable size calculation
2014-10-23 00:26:32 +04:00
Stanislav Malyshev
4d54c4bdf0
fix NEWS & version
2014-10-22 13:16:29 -07:00
Anatol Belski
958c6d1c5d
fix datatype mismatch warning
2014-10-22 20:46:35 +02:00
Anatol Belski
afb65adefa
fix datatype mismatches
2014-10-22 20:46:34 +02:00
Anatol Belski
0565a29e4d
fix datatype mismatches
2014-10-22 20:46:33 +02:00
Anatol Belski
58b8227240
fix assert, zero diff would be valid, too
2014-10-22 20:46:32 +02:00
Anatol Belski
5b4b0f8368
fix datatype mismatch warning
2014-10-22 20:46:31 +02:00
Anatol Belski
1a727e519b
fix datatype mismatch warnings
2014-10-22 20:46:30 +02:00
Anatol Belski
b80853d942
fix datatype mismatches
2014-10-22 20:46:29 +02:00
Dmitry Stogov
62e3998dae
Removed useless code
2014-10-22 22:32:06 +04:00
Bob Weinand
801080cf7e
Try fixing 5.4 and 5.5 build, again
2014-10-22 19:58:52 +02:00
Dmitry Stogov
8dedd863bc
Get rid of ZEND_FETCH_MAKE_REF
2014-10-22 21:45:02 +04:00
Anatol Belski
d5ccf4d276
eliminate one branch when computing the initial table size
2014-10-22 19:23:29 +02:00
Anatol Belski
9a969fdd3b
fix datatype
2014-10-22 17:56:31 +02:00
Anatol Belski
a5e4f1f598
fix several datatype mismatches
2014-10-22 17:56:30 +02:00
Anatol Belski
cccd538512
fix dir separator in test
2014-10-22 17:56:29 +02:00
Anatol Belski
f58edcd996
fix datatype warnings
2014-10-22 17:56:28 +02:00
Anatol Belski
09a01a834e
this should be uint32
2014-10-22 17:56:26 +02:00
Anatol Belski
36ce467402
fix datatype mismatches
2014-10-22 17:56:25 +02:00
Anatol Belski
f59daf2104
micro optimized initial hash size calculation
...
most of the calls are with a size <= 8, so don't even bother any
bitshifts. For the bigger sizes, use an intrinsic (should be extended
with gcc ones though).
2014-10-22 17:56:24 +02:00
Anatol Belski
1ea5982d07
fixing datatype mismatches
2014-10-22 17:56:23 +02:00
Anatol Belski
5e24ae321d
all the key_len use uint, fix the warning when using strlen on 64 bit
2014-10-22 17:56:22 +02:00
Anatol Belski
80163b4a2b
fix datatype mismatch warnings
2014-10-22 17:56:21 +02:00
Anatol Belski
2a7f9dcf5b
fix datatype mismatch and warning
2014-10-22 17:56:20 +02:00
Anatol Belski
944d2c65e1
fix datatype mismatches
2014-10-22 17:56:19 +02:00
Anatol Belski
f37b4cdb8f
use zend_bool where zend_long isn't needed
...
spare at least 24 bytes per globals item on 64 bit
2014-10-22 17:56:18 +02:00
Anatol Belski
7959e3faf2
fix datatype mismatches for strings from userspace
2014-10-22 17:56:17 +02:00
Remi Collet
de4fff0fb3
NEWS
2014-10-22 15:39:49 +02:00
Remi Collet
1803228597
Fix bug #68283 : fileinfo: out-of-bounds read in elf note headers
...
Upstream commit
https://github.com/file/file/commit/39c7ac1106be844a5296d3eb5971946cc09ffda0
CVE -2014-3710
2014-10-22 15:37:04 +02:00
Remi Collet
d8686473c2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix bug #68224 buffer-overflow in /ext/fileinfo/libmagic/readcdf.c caught by AddressSanitizer
2014-10-22 15:27:54 +02:00
Remi Collet
411984c0e9
NEWS
2014-10-22 15:27:21 +02:00
Remi Collet
ef2a2fa3a1
Fix bug #68224 buffer-overflow in /ext/fileinfo/libmagic/readcdf.c caught by AddressSanitizer
...
Upstream commit
https://github.com/file/file/commit/f28fbb947e3aa55fc40b09820f59ebff6f66f213
2014-10-22 15:24:59 +02:00
Dmitry Stogov
534d854fb2
Embed FETCH_CLASS <string> into the following INSTANCEOF
2014-10-22 17:23:43 +04:00
Dmitry Stogov
779ca61e32
Don't use opline->extended_value for FETCH_CLASS flags where it's unnecessary
2014-10-22 17:22:21 +04:00
Dmitry Stogov
36fa572aaa
ZEND_RECV didn't really use opline->extended_value for FETCH_CLASS flags
2014-10-22 15:22:30 +04:00
Xinchen Hui
c584798b05
Useless assignment
2014-10-22 17:30:19 +08:00
Xinchen Hui
f03100cb80
Better convert
2014-10-22 17:25:41 +08:00
Xinchen Hui
d53c8bab83
Better zval copying
2014-10-22 17:18:15 +08:00
Xinchen Hui
b6d5e8d8d7
Fixed zval copying
2014-10-22 17:08:35 +08:00
Xinchen Hui
a58e9c4188
Fixed zval copying
2014-10-22 17:07:44 +08:00
Anatol Belski
242387e51b
add comment
2014-10-21 17:43:23 +02:00
Dmitry Stogov
fe8577efb1
Optimized ASSIGN_DIM and related opcodes
2014-10-21 19:30:43 +04:00
Anatol Belski
d7229b2bb6
restart listening on socket
...
if remote sent somthing else than ctrl+c while performing something blocking
2014-10-21 16:56:06 +02:00
Anatol Belski
b8368a7bcf
some minor fixes
2014-10-21 16:19:31 +02:00
Anatol Belski
6fcf7ede49
added phpdbg_eol.* sources
2014-10-21 16:18:44 +02:00
Anatol Belski
a741d3b266
basic EOL implementation for CRLF
2014-10-21 15:50:55 +02:00
Dmitry Stogov
33645f4f55
micro optimization
2014-10-21 16:18:06 +04:00
Anatol Belski
0f3448ef8b
start sigio watcher only for run and eval for now
...
there myght be more needing that
2014-10-21 11:47:22 +02:00
Anatol Belski
63a450281a
reworked the current EOL stuff
2014-10-21 11:47:21 +02:00
Anatol Belski
e011f0ca60
prepare setting EOL with command or INI
2014-10-21 11:47:20 +02:00
Anatol Belski
55936dc23d
correct place to start the sigio watcher
...
plus started with the eol command
2014-10-21 11:47:19 +02:00
Anatol Belski
da40b116a6
further improvements to windows/sigio
2014-10-21 11:47:18 +02:00
Anatol Belski
3dec59f00d
basic sigio surrogate for windows
2014-10-21 11:47:17 +02:00
Dmitry Stogov
5d9792de9a
Avoid "goto"
2014-10-21 11:43:13 +04:00
Stanley Sufficool
09cf64678a
Fix bug #67134 (PDO_DBLIB Missing null string terminator)
2014-10-20 21:44:47 -07:00
Stanley Sufficool
8defcb855a
Merge branch 'master' of https://git.php.net/push/php-src
...
* 'master' of https://git.php.net/push/php-src: (6215 commits)
Extra comma
Moved proxy object support in ASSIGN_ADD (and family) from VM to slow paths of corresponding operators
Simplification
zend_get_property_info_quick() cleanup and optimization
initialize lineno before calling compile file file in phar
Use ADDREF instead of DUP, it must be enough.
Removed old irrelevant comment
fixed compilation error
Fix bug #68262 : Broken reference across cloned objects
export functions needed for phpdbg
Fixed compilation
Optimized property access handlers. Removed EG(std_property_info).
Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads)
Don't make difference between undefined and unaccessible properies when call __get() and family
Don't make useless CSE
array_pop/array_shift optimization
check for zlib headers as well as lib for mysqlnd
a realpath cache key can be int or float, catching this
News entry for new curl constants
News entry for new curl constants
...
2014-10-20 21:33:32 -07:00
Xinchen Hui
baddb1c73a
Extra comma
2014-10-21 11:02:15 +08:00
Dmitry Stogov
089f496799
Moved proxy object support in ASSIGN_ADD (and family) from VM to slow paths of corresponding operators
2014-10-21 03:24:20 +04:00
Dmitry Stogov
ae127faf5b
Simplification
2014-10-21 00:56:48 +04:00
Bob Weinand
bafe6a9f7a
Always show the prompt (now also: <prompt> tag)
2014-10-20 22:05:05 +02:00
Bob Weinand
dfdc19fb2a
Fix off-by-one bug in text messages (msg/<phpdbg>)
2014-10-20 21:52:47 +02:00
Bob Weinand
27629577b0
Add xml.md info for info constants
2014-10-20 21:22:16 +02:00
Bob Weinand
d410b23f90
Ensure that %.*s uses the full string (INCLUDING \0)
2014-10-20 21:17:45 +02:00
Bob Weinand
3e5a4c6f30
Add info constants (alias: i d) command
2014-10-20 21:14:13 +02:00
Dmitry Stogov
8e1dc33db5
zend_get_property_info_quick() cleanup and optimization
2014-10-20 20:33:35 +04:00
Bob Weinand
6c6b356f63
Add values of scalars to info vars/globals
2014-10-20 16:05:37 +02:00
Anatol Belski
7a1a0f39d0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
initialize lineno before calling compile file file in phar
News entry for new curl constants
2014-10-20 15:55:05 +02:00
Anatol Belski
e0b247bc87
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
initialize lineno before calling compile file file in phar
News entry for new curl constants
2014-10-20 15:54:33 +02:00
Anatol Belski
37d5a2b18f
initialize lineno before calling compile file file in phar
2014-10-20 15:53:32 +02:00
Dmitry Stogov
0e270661a4
Use ADDREF instead of DUP, it must be enough.
2014-10-20 13:55:55 +04:00
Dmitry Stogov
ab539e177e
Removed old irrelevant comment
2014-10-20 13:52:28 +04:00
Dmitry Stogov
1480d26fb9
fixed compilation error
2014-10-20 12:51:02 +04:00
m.bennewitz
846a72a73a
#68268 : DatePeriod: Getter for start date, end date and interval
2014-10-20 08:27:56 +00:00
Bob Weinand
fa1c26f022
Fix for ports >= 1<<15
2014-10-20 09:47:35 +02:00
Bob Weinand
2916a14018
Fix reading from remote on some *nixes
2014-10-20 08:46:22 +02:00
Bob Weinand
07670ff871
Fix TSRMLS_* and a few warnings
2014-10-19 21:20:43 +02:00
Anatol Belski
795cb98ac6
revert PHP_EOL changes
2014-10-19 20:09:39 +02:00
Anatol Belski
362c87f4b0
don't use timeout for the remote prompt, recv() will block until input arrives
2014-10-19 18:30:07 +02:00
Leigh
2fe7533ffc
gmp_random_seed()
2014-10-19 17:25:05 +01:00
Anatol Belski
0acafba89d
improve server sock creation and support ipv6
2014-10-19 13:40:45 +02:00
Nikita Popov
4b892439e6
Fix bug #68262 : Broken reference across cloned objects
2014-10-19 13:22:44 +02:00
Anatol Belski
75bc207653
add comment
2014-10-19 11:16:56 +02:00
Anatol Belski
0929b7a4e4
increase default recv timeout to 30 seconds
2014-10-19 11:16:01 +02:00
Anatol Belski
2be895e4fe
more EOL fixes
2014-10-19 11:10:13 +02:00
Anatol Belski
52686b3226
use MSG_PEEK flag for recv() everywhere
2014-10-19 11:03:17 +02:00
Anatol Belski
e853fec3fd
fixed EOL transferred to the client side, fixed strftime fmt string
...
the windows telnet gets broken output when receiving no '\r'
2014-10-19 10:39:44 +02:00
Anatol Belski
d5fb8e5830
increase stack to avoid overflow crash on SIGINT
...
but should actually check, maybe something is causing a recursive
stack exhaustion
2014-10-19 02:14:31 +02:00
Anatol Belski
1137d9cb2b
several fixes to the new io stuff
2014-10-19 01:32:46 +02:00
Anatol Belski
52d2ead59d
override stdin and stdout to be remote, stderr is untouched however
...
is this ok? some functions want to write a log there ...
2014-10-19 01:31:00 +02:00
Anatol Belski
47388e6362
move these to use the mixed read/write routines
2014-10-19 01:30:00 +02:00
Anatol Belski
dd551706a9
add basic stuff to generalize IO
2014-10-19 00:12:23 +02:00
Anatol Belski
0cfd77185b
enable php_stdiop_write for windows
...
yet it's unclear whether it'll be usable, but otherwise it breaks
compilation as some places depend on it
2014-10-18 22:59:49 +02:00
Anatol Belski
d0151cfe00
Merge branch 'PHP-5.6'
...
* PHP-5.6:
export functions needed for phpdbg
Conflicts:
main/snprintf.c
main/snprintf.h
2014-10-18 22:57:44 +02:00
Anatol Belski
3af83e196c
export functions needed for phpdbg
2014-10-18 22:55:14 +02:00
Anatol Belski
3ca381ee8b
fix dll export
2014-10-18 22:45:17 +02:00
Anatol Belski
f67bd30131
C89 compat
2014-10-18 22:43:56 +02:00
Bob Weinand
8525c40eac
Fix for 5.4/5.5
2014-10-18 21:54:44 +02:00
Bob Weinand
6932bbfd52
Merge branch 'xml-protocol'
...
Conflicts:
phpdbg.c
phpdbg_list.c
2014-10-18 21:12:25 +02:00
Bob Weinand
bdb18d9f48
Fix execution of immediately following commands
2014-10-18 20:42:54 +02:00
Anatol Belski
9cbdf3e66a
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Fixed compilation
Optimized property access handlers. Removed EG(std_property_info).
Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads)
News entry for new curl constants
2014-10-18 03:31:02 +02:00
Bob Weinand
24972fa986
Fixed potential segfault in backtrace of internal funcs
2014-10-17 22:20:54 +02:00
Bob Weinand
f0e67720d4
Remove accidentally added null-byte in attributes
2014-10-17 19:39:09 +02:00
Bob Weinand
afe01e4956
Fix negative list offsets
2014-10-17 19:32:02 +02:00
Dmitry Stogov
fb85d0322d
Fixed compilation
2014-10-17 19:25:43 +04:00
Dmitry Stogov
7471c21781
Optimized property access handlers. Removed EG(std_property_info).
2014-10-17 19:10:05 +04:00
Matteo Beccati
9935bf7df7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads)
News entry for new curl constants
2014-10-17 16:48:58 +02:00
Matteo Beccati
8c5e2e66bc
Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads)
2014-10-17 16:22:52 +02:00
Anatol Belski
7a6a3d923b
fix arg order, CFLAGS is the fifth arg in m4
2014-10-17 16:03:40 +02:00
Anatol Belski
4fce2ae2c6
opcache, intl, gmp, exif, com, bcmath to use static tsrmls
2014-10-17 15:51:21 +02:00
Anatol Belski
5749b4a997
ext/libxml, ext/xml and ext/soap use static tsrmls pointer
2014-10-17 14:31:17 +02:00
Anatol Belski
fea10f6a5e
ext/iconv, ext/json and ext/session use static tsrmls pointer
2014-10-17 14:16:40 +02:00
Anatol Belski
83b8e281db
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Don't make difference between undefined and unaccessible properies when call __get() and family
Don't make useless CSE
array_pop/array_shift optimization
2014-10-17 13:58:47 +02:00
Dmitry Stogov
f2fa7a41cf
Don't make difference between undefined and unaccessible properies when call __get() and family
2014-10-17 15:01:54 +04:00
Dmitry Stogov
6b203aa262
Don't make useless CSE
2014-10-17 15:00:54 +04:00
Dmitry Stogov
35dc0a2e30
array_pop/array_shift optimization
2014-10-17 12:30:27 +04:00
Anatol Belski
2942a4aa45
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
check for zlib headers as well as lib for mysqlnd
a realpath cache key can be int or float, catching this
TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247
Micro optimizations for isset/empty
Micro optimization for zend_hash_next_index_insert_new()
Fix array_keys() on $GLOBALS
Fix procedural finfo calls in methods
Conflicts:
ext/mysqlnd/config.w32
2014-10-17 10:13:08 +02:00
Anatol Belski
1f6bd98143
check for zlib headers as well as lib for mysqlnd
2014-10-17 10:09:40 +02:00
Anatol Belski
35d703d00a
a realpath cache key can be int or float, catching this
2014-10-17 10:09:39 +02:00
Rasmus Lerdorf
d748c9f990
News entry for new curl constants
2014-10-16 21:38:19 -07:00
Rasmus Lerdorf
8c9e254319
News entry for new curl constants
2014-10-16 21:36:53 -07:00
Rasmus Lerdorf
2a8f7f8824
Merge branch 'PHP-5.6'
...
* PHP-5.6:
TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247
2014-10-16 21:28:49 -07:00
Rasmus Lerdorf
a9d6556971
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (1132 commits)
Micro optimizations for isset/empty
Micro optimization for zend_hash_next_index_insert_new()
Fix array_keys() on $GLOBALS
Fix procedural finfo calls in methods
Fix allocator for 64bit zend_long with 32bit long
Use intptr_t for zend_intptr_t typedef
Fix format strings in zend_alloc
Drop zend_long64 in favor of int64_t
Removed deprecated fields
NEWS
cleanup NEWS
removing the NEWS entry as we had to revert this fix for now
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
Revert "fix TS build"
Revert "Merge branch 'PHP-5.4' into PHP-5.5"
Revert "Bug #67965 : Fix blocking behavior in non-blocking crypto streams"
Revert "Bug #41631 : Fix regression from first attempt (6569db8 )"
NEWS
Fixed Bug #65171 imagescale() fails
Fixed bug #68234
...
2014-10-16 21:28:40 -07:00
Rasmus Lerdorf
5606466624
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247
2014-10-16 21:28:20 -07:00
Rasmus Lerdorf
0d27b3ea69
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
...
* 'PHP-5.6' of git.php.net:php-src: (129 commits)
NEWS
cleanup NEWS
removing the NEWS entry as we had to revert this fix for now
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
Revert "fix TS build"
Revert "Merge branch 'PHP-5.4' into PHP-5.5"
Revert "Bug #67965 : Fix blocking behavior in non-blocking crypto streams"
Revert "Bug #41631 : Fix regression from first attempt (6569db8 )"
NEWS
Fixed Bug #65171 imagescale() fails
Fixed bug #68234
Revert "Bug #41631 : Observe socket read timeouts in SSL streams"
PHP-5.6.3 is next
update NEWS, 5.6.2 will be a security-only release
Fix return code (merges are hard :( )
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Fix bug #68113 (Heap corruption in exif_thumbnail())
...
2014-10-16 21:27:49 -07:00
Rasmus Lerdorf
2b5bffe6c7
TLS 1.0, 1.1 and 1.2 Curl constants - bug #68247
2014-10-16 21:25:29 -07:00
Dmitry Stogov
176b8d7ca3
Micro optimizations for isset/empty
2014-10-17 00:17:13 +04:00
Anatol Belski
aac7b1db7c
converted ext/sqlite and ext/pdo_mysql to use static tsrmls cache
2014-10-16 18:50:19 +02:00
Dmitry Stogov
2a1250fa57
Micro optimization for zend_hash_next_index_insert_new()
2014-10-16 19:19:10 +04:00
Anatol Belski
073c79b8b5
moved tidy to use static tsrmls pointer
2014-10-16 16:30:26 +02:00
Nikita Popov
fc6ce7d1c1
Fix array_keys() on $GLOBALS
2014-10-16 14:44:35 +02:00
Nikita Popov
cf5920e8aa
Fix procedural finfo calls in methods
...
getThis() will return the $this of the calling method.
2014-10-16 14:24:23 +02:00
Anatol Belski
69fa6523e8
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Fix allocator for 64bit zend_long with 32bit long
Use intptr_t for zend_intptr_t typedef
Fix format strings in zend_alloc
Drop zend_long64 in favor of int64_t
Removed deprecated fields
NEWS
cleanup NEWS
removing the NEWS entry as we had to revert this fix for now
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
Revert "fix TS build"
Revert "Merge branch 'PHP-5.4' into PHP-5.5"
Revert "Bug #67965 : Fix blocking behavior in non-blocking crypto streams"
Revert "Bug #41631 : Fix regression from first attempt (6569db8 )"
NEWS
Fixed Bug #65171 imagescale() fails
Fixed bug #68234
Fixed bug #68215 (Behavior of foreach has changed)
Revert "Bug #41631 : Observe socket read timeouts in SSL streams"
PHP-5.6.3 is next
update NEWS, 5.6.2 will be a security-only release
2014-10-16 13:49:35 +02:00
Anatol Belski
7f1107de91
converted ext/ereg, ext/phar and ext/pgsql for static tsrmls usage
2014-10-16 13:47:43 +02:00
Nikita Popov
53a8584123
Fix allocator for 64bit zend_long with 32bit long
2014-10-16 12:42:23 +02:00
Nikita Popov
876965d20a
Use intptr_t for zend_intptr_t typedef
...
Current code doesn't work for 64bit zend_long with 32bit pointers.
If intptr_t isn't defined on some platform, we should add it to
our php_stdint.h header.
2014-10-16 12:42:23 +02:00
Nikita Popov
b65518faf3
Fix format strings in zend_alloc
2014-10-16 12:42:22 +02:00
Nikita Popov
2a9daf2e15
Drop zend_long64 in favor of int64_t
...
Also drop ZEND_HAVE_LONG64, because we already require the
presence of a int64_t type.
2014-10-16 12:42:22 +02:00
Bob Weinand
a80f0b982a
Fix lexing of -r \d+ in raw-string commands
2014-10-16 12:27:26 +02:00
Dmitry Stogov
9527877930
Removed deprecated fields
2014-10-16 13:41:27 +04:00
Bob Weinand
68694e3141
Fix invalid dereference
2014-10-16 11:04:45 +02:00
Bob Weinand
22f1c8a062
Fix segfault in exceptions with xml
2014-10-15 22:00:33 +02:00
Bob Weinand
b28e3d01d7
Fix ctrl characters handling
2014-10-15 20:30:16 +02:00
Remi Collet
88d68aa3e2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
cleanup NEWS
2014-10-15 19:49:41 +02:00
Remi Collet
a3beb42ded
NEWS
2014-10-15 19:49:22 +02:00
Remi Collet
3d9f460313
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
cleanup NEWS
2014-10-15 19:48:25 +02:00
Remi Collet
a1abdba1eb
cleanup NEWS
2014-10-15 19:47:55 +02:00
Ferenc Kovacs
c03b6e1701
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fixed Bug #65171 imagescale() fails
Revert "Bug #41631 : Observe socket read timeouts in SSL streams"
2014-10-15 19:43:30 +02:00
Ferenc Kovacs
cfa1028d7e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed Bug #65171 imagescale() fails
Revert "Bug #41631 : Observe socket read timeouts in SSL streams"
Conflicts:
ext/openssl/xp_ssl.c
2014-10-15 19:42:51 +02:00
Ferenc Kovacs
d2ab6e1d15
Merge branch 'PHP-5.6'
...
* PHP-5.6:
removing the NEWS entry as we had to revert this fix for now
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
Revert "fix TS build"
Revert "Merge branch 'PHP-5.4' into PHP-5.5"
Revert "Bug #67965 : Fix blocking behavior in non-blocking crypto streams"
Revert "Bug #41631 : Fix regression from first attempt (6569db8 )"
2014-10-15 19:41:27 +02:00
Ferenc Kovacs
2109f5bfe3
removing the NEWS entry as we had to revert this fix for now
2014-10-15 19:36:13 +02:00
Ferenc Kovacs
feadaaed56
Revert "Merge branch 'PHP-5.5' into PHP-5.6"
...
This reverts commit 98e67add15 , reversing
changes made to 2cdc1a2b74 .
2014-10-15 19:34:07 +02:00
Ferenc Kovacs
4fb998d42f
Revert "fix TS build"
...
This reverts commit 84a4041ba4 .
2014-10-15 19:33:47 +02:00
Ferenc Kovacs
7b8222aa44
Revert "Merge branch 'PHP-5.4' into PHP-5.5"
...
This reverts commit 30a73658c6 , reversing
changes made to 7fac56e072 .
2014-10-15 19:33:31 +02:00
Ferenc Kovacs
528e4166a6
Revert "Bug #67965 : Fix blocking behavior in non-blocking crypto streams"
...
This reverts commit f86b2193a4 .
2014-10-15 19:32:46 +02:00
Ferenc Kovacs
ff91a48f6e
Revert "Bug #41631 : Fix regression from first attempt ( 6569db8)"
...
This reverts commit 372844918a .
2014-10-15 19:32:14 +02:00
Anatol Belski
0e7682c63c
moved ext/filter to use the static tsrmls pointer
2014-10-15 19:27:53 +02:00
Anatol Belski
0490a32249
more exts converted for static tsrm ls pointer
...
mbstring, pcre, reflection
2014-10-15 19:19:23 +02:00
Remi Collet
503f8193e8
NEWS
2014-10-15 19:16:45 +02:00
Remi Collet
2728e6f017
Fixed Bug #65171 imagescale() fails
...
Third param (height) is set as optional,
but default value = -1 is incorrect
Compute correct height to preserve ratio.
2014-10-15 19:13:25 +02:00
Anatol Belski
5747327775
Merge branch 'native-tls' of git.php.net:php-src into native-tls
...
* 'native-tls' of git.php.net:php-src:
one more file to enable static tsrmls
2014-10-15 18:25:19 +02:00
Anatol Belski
2bddd58d32
move SG to use global tsrmls pointer
2014-10-15 18:23:41 +02:00
Anatol Belski
dd85f3ae1c
one more file to enable static tsrmls
2014-10-15 17:08:32 +02:00
Anatol Belski
aff66a94a6
don't define tsrm ls in SAPIs under linux
...
as it's compiled statically with the core
2014-10-15 16:55:47 +02:00
Anatol Belski
8aeffdd74c
moved most of the core to use static tsrm ls cache pointer
...
plus apache2handler, cli and cgi
2014-10-15 16:33:40 +02:00
Tjerk Meesters
7e116a3baa
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #68234
2014-10-15 21:13:13 +08:00
Tjerk Meesters
836a5dfddb
Fixed bug #68234
...
Certificate will now expire in 2034
2014-10-15 21:12:13 +08:00
Dmitry Stogov
ed18d67c5e
Fixed bug #68215 (Behavior of foreach has changed)
2014-10-15 17:02:54 +04:00
Julien Pauli
6d9c9f8f04
Revert "Bug #41631 : Observe socket read timeouts in SSL streams"
...
This reverts commit 6569db8808 .
Conflicts:
ext/openssl/xp_ssl.c
2014-10-15 14:38:12 +02:00
Ferenc Kovacs
c32614370f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
PHP-5.6.3 is next
update NEWS, 5.6.2 will be a security-only release
Conflicts:
configure.in
main/php_version.h
2014-10-15 14:10:38 +02:00
Ferenc Kovacs
646b4cca85
PHP-5.6.3 is next
2014-10-15 14:08:32 +02:00
Ferenc Kovacs
b85b87fabc
update NEWS, 5.6.2 will be a security-only release
2014-10-15 14:07:40 +02:00
Anatol Belski
991a04b068
made ext/date and ext/spl use static tsrm ls cache
2014-10-15 12:24:03 +02:00
Anatol Belski
d6d856b6db
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Fixed ext/standard/tests/strings/pack64_32.phpt failure (In PHP7, we must not free array of arguments recieved using "+")
2014-10-15 12:09:14 +02:00
Anatol Belski
98a8481e5e
converted some ext/mysql* and fixed ext/zlib
2014-10-15 12:08:25 +02:00
Anatol Belski
236857cb47
converted ext/zlib with static tsrm ls cache
2014-10-15 11:27:20 +02:00
Dmitry Stogov
52b93004d0
Fixed ext/standard/tests/strings/pack64_32.phpt failure (In PHP7, we must not free array of arguments recieved using "+")
2014-10-15 12:38:04 +04:00
Anatol Belski
1fc8220b65
TSRMLS_FETCH() is a spent force
2014-10-15 09:46:35 +02:00
Anatol Belski
c00424e427
bring back all the TSRMLS_FETCH() stuff
...
for better comparability with the mainstream
2014-10-15 09:37:55 +02:00
Anatol Belski
382f95e612
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (25 commits)
Fix return code (merges are hard :( )
fix bad merge
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Fixed bug #68128
Added API function to retrive current custom heap handlers
update NEWS and UPGRADING
Allow to substitute storage layer in memory manager.
Upated NEWS
Address issues raised by @nikic
...
2014-10-15 08:32:54 +02:00
Stanislav Malyshev
01d17228dc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix return code (merges are hard :( )
2014-10-14 11:45:01 -07:00
Stanislav Malyshev
47a1447cc8
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix return code (merges are hard :( )
2014-10-14 11:43:34 -07:00
Stanislav Malyshev
bb3d43fa05
Fix return code (merges are hard :( )
2014-10-14 11:42:33 -07:00
Stanislav Malyshev
d9559d0ecd
fix bad merge
2014-10-14 11:17:48 -07:00
Stanislav Malyshev
abe907b343
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
Conflicts:
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
2014-10-14 10:53:05 -07:00
Stanislav Malyshev
4a38cc0a3c
Fix bug #68113 (Heap corruption in exif_thumbnail())
2014-10-14 10:51:46 -07:00
Stanislav Malyshev
81b67937e4
Fix bug #68089 - do not accept options with embedded \0
...
Conflicts:
ext/curl/interface.c
2014-10-14 10:51:46 -07:00
Stanislav Malyshev
3eb679b952
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
2014-10-14 10:51:24 -07:00
Stanislav Malyshev
2b261789a6
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:49:01 -07:00
Stanislav Malyshev
3e4cef131e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix bug #68113 (Heap corruption in exif_thumbnail())
Fix bug #68089 - do not accept options with embedded \0
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:45:47 -07:00
Stanislav Malyshev
f9ba0a157f
Fix bug #68113 (Heap corruption in exif_thumbnail())
2014-10-14 10:45:36 -07:00
Stanislav Malyshev
71b63fc701
Fix bug #68089 - do not accept options with embedded \0
...
Conflicts:
ext/curl/interface.c
2014-10-14 10:45:35 -07:00
Stanislav Malyshev
88eb7ea47d
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
2014-10-14 10:44:57 -07:00
Stanislav Malyshev
2142d78281
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:44:39 -07:00
Stanislav Malyshev
ddb207e7fa
Fix bug #68113 (Heap corruption in exif_thumbnail())
2014-10-14 10:44:00 -07:00
Stanislav Malyshev
d1e030db02
Fix bug #68089 - do not accept options with embedded \0
...
Conflicts:
ext/curl/interface.c
2014-10-14 10:43:59 -07:00
Stanislav Malyshev
9aa9014523
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
2014-10-14 10:43:13 -07:00
Stanislav Malyshev
44035de79f
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-14 10:43:12 -07:00
Tjerk Meesters
1f4f2ef403
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #68128
Conflicts:
ext/spl/spl_iterators.c
2014-10-14 23:00:17 +08:00
Tjerk Meesters
fb35d7c56e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #68128
2014-10-14 22:50:07 +08:00
Tjerk Meesters
71ba533640
Fixed bug #68128
...
Three issues are addressed:
- RecursiveRegexIterator::accept() should accept non-empty arrays without
applying any regular expression and RegexIterator::accept() should not accept
an array.
- RegexIterator::accept() should not accept an atom that fails to match
anything, even when PREG_PATTERN_ORDER is used (which would return an array
of empty arrays).
- RecursiveRegexIterator::getChildren() should pass all constructor arguments
to its child iterator instead of just the regular expression.
2014-10-14 22:49:01 +08:00
Dmitry Stogov
d2daa19701
Added API function to retrive current custom heap handlers
2014-10-14 14:20:25 +04:00
Stanislav Malyshev
afdaedaa26
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS and UPGRADING
Upated NEWS
Address issues raised by @nikic
Make sure min < max
Mersenne Twister was added in GMP 4.2
Add test files
Add gmp_random_bits(bits) and gmp_random_range(min, max)
Change GMPs default PRNG to Mersenne Twister
Conflicts:
ext/gmp/gmp.c
2014-10-14 00:43:15 -07:00
Stanislav Malyshev
4773c1dfdc
update NEWS and UPGRADING
2014-10-14 00:36:36 -07:00
Stanislav Malyshev
8615e42942
Merge branch 'pull-request/839' into PHP-5.6
...
* pull-request/839:
Upated NEWS
Address issues raised by @nikic
Make sure min < max
Mersenne Twister was added in GMP 4.2
Add test files
Add gmp_random_bits(bits) and gmp_random_range(min, max)
Change GMPs default PRNG to Mersenne Twister
2014-10-14 00:33:16 -07:00
Bob Weinand
c812ee9c35
Fix invalid efree() on null pointer and add help for -x
2014-10-14 09:16:30 +02:00
Stanislav Malyshev
287c91c1f0
Fix bug #68113 (Heap corruption in exif_thumbnail())
2014-10-13 23:17:45 -07:00
Stanislav Malyshev
ab0939e5e5
Fix bug #68089 - do not accept options with embedded \0
...
Conflicts:
ext/curl/interface.c
2014-10-13 23:16:06 -07:00
Stanislav Malyshev
56754a7f9e
Fixed bug #68044 : Integer overflow in unserialize() (32-bits only)
2014-10-13 23:14:25 -07:00
Stanislav Malyshev
88412772d2
Fix bug #68027 - fix date parsing in XMLRPC lib
2014-10-13 23:12:11 -07:00
Dmitry Stogov
2842766d7f
Allow to substitute storage layer in memory manager.
2014-10-14 09:41:16 +04:00
Anatol Belski
766eb0103f
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
fix several datatype mismatch warnings
fix signed/unsigned mismatch warning
more signed/unsigned mismatch fix
fix signed/unsigned mismatch warning
fix signed/unsigned mismatch
fix some signed/unsigned mismatch
missing include for strlen proto
More fixes for array/object casts with temporary variables
Fix array/object cast of refcounted tmp var
Deref right value for compound assign ops
2014-10-13 19:02:22 +02:00
Anatol Belski
65eb8ef8d0
fix several datatype mismatch warnings
2014-10-13 18:43:14 +02:00
Anatol Belski
66e47446e4
fix signed/unsigned mismatch warning
2014-10-13 18:43:13 +02:00
Anatol Belski
b2de68a81f
more signed/unsigned mismatch fix
2014-10-13 18:43:12 +02:00
Anatol Belski
946668d037
fix signed/unsigned mismatch warning
2014-10-13 18:43:11 +02:00
Anatol Belski
97319bc833
fix signed/unsigned mismatch
2014-10-13 18:43:10 +02:00
Anatol Belski
84477c7c39
fix some signed/unsigned mismatch
2014-10-13 18:43:09 +02:00
Anatol Belski
784c235f40
missing include for strlen proto
2014-10-13 18:43:08 +02:00
Nikita Popov
5d94ba6ec3
More fixes for array/object casts with temporary variables
2014-10-13 15:31:59 +02:00
Nikita Popov
e62edf2e58
Fix array/object cast of refcounted tmp var
2014-10-13 15:31:59 +02:00
Nikita Popov
2622cfc2fb
Deref right value for compound assign ops
...
Currently we do not support IS_REFERENCE operands for most of our
*_function's (should we?), so we need to deref here.
2014-10-13 15:31:59 +02:00
Anatol Belski
19c41e1f53
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Ensure __LINE__ is always accurate
Fix incdec of referenced properties
Fix ::jsonSerialize() failure message
Fix invalid zend_string_frees in reflection
Remove retval member in spl_dllist
DLL export several APIs needed for phpdbg
More fixes for nodelist array access - testing for null property read - no zval copying if the type is already long - memory fix for master
2014-10-13 13:52:31 +02:00
Dmitry Stogov
702a2dfb3e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Conflicts:
ext/opcache/Optimizer/pass1_5.c
2014-10-13 14:10:44 +04:00
Dmitry Stogov
7acba332fe
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
2014-10-13 14:07:37 +04:00
Nikita Popov
0b09ba84b9
Ensure __LINE__ is always accurate
2014-10-12 20:55:52 +02:00
Nikita Popov
b7e139a59c
Fix incdec of referenced properties
...
I thought these SEPARATE_ZVAL_IF_NOT_REF usages were safe at first,
because incdec op supports reference variables. However this
violates the constraint that IS_TMP_VAR variables may not be
references (which is an issue if you use the result of the incdec
op).
Still need to fix the cases where read_property/write_property is
used.
2014-10-12 20:55:52 +02:00
Nikita Popov
016a96c7c2
Fix ::jsonSerialize() failure message
2014-10-12 20:55:51 +02:00
Nikita Popov
c4ab08ac9d
Fix invalid zend_string_frees in reflection
...
zend_lookup_class can share the name
2014-10-12 20:55:51 +02:00
Nikita Popov
471e71537f
Remove retval member in spl_dllist
...
Seems pretty useless, unless I'm missing something?
2014-10-12 20:55:51 +02:00
Anatol Belski
449fd307e4
enable console options for remote on win
2014-10-12 20:05:26 +02:00
Anatol Belski
d5ce62c17c
basic rework for remote on win
2014-10-12 19:53:05 +02:00
Anatol Belski
a5607c4b5a
fix config.w32
2014-10-12 19:31:38 +02:00
Anatol Belski
8a55159258
Merge branch 'PHP-5.6'
...
* PHP-5.6:
DLL export several APIs needed for phpdbg
2014-10-12 19:22:40 +02:00
Anatol Belski
c96a6b4493
DLL export several APIs needed for phpdbg
2014-10-12 19:22:03 +02:00
Tjerk Meesters
ea7604fc9e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master
- use zend_long for offset
Conflicts:
ext/dom/php_dom.c
2014-10-12 12:55:24 +08:00
Tjerk Meesters
37a685ff2b
More fixes for nodelist array access
...
- testing for null property read
- no zval copying if the type is already long
- memory fix for master
2014-10-12 12:47:58 +08:00
Bob Weinand
1486a9ebf7
Fix some compiler warnings
2014-10-12 00:30:09 +02:00
Bob Weinand
e19c789979
Maybe-fix for krakjoe/phpdbg#120 , fixed remote on darwin
2014-10-11 23:36:12 +02:00
Bob Weinand
3445e0e59e
Fix issue krakjoe/phpdbg#122 (segfault in helpaliases)
2014-10-11 00:20:30 +02:00
Anatol Belski
e1cd0e0a38
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (40 commits)
int to size_t where the underlaying API supports it
use php_socket_t instead of int
fix signed/unsigned mismatch warning
fix compilation warning
Improved specialisation $this variable accessed through IS_UNUSED operand must be IS_OBJECT, so we don't have to check for its type or perform dereference.
Add notes about get_class_entry/get_class_name to UPGRADING
Fix casts in GD
Drop redundant casting code from ext/filter
update NEWS
update NEWS
update NEWS
update NEWS
Added note to UPGRADING regarding 64-bit support in pack()/unpack()
pack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
Add 64 bit formats to pack() and unpack()
Help to CPU branch predictor
Removed unused EG(orig_error_reporting)
Update get_class_name semantics
Remove Z_OBJ_CLASS_NAME_P
Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.
...
2014-10-10 22:51:13 +02:00
Anatol Belski
e33e4b2d8c
int to size_t where the underlaying API supports it
2014-10-10 19:00:20 +02:00
Anatol Belski
6445c4bd48
use php_socket_t instead of int
2014-10-10 19:00:19 +02:00
Anatol Belski
6075e5a549
fix signed/unsigned mismatch warning
2014-10-10 19:00:18 +02:00
Anatol Belski
3942ed52be
fix compilation warning
2014-10-10 19:00:17 +02:00
Dmitry Stogov
af3354dc43
Improved specialisation $this variable accessed through IS_UNUSED operand must be IS_OBJECT, so we don't have to check for its type or perform dereference.
2014-10-10 16:36:12 +04:00
Nikita Popov
3efc331701
Add notes about get_class_entry/get_class_name to UPGRADING
2014-10-10 12:28:55 +02:00
Nikita Popov
7c5da4607c
Fix casts in GD
...
Using convert_to_* after ZVAL_COPY is unsafe.
2014-10-10 12:23:33 +02:00
Nikita Popov
1577ac146f
Drop redundant casting code from ext/filter
2014-10-10 12:14:26 +02:00
Ard Biesheuvel
428243da8c
update NEWS
...
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2014-10-10 11:46:22 +02:00
Ard Biesheuvel
9bc65fe75f
Merge branch 'PHP-5.6'
2014-10-10 11:46:18 +02:00
Ard Biesheuvel
3e13c6dcb2
update NEWS
...
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2014-10-10 11:45:24 +02:00
Ard Biesheuvel
8aa952410a
Merge branch 'PHP-5.5' into PHP-5.6
2014-10-10 11:44:52 +02:00
Ard Biesheuvel
b73ef0ee4a
update NEWS
...
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2014-10-10 11:44:39 +02:00
Ard Biesheuvel
c2cce33cba
Merge branch 'PHP-5.4' into PHP-5.5
2014-10-10 11:41:10 +02:00
Ard Biesheuvel
82b07b62c0
update NEWS
...
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2014-10-10 11:40:07 +02:00
Tjerk Meesters
a88feb139c
Added note to UPGRADING regarding 64-bit support in pack()/unpack()
2014-10-10 07:33:06 +08:00
Tjerk Meesters
2a765d313e
pack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
2014-10-10 07:20:10 +08:00
Tjerk Meesters
284358b317
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add 64 bit formats to pack() and unpack()
2014-10-10 07:05:36 +08:00
Tjerk Meesters
30f8a9baff
RFC: 64 bit format codes for pack() and unpack()
2014-10-10 07:00:38 +08:00
Leigh
63fd969300
Add 64 bit formats to pack() and unpack()
2014-10-09 21:02:42 +01:00
Dmitry Stogov
2c434470a6
Help to CPU branch predictor
2014-10-09 23:58:41 +04:00
Dmitry Stogov
cbe4fa444f
Removed unused EG(orig_error_reporting)
2014-10-09 23:38:39 +04:00
Nikita Popov
df79b9b27a
Update get_class_name semantics
...
* get_class_name is now only used for displaying the class name
in debugging functions like var_dump, print_r, etc. It is no
longer used in get_class() etc.
* As it is no longer used in get_parent_class() the parent
argument is now gone. This also fixes incorrect parent classes
being reported in COM.
* get_class_name is now always required (previously some places
made it optional and some required it) and is also required
to return a non-NULL value.
* Remove zend_get_object_classname. This also fixes a number of
potential leaks due to incorrect usage of this function.
2014-10-09 20:48:27 +02:00
Nikita Popov
c061c82945
Remove Z_OBJ_CLASS_NAME_P
...
Doesn't make much sense anymore, now that get_class_entry is
gone.
2014-10-09 20:48:27 +02:00
Dmitry Stogov
0390cde428
Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.
2014-10-09 20:29:02 +04:00
Tjerk Meesters
0a50b250b2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Refactored DOMNodeList array dereferencing implementation
Conflicts:
ext/dom/nodelist.c
ext/dom/php_dom.c
2014-10-09 23:32:19 +08:00
Tjerk Meesters
59f39dea66
Refactored DOMNodeList array dereferencing implementation
2014-10-09 23:07:12 +08:00
Dmitry Stogov
2f099478a3
zval must not be converted in place without duplication
2014-10-09 18:34:19 +04:00
Bob Weinand
9dfc5d5511
Escape control characters
2014-10-09 16:06:10 +02:00
Nikita Popov
b09acffc04
Remove PDORow get_class_entry handler
2014-10-09 15:23:14 +02:00
Bob Weinand
e72b00b1ec
Only show req attribute if given
2014-10-09 14:54:47 +02:00
Bob Weinand
f4f9e39faa
Fix ev/run/sh parsing
2014-10-09 14:54:08 +02:00
Nikita Popov
9903f16e5c
Remove get_class_entry handlers in COM
2014-10-09 14:42:56 +02:00
Nikita Popov
e5e9d8346f
Remove zend_get_class_entry function
2014-10-09 14:17:30 +02:00
Nikita Popov
b3a779de68
Remove get_class_entry object handler
2014-10-09 14:08:10 +02:00
Nikita Popov
116c5ecda1
Remove proxy object implementation
2014-10-09 14:01:08 +02:00
Nikita Popov
ee5b30fa19
Remove support for classes without class entries
...
get_class_entry must be non-NULL and return non-NULL.
2014-10-09 13:58:14 +02:00
Nikita Popov
43f1c94dda
Review a few more SEPARATE_ZVAL_IF_NOT_REF usages
2014-10-09 12:51:05 +02:00
Bob Weinand
0bcb32ae47
Fixed segfault when listing and last line is empty
...
Conflicts:
phpdbg_list.c
2014-10-09 12:51:04 +02:00
Bob Weinand
a54de936d0
Fixed segfault when listing and last line is empty
2014-10-09 12:43:53 +02:00
Bob Weinand
31b6024c65
Updated xml.md
2014-10-09 12:35:54 +02:00
Bob Weinand
a7918213e7
Always output request id in containers
2014-10-09 12:24:52 +02:00
Nikita Popov
e919caca86
Fix bug #68191 : Broken reference across objects
2014-10-09 12:05:56 +02:00
Nikita Popov
a3b880364f
Directly use zend_string for php_implode/php_explode
...
Also drop some unnecessary zval separations and copies
2014-10-09 12:05:56 +02:00
Bob Weinand
eeafa4e518
Merge branch 'master' into xml-protocol
2014-10-09 12:01:43 +02:00
Bob Weinand
ca7f2f5f43
Ports are unsigned short, use unsigned to display
2014-10-09 12:01:25 +02:00
Dmitry Stogov
9b0b30272f
Copy all the arena allocated data from SHM to process memory at once
2014-10-09 14:01:19 +04:00
Bob Weinand
b426897c9c
Fix regression in list
...
It showed the entire remaining file before...
2014-10-09 11:52:57 +02:00
Bob Weinand
96de7c4b0a
Reduce variabledetails+variable to just one variable tag
2014-10-09 11:47:52 +02:00
Tjerk Meesters
49078a6598
Merge branch 'PHP-5.6'
...
Conflicts:
ext/dom/dom_properties.h
ext/dom/nodelist.c
ext/dom/php_dom.c
2014-10-09 16:55:15 +08:00
Tjerk Meesters
72bd28a5da
Updated NEWS for #67949
2014-10-09 16:18:14 +08:00
Tjerk Meesters
8a3b41cd39
Merge branch 'pr/846' into PHP-5.6
...
* pr/846:
DOMNodeList elements are accessible through array notation
2014-10-09 15:55:10 +08:00
Tjerk Meesters
78156520ae
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS for #68129
Updated NEWS for #68129
Fixed bug #68129
2014-10-09 08:24:58 +08:00
Tjerk Meesters
cac55bad1a
Updated NEWS for #68129
2014-10-09 08:24:30 +08:00
Tjerk Meesters
f92c9b3ced
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS for #68129
Fixed bug #68129
2014-10-09 08:24:05 +08:00
Tjerk Meesters
061cb9b807
Updated NEWS for #68129
2014-10-09 08:23:42 +08:00
Tjerk Meesters
d0e51f5ce9
Fixed bug #68129
...
Empty usernames and passwords are now treated differently from no username or password
For example, empty password:
ftp://user:@example.org
Empty username:
ftp://:password@example.org
Empty username and empty password
ftp://:@example.org
2014-10-09 08:21:30 +08:00
Bob Weinand
9db6a93b69
Add <intros> tag around <intro /> tags
2014-10-09 00:25:25 +02:00
Bob Weinand
07bbe62742
Put stack_verify in error buffer too
2014-10-08 23:44:22 +02:00
Bob Weinand
fa89d8b3f9
Fix escaping of <
2014-10-08 23:42:20 +02:00
Dmitry Stogov
320b9ef44b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added info about ext/opcache
Conflicts:
EXTENSIONS
2014-10-08 21:54:05 +04:00
Dmitry Stogov
aec519199b
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Added info about ext/opcache
2014-10-08 21:49:53 +04:00
Dmitry Stogov
09f9403a6e
Added info about ext/opcache
2014-10-08 21:48:44 +04:00
Reeze Xia
c46453801e
Fix php.ini-*'s comment about directive: request_order
...
request_order directive only support register G,P,C but not all of
the EGPCS global variables.
The doc <http://php.net/manual/en/ini.core.php#ini.request-order >
is ok.
2014-10-08 23:28:12 +08:00
Dmitry Stogov
7fd3375fb5
Exposed zend_clean_and_cache_symbol_table() and fixed incorrect efree()
2014-10-08 16:08:26 +04:00
Anatol Belski
fe42847799
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
let phpize profit from /mp as well
fix phpize for /mp and more
fix /mp usage for VC++
fix wording
2014-10-08 11:39:54 +02:00
Anatol Belski
db6cc049ad
let phpize profit from /mp as well
2014-10-08 11:14:23 +02:00
Anatol Belski
9a3af83ee2
fix phpize for /mp and more
2014-10-08 11:01:15 +02:00
Anatol Belski
892efcfc3d
fix /mp usage for VC++
2014-10-08 10:59:15 +02:00
Anatol Belski
9af9f874c7
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Add to NEWS
Add to NEWS
Fix for bug #68087 (ODBC not reading DATE columns correctly)
Add to NEWS
Add to NEWS
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
Micro optimization
Improved return by reference handling
2014-10-08 09:32:19 +02:00
Anatol Belski
b129fecef2
fix wording
2014-10-08 09:01:46 +02:00
Bob Weinand
0ef8b4caf3
Revert WS change from "[\r\n\t ]+" to "[\t ]+"
2014-10-08 00:35:17 +02:00
Bob Weinand
89a0d3c2b2
Merge branch 'master' into xml-protocol
...
Conflicts:
phpdbg_lexer.c
phpdbg_prompt.c
2014-10-08 00:27:12 +02:00
Bob Weinand
eabcdb2eb2
Fix bug which causes inf loop on \r\n
2014-10-08 00:15:21 +02:00
Keyur Govande
9ca16fd809
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add to NEWS
Add to NEWS
Fix for bug #68087 (ODBC not reading DATE columns correctly)
2014-10-07 21:23:04 +00:00
Keyur Govande
3bd8ac6710
Add to NEWS
2014-10-07 21:22:54 +00:00
Keyur Govande
92f108801e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Add to NEWS
Fix for bug #68087 (ODBC not reading DATE columns correctly)
2014-10-07 21:22:07 +00:00
Keyur Govande
d319a0c1d8
Add to NEWS
2014-10-07 21:21:23 +00:00
Keyur Govande
df9078ea55
Fix for bug #68087 (ODBC not reading DATE columns correctly)
...
Temporary variable indicating column field type ID should be
reset to default for loop iteration (i.e. every column in the
record set. The old buggy code made it persist across all columns
leading to invalid reads from the buffer, if for example a DATE
column was preceded by a VARCHAR column.
2014-10-07 21:17:36 +00:00
Keyur Govande
f17bf04440
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add to NEWS
2014-10-07 21:09:57 +00:00
Keyur Govande
6f634ebb8c
Add to NEWS
2014-10-07 21:09:47 +00:00
Keyur Govande
07e285d880
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add to NEWS
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
2014-10-07 21:08:33 +00:00
Keyur Govande
bcda6c9392
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Add to NEWS
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
2014-10-07 21:08:18 +00:00
Keyur Govande
d21602c072
Add to NEWS
2014-10-07 21:07:19 +00:00
Keyur Govande
648673bffe
Fix for bug #68114 (Build fails on OS X due to undefined symbols)
...
gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width
decimals and fails with undefined symbols errors like ___extendsddf.
If configure used gcc for compiling it would notice and mark the
feature HAVE_DECIMAL_FP_SUPPORT as unsupported.
But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2)
instead, which doesn't support fixed-width decimals either, but the
code compiles and links just fine. I suspect it may have something
to do with the llvm backend printed in the version.
Lacking the time to debug this further, the patch fixes the issue by
checking the expected output when fixed-width decimal support is
present and correctly implemented.
2014-10-07 20:58:43 +00:00
Dmitry Stogov
fe501914f0
Micro optimization
2014-10-07 23:48:55 +04:00
Dmitry Stogov
2ea97c6f5a
Improved return by reference handling
2014-10-07 22:38:37 +04:00
Anatol Belski
62598740aa
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Reorder fields for better alignment on both 32-bit and 64-bit systems
Remove useless parts of EX(old_error_reporting)
Merged EX(frame_kind) and EX(flags) into single word
2014-10-07 18:44:15 +02:00
Dmitry Stogov
75b5dc6369
Reorder fields for better alignment on both 32-bit and 64-bit systems
2014-10-07 18:12:09 +04:00
Dmitry Stogov
67be34ec95
Remove useless parts of EX(old_error_reporting)
2014-10-07 17:54:24 +04:00
Leigh
106fab00bc
Upated NEWS
2014-10-07 14:28:02 +01:00
Leigh
aa679295e4
Merge branch 'PHP-5.6' of https://github.com/php/php-src into gmp-random
2014-10-07 14:25:44 +01:00
Dmitry Stogov
33e137d409
Merged EX(frame_kind) and EX(flags) into single word
2014-10-07 17:12:12 +04:00
Leigh
f66013df94
Apply error-code-salt fix to Windows too
2014-10-07 13:12:38 +01:00
krakjoe
4b3a11debb
make build work moar
2014-10-07 12:36:03 +01:00
Leigh
4e8c876120
Bug fixes in light of failing bcrypt tests
2014-10-07 12:27:57 +01:00
Bob Weinand
8bc2881260
Merge branch 'master' into xml-protocol
...
Conflicts:
phpdbg.c
phpdbg.h
phpdbg_cmd.c
phpdbg_cmd.h
phpdbg_frame.c
phpdbg_info.c
phpdbg_list.c
phpdbg_print.c
phpdbg_prompt.c
phpdbg_utils.c
phpdbg_utils.h
phpdbg_watch.c
2014-10-07 13:08:30 +02:00
Leigh
a0420a72af
Add tests from 1.3. Add missing tests.
...
3 of the missing tests fail. // TODO
2014-10-07 11:50:36 +01:00
krakjoe
f545ef48eb
fix case insensitivity for registered functions
2014-10-07 11:30:26 +01:00
Leigh
e331f9af73
Upgrade crypt_blowfish to version 1.3
2014-10-07 11:23:24 +01:00
krakjoe
556ed2d3f4
fix mistake in help
2014-10-07 10:28:21 +01:00
Anatol Belski
ebaa6a74a5
force more static tsrmls cache usage
2014-10-07 09:09:46 +02:00
Anatol Belski
38a076682f
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Fix bug #68162 : isset($$varname) always true
Drop convert_to usage in zend_exceptions
Fix isset/unset on by-ref names as well
Fix bug #68163
2014-10-07 09:02:58 +02:00
Bob Weinand
6f584e22fe
Merge branch 'webdata_transfer'
2014-10-07 00:45:29 +02:00
Bob Weinand
2422c70c4f
" => &quot; in md document
2014-10-06 22:34:41 +02:00
Nikita Popov
e24c24c108
Fix bug #68162 : isset($$varname) always true
2014-10-06 20:39:00 +02:00
Nikita Popov
2a0c4edfda
Drop convert_to usage in zend_exceptions
...
To make everything work correctly with refs.
I'm unsure whether the GET_PROPERTY_SILENT distinction is really
necessary, because the choice seemed pretty random, but kept it
around.
2014-10-06 20:14:30 +02:00
Nikita Popov
390900cbcb
Fix isset/unset on by-ref names as well
2014-10-06 18:56:23 +02:00
Nikita Popov
03c726d728
Fix bug #68163
2014-10-06 18:45:08 +02:00
Anatol Belski
bd9f17846d
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
bring back the correct php_version.h
fix the empty_strings SAPI shutdown leak in TS build
Use fastcall calling convention for heap functions
fix leaking the empty_string in TS builds
remove successive assignment
2014-10-06 18:36:26 +02:00
Anatol Belski
5d7ccb758b
bring back the correct php_version.h
2014-10-06 15:51:57 +02:00
Anatol Belski
741bf0ee96
fix the empty_strings SAPI shutdown leak in TS build
...
still the NTS variant is somewhat different as it needs
zend_new_interned_string_int because the normal callbacks might
be not initialized, but at least no leaks anymore and some more
structure
2014-10-06 15:48:55 +02:00
Dmitry Stogov
cc7c14cb76
Use fastcall calling convention for heap functions
2014-10-06 16:32:15 +04:00
Anatol Belski
72b34e1372
fix leaking the empty_string in TS builds
2014-10-06 13:38:13 +02:00
Bob Weinand
699497e99f
Add request id to <backtrace>
2014-10-06 13:20:04 +02:00
Bob Weinand
abd75ea2c5
Fix frames output
2014-10-06 11:46:39 +02:00
Anatol Belski
8d4ee9fbaa
remove successive assignment
2014-10-06 11:45:23 +02:00
Bob Weinand
fb76316819
Add request_id possibility for xml output
2014-10-06 11:26:08 +02:00
Anatol Belski
60f0695a09
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (42 commits)
Add tests verifying calls work inside echo, concatenation and array access
Updated NEWS and UPGRADING
Fix $this CV init for include/eval
Fix dynamic calls to static methods with fci->object
Fix $arr =& $arr[0]
Add UPGRADING stubs for a number of recent changes
Regenerate tokenizer data
Fix unused variable warning
Remove <% and <script language="php"> tags
zend_uint -> uint32_t
Fix nesting for *non*-compile-time-resolveable functions See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414223
Add tests for calls to nested, *non*-compile-time-resolveable functions See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414362
Make list of opcodes used for nesting calculation consistent with `zend_do_convert_call_user_func()` in Zend/zend_compile.c
Rewrite code to use ZEND_VM_JMP() instead of repeated ZEND_VM_INC_OPCODE() calls
QA: Simplify code to find matching ZEND_DO_FCALL_BY_NAME CG(context).nested_calls is stored inside the initializer's result.num and inside the finalizer's op2.num, by comparing these we don't need to count manually, and are thus safer from future expansion with specialized opcodes e.g.
Fix expected fatal error, now is catchable fatal
Adjust expected fatal error message Now also includes "on [TYPE]" after merge from master
Check for memory leaks when not using return value
Adjust expected fatal error message Now also includes "on [TYPE]" after merge from master
Add tests with arrays as parameters
...
2014-10-06 08:42:53 +02:00
Timm Friebe
43f3d250f4
Add tests verifying calls work inside echo, concatenation and array access
2014-10-06 06:08:02 +08:00
Tjerk Meesters
35314a416a
Updated NEWS and UPGRADING
...
PHP RFC: Catchable "call to a member function of a non-object"
2014-10-06 05:54:32 +08:00
Tjerk Meesters
82523c0752
Merge branch 'pr/647'
...
* pr/647: (33 commits)
zend_uint -> uint32_t
Fix nesting for *non*-compile-time-resolveable functions See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414223
Add tests for calls to nested, *non*-compile-time-resolveable functions See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414362
Make list of opcodes used for nesting calculation consistent with `zend_do_convert_call_user_func()` in Zend/zend_compile.c
Rewrite code to use ZEND_VM_JMP() instead of repeated ZEND_VM_INC_OPCODE() calls
QA: Simplify code to find matching ZEND_DO_FCALL_BY_NAME CG(context).nested_calls is stored inside the initializer's result.num and inside the finalizer's op2.num, by comparing these we don't need to count manually, and are thus safer from future expansion with specialized opcodes e.g.
Fix expected fatal error, now is catchable fatal
Adjust expected fatal error message Now also includes "on [TYPE]" after merge from master
Check for memory leaks when not using return value
Adjust expected fatal error message Now also includes "on [TYPE]" after merge from master
Add tests with arrays as parameters
Handle ZEND_NEW nesting
Also verify nesting with dynamically called static methods
Handle ZEND_INIT_NS_FCALL_BY_NAME nesting
QA: Refactor: Split tests a bit to make them more comprehendable
Support nested static calls
Handle ZEND_EXT_FCALL_END, skipping if necessary Verified with running tests with new "-e" run-tests arg: $ make test TESTS=Zend/tests/*-on-non-objects-*phpt TEST_PHP_ARGS=-e # Tests passed : 11 (100.0%)
Add support for PHP's 'extended information for debugger/profiler' mode
Verify non-CV-operands also work See discussion https://github.com/php/php-src/pull/647#issuecomment-48050551
Only allocate NULL return value if it's actually used
...
Conflicts:
ext/date/tests/bug67118.phpt
2014-10-06 05:52:43 +08:00
Nikita Popov
58f389772f
Fix $this CV init for include/eval
...
Fixes bug #68148
2014-10-05 23:38:59 +02:00
Nikita Popov
9bc14f9632
Fix dynamic calls to static methods with fci->object
...
func may already be freed at the time the static flag was checked.
2014-10-05 23:11:17 +02:00
Nikita Popov
fb34cd90f8
Fix $arr =& $arr[0]
...
value_ptr can be invalidated by the ptr_dtor, so backup the
zend_reference in an extra variable.
2014-10-05 22:58:40 +02:00
Nikita Popov
24315f2dd7
Add UPGRADING stubs for a number of recent changes
2014-10-05 22:10:11 +02:00
Nikita Popov
a86fd31c8c
Regenerate tokenizer data
...
Also fix the tokenizer_data_gen.sh script after 64bit changes.
2014-10-05 22:09:28 +02:00
Nikita Popov
292421d3a1
Fix unused variable warning
2014-10-05 21:58:38 +02:00
Nikita Popov
e756333bbb
Remove <% and <script language="php"> tags
...
As per https://wiki.php.net/rfc/remove_alternative_php_tags .
Removes:
* <% opening tag
* %> closing tag
* <%= short opening tag
* /<script\s+language\s*=\s*(php|"php"|'php')\s*>/i opening tag
* /</script>/i closing tag
* asp_tags ini directive
2014-10-05 21:57:05 +02:00
Anatol Belski
08b2638275
convert ext/sockets to work with the static tsrm cache pointer
2014-10-05 20:48:32 +02:00
Anatol Belski
b946348969
enable static tsrm ls cache in ext/standard
2014-10-05 19:49:41 +02:00
Anatol Belski
a91d3580a7
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
properly export tsrm_strtok_r()
Fixed list() behavior inconsistency (string handling is disabled for all cases, ArrayAccess objects handling is enabled for all cases, ZEND_FETCH_DIM_TMP_VAR opcode is renamed into ZEND_FETCH_LIST, ZEND_FETCH_ADD_LOCK flag is removed).
Fix accidental edit in previous commit
Fix arginfo
DateTimeZone::getOffset() now accepts a DateTimeInterface
DateTimeZone::getOffset() now accepts a DateTimeInterface
Moved checks and error reporting related to static methods from DO_FCALL inti INTI_FCALL* opcodes that may really deal with static methods. (In some rare cases it may lead to different order of warning messages).
Fixed a bug that causes crash when environment variable is access while parsing php.ini
Fixed a bug that causes crash when environment variable is access while parsing php.ini
2014-10-05 19:26:17 +02:00
Bob Weinand
8b6d707df0
Use PHP 5.4 compatible zend_execute in #if
2014-10-05 13:57:35 +02:00
Bob Weinand
2f6317c483
Fix infinite recursion issues (segfaults)
2014-10-05 13:33:31 +02:00
Bob Weinand
38e981bbdc
Fix infinite recursion issues (segfaults)
2014-10-05 13:29:56 +02:00
Anatol Belski
d58b70622a
properly export tsrm_strtok_r()
...
for this particular case fixing phar shared build, but for the
general usage anyway
2014-10-05 13:20:27 +02:00
Bob Weinand
bedd503c3f
Consistency in breakpoint tags, <run> => <stop>
2014-10-05 12:33:24 +02:00
Bob Weinand
9cc73b5c75
Fix precision handling in strings
2014-10-05 11:57:14 +02:00
Dmitry Stogov
7c7b9184b1
Fixed list() behavior inconsistency (string handling is disabled for all cases, ArrayAccess objects handling is enabled for all cases, ZEND_FETCH_DIM_TMP_VAR opcode is renamed into ZEND_FETCH_LIST, ZEND_FETCH_ADD_LOCK flag is removed).
2014-10-05 13:02:58 +04:00
Bob Weinand
c55dbad546
Disable automatic resetting of imported auto_globals
2014-10-05 02:27:51 +02:00
Bob Weinand
f48fc67c86
Fix (system) ini entry transfer
2014-10-05 00:16:19 +02:00
Bob Weinand
62465b6d82
Fix issues with path names and cwd
2014-10-04 23:30:57 +02:00
Bob Weinand
19cdad194b
Add transfer of output back to webserver and merge master in
...
Conflicts:
config.m4
phpdbg.c
phpdbg.h
phpdbg_cmd.c
phpdbg_prompt.c
2014-10-04 23:21:34 +02:00
Johannes Schlüter
429e1b45a7
Merge branch 'PHP-5.6'
2014-10-04 20:07:00 +02:00
Johannes Schlüter
79ca53b62b
Merge branch 'PHP-5.5' into PHP-5.6
2014-10-04 20:06:44 +02:00
Johannes Schlüter
b386991471
Fix accidental edit in previous commit
2014-10-04 20:06:02 +02:00
Johannes Schlüter
a1347a0190
Merge branch 'PHP-5.6'
2014-10-04 20:00:40 +02:00
Johannes Schlüter
61d29990b4
Merge branch 'PHP-5.5' into PHP-5.6
2014-10-04 20:00:10 +02:00
Johannes Schlüter
136dd53ac2
Fix arginfo
2014-10-04 19:59:21 +02:00
Florian MARGAINE
9680829389
DateTimeZone::getOffset() now accepts a DateTimeInterface
...
Fixes #68062
Should be backported to PHP-5.6 and PHP-5.5.
Conflicts:
ext/date/tests/bug67118.phpt
2014-10-04 16:06:04 +01:00
Bob Weinand
9d96cde268
LIBREADLINE => HAVE_LIBREADLINE
2014-10-04 17:02:44 +02:00
Derick Rethans
e326377824
Merge branch 'PHP-5.6'
2014-10-04 16:00:29 +01:00
Derick Rethans
0e5f475f5e
Merge branch 'PHP-5.5' into PHP-5.6
2014-10-04 15:59:17 +01:00
Derick Rethans
0874ef624c
Merge branch 'PHP-5.4' into PHP-5.5
2014-10-04 15:58:40 +01:00
Florian MARGAINE
046c345de5
DateTimeZone::getOffset() now accepts a DateTimeInterface
...
Fixes #68062
2014-10-04 15:58:24 +01:00
Bob Weinand
490aa1f984
Use or instead of and for libedit and readline
2014-10-04 16:31:34 +02:00
Dmitry Stogov
2e1b8ba4b7
Moved checks and error reporting related to static methods from DO_FCALL inti INTI_FCALL* opcodes that may really deal with static methods. (In some rare cases it may lead to different order of warning messages).
2014-10-04 14:55:44 +04:00
Anatol Belski
11cf279196
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Fix test gc_029_zts.phpt
Fixed a bug that causes crash when environment variable is access while parsing php.ini
fix asinh delivering -0 when the arg is 0
Mark test for full GC root buffer as XFAIL
Fix two date tests
Mark three foreach tests as XFAIL
reveal some newer libcurl features in MINFO
Fix bug number
Fix bug #68188
Fix bug #68133 and bug #68135
2014-10-04 11:14:01 +02:00
Nikita Popov
f1e21c4979
Fix test gc_029_zts.phpt
...
In ZTS the default properties are duplicated (instead of copied),
so the array has one lower RC than on NTS and as such gets destroyed
during GC, increasing the cycle count by 3. PHP 5.6 didn't always
copy default properties on ZTS, which is where the difference comes
from.
2014-10-04 00:37:15 +02:00
George Wang
2fd7d60ea0
Merge branch 'master' of git.php.net:php-src
2014-10-03 16:43:58 -04:00
George Wang
0e18003374
Merge branch 'PHP-5.6' of git.php.net:php-src into PHP-5.6
2014-10-03 16:43:35 -04:00
George Wang
ef0eed7f5f
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
2014-10-03 16:43:08 -04:00
George Wang
a7d2747890
Fixed a bug that causes crash when environment variable is access while parsing php.ini
2014-10-03 16:42:42 -04:00
George Wang
5b08e56eca
Fixed a bug that causes crash when environment variable is access while parsing php.ini
2014-10-03 16:42:27 -04:00
George Wang
0cc2600ec6
Fixed a bug that causes crash when environment variable is access while parsing php.ini
2014-10-03 16:42:15 -04:00
George Wang
26ff3a4c1e
Fixed a bug that causes crash when environment variable is access while parsing php.ini
2014-10-03 16:41:32 -04:00
Anatol Belski
e9b2340151
fix asinh delivering -0 when the arg is 0
2014-10-03 22:18:21 +02:00
Nikita Popov
b68886f7b5
Mark test for full GC root buffer as XFAIL
2014-10-03 22:02:02 +02:00
Nikita Popov
4e33f40445
Fix two date tests
...
New behavior seems much more reasonable - nothing should be able
to touch the $this value like that.
2014-10-03 22:02:02 +02:00
Nikita Popov
5831cca957
Mark three foreach tests as XFAIL
...
A lot of work is needed to properly handle all foreach edge cases,
which is not going to happen anytime soon. So marking these tests
as XFAIL for now.
2014-10-03 22:02:02 +02:00
Anatol Belski
d2161c8104
reveal some newer libcurl features in MINFO
2014-10-03 21:47:00 +02:00
Nikita Popov
c6b982a55d
Merge branch 'PHP-5.6'
2014-10-03 21:42:35 +02:00
Nikita Popov
56da3638c4
Merge branch 'PHP-5.5' into PHP-5.6
2014-10-03 21:42:28 +02:00
Nikita Popov
d67c05bb89
Fix bug number
2014-10-03 21:41:58 +02:00
Nikita Popov
443374675e
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_object_handlers.c
2014-10-03 21:30:06 +02:00
Nikita Popov
8617f2fa8d
Merge branch 'PHP-5.5' into PHP-5.6
2014-10-03 21:27:07 +02:00
Nikita Popov
93288d0095
Fix bug #68188
2014-10-03 21:26:39 +02:00
Nikita Popov
e7623f470f
Fix bug #68133 and bug #68135
2014-10-03 21:06:26 +02:00
Anatol Belski
ee4ae7fbc3
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
remove the remains of dsp files handling
fix EX usage
remove misprint parentheses
remove misprint parentheses
Replaced EG(This) and EX(object) with EX(This). Internal functions now recieves zend_execute_data as the first argument.
And this one...
It should be in extern c
Remove useless condition
NEWS entry for previous commit
NEWS entry for previous commit
add IPv6 support to php-fpm
Micro optimization for the most frequency case
Add hash to EXTENSIONS file
Remove extensions which are long gone
we also have xz release tarballs since 5.5
Fix ZTS build
improved file size computation in stat()
Fixed incorrect compilation
5.5.19 now
2014-10-03 20:30:49 +02:00
Anatol Belski
1ff094deb4
remove the remains of dsp files handling
2014-10-03 19:38:40 +02:00
Anatol Belski
ea5f6eaf19
fix EX usage
2014-10-03 19:23:34 +02:00
Anatol Belski
647ebe6bf2
remove misprint parentheses
2014-10-03 19:23:33 +02:00
Anatol Belski
55c6737b73
remove misprint parentheses
2014-10-03 19:23:32 +02:00
Dmitry Stogov
bd9a234645
Replaced EG(This) and EX(object) with EX(This).
...
Internal functions now recieves zend_execute_data as the first argument.
2014-10-03 19:32:46 +04:00
Xinchen Hui
5e39d0c19c
And this one...
2014-10-03 19:07:02 +08:00
Bob Weinand
323e59adfc
Added support for a restricted ev (variables only) in async safe contexts
2014-10-03 12:43:32 +02:00
Xinchen Hui
aa5f937958
It should be in extern c
2014-10-03 18:35:57 +08:00
Xinchen Hui
f54f5368e4
Merge branch 'master' of https://git.php.net/repository/php-src
2014-10-03 18:35:18 +08:00
Xinchen Hui
54bad8bf57
Remove useless condition
2014-10-03 18:35:05 +08:00
Ferenc Kovacs
e13e305b93
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS entry for previous commit
NEWS entry for previous commit
add IPv6 support to php-fpm
2014-10-03 11:40:05 +02:00
Ferenc Kovacs
79e05bf557
NEWS entry for previous commit
2014-10-03 11:39:53 +02:00
Ferenc Kovacs
200e407b24
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS entry for previous commit
add IPv6 support to php-fpm
2014-10-03 11:39:09 +02:00
Ferenc Kovacs
25e65a7599
NEWS entry for previous commit
2014-10-03 11:38:32 +02:00
Robin Gloster
15ba757a2b
add IPv6 support to php-fpm
2014-10-03 11:35:27 +02:00
Dmitry Stogov
5c63a4f72b
Micro optimization for the most frequency case
2014-10-03 12:18:15 +04:00
Sara Golemon
1fab968a90
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add hash to EXTENSIONS file
2014-10-02 18:55:39 -07:00
Sara Golemon
f41a7b926a
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Add hash to EXTENSIONS file
2014-10-02 18:55:29 -07:00
Sara Golemon
2cf94189a2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Add hash to EXTENSIONS file
2014-10-02 18:55:14 -07:00
Sara Golemon
4e7b31a0db
Add hash to EXTENSIONS file
2014-10-02 18:54:46 -07:00
Johannes Schlüter
1721bbedab
Remove extensions which are long gone
2014-10-03 02:12:09 +02:00
Bob Weinand
8af0870d72
Made some functions async safe and provide interactive shell in signal handler
...
Fixes also (as a side-effect) a possible bug in list function when included files become unreachable after loading by caching the file contents
This is already pretty stable; a (restricted) ev and sh may follow.
2014-10-03 01:29:41 +02:00
Ferenc Kovacs
26c5143a7f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
we also have xz release tarballs since 5.5
5.5.19 now
2014-10-02 22:33:10 +02:00
Ferenc Kovacs
7a529790b2
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
we also have xz release tarballs since 5.5
5.5.19 now
Conflicts:
configure.in
main/php_version.h
2014-10-02 22:32:18 +02:00
Ferenc Kovacs
d7b01aff89
we also have xz release tarballs since 5.5
2014-10-02 22:28:19 +02:00
Nikita Popov
51c90e999f
Fix ZTS build
2014-10-02 21:58:29 +02:00
Anatol Belski
c41fbcfb4c
improved file size computation in stat()
...
On 32 bit it's still overwlowing, so nothing is changed there. But
the usage of LARGE_INTEGER instead of bit shifting is a better way
to go.
2014-10-02 12:18:02 +02:00
Dmitry Stogov
ccb24caa6d
Fixed incorrect compilation
2014-10-02 13:37:44 +04:00
Bob Weinand
7911b6405c
Remove accidental insertion of a single "s"
2014-10-02 11:18:36 +02:00
Anatol Belski
45e23645a4
linux compat for the static tsrm ls cache pointer
2014-10-02 08:45:53 +02:00
Anatol Belski
f5292fbe51
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Expose zend_throw_exception_internal()
Use inline finction for OBJ_RELEASE() macro
update NEWS about the release date of 5.6.1
only no_NO.ISO-8859-1 have to be ignored
remove bogus locale use from test
use $PHP_LIBDIR instread of "lib" in skel example
Removed zend_execute_data->prev_nested_call. Reuse prev_execute_data instead.
2014-10-01 22:05:51 +02:00
Anatol Belski
76081df168
using pointer to the tsrm ls cache instead of a function call
...
yet another approach
2014-10-01 22:04:21 +02:00
Anatol Belski
c161b95cdf
increment Zend module API number
2014-10-01 17:14:53 +02:00
Julien Pauli
cfe8a8b968
5.5.19 now
2014-10-01 16:16:05 +02:00
Dmitry Stogov
c4419e7a5b
Expose zend_throw_exception_internal()
2014-10-01 16:37:21 +04:00
Dmitry Stogov
8857af8494
Use inline finction for OBJ_RELEASE() macro
2014-10-01 16:35:56 +04:00
Ferenc Kovacs
d1cfc0b899
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS about the release date of 5.6.1
2014-10-01 11:16:40 +02:00
Ferenc Kovacs
26f4e40622
update NEWS about the release date of 5.6.1
2014-10-01 11:15:59 +02:00
Remi Collet
26a5627cc6
only no_NO.ISO-8859-1 have to be ignored (merged)
2014-10-01 10:15:13 +02:00
Remi Collet
3e6f176733
only no_NO.ISO-8859-1 have to be ignored
2014-10-01 10:14:14 +02:00
krakjoe
7cbd8f8b8a
remove bogus locale use from test
2014-10-01 10:12:06 +02:00
Remi Collet
bd8d73ff45
Merge branch 'PHP-5.6'
...
* PHP-5.6:
use $PHP_LIBDIR instread of "lib" in skel example
2014-10-01 09:27:18 +02:00
Remi Collet
f584b67eaa
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
use $PHP_LIBDIR instread of "lib" in skel example
2014-10-01 09:26:46 +02:00
Remi Collet
7319298ffe
use $PHP_LIBDIR instread of "lib" in skel example
2014-10-01 09:26:21 +02:00
Dmitry Stogov
9f7564b12b
Removed zend_execute_data->prev_nested_call. Reuse prev_execute_data instead.
2014-10-01 10:46:13 +04:00
Anatol Belski
24f9c924d7
prepare some macros to use tsrm cache as pointer
...
instead of a function call
2014-09-30 19:16:23 +02:00
Anatol Belski
d624b0d5eb
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (26 commits)
Micro optimization
Drop unused INIT_STRING opcode
Drop unused RAISE_ABSTRACT_ERROR opcode
CT substitute unqualified true/false/null in namespaces
Fix a couple compile warnings
fix test filename
one more test to illustrate transfer of an arbitrary data amount throug pipes
fix tests on linux
better test cleanup
Use more readable inline functions
increase the polling period to not to break existing behaviours
updated NEWS
Fixed bug #51800 proc_open on Windows hangs forever
Fixed segfault
Set an LDAP error code when failing ldap_bind due to null bytes
Fix segmentation fault in debug_backtrace()
Drop support for GMP 4.1
Make gmp_setbit and gmp_clrbit return values consistent
removed *.dsw and *.dsp files
Opcache compatibility for coalesce operator
...
2014-10-01 01:33:46 +02:00
Anatol Belski
9f9b3585b9
revert the local speedup approach
2014-10-01 01:33:01 +02:00
Paulo Eduardo
17759439d7
Test PHP Init Fail Without Params
2014-09-30 08:56:46 -03:00
Dmitry Stogov
63dc9bbc02
Micro optimization
2014-09-30 15:19:51 +04:00
Nikita Popov
67a11b61cd
Drop unused INIT_STRING opcode
...
INIT_STRING has been implemented as an UNUSED op1 to ADD_* for
some time now.
2014-09-29 22:59:57 +02:00
Nikita Popov
290d71de75
Drop unused RAISE_ABSTRACT_ERROR opcode
...
Abstract methods are being prevented from being called in DO_FCALL
etc.
2014-09-29 22:50:56 +02:00
Nikita Popov
ab288b01d5
CT substitute unqualified true/false/null in namespaces
...
Substituation now always happens on the resolved name and
unqualified usages of true/false/null in namespaced code are
substituted as well.
2014-09-29 21:18:12 +02:00
Nikita Popov
142a01db92
Fix a couple compile warnings
2014-09-29 20:57:17 +02:00
Anatol Belski
e46187daf5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test filename
2014-09-29 20:31:02 +02:00
Anatol Belski
df4d559881
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix test filename
2014-09-29 20:30:43 +02:00
Anatol Belski
7f1239232e
fix test filename
2014-09-29 20:30:18 +02:00
Anatol Belski
a81a392117
Merge branch 'PHP-5.6'
...
* PHP-5.6:
one more test to illustrate transfer of an arbitrary data amount throug pipes
2014-09-29 20:19:51 +02:00
Anatol Belski
cc3849f039
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
one more test to illustrate transfer of an arbitrary data amount throug pipes
2014-09-29 20:19:31 +02:00
Anatol Belski
1a2a8c6d4e
one more test to illustrate transfer of an arbitrary data amount throug pipes
2014-09-29 20:18:33 +02:00
Anatol Belski
6090c3cf83
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix tests on linux
better test cleanup
2014-09-29 18:13:16 +02:00
Anatol Belski
70ff3ad7d1
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix tests on linux
better test cleanup
2014-09-29 18:12:56 +02:00
Anatol Belski
859913f6d4
fix tests on linux
2014-09-29 18:12:25 +02:00
Anatol Belski
91d3cd8559
better test cleanup
...
and even force the XFAIL to fail as it would take too long anyway, even if it passes
2014-09-29 18:11:06 +02:00
Dmitry Stogov
e15be6c8cd
Use more readable inline functions
2014-09-29 19:41:00 +04:00
Anatol Belski
b428dc761d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
increase the polling period to not to break existing behaviours
2014-09-29 17:29:00 +02:00
Anatol Belski
231a311ecb
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
increase the polling period to not to break existing behaviours
2014-09-29 17:28:27 +02:00
Anatol Belski
46aa2c396b
increase the polling period to not to break existing behaviours
2014-09-29 17:27:24 +02:00
Anatol Belski
78e23758b7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #51800 proc_open on Windows hangs forever
Conflicts:
main/streams/plain_wrapper.c
2014-09-29 16:30:40 +02:00
Anatol Belski
7e16bb263f
updated NEWS
2014-09-29 16:28:12 +02:00
Anatol Belski
87a37f4090
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed bug #51800 proc_open on Windows hangs forever
2014-09-29 16:27:33 +02:00
Anatol Belski
0c982798e0
Fixed bug #51800 proc_open on Windows hangs forever
...
This loop can block for some minutes, theoretically. Practially
however, this is a 99% non issue for a normal use case. This is
required because read() is synchronous. The PHP streams API wants
to fill its internal buffers, therefore it might try to read some
more data than user has demanded. Also, for a case where we want
to read X bytes, but neither enough data nor EOF arrives, read()
will block until it could fill the buffer. If a counterpart station
runs slowly or delivers not all the data at once, read() would
still be waiting. If we quit too early, we possibly could loose
some data from the pipe. Thus it has to emulate the read()
behaviour, but obviously not completely, just to some grade.
Reading big data amount is for sure an issue on any platforms, it
depends on the pipe buffer size, which is controlled by the system.
On Windows, the buffer size seems to be way too small, which causes
buffer congestion and a dead lock. It is essential to read the pipe
descriptors simultaneously and possibly in the same order as the
opposite writes them.
Thus, this will work with smaller buffer data sizes passed through
pipes. As MSDN states, anonymous pipes don't support asynchronous
operations. Neither anonymous pipes do support select() as they are
not SOCKETs but file descriptors. Consequently - bigger data sizes
will need a better solution based on threads. However it is much
more expencive. Maybe a better solution could be exporting a part
of the internal doing as a userspace function which could perform
some kind of lookahead operation on the pipe descriptor.
This is just the first stone, depending on the user feedback we
might go for further improvements in this area.
2014-09-29 16:24:34 +02:00
Sebastian Brandt
0dbf6ac28b
added missing INSTALL_ROOT
2014-09-29 09:53:26 +02:00
Xinchen Hui
f248b17e07
Fixed segfault
2014-09-29 12:06:56 +08:00
Pedro MFA Evangelista
2c6ecbbea1
Add my information to this test
2014-09-28 23:25:47 -03:00
Pedro MFA Evangelista
8cd23d49db
Add a test for the exception cases of readline_read_history
2014-09-28 23:25:47 -03:00
Rodrigo Prado de Jesus
d89b1dad8a
added some tests to datetime and dateinterval functions
2014-09-28 20:30:52 -03:00
Rodrigo Prado de Jesus
813830e763
added various tests for XSLTProcessor and one test for iconv extension
2014-09-28 20:29:29 -03:00
Rodrigo Wanderley de Melo Cardoso
c0b83ba2be
teste basico da funcao timezone_version_get
2014-09-28 19:03:32 -03:00
Stanislav Malyshev
3fd8a76f26
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Set an LDAP error code when failing ldap_bind due to null bytes
Conflicts:
ext/ldap/ldap.c
2014-09-28 12:28:30 -07:00
Stanislav Malyshev
a8e84b1b21
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Set an LDAP error code when failing ldap_bind due to null bytes
2014-09-28 12:25:49 -07:00
Stanislav Malyshev
ef39f40445
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Set an LDAP error code when failing ldap_bind due to null bytes
2014-09-28 12:25:24 -07:00
Matthew Daley
fcbe20d357
Set an LDAP error code when failing ldap_bind due to null bytes
...
Some applications check a LDAP link's error code after seeing ldap_bind
fail due to a null byte bind attempt and hence incorrectly receive the
last set error code.
Fix by setting an LDAP error code before returning in this case.
2014-09-28 12:23:52 -07:00
Timm Friebe
e14b7f629b
Fix segmentation fault in debug_backtrace()
2014-09-28 20:58:55 +02:00
Nikita Popov
bb0c142156
Drop support for GMP 4.1
...
* Consistent base conversion support (max: 62)
* mpz_remroot always available
* Use gmp_randinit_mt instead of LCG
2014-09-28 20:46:22 +02:00
Leigh
581c86c07f
Make gmp_setbit and gmp_clrbit return values consistent
2014-09-28 20:18:14 +02:00
Anatol Belski
4b3e198023
removed *.dsw and *.dsp files
2014-09-28 19:02:09 +02:00
Sobak
c370435f89
Update comments in php.ini
2014-09-28 12:44:40 +02:00
Nikita Popov
5bd34be604
Opcache compatibility for coalesce operator
2014-09-28 12:31:52 +02:00
Nikita Popov
877eb02fd6
Update operand types for coalesce operator
2014-09-28 12:20:04 +02:00
Bob Weinand
b183494f37
Send a \x03 during execution to interrupt (POSIX only)
2014-09-28 02:57:12 +02:00
Andrea Faulds
2d069f640e
Merge branch 'coalesce_operator'
...
* coalesce_operator:
Extended coalesce operator test case for ordering/short-circuiting
Ensure not evaluated twice
Added test
Initial coalesce operator implementation
2014-09-28 00:07:04 +01:00
vagrant
5c6ca24dc0
Merge branch 'master' into catchable-fatals/methods-on-non-objects
2014-09-27 17:49:54 +00:00
krakjoe
7d4f7c04b3
approach local pointers in performance sensitive areas
2014-09-27 17:11:56 +01:00
krakjoe
3e5dd17dad
remove fetches in readline
2014-09-27 16:13:28 +01:00
Johannes Schlüter
f13da5b0d7
Merge branch 'PHP-5.6'
2014-09-27 02:18:54 +02:00
Johannes Schlüter
16b4167fdd
Merge branch 'PHP-5.5' into PHP-5.6
2014-09-27 02:18:29 +02:00
Johannes Schlüter
e6105ffb22
Merge branch 'PHP-5.4' into PHP-5.5
2014-09-27 02:17:52 +02:00
Johannes Schlüter
2711948d14
This test should pass
2014-09-27 02:17:26 +02:00
Florian MARGAINE
9469db9311
DOMNodeList elements are accessible through array notation
...
Fixes #67949
2014-09-27 01:27:46 +02:00
Anatol Belski
ed6f24b92e
cleanup TSRMLS_FETCH in ext/opcache
2014-09-26 21:50:27 +02:00
Anatol Belski
8a7c8d2213
cleanup TSRMLS_FETCH
2014-09-26 21:39:29 +02:00
Anatol Belski
de426f7677
cleanup TSRMLS_FETCH in ext/gd
2014-09-26 21:34:22 +02:00
Anatol Belski
3bcf830099
cleanup TSRMLS_FETCH
2014-09-26 21:32:24 +02:00
Anatol Belski
26e5f9bab7
cleanup TSRMLS_FETCH in ext/fileinfo
2014-09-26 21:30:22 +02:00
Anatol Belski
86ef4876cd
cleanup TSRMLS_FETCH in openssl
2014-09-26 21:27:11 +02:00
Anatol Belski
8f0301ddf6
cleanup TSRMLS_FETCH in ext/pcntl
2014-09-26 21:24:41 +02:00
Anatol Belski
f7e09105d8
cleanup TSRMLS_FETCH in ext/pdo*
2014-09-26 21:23:23 +02:00
Anatol Belski
784f5bb6a2
cleaunp TSRMLS_FETCH in ext/pgsql
2014-09-26 21:19:28 +02:00
Anatol Belski
fa2b009df7
cleanup TSRMLS_FETCH in ext/phar
2014-09-26 21:16:38 +02:00
Anatol Belski
2edcd125d7
cleanup TSRMLS_FETCH in ext/session
2014-09-26 21:15:21 +02:00
Anatol Belski
af38111a85
more TSRMLS_FETCH cleanup in ext/soap
2014-09-26 21:13:47 +02:00
Anatol Belski
4fe9395678
cleanup TSRMLS_FETCH in ext/soap
2014-09-26 21:12:31 +02:00
Anatol Belski
169701a64c
cleanup TSRMLS_FETCH in ext/sockets
2014-09-26 21:09:15 +02:00
Anatol Belski
283609e3d6
cleanup TSRMLS_FETCH in ext/standard
2014-09-26 21:05:55 +02:00
Anatol Belski
6b9a26fb65
cleanup TSRMLS_FETCH in ext/xmlrpc
2014-09-26 21:01:43 +02:00
Anatol Belski
9b025fbe91
cleanup TSRMLS_FETCH
2014-09-26 20:59:58 +02:00
Anatol Belski
ef414c126d
cleanup TSRMLS_FETCH in wddx
2014-09-26 20:58:36 +02:00
Anatol Belski
42ddd5f314
cleanup TSRMLS_FETCH in ext/xml
2014-09-26 20:57:14 +02:00
Anatol Belski
e48b196505
cleanup tsrm_ls
2014-09-26 20:52:57 +02:00
Anatol Belski
75964594a2
drop TSRMLS_FETCH in xsl
2014-09-26 20:49:00 +02:00
Anatol Belski
57dbe02364
drop unused tsrm_ls
2014-09-26 20:48:41 +02:00
Anatol Belski
d1c4fd934a
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
- Updated to version 2014.8 (2014h)
fix date
update NEWS
Revert xp_ssl.c to the state of 5.4.32 due to regressions
2014-09-26 17:49:47 +02:00
Derick Rethans
06a9a74d17
Merge branch 'PHP-5.6'
2014-09-26 16:27:09 +01:00
Derick Rethans
71c39612d5
Merge branch 'PHP-5.5' into PHP-5.6
2014-09-26 16:27:05 +01:00
Derick Rethans
5d299509b4
Merge branch 'PHP-5.4' into PHP-5.5
2014-09-26 16:27:00 +01:00
Derick Rethans
16e2d954fc
- Updated to version 2014.8 (2014h)
2014-09-26 16:26:59 +01:00
Anatol Belski
c032299d4f
cleanup TSRMLS_FETCH in com
2014-09-26 13:30:10 +02:00
Anatol Belski
d6096f6036
cleanup TSRMLS_FETCH in win32
2014-09-26 13:30:08 +02:00
krakjoe
7ceff7780e
remove fetches from mysqlnd
2014-09-26 11:28:37 +01:00
krakjoe
e1eb8fc257
remove fetches from mysqli
2014-09-26 11:27:04 +01:00
krakjoe
216c6b0f13
remove fetches from libxml
2014-09-26 11:25:10 +01:00
krakjoe
4eed761d0e
remove fetch from ldap
2014-09-26 11:23:18 +01:00
krakjoe
7f741c8158
remove fetches from imap
2014-09-26 11:22:12 +01:00
krakjoe
bab487d69d
remove fetches from gd
2014-09-26 11:19:00 +01:00
krakjoe
f0f583f757
remove fetch from dom
2014-09-26 11:12:45 +01:00
krakjoe
6d548bac93
Merge branch 'native-tls' of https://github.com/php/php-src into native-tls
2014-09-26 11:11:47 +01:00
krakjoe
10c8daf165
remove fetch from dba
2014-09-26 11:11:33 +01:00
Anatol Belski
aa627174ec
cleanup direct tsrm_ls passing
2014-09-26 12:11:08 +02:00
Anatol Belski
14eefc82b5
cleanup after the removed PHP_OUTPUT_TSRMLS
2014-09-26 12:11:07 +02:00
krakjoe
2928dd600f
remove fetches from date
2014-09-26 11:10:10 +01:00
krakjoe
aee0fefedf
Merge branch 'native-tls' of https://github.com/php/php-src into native-tls
2014-09-26 11:07:57 +01:00
krakjoe
7d36a1a841
remove fetches from curl
2014-09-26 11:07:43 +01:00
Anatol Belski
f790036711
some cleanups for TSRMLS_FETCH and direct tsrm_ls usage in main
2014-09-26 11:06:58 +02:00
krakjoe
52fa340902
remove fetches
2014-09-26 09:37:15 +01:00
krakjoe
dccb50436d
Merge branch 'native-tls' of https://github.com/php/php-src into native-tls
2014-09-26 09:24:16 +01:00
krakjoe
21b6d15599
remove unused fetch
2014-09-26 09:23:50 +01:00
Stanislav Malyshev
c09b1b9b88
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix date
update NEWS
Revert xp_ssl.c to the state of 5.4.32 due to regressions
2014-09-26 01:02:38 -07:00
Stanislav Malyshev
b465f00d42
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix date
update NEWS
Revert xp_ssl.c to the state of 5.4.32 due to regressions
2014-09-26 01:01:39 -07:00
Stanislav Malyshev
00e99dcafd
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
update NEWS
Revert xp_ssl.c to the state of 5.4.32 due to regressions
Conflicts:
ext/openssl/xp_ssl.c
2014-09-26 01:00:20 -07:00
Anatol Belski
7d11d66957
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
NEWS
NEWS
Fixed bug #68103 Dupplicate entry in Reflection
Fixed optimizer bug
fix C89 compat
fix indentation
fix zts build
Use macro
Optimized (PRE|POST)_(INC|DEC) handlers. Moved proxy object handling into helper function.
Conflicts:
Zend/zend_operators.c
2014-09-26 10:00:10 +02:00
Anatol Belski
06d0230a0f
cleanup TSRMLS_FETCH
2014-09-26 09:58:19 +02:00
Stanislav Malyshev
2bfe92c90f
fix date
2014-09-26 00:56:39 -07:00
Stanislav Malyshev
28ed0119ac
update NEWS
2014-09-26 00:55:49 -07:00
Stanislav Malyshev
408b172017
Revert xp_ssl.c to the state of 5.4.32 due to regressions
2014-09-26 00:44:24 -07:00
Anatol Belski
1b9e905f43
cleanup TSRMLS_FETCH in ext/sqlite3
2014-09-26 09:38:12 +02:00
Remi Collet
ed59fa3a0d
Fixed bug #68103 Dupplicate entry in Reflection (merged)
2014-09-26 09:28:02 +02:00
Remi Collet
d19356948a
NEWS
2014-09-26 09:07:12 +02:00
Remi Collet
97cab239d7
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed bug #68103 Dupplicate entry in Reflection
2014-09-26 09:06:51 +02:00
Remi Collet
bf046d6d66
NEWS
2014-09-26 09:06:12 +02:00
Remi Collet
efa7f87de4
Fixed bug #68103 Dupplicate entry in Reflection
...
$ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());'
Array
(
[0] => Threaded
[1] => stackable
[2] => Thread
[3] => Worker
[4] => Mutex
[5] => Cond
[6] => Collectable
[7] => Pool
)
In getClasses() output, it is possible to compare key (ex "stackable")
with $obj->name (ex "Threaded") to detect class alias.
...
[Threaded] => ReflectionClass Object
(
[name] => Threaded
)
[stackable] => ReflectionClass Object
(
[name] => Threaded
)
...
2014-09-26 08:56:42 +02:00
Dmitry Stogov
bd76544e15
Fixed optimizer bug
2014-09-26 01:37:33 +04:00
Bob Weinand
aeb7508959
Fix typo: inactivee => inactive
2014-09-25 22:01:31 +02:00
Timm Friebe
0a9e207a77
zend_uint -> uint32_t
2014-09-25 21:42:19 +02:00
Bob Weinand
6e698f1fa5
Push first draft of xml protocol documentation
2014-09-25 21:26:57 +02:00
Bob Weinand
7beb17f2fd
Make set commands more consistent
2014-09-25 21:25:18 +02:00
Anatol Belski
c1e92d9fed
fix C89 compat
2014-09-25 20:28:34 +02:00
Anatol Belski
31cc63b1a4
fix some extension builds
2014-09-25 20:02:48 +02:00
Timm Friebe
e83580c1f0
Merge branch 'master' into catchable-fatals/methods-on-non-objects
2014-09-25 19:45:05 +02:00
Anatol Belski
83fac1855f
fix signature
2014-09-25 19:30:39 +02:00
Anatol Belski
ef6e9386e3
remove some remains from the old patch
2014-09-25 19:27:36 +02:00
Anatol Belski
d11734b4b0
reworked the patch, less new stuff but worky
...
TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but
- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed
What is done merely is
- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later
Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.
The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.
2014-09-25 18:48:27 +02:00
krakjoe
eabad90acb
fix indentation
2014-09-25 16:31:39 +01:00
krakjoe
abdc8c3061
fix zts build
2014-09-25 16:15:02 +01:00
Bob Weinand
1ad0287499
Make phpdbg_prompt.c xml messages more consistent
2014-09-25 15:28:25 +02:00
Dmitry Stogov
1833ab0230
Use macro
2014-09-25 17:00:17 +04:00
Dmitry Stogov
8b034ec69a
Optimized (PRE|POST)_(INC|DEC) handlers. Moved proxy object handling into helper function.
2014-09-25 13:42:46 +04:00
Bob Weinand
c30c40c359
Make print command xml output more consistent
2014-09-25 02:04:12 +02:00
Bob Weinand
5ba53cac06
Fix tests
2014-09-25 01:29:08 +02:00
Bob Weinand
67787d7b6d
Merge branch 'master' into xml-protocol
...
Conflicts:
phpdbg_utils.c
2014-09-25 01:22:33 +02:00
Bob Weinand
a4c4c3593b
Fix test after adding script ended notice
2014-09-25 00:59:17 +02:00
Bob Weinand
2bd1a74690
Always add a newline before a warning or a notice
2014-09-25 00:55:17 +02:00
Bob Weinand
abafb7b4f9
Better naming in list command and inform about filename
2014-09-25 00:22:58 +02:00
Bob Weinand
9bd171888b
Use more consistent naming in info command for xml protocol
2014-09-25 00:21:27 +02:00
Leigh
adf8f0f284
Address issues raised by @nikic
...
- Thread safety on rand init function.
- Ret false on validation failure
- Add _dep of temp_a to temp_b
- Special case int sized min values
- More tests!
2014-09-24 22:01:09 +01:00
Anatol Belski
a2dd606942
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (31 commits)
Fixed C++ incompatibility
update the certificate used for the test, as it expired recently
Fixed immutable arrays support
Fix counting of "R:" references in serialize()
Remove dead code
Test use($this) being an error
Move list() condition into assign_znode
typo
NEWS
Fix bug #68074 Allow to use system cipher list instead of hardcoded value
Avoid double checks
the order of the blocks should be Core, then exts in alphabetical order
add missing NEWS entry for the phpdbg compilation fix
add NEWS entry for #68088
Make QM_ASSIGN, JMP_SET and CAST return IS_TMP_VAR.
Removed useless helper
Drop unused result argument
Fix ct binding for cuf/cufa functions
Fix detection of write to built-in function for references
Test use of string names with \ prefix
...
2014-09-24 21:39:49 +02:00
Anatol Belski
70077d84e9
check che right thing to prevent the crash in the timeout thread
...
Though this seems to be a dead end, the lines CG(timed_out) = 0; looks
like will never be executed in the TS build. Or at least it'll be executed
by luck when the scheduler has decided to let the master thread run for
longer. NTS should be fine with that however.
2014-09-24 20:44:37 +02:00
Dmitry Stogov
6a09bdff6a
Fixed C++ incompatibility
2014-09-24 20:31:22 +04:00
Ferenc Kovacs
702829dff5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update the certificate used for the test, as it expired recently
2014-09-24 13:42:32 +02:00
Ferenc Kovacs
d27f3e7b64
update the certificate used for the test, as it expired recently
2014-09-24 13:40:52 +02:00
Dmitry Stogov
8ea2409e44
Fixed immutable arrays support
2014-09-24 15:39:54 +04:00
Nikita Popov
75860fa8e1
Fix counting of "R:" references in serialize()
2014-09-24 12:06:19 +02:00
Nikita Popov
c45924b954
Remove dead code
2014-09-24 12:06:19 +02:00
Nikita Popov
1664e70ade
Test use($this) being an error
2014-09-24 12:06:19 +02:00
Nikita Popov
3e042e1f83
Move list() condition into assign_znode
...
The condition in compile_foreach was using ->attr instead of ->kind
and as such never passed. It only worked because assign_znode already
supported this case by indirecting via zend_compile_assign. Now it
implements it with a direct call.
2014-09-24 12:06:18 +02:00
Remi Collet
5a051e8a1a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
typo
2014-09-24 10:42:31 +02:00
Remi Collet
44921ca75d
typo
2014-09-24 10:42:20 +02:00
Remi Collet
d3bb0ba39f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix bug #68074 Allow to use system cipher list instead of hardcoded value
2014-09-24 10:36:58 +02:00
Remi Collet
8d2de21b1c
NEWS
2014-09-24 10:36:29 +02:00
Remi Collet
0d776ef87b
Fix bug #68074 Allow to use system cipher list instead of hardcoded value
2014-09-24 10:34:55 +02:00
Dmitry Stogov
73275a55f5
Avoid double checks
2014-09-24 12:20:46 +04:00
Ferenc Kovacs
7134f19ba2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
the order of the blocks should be Core, then exts in alphabetical order
add missing NEWS entry for the phpdbg compilation fix
2014-09-24 09:41:02 +02:00
Ferenc Kovacs
213d9ee62d
the order of the blocks should be Core, then exts in alphabetical order
2014-09-24 09:40:52 +02:00
Ferenc Kovacs
8673394ecc
add missing NEWS entry for the phpdbg compilation fix
2014-09-24 09:39:14 +02:00
Ferenc Kovacs
9972446b2a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add NEWS entry for #68088
2014-09-24 09:10:31 +02:00
Ferenc Kovacs
60dda65306
add NEWS entry for #68088
2014-09-24 09:09:34 +02:00
Leigh
3e9a31748d
Make sure min < max
2014-09-24 07:56:46 +01:00
Anatol Belski
aa8c424e0f
call ctor if it's not done yet
2014-09-24 02:11:05 +02:00
Leigh
acd7fcf55f
Mersenne Twister was added in GMP 4.2
2014-09-23 23:16:26 +01:00
Dmitry Stogov
58a41cf795
Make QM_ASSIGN, JMP_SET and CAST return IS_TMP_VAR.
2014-09-24 01:57:40 +04:00
Leigh
31e27fc89a
Add test files
2014-09-23 22:54:40 +01:00
Leigh
831bb9260c
Add gmp_random_bits(bits) and gmp_random_range(min, max)
2014-09-23 22:12:23 +01:00
Dmitry Stogov
e8612b72ee
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Drop unused result argument
Fix ct binding for cuf/cufa functions
Fix detection of write to built-in function for references
Test use of string names with \ prefix
Add zend_add_literal_string
Drop dead code
2014-09-23 23:27:20 +04:00
Dmitry Stogov
d429e87d18
Removed useless helper
2014-09-23 23:26:39 +04:00
Nikita Popov
4a221bd881
Drop unused result argument
2014-09-23 21:04:30 +02:00
Nikita Popov
67a5ca6697
Fix ct binding for cuf/cufa functions
...
It was checking against the wrong AST kind, so the binding was
never actually done.
2014-09-23 21:02:32 +02:00
Leigh
3d6d863ccb
Change GMPs default PRNG to Mersenne Twister
...
Since we don't allow users to seed the RNG, there is no BC issue with changing the generator.
2014-09-23 19:51:56 +01:00
Nikita Popov
9070eb38e9
Fix detection of write to built-in function for references
2014-09-23 20:42:22 +02:00
Nikita Popov
231dcc94e8
Test use of string names with \ prefix
...
And drop piece of dead code
2014-09-23 20:36:00 +02:00
Nikita Popov
182ddfeaf2
Add zend_add_literal_string
...
And simplify additional of special literals based on it.
2014-09-23 20:21:28 +02:00
Nikita Popov
4571271de1
Drop dead code
2014-09-23 19:32:02 +02:00
Bob Weinand
3b81337f80
Fix accidental short-circuiting when comparing fds (& warnings)
2014-09-23 18:29:36 +02:00
Andrea Faulds
ec39802e4e
Extended coalesce operator test case for ordering/short-circuiting
2014-09-23 16:28:02 +01:00
Anatol Belski
58a2b05d7b
fix indent
2014-09-23 17:14:41 +02:00
Bob Weinand
79ea51f360
Use consistently "num" for an nth opline number
2014-09-23 17:04:39 +02:00
Bob Weinand
beb9520039
Merge branch 'master' into xml-protocol
...
Conflicts:
phpdbg_prompt.c
2014-09-23 16:51:18 +02:00
Bob Weinand
92fe2d0a85
Add info globals command
2014-09-23 16:48:37 +02:00
Dmitry Stogov
06103d65b1
Use zval_ptr_dtor_nogc() to free IS_TMP_VAR operands.
...
Removed ZEND_SWITCH_FREE opcode (ZEND_FREE used instead).
2014-09-23 17:21:29 +04:00
krakjoe
6a5c006827
correct macro
2014-09-23 12:46:16 +01:00
krakjoe
00320cae83
Merge branch 'native-tls' of https://github.com/php/php-src into native-tls
2014-09-23 12:45:13 +01:00
krakjoe
51901c9fb4
swap some standard module properties _ex for std mod properties
2014-09-23 12:44:46 +01:00
Bob Weinand
e2329bc704
Add notification at script end
2014-09-23 13:04:53 +02:00
Tjerk Meesters
b2795700cc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed typo
2014-09-23 18:12:12 +08:00
Tjerk Meesters
1765548bce
PR 837: Fixed typo in php.ini-development and php.ini-production
...
Fixed typo in comment for 'mbstring.detect_order'
2014-09-23 18:10:32 +08:00
Dmitry Stogov
7cef08c5d1
Allocate copies of internal functions inherited in user classes at CG(arena), instead of permanent heap (malloc).
2014-09-23 12:35:42 +04:00
Dmitry Stogov
1e831439a5
Make internal function names to be interned strings
2014-09-23 12:35:16 +04:00
Xinchen Hui
e029042c36
It is not likely a string
2014-09-23 13:50:00 +08:00
Sebastian Zartner
876792c756
Fixed typo
2014-09-23 07:45:03 +02:00
Xinchen Hui
22fbfdfb8e
Simply make_printable_zval
...
it's possible to remove make_printable_zval at all
but it will be a API break
2014-09-23 12:56:59 +08:00
Anatol Belski
bec9fd7917
define explicit export/impot spec
2014-09-23 01:22:58 +02:00
Nikita Popov
75533c9b23
Test a few more error conditions in the compiler
2014-09-23 00:57:00 +02:00
Nikita Popov
51119054ff
Test error conditions for ct class const refs
...
And fix a bug found while doing so...
2014-09-23 00:40:17 +02:00
Anatol Belski
7099736dfa
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
Fix tests/serialize/bug64146.phpt
Remove zend_dynamic_array
Remove static allocator
Fixed typo
Fix list() destructuring to special variables
Remove php_varname_check
Avoid useless reference counting
Specialization (only IS_VAR ad IS_CV operands may be references)
Optimized unset()
Make error paths to be UNEXPECTED
Replace IS_OP?_TMP_FREE() with more clear (OP?_TYPE == IS_TMP_VAR)
2014-09-23 00:32:48 +02:00
Nikita Popov
c0c431b702
Test some additional cases for constexpr evaluation
2014-09-23 00:31:38 +02:00
Andrea Faulds
820a464f1d
Mark said ext/date tests as 32-bit only
2014-09-22 23:01:08 +01:00
Nikita Popov
8be73f2650
Fix tests/serialize/bug64146.phpt
...
The var hash now retains a reference to its elements, to ensure
that addresses are not reused.
Furthermore the var hash now only stores objects and references
and directly uses their pointer as key, thus making serialization
about two times faster.
2014-09-22 23:48:31 +02:00
Andrea Faulds
a401db2272
Fixed ext/date tests broken by zpp error on overflow
2014-09-22 22:47:28 +01:00
Nikita Popov
982f02afe6
Remove zend_dynamic_array
...
This was introduced back in 2000 to test a new hashtable
implementation and is no longer used.
2014-09-22 23:45:13 +02:00
Nikita Popov
02bb637bb8
Remove static allocator
...
We didn't even compile this file anymore
2014-09-22 23:45:13 +02:00
Bob Weinand
7f9e036077
Fix breakpoints and listing
2014-09-22 23:28:07 +02:00
Dmitry Stogov
d244d3bbf1
Fixed typo
2014-09-23 01:04:47 +04:00
Anatol Belski
4db75dc853
basic windows fix
2014-09-22 20:58:45 +02:00
Nikita Popov
f30f28ec47
Fix list() destructuring to special variables
2014-09-22 18:34:40 +02:00
Nikita Popov
483697617f
Remove php_varname_check
...
This is a leftover from PHP < 5.4.
Also removed the php_create_empty_class declaration, which no longer
exists.
2014-09-22 18:34:40 +02:00
Andrea Faulds
25eb496763
Fixed broken tests
2014-09-22 17:33:56 +01:00
Andrea Faulds
bb55397bab
Make zpp fail if NaN passed for int, or out-of-range float for non-capping int
2014-09-22 17:06:16 +01:00
Dmitry Stogov
0c0d43bd4e
Avoid useless reference counting
2014-09-22 17:52:38 +04:00
Dmitry Stogov
826abe9d62
Specialization (only IS_VAR ad IS_CV operands may be references)
2014-09-22 16:17:35 +04:00
Dmitry Stogov
a057f060e8
Optimized unset()
2014-09-22 14:41:44 +04:00
Dmitry Stogov
9c0fa4106c
Make error paths to be UNEXPECTED
2014-09-22 13:18:49 +04:00
Dmitry Stogov
2c8ac3a252
Replace IS_OP?_TMP_FREE() with more clear (OP?_TYPE == IS_TMP_VAR)
2014-09-22 12:47:10 +04:00
Anatol Belski
f2e636de05
pickup the alignment definition
2014-09-22 10:26:49 +02:00
Anatol Belski
6bb530d1eb
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master: (24 commits)
added a comment
fix the REPARSE_DATA_BUFFER struct def
simplify the condition
Fix two memory errors by interning earlier
Add smart_str_append for appending zend_strings
Rename smart_str_append to smart_str_append_smart_str
Use smart_str for exception stack traces
Use smart_str in get_function_declaration
Move smart_str implementation into Zend/
UPGRADING for Integer Semantics
Fixed bug #66242 (don't assume char is signed)
Fixed bug #67633
Fixed if/else if ordering
Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
Use zend_ polyfilled nan/finite, check finite
Updated 32-bit << test
Updated << 64-bit tests
Prevent bit shift count wrapping quirkiness on some CPUs for left shift
Cast NaN and Infinity to zero
Updated >> 64-bit tests
...
2014-09-22 10:26:17 +02:00
Anatol Belski
065edced71
added a comment
2014-09-22 09:41:56 +02:00
Anatol Belski
dc7a66a1c4
fix the REPARSE_DATA_BUFFER struct def
2014-09-22 09:41:54 +02:00
Anatol Belski
0885e4b1b9
simplify the condition
2014-09-22 09:41:53 +02:00
Bob Weinand
ca635e4884
A few general segfault fixes
2014-09-22 00:52:22 +02:00
Nikita Popov
7d4c81d8d9
Fix two memory errors by interning earlier
2014-09-21 23:56:09 +02:00
Nikita Popov
a770d29df7
Add smart_str_append for appending zend_strings
...
Also replaces usages in Zend/ and ext/standard
2014-09-21 20:58:31 +02:00
Nikita Popov
2a7de9fdbb
Rename smart_str_append to smart_str_append_smart_str
...
It's used only rarely and I'm running out of append names...
2014-09-21 20:49:39 +02:00
Nikita Popov
e0df8cc810
Use smart_str for exception stack traces
2014-09-21 20:49:39 +02:00
Nikita Popov
e26a688871
Use smart_str in get_function_declaration
...
Instead of custom smart string implementation
2014-09-21 20:49:39 +02:00
Nikita Popov
e33f3d3b7c
Move smart_str implementation into Zend/
...
So we can use it there as well...
For now I've retained the zend_smart_str_public.h header, though
it would probably be better to just move that one struct into
zend_types.h.
2014-09-21 20:49:39 +02:00
Bob Weinand
bbeccd7474
First draft of an xml protocol
2014-09-21 04:17:19 +02:00
Andrea Faulds
e1fe5cb8c2
Merge branch 'master' of git.php.net:php-src
2014-09-21 00:47:46 +01:00
Andrea Faulds
16404d0cac
UPGRADING for Integer Semantics
2014-09-21 00:47:25 +01:00
Ard Biesheuvel
90fcf0f52a
Merge branch 'PHP-5.6'
2014-09-20 16:42:31 -07:00
Ard Biesheuvel
8312836c74
Merge branch 'PHP-5.5' into PHP-5.6
2014-09-20 16:42:12 -07:00
Ard Biesheuvel
7958793342
Merge branch 'PHP-5.4' into PHP-5.5
2014-09-20 16:40:02 -07:00
Ard Biesheuvel
e64da8c20d
Fixed bug #66242 (don't assume char is signed)
...
This fixes a bug in libmagic where a cast to 'char' is assumed to result
in sign extension to occur. However, unqualified 'char' is unsigned on
architectures such as ARM, so the cast needs to be to 'signed char'
explicitly.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2014-09-20 16:39:48 -07:00
Andrea Faulds
12b15e5ca4
Merge branch 'master' into integer_semantics
2014-09-21 00:29:48 +01:00
krakjoe
403709aaf4
fix wrong doings
2014-09-20 22:08:14 +01:00
krakjoe
8bbc2a56ca
fix STANDARD_MODULE_PROPERTIES
2014-09-20 21:59:39 +01:00
krakjoe
084270363a
Merge branch 'native-tls' of https://github.com/php/php-src into native-tls
2014-09-20 21:34:22 +01:00
krakjoe
26e0715c9f
update opcache for native-tls branch
2014-09-20 21:33:40 +01:00
krakjoe
b180fc2daa
update SPL extension for native-tls branch
2014-09-20 21:28:01 +01:00
Anatol Belski
2720743636
vars with __declspec(thread) cannot use __declspec(dllexport)
2014-09-20 22:13:10 +02:00
Anatol Belski
aa339d00d8
enable native TLS by default on Windows
2014-09-20 22:12:28 +02:00
Nikita Popov
6219a4e844
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_compile.c
2014-09-20 21:58:06 +02:00
Nikita Popov
308c0a727e
Merge branch 'PHP-5.5' into PHP-5.6
2014-09-20 21:47:59 +02:00
Nikita Popov
5e977e69e1
Fixed bug #67633
2014-09-20 21:46:25 +02:00
Anatol Belski
fb17d6516d
Merge remote-tracking branch 'origin/master' into native-tls
...
* origin/master:
fixed copying of the struct as it's not being modified
avoid strlen usage in loop
Removes accidentally added files.
Reverts some unwanted changes
Deletes patch leftovers
Replaces php5 with php7, without whitespace changes.
2014-09-20 21:37:19 +02:00
krakjoe
b3aebda9ea
native tls initial patch
2014-09-20 20:22:14 +01:00
Anatol Belski
2fc1a1dce5
fixed copying of the struct as it's not being modified
...
in the subsequent function call
2014-09-20 20:58:00 +02:00
Anatol Belski
b9677d313d
avoid strlen usage in loop
2014-09-20 20:05:27 +02:00
Anatol Belski
132cd8be0d
Merge branch 'pull-request/805'
...
* pull-request/805:
Removes accidentally added files.
Reverts some unwanted changes
Deletes patch leftovers
Replaces php5 with php7, without whitespace changes.
2014-09-20 19:46:44 +02:00
Florian MARGAINE
268bcdc1cb
Removes accidentally added files.
2014-09-20 18:27:09 +02:00
Florian MARGAINE
8ad996da17
Reverts some unwanted changes
2014-09-20 18:24:38 +02:00
Anatol Belski
763bfb4f3b
refixed printf fmt, used portable macros
2014-09-20 15:46:19 +02:00
Anatol Belski
1b3569235a
forked bug41655 test for windows
2014-09-20 15:14:31 +02:00
Nikita Popov
98891ee118
Simplify foreach flags
...
* FE_RESET_VARIABLE and FE_RESET_REFERENCE were always set
together.
* In some places the code checked FE_FETCH_BYREF instead of
FE_RESET_REFERENCE and relied on them having the same value.
* Now the FE_RESET_* flags are dropped and everything uses
FE_FETCH_BYREF
2014-09-20 12:56:05 +02:00
Nikita Popov
1027f0d978
Fix leak in foreach with by-ref iteration of ref array
2014-09-20 12:46:05 +02:00
Florian MARGAINE
8eb7e7bf7f
Merge branch 'master' into issue-67910
...
Conflicts:
README.PARAMETER_PARSING_API
ext/gmp/tests/001.phpt
2014-09-20 10:09:21 +02:00
Florian MARGAINE
58ed832fc9
Deletes patch leftovers
2014-09-20 10:03:54 +02:00
Florian MARGAINE
cf0303e782
Replaces php5 with php7, without whitespace changes.
2014-09-20 10:01:44 +02:00
Xinchen Hui
95836a3504
Avoid strlen usage
2014-09-20 15:27:36 +08:00
Xinchen Hui
7ecc7e6bc2
folder marks
2014-09-20 15:16:09 +08:00
Xinchen Hui
96ccf3ef98
Added missed mod str
2014-09-20 15:12:08 +08:00
Xinchen Hui
3e71f5ff7b
Fixed built on OSX
2014-09-20 13:51:58 +08:00
Johannes Schlüter
972badf764
s,PHP 5,PHP 7,
2014-09-20 03:27:40 +02:00
Johannes Schlüter
ee51c15cf8
Update README.PARAMETER_PARSING_API
2014-09-20 03:05:32 +02:00
Anatol Belski
ea6da30396
make the return value more logic
...
as if clz() were returning 32 on empty size
2014-09-20 02:14:35 +02:00
Anatol Belski
7b4e8c64e0
make use of intrinsics available with VS for bitset lookups
2014-09-20 01:43:06 +02:00
Anatol Belski
2700e248b8
add the missing src file
2014-09-20 01:43:05 +02:00
Anatol Belski
3abeb2c8e1
reduce the struct size by 8 byte on 64 bit
2014-09-20 01:43:04 +02:00
Nikita Popov
0cd982f15c
Make header C++ compatible
2014-09-19 23:54:58 +02:00
Nikita Popov
31e842472f
Make number printing functions less generic
...
Now that zend_ulong is 64bit on 64bit platforms, it should be
sufficient to always use it, rather than supporting multiple
types.
API changes:
* _zend_print_unsigned_to_buf and _zend_print_signed_to_buf
no longer exist.
* smart_str(ing)_print_long and smart_str(ing)_print_unsigned
no longer exist.
* Instead of all these, zend_print_ulong_to_buf and
zend_print_long_to_buf should be used.
* smart_str_append_generic_ex no longer exists.
* smart_str(ing)_append_off_t(_ex) no longer exists, use
smart_str(ing)_append_long(_ex) instead.
2014-09-19 23:39:07 +02:00
Nikita Popov
ad3e1830ba
Use append_unsigned instead of append_long where appropriate
2014-09-19 23:39:07 +02:00
Nikita Popov
37aaccad7d
Use inline functions for most of smart_str
...
smart_str_free_ex no longer exists, always use smart_str_free instead.
smart_str_alloc no longer requires a newlen variable to be in scope,
instead it returns the new length.
2014-09-19 23:39:07 +02:00
Nikita Popov
070667de8d
Remove SMART_STR_USE_REALLOC
2014-09-19 23:39:07 +02:00
Nikita Popov
c7446bbd39
Remove superfluous Z_REFCOUNTED_P check
...
The string is never interned and IS_CONSTANT_EX is always refcounted.
2014-09-19 23:39:06 +02:00
Anatol Belski
f6c02239ca
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix possible array underflow
Conflicts:
ext/standard/image.c
2014-09-19 20:15:56 +02:00
Anatol Belski
6213d9fc91
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fix possible array underflow
2014-09-19 20:13:46 +02:00
Anatol Belski
5d9403f56c
fix possible array underflow
...
there are multiple issues with this code
- php_stream_read() returns an unsigned val, so is >= 0
- if it read less than sizeof(a) bytes, the function operates on garbage
- result->channels is an unsigned val, so >= 0
2014-09-19 20:12:24 +02:00
Nikita Popov
c343ca4efb
Split inheritance into separate file
...
This moves handling of inheritance and interface implementation
from zend_compile.c into a separate zend_inheritance.c file, as
this is not really related to compilation.
2014-09-19 19:54:37 +02:00
Anatol Belski
2be8fdcfd6
updated the comment to charset_hint
2014-09-19 19:45:38 +02:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
d4c5271c0c
reverted too much
2014-09-19 16:30:06 +02:00
Anatol Belski
d1131d4278
reverted some previous IS_ABSOLUTE_PATH related changes
...
It's fine with strlen usage now, only one call
2014-09-19 16:30:05 +02:00
Anatol Belski
149db936d4
expand IS_ABSOLUTE_PATH on Windows, so then strlen() isn't called twice
2014-09-19 16:30:03 +02:00
Anatol Belski
469c9bdb39
simplify condition
2014-09-19 16:30:01 +02:00
Dmitry Stogov
bccc653185
Avoid double IS_INTERNED() check
2014-09-19 17:32:50 +04:00
Dmitry Stogov
35f8467687
Reverted incorrect chunk
2014-09-19 17:05:03 +04:00
Dmitry Stogov
3bc8a958c5
Fixed useless or duplicated IS_INTERNED() checks
2014-09-19 15:41:01 +04:00
Anatol Belski
3ec7c28084
forgot to replace the strlen call
2014-09-19 13:14:16 +02:00
Anatol Belski
6bbebc60ea
avoid multiple strlen calls for the same buffer
2014-09-19 12:39:17 +02:00
Anatol Belski
d8de53d498
avoid unnecessary strlen calls in loop
2014-09-19 12:36:23 +02:00
Anatol Belski
babcad063f
fix length data types
2014-09-19 12:14:46 +02:00
Anatol Belski
ede6eca2b2
fix signed/unsigned warning and add a note
2014-09-19 12:00:41 +02:00
Anatol Belski
9b7d255cd9
fix condition
2014-09-19 11:42:44 +02:00
Anatol Belski
bf7203e1e0
fix empty string check
2014-09-19 11:23:23 +02:00
Anatol Belski
953386edfd
fix an always true condition and improve the error check
2014-09-19 10:33:01 +02:00
Anatol Belski
bae92295fd
remove useless condition
2014-09-19 10:09:37 +02:00
Anatol Belski
c80d9ccf7a
fix printf format
2014-09-19 10:04:12 +02:00
Anatol Belski
79bb2a1474
fix conditions
2014-09-19 09:49:32 +02:00
Anatol Belski
6fab907920
there can be only one ... of the identical expressions
2014-09-19 09:26:07 +02:00
Anatol Belski
f25f672916
fix condition
2014-09-19 09:09:20 +02:00
Anatol Belski
4d60f23630
fix printf format
2014-09-19 08:44:35 +02:00
Anatol Belski
571537afe0
remove useless check
2014-09-19 08:35:01 +02:00
Anatol Belski
55d5bace0e
more usages for ZEND_SECURE_ZERO()
2014-09-19 01:59:55 +02:00
Anatol Belski
c45f4f5461
generalized the case with secure memory zeroing
2014-09-19 01:46:14 +02:00
Anatol Belski
adf753159b
remove useless condition 0 > unsigned
2014-09-19 00:06:40 +02:00
Anatol Belski
4722d85c1e
zero sensitive data more secure way
2014-09-19 00:06:38 +02:00
Anatol Belski
bb89ac8408
zero sensitive data more secure way
2014-09-19 00:06:37 +02:00
Anatol Belski
732c49b433
fix sprintf format
2014-09-19 00:06:35 +02:00
Anatol Belski
2b77a57d88
zero sensitive data more secure way
2014-09-19 00:06:34 +02:00
Anatol Belski
3fa5064173
remove useless check
2014-09-19 00:06:32 +02:00
Anatol Belski
6beb91c202
avoid repeated strlen usage
2014-09-19 00:06:30 +02:00
Nikita Popov
8a9dd4a1d7
Fix GMP serialization
...
Also fix same issue in PDO.
2014-09-18 23:03:27 +02:00
Dmitry Stogov
21514b0d9a
Fix for Clang
2014-09-19 00:38:34 +04:00
jfha73
b0064fc27f
Update sapi_apache2.c
...
Change of php5 for php7
2014-09-18 20:43:31 +02:00
jfha73
1d936e7054
Update php_functions.c
2014-09-18 20:43:30 +02:00
jfha73
5514b0b1ad
Update php_apache.h
2014-09-18 20:43:28 +02:00
jfha73
637a0069aa
Update and rename php5apache2.dsp to php7apache2.dsp
...
Change of php5 for php7
2014-09-18 20:43:27 +02:00
jfha73
f8aeb6fc43
Update php.sym
...
Change of php5 for php7
2014-09-18 20:43:26 +02:00
jfha73
0e4ab8456a
Update and rename mod_php5.c to mod_php7.c
...
Change of php5 for php7
2014-09-18 20:43:25 +02:00
jfha73
e5e94e0d2e
Update config.w32
...
Change of php5 for php7
2014-09-18 20:43:24 +02:00
jfha73
51e343d5d7
Update config.m4
...
Change of php5 for php7
2014-09-18 20:43:23 +02:00
jfha73
eed9fdb981
Update apache_config.c
2014-09-18 20:43:21 +02:00
Dmitry Stogov
db6306dd0e
Split is_numeric_string_ex() into inline and non-inline parts
2014-09-18 22:19:51 +04:00
Anatol Belski
761e347b75
that's not char * but zend_string *
2014-09-18 17:14:57 +02:00
Anatol Belski
fb848ebd00
ups, this is not needed
2014-09-18 17:14:55 +02:00
Anatol Belski
e8b497ad8e
fix CG(empty_string) init in ZTS
2014-09-18 17:14:54 +02:00
Anatol Belski
f162b3f736
correct type for the thread id
2014-09-18 17:14:52 +02:00
Dmitry Stogov
1e0e1b4a73
Split big _zend_handle_numeric_str() into small always inlined function that makes initial check and regular big function
2014-09-18 18:50:05 +04:00
Dmitry Stogov
e439349e58
Expose zend_safe_address() and use it in zend_arena_calloc()
2014-09-18 13:31:25 +04:00
Dmitry Stogov
025bc7e80a
Clang attributes support
2014-09-18 11:50:00 +04:00
Dmitry Stogov
5185baab3e
Changed "inline" into "zend_always_inline"
2014-09-18 04:59:01 +04:00
Dmitry Stogov
61d37e059f
Moved some definitions from zend.h into more suitable header files
2014-09-18 04:58:04 +04:00
Dmitry Stogov
e646c6d5b5
Fixed compilation warnings
2014-09-18 04:02:43 +04:00
Anatol Belski
341ff0dea5
fix macro usage
2014-09-17 21:46:48 +02:00
Andrea Faulds
545c296ef4
Fixed if/else if ordering
2014-09-17 20:41:20 +01:00
Andrea Faulds
7f51d73bb2
Merge branch 'master' into integer_semantics
2014-09-17 20:15:32 +01:00
Anatol Belski
b5406ed316
fix atol usage
2014-09-17 20:43:23 +02:00
Dmitry Stogov
e3b3e68127
Optimized enterance into functions
2014-09-17 16:17:58 +04:00
Anatol Belski
c18902d902
reduce struct size by 8 byte on 64 bit
2014-09-17 09:17:34 +02:00
Anatol Belski
42fca62326
improve empty string check
2014-09-17 09:16:59 +02:00
Anatol Belski
2ace2d1b8a
reduce struct size by 8 byte on 64 bit
2014-09-17 09:16:00 +02:00
Anatol Belski
efc12d468c
reduce the struct size by 8 byte on 64 bit
2014-09-17 09:10:26 +02:00
Anatol Belski
19f8217113
reduce struct size by 8 byte on 64 bit
2014-09-17 09:03:47 +02:00
Anatol Belski
d41ac22a54
avoid strlen() usage in the loop
2014-09-17 08:59:19 +02:00
Anatol Belski
d594809f27
fix printf fmt
2014-09-17 00:56:42 +02:00
Anatol Belski
dda7a01480
fix signed/unsigned mismatch
2014-09-17 00:56:40 +02:00
Anatol Belski
f2e728616c
fix signed/unsigned mismatch warnings
2014-09-17 00:56:38 +02:00
Dmitry Stogov
551ee4165b
Use runtime-cache to avoid hash lookups in BIND_GLOBAL instruction
2014-09-17 00:52:45 +04:00
Dmitry Stogov
c2decc6afc
optimized colision list traverse
2014-09-17 00:52:03 +04:00
Anatol Belski
7ba43ea052
fix signed/unsigned mismatch
2014-09-16 22:15:27 +02:00
Anatol Belski
8c4ab0d02e
fix signed/unsigned mismatch
2014-09-16 21:17:27 +02:00
Anatol Belski
fc6f7bfcf3
fix signed/unsigned mismatch
2014-09-16 21:17:25 +02:00
Anatol Belski
5777aa51d9
fix signed/unsigned mismatch
2014-09-16 21:17:24 +02:00
Anatol Belski
65c401672e
redo the fix with cast to size_t
2014-09-16 21:17:22 +02:00
Anatol Belski
95132bee40
redo the fix casting to size_t
2014-09-16 21:17:21 +02:00
Anatol Belski
49a6b485a0
redo the fix casting to size_t where applicable
2014-09-16 21:17:19 +02:00
Anatol Belski
db24742f01
fixed type
2014-09-16 21:17:18 +02:00
Anatol Belski
fba6e5a8cb
fix signed/unsigned mismatch warnings
2014-09-16 21:17:16 +02:00
Anatol Belski
8240255e37
fixed signed/unsigned mismatch warning
2014-09-16 21:17:15 +02:00
Andrea Faulds
157da54e82
Ensure not evaluated twice
2014-09-16 19:32:01 +01:00
Andrea Faulds
a1711cee17
Added test
2014-09-16 19:20:15 +01:00
Nikita Popov
69e7c9d89c
Initial coalesce operator implementation
2014-09-16 19:14:46 +01:00
Nikita Popov
543ae3f029
Drop BC alias HASH_NON_EXISTANT
2014-09-16 18:29:00 +02:00
Nikita Popov
311a67a2ed
Remove HASH_NEXT_INSERT flag
...
We already pass ht->nNextFreeElement and the rest is handled by
ZEND_HASH_ADD.
2014-09-16 18:29:00 +02:00
Nikita Popov
0bf55b65d4
Remove two more always-true conditions
2014-09-16 18:28:59 +02:00
krakjoe
6967f78cc9
Merge branch 'pull-request/808'
2014-09-16 15:40:31 +01:00
Andrea Faulds
db72160e5a
Merge branch 'master' into integer_semantics
...
Conflicts:
Zend/zend_operators.h
2014-09-16 13:45:06 +01:00
Dmitry Stogov
f469dc7429
Improve opcache.fast_shutdown
2014-09-16 15:28:46 +04:00
Anatol Belski
3329d54cd9
better error messages in ZMM on Windows
2014-09-16 12:27:25 +02:00
Dmitry Stogov
13be4a5a4b
emalloc() must not return NULL
2014-09-16 13:53:26 +04:00
Dmitry Stogov
ca37c02520
code optimization
2014-09-16 13:52:50 +04:00
Andrea Faulds
be88d0e5d4
Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
2014-09-16 10:24:33 +01:00
Matteo Beccati
2508ce7aef
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed freetype test on multiple environments
2014-09-16 10:23:03 +02:00
Matteo Beccati
24ed330a22
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fixed freetype test on multiple environments
2014-09-16 10:22:49 +02:00
Matteo Beccati
b8470e19e4
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fixed freetype test on multiple environments
2014-09-16 10:22:34 +02:00
Matteo Beccati
00525b824a
Fixed freetype test on multiple environments
...
Some environments, apparently regardless to the freetype version, output 155, while others 156. I guess we can accept both ;)
This reverts commit 592df89027 .
2014-09-16 10:19:29 +02:00
Dmitry Stogov
f5517d16d6
ws
2014-09-16 11:56:56 +04:00
Anatol Belski
71cc3991bf
cast the other way round, the sign check is already done before
2014-09-16 09:33:02 +02:00
Xinchen Hui
6d2ca4b508
it's good for gc debuging
2014-09-16 14:15:01 +08:00
Dmitry Stogov
d17487f827
We don't have to check for undefined CV if we fetch it for isset() operation
2014-09-16 09:15:47 +04:00
Nikita Popov
079409bbc2
Switch (un)mangle property name to size_t and zend_string
...
Also use the _ex variants where possible.
2014-09-16 00:31:27 +02:00
Dmitry Stogov
6991780793
Optimized FE_RESET and FE_FETCH
2014-09-16 01:34:27 +04:00
Nikita Popov
a7bfd006bd
Remove always-true comparisons
2014-09-15 23:07:31 +02:00
Nikita Popov
ca43b99fc6
Update types in zend_hash
...
* String lengths are size_t
* Indexes are uint32_t
* Flags are uint32_t
* Booleans are zend_bool
2014-09-15 23:07:31 +02:00
Anatol Belski
8b2f15551d
fix signed/unsigned mismatch warnings
2014-09-15 19:46:33 +02:00
Anatol Belski
066d39020b
fix types
2014-09-15 19:46:32 +02:00
Anatol Belski
dc37e089e3
fix signed/unsigned mismatch
2014-09-15 19:46:31 +02:00
Anatol Belski
e0ff5238c5
fix negating an unsigned
2014-09-15 19:46:30 +02:00
Anatol Belski
383a0773ff
fix signed/unsigned mismatch
2014-09-15 19:46:29 +02:00
Anatol Belski
e591c78d09
revamp serialization to work with size_t for Serializable
2014-09-15 19:46:28 +02:00
Anatol Belski
0799459e76
fix signed/unsigned mismatch
2014-09-15 19:46:26 +02:00
Anatol Belski
e940fc268a
fix signed/unsigned mismatch
2014-09-15 19:46:25 +02:00
Anatol Belski
ea94210e8c
fix most of signed/unsigned warnings in vm def
2014-09-15 19:46:24 +02:00
Remi Collet
bfa8639219
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
2014-09-15 13:32:37 +02:00
Remi Collet
a410067d78
NEWS
2014-09-15 13:32:13 +02:00
Remi Collet
47bc380ecf
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
2014-09-15 13:31:26 +02:00
Remi Collet
ad0b63cad4
NEWS
2014-09-15 13:31:17 +02:00
Remi Collet
8cac75969e
Fixed bug #65641 PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache
...
ProxyPass is unable to provide correct PATH_INFO
as it is not aware of file path (while SetHandler is).
As we can extract PATH_INFO from PATH_TRANSLATED,
we also need to check if present in SCRIPT_NAME
and remove it.
After applying this patch.
With mod_php
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foor/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
With mod_proxy_fcgi + SetHandler
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foo/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
With mod_proxy_fcgi + ProxyPass
_SERVER["REQUEST_URI"] /info.php/foo/bar?q=1
_SERVER["SCRIPT_NAME"] /info.php
_SERVER["PATH_INFO"] /foo/bar
_SERVER["PHP_SELF"] /info.php/foo/bar
_SERVER["QUERY_STRING"] q=1
2014-09-15 13:29:55 +02:00
Anatol Belski
172ca172d1
correct fix to the natcmp_ex
...
Till now the actualy length diff between the strings was under
circumstances returned. Whereby for a compare function only return
values of (1, 0, -1) make sense. Thus the old behavior isn't
present anymore, natcmp_ex now behaves as a standard compare function.
2014-09-15 12:58:46 +02:00
Anatol Belski
836fd73cce
fix signed/unsigned mismatch
2014-09-15 12:58:45 +02:00
Anatol Belski
c8ed0d81e7
fix signed/unsigned mismatch
2014-09-15 12:58:44 +02:00
Anatol Belski
4e09d782ef
fix unsigned negation
2014-09-15 12:58:43 +02:00
Anatol Belski
d3622c2445
fix signed/unsigned mismatch
2014-09-15 12:58:42 +02:00
Dmitry Stogov
d10bc5c005
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fix initializer struct
fix signature
fix type
fix condition
2014-09-15 14:37:59 +04:00
Dmitry Stogov
f1bf5313a2
Replaced macro with better optimized inline function
2014-09-15 14:36:55 +04:00
Anatol Belski
f595ed4b8c
fix initializer struct
2014-09-15 11:30:26 +02:00
Anatol Belski
4c496a7f5b
fix signature
2014-09-15 11:30:25 +02:00
Anatol Belski
e056d52acf
fix type
2014-09-15 11:30:23 +02:00
Anatol Belski
140d99b467
fix condition
2014-09-15 11:30:22 +02:00
Xinchen Hui
a742393305
Merge branch 'master' of https://git.php.net/repository/php-src
2014-09-15 16:54:36 +08:00
Xinchen Hui
dfc99d93d5
Remove redundant codes
2014-09-15 16:52:33 +08:00
Anatol Belski
d65ead6471
fix type
2014-09-15 10:43:39 +02:00
Kalle Sommer Nielsen
ed55d52fa7
optimize path length retrieval
2014-09-15 10:43:38 +02:00
Anatol Belski
325bf067af
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
2014-09-15 10:29:28 +02:00
Anatol Belski
7f0f04e606
updated NEWS
2014-09-15 10:29:00 +02:00
Anatol Belski
e8780e27fd
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
updated NEWS
2014-09-15 10:28:22 +02:00
Anatol Belski
24b41a23b3
updated NEWS
2014-09-15 10:27:52 +02:00
Bob Weinand
e0e990229d
Use full duplex stdin/stdout socket
2014-09-15 09:58:14 +02:00
Xinchen Hui
feba63bfc1
Merge branch 'master' of https://git.php.net/repository/php-src
2014-09-15 14:50:16 +08:00
Xinchen Hui
ae41536c4d
Add test script for the segfault in gc while run phpspec
2014-09-15 14:49:34 +08:00
Remi Collet
06f8879017
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
Fix bug #111 (compile error without ZEND_SIGNALS)
Don't run travis against master (phpng)
Update README.md
2014-09-15 08:28:22 +02:00
Remi Collet
a390d579bb
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:24:20 +02:00
Remi Collet
6dc6daf7e3
Fix NEWS
...
- #65641 mod_proxy-fcgi is not fixed (still open)
- #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:24:10 +02:00
Remi Collet
3411fe33a2
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Fix NEWS - #65641 mod_proxy-fcgi is not fixed (still open) - #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:23:40 +02:00
Remi Collet
2775dc2b44
Fix NEWS
...
- #65641 mod_proxy-fcgi is not fixed (still open)
- #67606 mod_fastcgi is fixed in ee275e34c8
2014-09-15 08:23:25 +02:00
Bob Weinand
29d8aad2f6
Merge phpdbg into PHP-5.6
2014-09-15 05:48:09 +02:00
Bob Weinand
0cb365fb98
Merge phpdbg into PHP-5.6
2014-09-15 05:48:09 +02:00
Anatol Belski
32c46f44a8
avoid strlen usage in the loop
2014-09-15 00:39:55 +02:00
Anatol Belski
9873cc29c1
fix format
2014-09-14 23:10:41 +02:00
Anatol Belski
534ee96964
fix ftell/fseek calls
2014-09-14 23:03:13 +02:00
Anatol Belski
5cf17fc8bf
reduce struct size by 8 byte on 64 bit
2014-09-14 22:31:01 +02:00
Anatol Belski
b75a058810
fix ftell/fseek calls
2014-09-14 22:28:42 +02:00
Anatol Belski
635a23128b
better way to check for empty string
2014-09-14 22:07:38 +02:00
Anatol Belski
a7482fd2bf
make xml_utf8_ encode/decode work with size_t
2014-09-14 21:38:46 +02:00
Anatol Belski
90972355b3
avoid repeated strlen usage
2014-09-14 17:00:34 +02:00
Anatol Belski
ad9dc75150
avoid strlen() usage in loop
2014-09-14 17:00:06 +02:00
Anatol Belski
29f8b21cd7
fix int overflow preserving the old behavior
2014-09-14 16:39:25 +02:00
Nikita Popov
eda5ba1f8f
Fix use of stack variable outside its block
2014-09-14 16:18:08 +02:00
Nikita Popov
ebc6da5628
zend_get_property_info takes a zend_string* now
2014-09-14 16:18:08 +02:00
Anatol Belski
734d0b6bfd
use nice way to achieve the property name length
2014-09-14 15:09:54 +02:00
Anatol Belski
454548e440
make it safer for an array underrun
2014-09-14 15:03:52 +02:00
Anatol Belski
6a92d32105
fix type
2014-09-14 14:43:39 +02:00
Anatol Belski
b6b376efe5
avoid repeated strlen() usage
2014-09-14 12:59:31 +02:00
Anatol Belski
f1ba5389cd
reduce struct size by 8 bytes on 64 bit
2014-09-14 12:32:38 +02:00
Anatol Belski
0b40abf41d
avoid repeated strlen() usage
2014-09-14 12:30:01 +02:00
Bob Weinand
05c73757ed
Fix bug #111 (compile error without ZEND_SIGNALS)
2014-09-14 12:24:56 +02:00
Anatol Belski
cbf530c7c0
fix possible pointer truncation
2014-09-14 12:18:52 +02:00
Anatol Belski
8d075b6e4d
better way to zero away sensitive data
...
memset could be optimized away by the compiler
2014-09-14 11:48:51 +02:00
Anatol Belski
041302a8f7
reduce struct size by 8 byte on 64 bit
2014-09-14 11:36:11 +02:00
Anatol Belski
a9c188fbc6
reduce struct size by 8 byte on 64 bit
2014-09-14 11:26:17 +02:00
Anatol Belski
101adecbcd
reduce struct sizes by 8 bytes each on 64 bit
2014-09-14 11:13:17 +02:00
Anatol Belski
34e39783b1
remove useless casts and checks
2014-09-14 11:00:22 +02:00
Anatol Belski
77137b56b8
align 4 byte to the start of the word
2014-09-14 10:27:00 +02:00
Anatol Belski
ea4ab02446
fix conditions
...
substraction from an unsigned
2014-09-14 10:24:10 +02:00
Anatol Belski
65100a6474
reduce the struct size by 8 byte on 64 bit
2014-09-14 09:40:56 +02:00
Anatol Belski
27d0cfb8a7
reduce the struct size by 8 byte on 64 bit
2014-09-14 09:25:09 +02:00
Anatol Belski
273763dd63
reduce the struct size by 8 byte on 64 bit
2014-09-14 09:22:02 +02:00
Reeze Xia
dc9cd2d05e
Indention fix
...
indent with tab instead of spaces
2014-09-14 08:24:00 +08:00
Anatol Belski
cac71ecc93
reduce the struct size by 8 byte on 64 bit
2014-09-14 01:22:55 +02:00
Anatol Belski
35a2937e6b
reduce the struct size by 8 byte on 64 bit
2014-09-14 01:12:12 +02:00
Anatol Belski
b056859d17
reduce the struct size by 8 byte on 64 bit
2014-09-14 00:59:46 +02:00
Anatol Belski
79f51bd1a0
use the generator to produce the header
2014-09-14 00:43:58 +02:00
Anatol Belski
da10603ec9
update the html table generator
2014-09-14 00:42:48 +02:00
Anatol Belski
26cf7df133
removed the emalloc result check, out of memory will bailout
2014-09-14 00:00:52 +02:00
Anatol Belski
7d194a0e0b
replaced the check with assert as it's kinda unusual case
2014-09-13 23:57:53 +02:00
Anatol Belski
87a5aae166
removed extra 1 byte member, padding will be done anyway by the compiler
2014-09-13 23:55:30 +02:00
Anatol Belski
49e78dd022
reduce struct size by 8 byte on 64 bit
2014-09-13 23:34:08 +02:00
Anatol Belski
760c51a644
avoid usage of strlen() in the loop
2014-09-13 23:21:53 +02:00
Anatol Belski
a32e493d84
reduce struct size by 8 byte on 64 bit
2014-09-13 23:21:52 +02:00
Anatol Belski
2c66a8c53e
better align reduce the struct size by 8 byte on 64 bit
2014-09-13 23:21:51 +02:00
Anatol Belski
58177c27d6
reduce the struct size (under circumstances) on 64 bit
2014-09-13 23:21:49 +02:00
Anatol Belski
a7690fea7a
check if the winver was indeed fetched
2014-09-13 23:21:48 +02:00
Anatol Belski
bce562b75e
check emalloc() result
2014-09-13 23:21:47 +02:00
Anatol Belski
e00d48490b
better way to check for an empty string
2014-09-13 23:21:46 +02:00
Anatol Belski
f357628fc9
reduce the union size from 24 to 16 bytes on 64 bit
2014-09-13 23:21:44 +02:00
Anatol Belski
be9408f71a
fix condition
...
comparsion of two unsigned
2014-09-13 23:21:43 +02:00
Anatol Belski
d6bf1117a6
avoid multiple strlen() usage
2014-09-13 23:21:42 +02:00
Anatol Belski
586b863ba7
avoid multiple strlen() calls for the same
2014-09-13 23:21:40 +02:00
Anatol Belski
47fb7a46ac
reduced struct sizes by 8 byte each on 64 bit
2014-09-13 23:21:39 +02:00
Anatol Belski
d578e351a9
fix condition
...
substraction of two unsigned
2014-09-13 23:21:38 +02:00
Anatol Belski
5092c5490a
reduce struct sizes by 8 byte on 64 bit
2014-09-13 23:21:37 +02:00
Anatol Belski
1f9893d0ef
avoid strlen() usage in the loop
2014-09-13 23:21:36 +02:00
Nikita Popov
ee75848b78
Drop superfluous opline for non-cv variables
2014-09-13 22:31:27 +02:00
Nikita Popov
88e07324d9
Drop dead assignments
2014-09-13 22:31:21 +02:00
Nikita Popov
21a5253ea9
Make zend_llist_remove_tail a void function
...
The returned data is already dtored and freed at this point.
2014-09-13 22:07:51 +02:00
Nikita Popov
345b0f44c3
Use more accurate sizeof
...
This is allocating an array of zval*s, not zval**s.
2014-09-13 21:57:58 +02:00
Nikita Popov
3defdb1880
Also skip line-overwriting if SHOW_ONLY_GROUPS is used
2014-09-13 21:02:04 +02:00
Anatol Belski
c030ff3e71
switch to using mbrlen with VS
2014-09-13 13:52:10 +02:00
Anatol Belski
f91a782973
reduce the struct size by 8 byte on 64 bit
...
this one looks like debug only, but still useful
2014-09-13 12:52:11 +02:00
Anatol Belski
98aeef6fac
reduced the struct size by 8 byte on 64 bit
2014-09-13 12:49:10 +02:00
Anatol Belski
993d475126
fix condition
...
A char array like val[1] would always be valid when checking like
!val. Probably better were to check for ->len, but actually ->val[0]
is fine as the actual zend_string should have been initalized
before.
2014-09-13 00:03:42 +02:00
Anatol Belski
f8d75839aa
reduce the struct size by 8 byte on 64 bit
2014-09-12 23:27:55 +02:00
Anatol Belski
bea0face48
reduce the struct size by 8 bytes on 64 bit
2014-09-12 23:10:56 +02:00
Anatol Belski
67beaebaa8
reduce the struct size by 8 byte on x64
2014-09-12 23:08:09 +02:00
Anatol Belski
e251ecb6e9
fix possible null ptr deref
2014-09-12 22:31:02 +02:00
Anatol Belski
7ac5a36a2f
fix possible nullptr derefrence
2014-09-12 22:18:06 +02:00
Anatol Belski
8fc0f1a788
reduce size by 8 byte on 64 bit
2014-09-12 22:06:10 +02:00
Anatol Belski
c22458adc5
fix ZTS build
2014-09-12 21:38:39 +02:00
Anatol Belski
83244e5fec
better align and reduce size by 8 byte on 64 bit
2014-09-12 21:35:25 +02:00
Anatol Belski
5257ac4925
fix test which fails if prevous run cleanup failed
2014-09-12 21:35:24 +02:00
Anatol Belski
95a50f7322
fix type
2014-09-12 21:35:23 +02:00
Anatol Belski
03bf8c256b
fix type
2014-09-12 21:35:22 +02:00
Anatol Belski
e68788745a
fix type
2014-09-12 21:35:21 +02:00
Anatol Belski
5d5a70205c
reduce the struct size by 8 byte on 64 bit
2014-09-12 21:35:20 +02:00
Anatol Belski
7ea780dd6e
fix type
2014-09-12 21:35:19 +02:00
Anatol Belski
9adf0c8e07
better alignment, reduced the struct by 8 byte on 64 bit
2014-09-12 21:35:18 +02:00
Anatol Belski
10f856386d
fix type
2014-09-12 21:35:17 +02:00
Xinchen Hui
243ec132e6
Forget to commit this part...
2014-09-13 02:00:15 +08:00
Xinchen Hui
78ce2557f5
Finally!!! Fixed segfault in GC
...
this must not be the final fix, but let's stop the segfault first and
use this to indicate where the problem is.
reproduced by phpspec
2014-09-13 01:55:49 +08:00
Tim Siebels
1392643048
Correct two zlib tests to use a string, not a const
2014-09-12 15:04:32 +02:00
Anatol Belski
4db2181d4e
make this test a bit more tolerant when checking sleep time
2014-09-12 14:39:19 +02:00
Anatol Belski
99fb5d0ea8
remove extra semicolon
2014-09-12 14:39:18 +02:00
Anatol Belski
69d6e093e9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed the cast and incompatible pointer warning
Conflicts:
sapi/cgi/fastcgi.c
2014-09-12 14:37:54 +02:00
Anatol Belski
bcdbd47117
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
fixed the cast and incompatible pointer warning
2014-09-12 14:36:54 +02:00
Anatol Belski
fdfc31a4f7
fixed the cast and incompatible pointer warning
2014-09-12 14:36:00 +02:00
Anatol Belski
0292c34b05
Merge branch 'PHP-5.6'
...
* PHP-5.6:
reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
5.6.2 now
Conflicts:
configure.in
main/php_version.h
2014-09-11 23:33:12 +02:00
Anatol Belski
13280a9e36
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
2014-09-11 23:31:16 +02:00
Anatol Belski
69ea7f9509
reflect in the test that GSS-Negotiate is deprecated since libcurl 7.38.0
2014-09-11 23:30:01 +02:00
Julien Pauli
8ff79d3e89
5.6.2 now
2014-09-11 18:37:25 +02:00
Dmitry Stogov
8527657ca6
Fixed refcounting for references
2014-09-11 19:12:12 +04:00
Nikita Popov
7014dec761
Don't show TEST line if SHOW_ONLY_GROUPS is used
2014-09-11 16:27:53 +02:00
Nikita Popov
fca85d92cc
Fix ext/dba ini handling
...
Doing this change blindly based on gcov output
2014-09-11 16:06:31 +02:00
Dmitry Stogov
b8c36e199e
Simplify ASSIGN code
2014-09-11 17:00:06 +04:00
Nikita Popov
e2d4d700cf
Fix yy_limit computation after encoding switch
...
The three assignments above this line are still broken - they assume
that byte offsets in one encoding directly map to byte offsets in
another encoding.
I'm fixing the length here because it is the one causing out-of-bounds
reads and is easy to fix. For the others we'd have to actually compute
new offsets.
2014-09-11 14:52:59 +02:00
Nikita Popov
f017843df3
Remove self-contradictory zend multibyte assertion
...
Code that explicitly exists to handle an incompatible internal
encoding should not assert that the internal encoding is compatible.
2014-09-11 14:52:59 +02:00
Dmitry Stogov
82096dc151
Removed ZEND_QM_ASSIGN_VAR and ZEND_JMP_SET_VAR opcodes (in PHPNG they did exacly the same as ZEND_QM_ASSIGN and ZEND_JMP_SET)
2014-09-11 12:29:54 +04:00
Dmitry Stogov
1981dd9c73
Revert "Removing ext/ereg and dependencies"
...
This reverts commit 86de7963fe .
2014-09-11 11:06:57 +04:00
Dmitry Stogov
98b8050433
Revert "Updated UPGRADING for ext/ereg removal"
...
This reverts commit 610ef5d7ec .
2014-09-11 11:06:47 +04:00
Tjerk Meesters
610ef5d7ec
Updated UPGRADING for ext/ereg removal
2014-09-11 10:22:44 +08:00
Tjerk Meesters
86de7963fe
Removing ext/ereg and dependencies
...
Affected extensions:
- opcache (use pcre)
- mbstring (removed ereg functions overloading)
- pgsql (use pcre)
- reflection (test cases using 'ereg')
SAPI:
- apache (header only)
- apache_hooks (header only)
2014-09-11 10:22:44 +08:00
Anatol Belski
e699f654f0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix precision when fetching float through mysqlnd
2014-09-10 19:32:25 +02:00
Bob Weinand
cccc75eef9
Do not unload phpdbg module in any case
2014-09-10 17:01:08 +02:00
Bob Weinand
554b30389e
Fix segfaults, reorder files and set filename to exec
2014-09-10 16:03:26 +02:00
Bob Weinand
c35bb34608
Add webhelper extension and support for loading extensions
...
New phpdbg commands:
dl [path] - loads module / Zend extension
wait - waits for incoming connection from a phpdbg_webhelper module
Webhelper module is a UNIX domain socket to which a SAPI with the phpdbg_webhelper module loaded will write to the socket information about its whole environment.
phpdbg can then run the request locally [TODO: write the request back to the sender]
2014-09-10 16:03:26 +02:00
Bob Weinand
6464b3ffae
Don't run travis against master (phpng)
2014-09-10 15:57:05 +02:00
Michael Wallner
80ef586541
Merge branch 'PHP-5.6'
...
* PHP-5.6:
make LTP version check a blacklist
2014-09-10 13:31:39 +02:00
Anatol Belski
466a4c97b2
replace zend_hash_find with zend_hash_str_find which fixes leaking the key
2014-09-10 13:22:23 +02:00
Anatol Belski
e3ded277a5
second big shot on porting ext/oci8
...
still a lot to do, but most raw things done
2014-09-10 12:41:43 +02:00
Anatol Belski
686213a242
first shot on fixing ext/oci8
2014-09-10 12:41:42 +02:00
Anatol Belski
2e085df5c0
basic datatype fixes for ext/oci8
2014-09-10 12:41:41 +02:00
Dmitry Stogov
c07a0dbcb9
Don't miss warning messages
2014-09-10 13:02:01 +04:00
Matteo Beccati
205b6b8a13
Merge branch 'PHP-5.6'
...
* PHP-5.6:
FR #67990 - Added nowait argument to sem_acquire
2014-09-10 07:32:36 +02:00
Stanislav Malyshev
5b8243014f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
2014-09-09 16:20:20 -07:00
Daniel Lowrey
13695a5ead
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #41631 : Fix regression from first attempt (6569db8 )
Bug #67965 : Fix blocking behavior in non-blocking crypto streams
2014-09-09 10:25:36 -06:00
Tjerk Meesters
b192ff155d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed #67985 - Incorrect last used array index copied to new array after unset
Conflicts:
Zend/zend_variables.c
2014-09-09 19:32:09 +08:00
Michael Wallner
a6c47caf25
Merge branch 'PHP-5.6'
...
* PHP-5.6:
duplicate value's string for the SAPI filter
Fine tuned the order of adding request variables.
2014-09-09 06:56:33 +02:00
George Wang
2470e01ab6
Fine tuned the order of adding request variables.
2014-09-09 00:01:36 -04:00
Xinchen Hui
b625661248
Remove unnecessary branch/temp variable
2014-09-09 11:52:25 +08:00
Dmitry Stogov
7edd562787
Don't anload zend extensions if ZEND_DONT_UNLOAD_MODULES environment variable is set
2014-09-09 00:50:44 +04:00
Dmitry Stogov
a9d985263a
We don't need to check for xlat entry twice
2014-09-09 00:40:14 +04:00
Dmitry Stogov
c59300ac86
Fixed GC problem (arrays may be recorded as possible root of garbage cycle. we have to clear this info before deleting array)
2014-09-09 00:12:36 +04:00
Adam Harvey
d91717f458
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67972 (SessionHandler Invalid memory read create_sid()).
Update LSAPI to 6.7, added support for 'filter_input'. Fixed a crash in CLI mode.
5.5.18 now
2014-09-08 19:31:58 +00:00
Anatol Belski
9ee4a40f27
made Visual Studio to understand that zend_error_noreturn() will not return
...
- windows only, on linux gcc would cause a warning that the function returns,
as no noreturn functions are used
- ZEND_NORETURN works on windows as well now, using __declspec(noreturn),
which is useful for the other cases
- one more function call will be needed, which is not critical for the
error reporting
- the way is open to enable the same for gcc as soon as it's not causing a warning
2014-09-08 20:34:26 +02:00
Dmitry Stogov
6561d03a41
Added ability to make a number of "warmup" requests before an actual benchmark.
...
(php-cgi -T [<number-of-warmup-requests>,]<number-of-benchmark-requests> <file>)
2014-09-08 16:24:46 +04:00
Nikita Popov
af84d5737c
Fix parser stack destruction with dummy ENCAPSED_AND_WHITESPACE
...
T_ENCAPSED_AND_WHITESPACE is now specified to always hold a value,
so give it a NULL value in the dummy cases.
2014-09-08 13:57:28 +02:00
Dmitry Stogov
e85545eca5
Removed IS_STR_OFFSET type and corresponding macros. Optimized string offset handling in ASSIGN_DIM opcode.
2014-09-08 15:46:45 +04:00
Archil Imnadze
2d2bac2e4c
Update CODING_STANDARDS
2014-09-08 13:13:34 +04:00
Dmitry Stogov
be835b2d70
Fixed comments and removed useless code.
2014-09-08 11:08:05 +04:00
Anatol Belski
5661a1ba0b
fix null pointer deref
2014-09-07 20:26:01 +02:00
Anatol Belski
e254ba32d5
fixed the tests, related to the basename behaviour, bug #66395
2014-09-07 20:11:49 +02:00
Anatol Belski
cfa2b3bf63
fixed string index handling with references
2014-09-07 13:34:18 +02:00
Anatol Belski
acad6f4700
fix 64 bit string index usage
2014-09-07 00:55:36 +02:00
Nikita Popov
f4f9b54983
Revert "Move safe_address into zend_multiply.h"
...
This reverts commit 43b02e169c .
I'm getting symbol resolution issues for zend_error_noreturn in the
opcache.so, so reverting this for now.
2014-09-06 22:12:37 +02:00
Nikita Popov
43b02e169c
Move safe_address into zend_multiply.h
...
This allows reuse in zend_arena_calloc.
Also renamed the function to zend_safe_address as it's no longer
private to the allocator.
2014-09-06 14:03:59 +02:00
Tjerk Meesters
208164012c
According to LSB 3.2, finite() has been deprecated with C99.
...
See: https://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/baselib-finite.html
Changed the order in which we detect whether to use finite() or isfinite(), favouring the latter.
2014-09-06 19:14:43 +08:00
Tjerk Meesters
47ac4612e9
Added test case to complement commit 29397f8
2014-09-06 18:57:03 +08:00
Nikita Popov
9ab8605f8b
Release memory for PDO Stmt ctor args
2014-09-06 12:52:51 +02:00
Nikita Popov
29397f8fd2
Fix $x .= $x
...
Also add a nice comment pointing out that concat runs on magic.
2014-09-06 12:26:41 +02:00
Nikita Popov
17cb2443a7
Fix ext/xml warnings
2014-09-06 12:26:41 +02:00
Levi Morrison
b476eca826
Error on multiple default blocks in a switch
...
Part of RFC: https://wiki.php.net/rfc/switch.default.multiple
2014-09-05 16:07:07 -06:00
Dmitry Stogov
7d0416f401
Fixed overflow check
2014-09-05 16:13:06 +04:00
Nikita Popov
828fe35381
Fix string increment
2014-09-05 12:45:42 +02:00
Dmitry Stogov
9a420f0361
Fixed support for C++
2014-09-05 14:18:39 +04:00
Nikita Popov
08ca9e6d11
Fix overflow check for string concatenation
...
Also do the overflow check for both branches, not just the realloc
one.
And clean up the code a bit - move common parts outside of the
realloc/alloc branches.
2014-09-05 11:58:32 +02:00
Nikita Popov
e06f5f0df8
Drop some unsafe-looking casting code from ext/socket
...
ZVAL_COPY before convert_to_string is probably not right.
2014-09-05 11:35:41 +02:00
Nikita Popov
f915b44070
Remove old zend_string_to_double function
2014-09-05 11:20:06 +02:00
Nikita Popov
c48a126ba4
Fix readline warnings
2014-09-05 11:20:06 +02:00
Nikita Popov
c720677162
Fix SOAP warnings
2014-09-05 11:20:06 +02:00
Xinchen Hui
8002e2c06a
Fixed discards qualifiers from pointer target type
2014-09-05 09:31:05 +08:00
Xinchen Hui
59f10e4ca0
Merge branch 'master' of https://git.php.net/repository/php-src
2014-09-05 09:22:23 +08:00
Nikita Popov
e015bb0381
Fix invalid zend_string free in soap
...
By making get_http_headers() return the zend_string* directly.
2014-09-04 22:29:30 +02:00
Nikita Popov
0c5ac39796
Fix smart_str_append()
...
Would segfault if src->s == NULL.
2014-09-04 21:55:27 +02:00
Nikita Popov
00805ffb92
Merge branch 'PHP-5.6'
...
Conflicts:
ext/soap/php_http.c
2014-09-04 21:23:11 +02:00
Tjerk Meesters
6f6541dc84
Merge branch 'pr/804'
...
* pr/804:
Adds phpversion test to prevent #67959
2014-09-05 02:17:42 +08:00
Florian MARGAINE
e338e26ab7
Adds phpversion test to prevent #67959
2014-09-04 20:13:43 +02:00
Tjerk Meesters
70d4b80c44
Updated NEWS for #67959
2014-09-05 02:05:06 +08:00
Tjerk Meesters
6951f8adb0
Merge branch 'pr/803'
...
* pr/803:
Fixes zpp parameter from int to size_t
2014-09-05 02:02:20 +08:00
Florian MARGAINE
c24c7ff224
Fixes zpp parameter from int to size_t
2014-09-04 19:59:39 +02:00
Dmitry Stogov
92164f6b7b
Fixed compilation warnings
2014-09-04 14:06:22 +04:00
Xinchen Hui
bb92801338
it's should be zend_ulong
2014-09-04 16:26:53 +08:00
Xinchen Hui
39c3207896
Revert previous commit by mistake
2014-09-04 11:59:58 +08:00
Xinchen Hui
e90ec235dc
Use PHP_GINIT to suppress incompatible pointer type
2014-09-04 11:56:13 +08:00
Nikita Popov
d85ab21ac4
Fix DOM warnings
2014-09-03 21:35:53 +02:00
Nikita Popov
2b133e9149
Separate php_mb_reset() from php_mblen()
...
Instead of fighting against warnings ...
2014-09-03 20:37:04 +02:00
Nikita Popov
dd38c9e101
Fix ftp_login()
2014-09-03 16:52:56 +02:00
Nikita Popov
964e1174b4
Fix Z_UL
2014-09-03 16:52:56 +02:00
Dmitry Stogov
5c897aa7da
Preallocate hash tables of required size
2014-09-03 18:21:36 +04:00
Nikita Popov
6cceb54c09
Fix a number of format issues
2014-09-03 15:57:28 +02:00
Nikita Popov
979058d4ff
Disable format string checking by default
...
Instead of removing format attributes altogether, disable the checks
by default. This allows you to do a build with format string checks
and filter out the false positives (basically anything mentioning
%p).
2014-09-03 15:38:06 +02:00
Nikita Popov
fdd1e96f3e
Revert "remove a few gcc format attributes from some printf-like functions"
...
This reverts commit 25f5ba94ac .
2014-09-03 15:22:08 +02:00
Nikita Popov
9e75353184
Use zval_ptr_dtor_nogc to destroy literals
...
Also move the definition of zval_ptr_dtor_nogc to zend_variables.h
(from zend_execute.h/.c) as it's used in a few places.
2014-09-03 15:18:06 +02:00
Dmitry Stogov
c52511c307
Disabled usage of built-in functions in write context (e.g. strlen($s)[] = ...)
2014-09-03 16:30:48 +04:00
Dmitry Stogov
9a958a086d
Simplify BEGIN_SILENCE/END_SILENCE to not modify ini entry value back and force
2014-09-03 15:17:50 +04:00
Matteo Beccati
d1b0066df7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed test with freetype >= 2.4.12
2014-09-03 09:45:17 +02:00
Dmitry Stogov
b0f0211b1a
Revert "Fixed memory leaks"
...
This reverts commit 0940e54ffc .
2014-09-03 02:38:04 +04:00
Dmitry Stogov
0940e54ffc
Fixed memory leaks
2014-09-03 02:07:38 +04:00
Stanislav Malyshev
6036d47e6a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.34 is next
2014-09-02 15:04:08 -07:00
Stanislav Malyshev
91505203c0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "Fix bug #67644 - Memory corruption & crash during ob_start function callback"
2014-09-02 14:19:16 -07:00
Stanislav Malyshev
ce776aea57
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67644 - Memory corruption & crash during ob_start function callback
2014-09-02 12:33:02 -07:00
Dmitry Stogov
f0ad7472b0
Avoid memory allocation/deallocation in BEGIN_SILENCE/END_SILENCE opcode handlers.
2014-09-02 22:13:24 +04:00
Nikita Popov
2d364747ca
Merge branch 'PHP-5.6'
...
Conflicts:
ext/gmp/gmp.c
2014-09-02 19:07:54 +02:00
Nikita Popov
5138f3ba22
Skip 64bit test on 32bit
...
Also minor type improvements
2014-09-02 18:42:39 +02:00
Anatol Belski
08b732f26b
fix datatypes for gmp to be compatible with GMP/MPIR on different platforms
2014-09-02 18:19:51 +02:00
Anatol Belski
e7386aa1fd
add a test with gmp and PHP_INT_MAX
2014-09-02 18:16:19 +02:00
Anatol Belski
20e15f55e8
one semicolon too much
2014-09-02 16:40:41 +02:00
Anatol Belski
d7700588a9
use portable strtol
2014-09-02 15:56:15 +02:00
Anatol Belski
fee39d0868
fix type
2014-09-02 15:56:13 +02:00
Nikita Popov
e3da88b898
mpz functions don't work on zend_ulongs...
...
If we really want to support zend_ulong > ulong in GMP the right
approach would be to only handle < LONG_MAX in ui shortcut functions
and use mpz_import in convert_to_gmp for number > LONG_MAX.
2014-09-02 14:37:15 +02:00
Nikita Popov
8e7cd7a0f9
Merge branch 'PHP-5.6'
...
Conflicts:
ext/gmp/gmp.c
2014-09-02 14:28:07 +02:00
Dmitry Stogov
e321170c18
Fixed memory leaks
2014-09-02 14:11:22 +04:00
Dmitry Stogov
e51677b2e6
fixed reference counting
2014-09-02 11:24:52 +04:00
Dmitry Stogov
1670772dc6
Avoid string duplication
2014-09-02 09:52:23 +04:00
Dmitry Stogov
f789568707
Fixed destruction on error
2014-09-02 09:46:27 +04:00
Tjerk Meesters
aa759743b3
Revert "Updated UPGRADING"
...
This reverts commit 300c0cf1c4 .
2014-09-02 07:58:51 +08:00
Tjerk Meesters
300c0cf1c4
Updated UPGRADING
2014-09-02 06:55:18 +08:00
Tjerk Meesters
0785143351
Updated NEWS
2014-09-02 06:55:17 +08:00
Tjerk Meesters
297a9b1f75
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Make DOMNode::textContent writeable
Updated UPGRADING
Updated NEWS
Conflicts:
ext/dom/attr.c
ext/dom/characterdata.c
ext/dom/document.c
ext/dom/node.c
2014-09-02 06:54:52 +08:00
Stanislav Malyshev
d5b0606a62
Reintroduce fix from pull #770 in a PHP 7 way
2014-09-01 15:41:27 -07:00
Stanislav Malyshev
a7666a6041
Fix ZTS build
2014-09-01 15:41:00 -07:00
Stanislav Malyshev
d18803eb5f
fix apache handler build
2014-09-01 14:49:52 -07:00
Stanislav Malyshev
1ff1a0dde2
Revert "Merge branch 'PHP-5.6'"
...
This reverts commit aaf5689f4d , reversing
changes made to 481bf25b6a .
2014-09-01 14:35:04 -07:00
Stanislav Malyshev
aaf5689f4d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
Only destruct if EG(active) in zend_shutdown(). (bug #65463 , #66036 )
Fix typo from commit 32314f6b6
Fix destruction order in zend_shutdown (bug #65463 , #66036 )
Conflicts:
Zend/zend_compile.h
Zend/zend_execute_API.c
2014-09-01 12:22:41 -07:00
Anatol Belski
481bf25b6a
restore the length var and fix the com_dotnet ini
2014-09-01 20:34:33 +02:00
Dmitry Stogov
88d7ca44f6
Refactored INI subsystem to use zend_string* instead of char*
2014-09-01 20:57:33 +04:00
Derick Rethans
b9f3247267
Merge branch 'PHP-5.6'
2014-09-01 16:40:57 +01:00
Tjerk Meesters
8064b1f4f7
Fixed 'long' -> 'zend_long' for call to 'is_numeric_string_ex()'
2014-09-01 22:49:12 +08:00
Tjerk Meesters
01760184a9
Updated UPGRADING for #38409
2014-09-01 22:43:35 +08:00
Tjerk Meesters
099dfdf873
Updated NEWS for #38409
2014-09-01 22:43:34 +08:00
Tjerk Meesters
5d5a7b1f7f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated UPGRADING for #38409
Updated NEWS for #38409
Added test case
Making ini parser typed - Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file() - Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE - Added zend_ini_copy_typed_value() function for zval initialisation - Updated RETURN_TOKEN() to observe scanner_mode
Conflicts:
Zend/zend_ini_parser.y
Zend/zend_ini_scanner.c
2014-09-01 22:43:17 +08:00
Anatol Belski
bc7833ddd2
switch to built-in atanh() on vs2013 and up
2014-09-01 15:45:55 +02:00
Anatol Belski
f4ed876db1
fix acosh for vs2012 and earlier
2014-09-01 15:34:42 +02:00
Anatol Belski
3aa5583cab
fix asinh() on win64 for big negative values
2014-09-01 15:34:40 +02:00
Anatol Belski
8a7d434025
fix acosh and asinh on win64 with vs2013+
2014-09-01 14:21:53 +02:00
Anatol Belski
d4a05d1990
fix C89 compat
2014-08-31 21:58:05 +02:00
Nuno Lopes
25f5ba94ac
remove a few gcc format attributes from some printf-like functions
...
Since now PHP's printf-like functions have many custom specifiers, the amount of false-positives wasnt worth it
2014-08-31 11:45:11 -04:00
Nuno Lopes
51ce4bd87c
add a few more patterns to .gitignore
2014-08-31 15:19:14 +01:00
Anatol Belski
a3f82ae0ee
fix expected warning in test
2014-08-31 14:02:31 +02:00
Anatol Belski
b89d7ae5ba
fix dir separators in test
2014-08-31 14:02:30 +02:00
Anatol Belski
312181bc13
fix iptcembed()
2014-08-31 14:02:28 +02:00
Nikita Popov
c59292570c
Merge branch 'PHP-5.6'
...
Conflicts:
Zend/zend_compile.c
2014-08-30 20:45:10 +02:00
Anatol Belski
3aea1dca06
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
2014-08-30 04:06:25 +02:00
Anatol Belski
f4ebeead5d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #67731 finfo::file() returns invalid mime type for binary files
2014-08-30 04:05:42 +02:00
Johannes Schlüter
ca042bb18c
Use global symbol table for completion after $ in readline.
2014-08-30 00:02:31 +02:00
Nikita Popov
f1c2017851
Don't depend on exact parse error messages in assert tests
2014-08-29 22:07:25 +02:00
Nikita Popov
b73bea9cc8
Combine foreach copy / switch cond stacks
...
Now one common stack to handle both, which stores znodes instead of
full oplines (foreach copy stack) or switch entries (switch cond
stack).
Also removed EG(start_op) while at it.
2014-08-29 21:53:09 +02:00
Nikita Popov
545fd5168e
Don't distinguish between ast/list in parser
...
This removes the need to use $<ast>{n} or $<list>$ casts in the
reduction actions.
Keeping the distinction in the parser doesn't really give us any
benefit and only makes changing the grammar harder.
2014-08-29 21:02:10 +02:00
Nikita Popov
25d57aace3
Introduce optional_expr
2014-08-29 18:51:58 +02:00
Nikita Popov
c6a5c3c6c5
Remove parenthesis_expr
...
This was necessary previously to handle yields, now it only clutters
up the grammar.
2014-08-29 18:46:46 +02:00
Nikita Popov
7722d2c584
Simplify argument production
2014-08-29 18:42:05 +02:00
Christopher Jones
e39cc57bbd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove 550+ compile warnings on OS X
2014-08-29 08:48:56 -07:00
Christopher Jones
6fe0bdda9c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Remove 550+ compile warnings on OS X
2014-08-29 08:48:43 -07:00
Christopher Jones
9063188fad
Remove 550+ compile warnings on OS X
...
The warnings had the signature:
php-src/ext/mysqlnd/mysqlnd_debug.h:127:25: note: expanded from macro 'DBG_ENTER_EX2'
if (dbg_skip_trace); /* shut compiler's mouth */\
^
php-src/ext/mysqlnd/mysqlnd.c:114:2: note: put the semicolon on a separate line to silence this warning
2014-08-29 08:48:10 -07:00
Christopher Jones
88099a0a27
Allow PHP 7 to install in Apache 2 on OS X
...
This fixes the fundamental part of #67910 . The complete change from
php5 -> php7 in sapi/* still needs to be done.
2014-08-29 08:47:10 -07:00
Anatol Belski
d3fb1859f0
restore the old behavior for the assignment to string offset
2014-08-29 17:28:53 +02:00
Anatol Belski
a9c5dab1d0
revert the lstat part
2014-08-29 17:21:02 +02:00
Anatol Belski
f9b051241a
fix stat vs zend_stat
2014-08-29 13:43:40 +02:00
Anatol Belski
13ccda7249
fix implicit st_rdev element handling when negative value was passed
2014-08-29 13:30:53 +02:00
Anatol Belski
451856420c
data type fixes
2014-08-29 12:53:37 +02:00
Anatol Belski
34f536693c
avoid usage of 'type' before the null pointer check
2014-08-29 11:21:07 +02:00
Anatol Belski
e206409a8c
exclude log2 usage which requires C99 support
2014-08-29 10:55:55 +02:00
Lior Kaplan
e400b7b99f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add missing CVE IDs for 5.6.0
Align entiries format to "Fixed bug #..."
Use #66356 instead of #66714 , as the latter is only a regression fix from the former.
Add an entry for bug#66060 (fixed in 5.5.8)
2014-08-29 11:44:45 +03:00
Anatol Belski
c14b3d5d82
fixed path in test
2014-08-29 08:41:29 +02:00
Stanislav Malyshev
d637c2cac7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix NEWS for fcgi fix merge
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
2014-08-28 23:13:24 -07:00
Xinchen Hui
0763d6b98d
use zend_string_equals_ci
2014-08-29 13:19:14 +08:00
Xinchen Hui
49bd049b7e
Keep folder mark style in this file
2014-08-29 13:05:58 +08:00
Xinchen Hui
b2d2b965b2
resource type is int
2014-08-29 11:28:21 +08:00
Johannes Schlüter
6592706340
Fix comparison in case of constant NULL as default value
...
Fixes "Fatal error: Default value for parameters with a class type hint
can only be NULL in ext/phar/phar.php on line 1120" whie creating phar.phar
2014-08-29 01:34:46 +02:00
Nikita Popov
ae7e663330
Fix bug #67922
2014-08-29 00:18:38 +02:00
Andrea Faulds
389d285973
Special-case aliases, add warning comments to implementations
2014-08-29 00:10:52 +02:00
Anatol Belski
5fc0006d35
skip this if we can't check the uid
2014-08-28 22:22:38 +02:00
Anatol Belski
898e1570a2
fixed trim() and strtok() to work with big strings
2014-08-28 21:59:00 +02:00
Anatol Belski
8e05b9104b
fixed strip_tags() and hebrev() to work with big strings
2014-08-28 19:35:37 +02:00
Anatol Belski
d6faac2cb2
make array/object APIs accept large strings as values of elements/props
2014-08-28 19:17:47 +02:00
Anatol Belski
d6930c9a87
replace llabs with imaxabs
...
both are gcc built-in but imaxabs doesn't require C99 compat (see man)
2014-08-28 18:58:24 +02:00
Dmitry Stogov
c8ff3421a0
Duplicate array only if neccessary
2014-08-28 20:51:22 +04:00
Anatol Belski
7faac0267f
Merge branch 'master' of git.php.net:php-src
...
# By Popa Adrian Marius
# Via Popa Adrian Marius
* 'master' of git.php.net:php-src:
rename misleading define
2014-08-28 17:39:03 +02:00
Anatol Belski
f4e04b9fb1
fix phar copy-on-write
2014-08-28 17:35:54 +02:00
Popa Adrian Marius
e41754b7d8
rename misleading define
2014-08-28 18:20:28 +03:00
Anatol Belski
9f1b68eda5
fix incompatible pointer
2014-08-28 17:03:41 +02:00
Anatol Belski
7f6d2b124b
fix format
2014-08-28 17:03:40 +02:00
Anatol Belski
d3bfbc079f
remove duplicate condition already present a line upper
2014-08-28 17:03:39 +02:00
Popa Adrian Marius
59286f89f7
solve conflicting type size_t vs int
2014-08-28 17:10:42 +03:00
Dmitry Stogov
3447d465af
Use better hash functions
2014-08-28 17:47:40 +04:00
Dmitry Stogov
234af84c04
Refactored optimizer (compile different opimizer passes separately, instead of including *.c file)
2014-08-28 17:23:12 +04:00
Anatol Belski
1c252d5dd4
use stddef.h definitions for uintptr_t and intptr_t
2014-08-28 13:07:47 +02:00
Anatol Belski
8e4e765f7e
better alignment, won 8 byte on 64 bit with default alignment
2014-08-28 12:12:24 +02:00
Anatol Belski
6890830ec0
fix number format
2014-08-28 12:07:39 +02:00
Anatol Belski
bf84517b64
fix dir separator
2014-08-28 11:56:27 +02:00
Anatol Belski
a502639412
remove the expression parts, which are always true
2014-08-28 11:38:23 +02:00
Anatol Belski
e831de3024
fix some types and unnecessary casts
2014-08-28 11:38:22 +02:00
Anatol Belski
0b04843573
fix type
2014-08-28 11:38:21 +02:00
Xinchen Hui
6a7c60540b
Merge branch 'master' of https://git.php.net/repository/php-src
2014-08-28 17:37:00 +08:00
Dmitry Stogov
b4f2588513
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fix pg_last_notice()
Changed 'unsigned size_t' to 'size_t'
Fixed segfaults after change size_t of "s"
Fixed zend extensions multipy-times loadable
Revert "Fixed incompatible pointer type"
fix hash_pbkdf2()
2014-08-28 13:13:52 +04:00
Xinchen Hui
ff0045ea67
Fixed typo
2014-08-28 17:05:21 +08:00
Xinchen Hui
31d6f15b54
Merge branch 'master' of https://git.php.net/repository/php-src
2014-08-28 17:04:04 +08:00
Xinchen Hui
537344161f
Fixed zbacktrace
2014-08-28 17:03:27 +08:00
Anatol Belski
d2e416a90b
fix pg_last_notice()
2014-08-28 10:45:47 +02:00
Tjerk Meesters
aa161f0723
Changed 'unsigned size_t' to 'size_t'
2014-08-28 16:39:35 +08:00
Xinchen Hui
bc3d9b3ba2
Fixed segfaults after change size_t of "s"
2014-08-28 15:43:14 +08:00
Xinchen Hui
671caa6255
Fixed zend extensions multipy-times loadable
2014-08-28 15:13:57 +08:00
Xinchen Hui
697472e3e1
Merge branch 'master' of https://git.php.net/repository/php-src
2014-08-28 14:56:53 +08:00
Xinchen Hui
de4282fa3e
Revert "Fixed incompatible pointer type"
...
This reverts commit 007406c775 .
2014-08-28 14:56:25 +08:00
Dmitry Stogov
319ce224d2
LOAD_REGS() is not used anymore
2014-08-28 10:55:16 +04:00
Anatol Belski
a4532f6d4d
fix hash_pbkdf2()
2014-08-28 08:55:05 +02:00
Dmitry Stogov
a038ab892f
Fixed type
2014-08-28 10:31:13 +04:00
Xinchen Hui
4a12b4cef9
closesocket is defined in php_network.h
2014-08-28 13:20:43 +08:00
Xinchen Hui
7a90e40af7
closesocket is already defined in main/php_network.h
2014-08-28 13:18:55 +08:00
Xinchen Hui
88fdb5f084
Fixed iconv MINFO
2014-08-28 13:11:07 +08:00
Xinchen Hui
007406c775
Fixed incompatible pointer type
2014-08-28 11:34:00 +08:00
Tjerk Meesters
6954bd4ff6
Merged PR 785 - Fixed ZEND_INT_(MIN/MAX) constants in signed multiplication
...
ZEND_INT_MIN and ZEND_INT_MAX should be ZEND_LONG_MIN and ZEND_LONG_MAX respectively.
2014-08-28 08:33:18 +08:00
Dmitry Stogov
f2b0370193
Use 'const' qualifier for pointrs to code used at run-time (the code must not be changed)
2014-08-28 02:44:06 +04:00
Anatol Belski
ca0069bc33
fix remaining 's' args for pgsql
2014-08-28 00:21:12 +02:00
Johannes Schlüter
dadbbf8945
Fix compilation on systems without ecdh_curve
2014-08-28 00:12:48 +02:00
Anatol Belski
7d6c3e01c9
fix remaining 's' args for openssl
2014-08-28 00:05:29 +02:00
Anatol Belski
734e11cca7
fixed remaining 's' args for ftp
2014-08-27 23:56:19 +02:00
Lior Kaplan
d3fd3a0b66
Merge branch 'PHP-5.6'
...
* PHP-5.6:
config.guess: add ppc64le / ppcle support by Anton Blanchard <anton@samba.org >
libtool: powerpc*le-linux support by Alan Modra <amodra@bigpond.net.au >
2014-08-28 00:50:31 +03:00
Anatol Belski
cf430b9a6f
fix linkinfo()
2014-08-27 23:44:28 +02:00
Anatol Belski
e6dcd19aed
restore the old part of ezmlm_hash()
2014-08-27 23:14:54 +02:00
Anatol Belski
0e41927ca0
fixed UConverter::convert()
2014-08-27 23:03:58 +02:00
Anatol Belski
a1a4a6101c
fix typo
2014-08-27 22:47:13 +02:00
Anatol Belski
2ee3ec999b
fixed php_wddx_packet_start signature
2014-08-27 22:45:19 +02:00
Nikita Popov
f099c3f2ec
Merge branch 'PHP-5.6'
2014-08-27 22:18:55 +02:00
Anatol Belski
60373b2ac2
fix signature
2014-08-27 22:17:16 +02:00
Anatol Belski
232459efd0
fix signature
2014-08-27 22:13:01 +02:00
Anatol Belski
074c68e9ce
fix signature
2014-08-27 22:05:26 +02:00
Anatol Belski
039f512289
fix signature
2014-08-27 22:01:43 +02:00
Anatol Belski
1e3e9e0bbb
's' and size_t - fix some invalid pointers and the remaining ext/mcrypt parts
2014-08-27 21:53:06 +02:00
Andrea Faulds
e622e28972
Fixed constants in Zend/zend_multiply.h
...
Conflicts:
Zend/zend_multiply.h
2014-08-27 19:54:02 +01:00
Anatol Belski
bf96ee95ce
's' works with size_t round 4
2014-08-27 20:49:37 +02:00
Anatol Belski
6db8d4f829
's' works with size_t round 3
2014-08-27 20:49:36 +02:00
Anatol Belski
bdc4f23517
updated UPGRADING.INTERNALS
2014-08-27 20:49:34 +02:00
Anatol Belski
257ed4061a
's' works with size_t round 2
2014-08-27 20:49:33 +02:00
Anatol Belski
5882446b8b
revert an accident
2014-08-27 20:49:32 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +02:00
Dmitry Stogov
ee552b628c
Reorder fields for better nenory consumtion and data locality on 64-bit systems
2014-08-27 22:45:27 +04:00
Dmitry Stogov
b1f53ca415
Use efree_size() instead of efree() where posible
2014-08-27 20:49:56 +04:00
Chris Wright
0a1df74895
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix stream_select() issue with OpenSSL buffer
2014-08-27 16:35:28 +01:00
Dmitry Stogov
8ec40397cd
Cleanup IS_VAR handling
2014-08-27 19:10:29 +04:00
Tjerk Meesters
a79b933384
Fixed corruption of execute_data when ZEND_STRLEN has to cast an object to string.
2014-08-27 23:00:11 +08:00
Anatol Belski
a831bd40d0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed DBG_INF macro name
reworked NEWS for 5.6.0GA
2014-08-27 12:11:59 +02:00
Dmitry Stogov
37f9f10f01
Improved performance of json_encode()
2014-08-27 13:37:54 +04:00
Anatol Belski
316705c7ed
add note about 'l' and zend_long
2014-08-27 09:26:25 +02:00
Xinchen Hui
24ab7b53f2
It should be int
2014-08-27 12:14:57 +08:00
Xinchen Hui
8b87534468
Fixed folder mark
2014-08-27 12:13:17 +08:00
Ferenc Kovacs
bed26ae569
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix the NEWS
2014-08-27 04:53:22 +02:00
Tjerk Meesters
18b1c4373d
Merge PHP RFC: Closure::call
...
Commits:
NEWS, UPGRADING
Fixed Closure::apply() for int64
Just return, no need for RETURN_NULL()
Revert "Fixed closure::bindTo bad args test"
Accuracy
Fixed issues spotted by code review
Comment clarification
Old comment, whitespace
Don't allow unbound scoped closures; make ->call used passed object as scope
Removed unused variable
Fixed and cleaned up implementaton of Closure::call() for phpng
Fixed closure::bindTo bad args test
Fixed unbound scoped closure edge cases and added tests for them
Rename ::apply to ::call for the sake of JS consistency
Added test for unbound_scoped
Added optional bool param $unbound_scoped to Closure::bind and ::bindTo
Implemented Closure::apply
2014-08-27 10:28:16 +08:00
Ferenc Kovacs
014563fe1c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add the NEWS entries from the last stable release
2014-08-27 04:24:26 +02:00
Ferenc Kovacs
384bcc54b3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
almost forgot to bump this
from now on, this should be 5.6.1-dev
2014-08-27 04:19:04 +02:00
Ferenc Kovacs
0ad18975db
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS to reflect what makes into 5.6.0 final
2014-08-27 04:08:25 +02:00
Ferenc Kovacs
4c9eb92856
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove the -dev suffix from the Zend version
Conflicts:
Zend/zend.h
2014-08-27 03:54:06 +02:00
Andrea Faulds
2cdd5ba586
NEWS, UPGRADING
2014-08-27 02:07:59 +01:00
Andrea Faulds
7379abba8f
Fixed Closure::apply() for int64
2014-08-27 02:05:50 +01:00
Andrea Faulds
17c5e82816
Merge branch 'master' into Closure_apply
2014-08-27 01:53:26 +01:00
Nikita Popov
1984a49b71
Fix zend_highlight functionality I broke
...
Magic consts are not supposed to be highlighted as keywords.
2014-08-27 01:26:57 +02:00
Nikita Popov
f719b9ddcf
Fix mbstring overloads in zts
2014-08-27 01:26:57 +02:00
Ferenc Kovacs
2788a718aa
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update the GIT-RULES with the 5.6 and the release branches
2014-08-27 00:48:26 +02:00
Nikita Popov
694824f302
Fix test with opcache/zts dependent output
...
Refcount depends on whether array is immutablized and string is
interned.
2014-08-27 00:31:20 +02:00
Nikita Popov
95fac3cee3
Fix session handlers in zts
...
Also use ZEND_HASH_FOREACH API.
2014-08-27 00:26:21 +02:00
Dmitry Stogov
614bc31635
Fixed incorrect ZEND_INIT_FCALL_BY_NAME -> ZEND_INIT_FCALL conversion
2014-08-27 01:39:39 +04:00
Nikita Popov
f3b629c982
Move =&new deprecation message into compiler
2014-08-26 23:36:53 +02:00
Nikita Popov
e7f252652f
Fix tokenizer test to not depend on specific token numbers
2014-08-26 23:36:53 +02:00
Nikita Popov
f8abb9a462
Handle remaining magic constants in parser as well
...
As far as I can see the !filename case cannot occur, so I dropped
it.
2014-08-26 23:36:52 +02:00
Dmitry Stogov
219794e1cd
Split and optimize loop
2014-08-27 00:52:50 +04:00
Nikita Popov
49b4e12e54
Add backup_doc_comment production
...
Bison can't detect the type of a mid-rule action, even if it accesses
$<str>$, so need to create a separate rule for this.
2014-08-26 22:31:58 +02:00
Nikita Popov
b7876e734a
eval() with parse error uses clean shutdown now
2014-08-26 22:31:58 +02:00
Nikita Popov
6c687e0d9b
Add type annotations to parser
...
Conflicts:
Zend/zend_language_parser.y
2014-08-26 22:31:58 +02:00
Nikita Popov
c71ab607ff
Don't alloc empty jmp opnum list for single-branch if
2014-08-26 22:31:57 +02:00
Anatol Belski
cd8bbfa149
fixed bitset computing on win64 build
2014-08-26 20:43:33 +02:00
Dmitry Stogov
cb37fe1aae
Fixed zero-size allocation in debug build
2014-08-26 21:32:20 +04:00
Anatol Belski
d285e346da
temporary fix for win64
2014-08-26 16:27:14 +02:00
Dmitry Stogov
661f90d4d1
Replaced Zend Memory Manager
2014-08-26 16:21:58 +04:00
Dmitry Stogov
9a05f2dad2
Fixed uint32_t overflow
2014-08-26 15:57:19 +04:00
Anatol Belski
b63ab83256
several signature and data type fixes
2014-08-26 13:20:21 +02:00
Dmitry Stogov
d17790b35e
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fixed several long vs zend_long casts
2014-08-26 14:23:01 +04:00
Dmitry Stogov
055b632e7d
Fixed return operand type (Use IS_TMP_VAR instead of IS_VAR in the same way as it was before AST patch)
2014-08-26 14:22:03 +04:00
Anatol Belski
202e8db1dc
fixed several long vs zend_long casts
2014-08-26 11:26:53 +02:00
Dmitry Stogov
7cbbb37127
Fixed compile-time constants substitution
2014-08-26 13:06:19 +04:00
Anatol Belski
c2cb2cb9f8
regenerated date parsers
2014-08-26 10:40:47 +02:00
Anatol Belski
3b75f96569
fix typo
2014-08-26 10:06:43 +02:00
Julien Pauli
0686b4448d
implement #67886
2014-08-26 10:02:55 +02:00
Anatol Belski
5d062b6160
renamed macro
2014-08-26 09:55:17 +02:00
Anatol Belski
baee5922c3
edit comment
2014-08-26 09:52:22 +02:00
Anatol Belski
5d030000c1
simplify zend_long defs even more
2014-08-26 09:49:54 +02:00
Anatol Belski
c49cd84da9
make timelib independent from zend_long
2014-08-26 09:27:55 +02:00
Xinchen Hui
6469339a58
Fixed incompatible pointer
2014-08-26 12:19:09 +08:00
Xinchen Hui
dc6cd48efb
Fixed incompatible pointer
2014-08-26 12:19:06 +08:00
Xinchen Hui
80dd764612
Fixed incompatible pointer
2014-08-26 12:12:39 +08:00
Xinchen Hui
df7b6779bc
Fixed incompatible pointer type (int64)
2014-08-26 12:11:28 +08:00
Xinchen Hui
a3fd5b6954
Unused variable
2014-08-26 11:50:42 +08:00
Xinchen Hui
0a712e1913
Unused variable
2014-08-26 11:49:32 +08:00
Xinchen Hui
c56c4d246c
Unused variale
2014-08-26 11:48:59 +08:00
Ferenc Kovacs
a18714d8ed
better heading for UPGRADING.INTERNALS
2014-08-26 00:35:40 +02:00
Ferenc Kovacs
d84cf63449
Merge branch 'PHP-5.6'
...
* PHP-5.6:
better heading for UPGRADING.INTERNALS
2014-08-26 00:33:38 +02:00
Anatol Belski
993ae7e9f6
fix strtol call
2014-08-26 00:25:29 +02:00
Anatol Belski
1cda5e196c
updated UPGRADING.INTERNALS
2014-08-26 00:13:37 +02:00
Anatol Belski
c6a35115bc
fix func argument type
2014-08-25 23:52:40 +02:00
Anatol Belski
c429c74be9
generalize the zend_long stuff
2014-08-25 23:52:39 +02:00
Nikita Popov
59848e3fbb
Remove ZEND_ACC_INTERACTIVE and CG(interactive)
...
As far as I can discern these are leftovers of the interactive
shell implementation that was used before PHP 5.4. Now the readline
ext makes use of normal eval calls for this.
So, dropping these until there is evidence to the contrary, as they
currently wouldn't work anyway.
2014-08-25 23:46:43 +02:00
Nikita Popov
4ea19a682e
make bp type uint32_t everywhere
2014-08-25 23:17:36 +02:00
Nikita Popov
d2a3bf9daf
Fix compiler warnings
2014-08-25 23:08:01 +02:00
Nikita Popov
28e7beea66
Fix zend_longo_str
2014-08-25 22:47:04 +02:00
Nikita Popov
46b53e815c
Add zend_string_equals and zend_string_equals_literal
2014-08-25 22:40:58 +02:00
Nikita Popov
899a1ed59a
Merge branch 'ast'
...
Conflicts:
Zend/zend_compile.c
2014-08-25 22:04:33 +02:00
Nikita Popov
6db293d5e0
Merge remote-tracking branch 'php-src/master' into ast
...
Conflicts:
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_globals.h
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner.l
Zend/zend_types.h
2014-08-25 21:52:18 +02:00
Anatol Belski
af59e92b24
master renames phase 7
2014-08-25 21:51:49 +02:00
Anatol Belski
b9514bb8fd
master renames phase 6
2014-08-25 21:26:42 +02:00
Anatol Belski
28b7a03318
master renamings phase 5
2014-08-25 21:20:44 +02:00
Anatol Belski
455741fce3
master renames phase 4
2014-08-25 20:57:25 +02:00
Anatol Belski
5410282258
Merge branch 'master' of git.php.net:php-src
...
# By Daniel Lowrey
# Via Daniel Lowrey
* 'master' of git.php.net:php-src:
Update NEWS
Bug #67850 : Build when OpenSSL compiled without SSLv3 support
2014-08-25 20:23:14 +02:00
Anatol Belski
4d997f63d9
master renames phase 3
2014-08-25 20:22:49 +02:00
Daniel Lowrey
3dd5366b15
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS
2014-08-25 19:51:03 +02:00
Nikita Popov
7813d85d3d
Fix for C89
2014-08-25 19:46:21 +02:00
Daniel Lowrey
cc487e6cdf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #67850 : Build when OpenSSL compiled without SSLv3 support
2014-08-25 19:35:01 +02:00
Anatol Belski
6f9f0bf205
master renames phase 2
2014-08-25 19:28:33 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Lior Kaplan
0cf2dbdf58
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #67730 : Add tests by Ryan Mauger <ryan@rmauger.co.uk >
2014-08-25 00:31:10 +03:00
Anatol Belski
80a3b9ca40
bring back the logic to parse 64 bit props also in 32 bit build
2014-08-24 11:48:57 +02:00
Anatol Belski
b2d123f985
fix a phrase
2014-08-24 02:57:19 +02:00
Anatol Belski
9ac656cc20
Merge branch 'master' of git.php.net:php-src
...
# By Ferenc Kovacs
# Via Ferenc Kovacs
* 'master' of git.php.net:php-src:
this test depends on the simplexml ext, not just on xml
2014-08-24 02:55:01 +02:00
Anatol Belski
3c17ce9e0f
note on %pd format
2014-08-24 02:36:17 +02:00
Anatol Belski
70de6180d5
fixes to %pd format usage
2014-08-24 02:35:34 +02:00
Ferenc Kovacs
50b20e75ff
Merge branch 'PHP-5.6'
...
* PHP-5.6:
this test depends on the simplexml ext, not just on xml
Conflicts:
ext/simplexml/tests/bug62328.phpt
2014-08-24 00:18:51 +02:00
Marcelo Diniz
cba1150cdb
tests image gd
2014-08-23 16:55:55 -03:00
Tjerk Meesters
86674b5837
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed #67694 : Regression in session_regenerate_id()
Conflicts:
ext/session/session.c
2014-08-23 09:21:36 +08:00
Tjerk Meesters
d1d0f55e22
Use %d instead of object id
2014-08-23 08:09:08 +08:00
Tjerk Meesters
32e8d0f03e
Fixed test case based on var_dump() changes made in c1965f58d4
2014-08-23 08:06:47 +08:00
krakjoe
3f4811c76e
fix wrong type causing build error
2014-08-22 18:30:13 +01:00
Anatol Belski
4ff697b6b1
adedd note on portable numeric macros
2014-08-22 13:48:20 +02:00
Anatol Belski
4c56e68b7f
note on LFS macros
2014-08-22 13:40:45 +02:00
Anatol Belski
fa6fe06a86
updated UPGRADING so far
2014-08-22 13:35:07 +02:00
Anatol Belski
24cf50d2df
note on hash table and sprintf
2014-08-22 13:22:49 +02:00
Anatol Belski
c893552a9a
note on zpp specs
2014-08-22 10:31:48 +02:00
Anatol Belski
612e459041
updated UPGRADING.INTERNALS with new data types
2014-08-22 10:24:51 +02:00
Anatol Belski
79f888a602
Merge remote-tracking branch 'weltling/master'
...
* weltling/master: (725 commits)
fix zpp
fixed array_pad()
fix zpp
fix zpp
fix zpp
fix zpp and a bit more
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fix zpp
fixed the test
...
2014-08-22 08:58:03 +02:00
Xinchen Hui
da35db3ec5
Fixed complier error
2014-08-22 10:20:44 +08:00
Michael Wallner
7fca659a7b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix bug #67865
updated NEWS to fit last release
NEWS
Fix bug #67878 program_prefix not honoured in man pages
NEWS
Fix bug #67878 program_prefix not honoured in man pages
2014-08-21 22:46:03 +02:00
Anatol Belski
411b920a6f
fix zpp
2014-08-21 22:20:42 +02:00
Anatol Belski
9d760498c1
fixed array_pad()
2014-08-21 22:13:22 +02:00
Anatol Belski
96a570cb03
fix zpp
2014-08-21 20:32:39 +02:00
Anatol Belski
4a85ec874a
fix zpp
2014-08-21 20:31:32 +02:00
Anatol Belski
fdfe8ac36e
fix zpp
2014-08-21 20:25:31 +02:00
Anatol Belski
7815d23e9e
fix zpp and a bit more
2014-08-21 20:22:18 +02:00
Anatol Belski
3cb5c6e692
fix zpp
2014-08-21 20:13:55 +02:00
Anatol Belski
7de2259818
fix zpp
2014-08-21 17:59:28 +02:00
Anatol Belski
21a45d9aca
Merge remote-tracking branch 'php/master'
2014-08-21 15:55:56 +02:00
Anatol Belski
c1b65ac66b
fix zpp
2014-08-21 15:54:47 +02:00
Anatol Belski
5eef3a9eed
fix zpp
2014-08-21 15:51:09 +02:00
Anatol Belski
ff853d2fe0
fix zpp
2014-08-21 15:47:52 +02:00
Anatol Belski
b315af1d9f
fix zpp
2014-08-21 15:44:23 +02:00
Anatol Belski
113e3c1eeb
fix zpp
2014-08-21 15:42:48 +02:00
Anatol Belski
0e546cecd6
fix zpp
2014-08-21 15:40:24 +02:00
Anatol Belski
fb8c41101d
fix zpp
2014-08-21 15:39:29 +02:00
Anatol Belski
5d62cf2f7d
fix zpp
2014-08-21 15:36:33 +02:00
Anatol Belski
daa0f094cf
fix zpp
2014-08-21 15:32:17 +02:00
Dmitry Stogov
b9a5db2b55
Fixed incorrect string length
2014-08-21 17:30:34 +04:00
Anatol Belski
f7c8213741
fix zpp
2014-08-21 15:25:39 +02:00
Anatol Belski
8b2f1ac177
fix zpp
2014-08-21 15:23:05 +02:00
Anatol Belski
8e94fbfc6a
Merge remote-tracking branch 'php/master'
2014-08-21 14:38:43 +02:00
Dmitry Stogov
455bcc4182
Fixed test. It's not a problem to perform/continue replacing if the source "$search" string was modified by callback, because the source string is duplicate in this case.
2014-08-21 16:21:13 +04:00
Dmitry Stogov
b0a54673f4
Fixed wrong test. Value of the static property must not be changed to string.
2014-08-21 16:15:01 +04:00
Anatol Belski
7ef536e4c9
Merge remote-tracking branch 'php/master'
...
Conflicts:
Zend/zend_exceptions.c
2014-08-21 13:54:15 +02:00
Anatol Belski
79b2852da4
fixed the test
...
the cause for this to fail now was that _php_iconv_strpos had int for
the offset, but the int from userland is 64 bit, that was an overflow
cusing wrong behaviour
2014-08-21 13:49:09 +02:00
Dmitry Stogov
16b4d90fa9
Separate values before conversion
2014-08-21 14:30:52 +04:00
Anatol Belski
307dac3cfd
Merge branch 'master' of github.com:weltling/php-src
2014-08-21 12:18:31 +02:00
Anatol Belski
6bea54b7b9
fixed mem leak
2014-08-21 12:18:08 +02:00
Anatol Belski
98bb620bfe
fixed memory leak
2014-08-21 12:13:52 +02:00
krakjoe
cbc7b8e67c
remove bogus locale use from test
2014-08-21 10:03:48 +01:00
krakjoe
e530817209
fix the version requirements for these tests
2014-08-21 09:29:43 +01:00
krakjoe
25cc882425
correct version number requirements for this test
2014-08-21 09:22:05 +01:00
krakjoe
1ba509ce19
use a suitable number of patterns to show the bug is resolved, not a stupid number that could cause memory limit to be exceeded or other side effects
2014-08-21 09:14:46 +01:00
krakjoe
051671ba6c
Merge branch 'master' of https://github.com/php/php-src
2014-08-21 09:09:00 +01:00
krakjoe
b83e45e1ef
only run this test if SimpleXML is loaded
2014-08-21 09:08:28 +01:00
Dmitry Stogov
e9439f62e5
Avoid reallocation and copying
2014-08-21 12:02:48 +04:00
Anatol Belski
eb1871b3fb
yet trivial fixes to mysql exts
2014-08-21 09:54:40 +02:00
Anatol Belski
8d6ef99a39
Merge remote-tracking branch 'php/master'
2014-08-21 09:21:31 +02:00
Dmitry Stogov
92ac625b94
Fixed incorrect string length comparison
2014-08-21 11:17:24 +04:00
Dmitry Stogov
887c12da77
dtor handler must be set
2014-08-21 11:17:05 +04:00
Remi Collet
dde4d2e628
Fix bug #67878 program_prefix not honoured in man pages
...
- add @program_prefix@ in php, phpize and php-config man pages
- set date to 2014
- fix "SEE ALSO" alignment
2014-08-21 09:13:12 +02:00
Anatol Belski
333f093010
Merge branch 'PHP-5.6'
...
* PHP-5.6:
avoid clash when stdint.h was included after win32/php_stdint.h
2014-08-21 09:09:47 +02:00
Anatol Belski
d15360c1dd
Merge remote-tracking branch 'php/master'
2014-08-21 08:39:46 +02:00
Dmitry Stogov
4c6fb62702
Fixed get_resources() prototype comments
2014-08-21 09:49:35 +04:00
Anatol Belski
c80c0174ea
Merge branch 'master' of github.com:weltling/php-src
2014-08-21 00:21:38 +02:00
Anatol Belski
4c2330c1e8
make g++ see all the stdint.h stuff
2014-08-20 15:26:53 -07:00
Stanislav Malyshev
3a97ed4bb2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test
2014-08-20 14:44:40 -07:00
Stanislav Malyshev
557a6d8c6f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test
2014-08-20 14:44:02 -07:00
Anatol Belski
cd18b5884b
Merge remote-tracking branch 'php/master'
2014-08-20 23:27:26 +02:00
Anatol Belski
888ef26cc5
yet trivial fixes
2014-08-20 22:54:00 +02:00
Anatol Belski
6d54e89916
Merge remote-tracking branch 'php/master'
2014-08-20 21:29:49 +02:00
Dmitry Stogov
6b5b5094d3
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fix directory separator in test
2014-08-20 23:29:21 +04:00
Anatol Belski
b3198b6845
more fixes to ext/iconv
2014-08-20 21:29:04 +02:00
Dmitry Stogov
8cda420ff4
Fixed ext/pdo_*/tests/pdo_005.phpt tests failure
2014-08-20 23:28:32 +04:00
Anatol Belski
4b337a898b
fix directory separator in test
2014-08-20 21:27:39 +02:00
Dmitry Stogov
cf09bc7825
Fixed bug #67874 (Crash in array_map())
2014-08-20 22:06:15 +04:00
Dmitry Stogov
9507aa99fc
Fixed immutable array support
2014-08-20 21:42:49 +04:00
Anatol Belski
49b65d0d65
fixed sysvshm
2014-08-20 09:44:43 -07:00
Anatol Belski
be1b1e7b41
fix index type
2014-08-20 18:21:57 +02:00
Anatol Belski
66e7090e61
Merge remote-tracking branch 'php/master'
2014-08-20 18:19:37 +02:00
Anatol Belski
4498f93c0e
more fixes to ext/spl
2014-08-20 18:06:01 +02:00
Anatol Belski
8e8a30654e
fix zpp
2014-08-20 17:56:07 +02:00
Anatol Belski
5eefbce083
fix types in virtual cwd
2014-08-20 17:49:52 +02:00
Dmitry Stogov
d37820ff5b
Introduced get_resources() function.
...
It may be used for debugging and testing to identify resource leaks.
Changed ext/standard/tests/http/bug60570.phpt to use this function instead of unsafe attempt to catch resource leaks using get_memory_usage()
2014-08-20 18:29:44 +04:00
Anatol Belski
e08fa78a54
fixed count_chars()
2014-08-20 15:51:45 +02:00
Anatol Belski
38c4db54dd
fixed nl2br
2014-08-20 15:32:24 +02:00
Remi Collet
634d6ab142
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
2014-08-20 15:17:30 +02:00
Anatol Belski
33d2442a32
fix php_sapi_filter
2014-08-20 15:14:25 +02:00
Remi Collet
28f71e18d1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed variable corruption under win x64
2014-08-20 15:11:19 +02:00
Anatol Belski
745a71be33
yet more fixes to zpp
2014-08-20 14:46:14 +02:00
Dmitry Stogov
04aa96d28d
Removed a hack that allowed passing of function return value by reference depending on value of reference-counter (Fixed Zend/tests/bug35393.phpt test failure)
2014-08-20 15:04:40 +04:00
Dmitry Stogov
3d90fdf79c
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
phpdbg doesn't build due to the phpng merge, distable its build & test runs
phpdbg doesn't build due to the phpng merge, distable it
2014-08-20 15:04:03 +04:00
Lior Kaplan
a43ddea897
phpdbg doesn't build due to the phpng merge, distable its build & test runs
2014-08-20 13:33:37 +03:00
Lior Kaplan
d91b1ef7b8
phpdbg doesn't build due to the phpng merge, distable it
2014-08-20 12:13:36 +03:00
Dmitry Stogov
c1b5fde606
Reverted incorrectly changed test. Now it's the same as in PHP-5.6.
2014-08-20 12:03:47 +04:00
Anatol Belski
fdbbe5fa30
fixed some incompatible types
2014-08-20 09:52:23 +02:00
Anatol Belski
f27c52d846
fixed incompatible types usage
2014-08-20 09:15:00 +02:00
Anatol Belski
07359785c3
Merge remote-tracking branch 'php/master'
2014-08-20 08:48:43 +02:00
Dmitry Stogov
8ea7e4e4e2
fixed memory leak
2014-08-20 10:43:37 +04:00
Tjerk Meesters
285934a4c9
Fixed off-by-one memory allocation that could lead to invalid memory reads on strlen()
...
Always properly null terminate strings before ini parsing
Remove unnecessary memset() statements
2014-08-20 12:13:19 +08:00
Andrea Faulds
90ed6d0ec6
NEWS and UPGRADING
2014-08-20 00:38:33 +01:00
Andrea Faulds
115698d832
Merge branch 'master' of git.php.net:php-src
2014-08-20 00:34:12 +01:00
Andrea Faulds
376e545b01
Merge branch 'fpmConfFix' of github.com:DaveRandom/php-src
2014-08-20 00:28:43 +01:00
Andrea Faulds
342265badb
Just return, no need for RETURN_NULL()
2014-08-20 00:11:11 +01:00
Lior Kaplan
7cba6e0e82
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add NEWS entry for bug #67730
Add CVE ID for bug #67539
Add NEWS entry for bug #67492
Add NEWS entry for bug #67730
Add NEWS entry for bug #67730
Add CVE ID for bug #67539
2014-08-20 01:36:56 +03:00
Anatol Belski
53a8d8e627
Merge remote-tracking branch 'php/master'
2014-08-20 00:34:17 +02:00
Anatol Belski
476bdbf85b
ported opcache
2014-08-20 00:23:37 +02:00
Anatol Belski
61c8af6a9d
ported apache handler
2014-08-19 23:39:22 +02:00
Anatol Belski
21f623e945
ported fcgi
2014-08-19 23:12:17 +02:00
Andrea Faulds
676ed04d0d
Use zend_ polyfilled nan/finite, check finite
2014-08-19 22:03:16 +01:00
Anatol Belski
063079b62e
ported ext/intl, bugfixes to go
2014-08-19 22:57:17 +02:00
Anatol Belski
729bce4321
fix hash
2014-08-19 22:57:07 +02:00
Andrea Faulds
59f6cec3dd
Updated 32-bit << test
2014-08-19 21:28:26 +01:00
Sara Golemon
1ec93f8069
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Switch use of strtok() to gd_strtok_r()
2014-08-19 13:24:49 -07:00
Anatol Belski
074172061e
ported ext/com_dotnet
2014-08-19 22:23:03 +02:00
Anatol Belski
919b996527
ported ext/gmp
2014-08-19 22:10:20 +02:00
Anatol Belski
0ccc2f5d66
ported ext/gettext
2014-08-19 22:05:37 +02:00
Anatol Belski
48ba0a7962
ported ext/gd
2014-08-19 22:03:57 +02:00
Dmitry Stogov
14439b79b4
Fixed referenced value separation
2014-08-20 00:00:59 +04:00
Anatol Belski
6719106257
ported ext/ftp
2014-08-19 21:49:34 +02:00
Anatol Belski
bfc703bfb7
ported ext/filter
2014-08-19 21:43:22 +02:00
Anatol Belski
ac6d6aebd8
ported ext/fileinfo
2014-08-19 21:35:13 +02:00
Anatol Belski
7eba90705a
fixed exif
2014-08-19 21:26:31 +02:00
Anatol Belski
3ebf5bf99c
ported ext/enchant
2014-08-19 21:24:15 +02:00
Anatol Belski
49a78cc6b3
ported ext/dom
2014-08-19 21:22:07 +02:00
Andrea Faulds
821ca32a6f
Updated << 64-bit tests
2014-08-19 20:21:24 +01:00
Andrea Faulds
b3ba0f6ab0
Prevent bit shift count wrapping quirkiness on some CPUs for left shift
2014-08-19 20:21:23 +01:00
Andrea Faulds
cb770cdc03
Cast NaN and Infinity to zero
2014-08-19 20:21:23 +01:00
Andrea Faulds
6a58f270d8
Updated >> 64-bit tests
2014-08-19 20:21:23 +01:00
Andrea Faulds
38bc0a05c0
Prevent bit shift count wrapping quirkiness on some CPUs for right shift
2014-08-19 20:21:23 +01:00
Andrea Faulds
2f5e508e39
Fixed 32-bit test
2014-08-19 20:21:23 +01:00
Andrea Faulds
4fb5a983a3
Fixed 64-bit tests
2014-08-19 20:21:22 +01:00
Andrea Faulds
6a94568f82
Return FALSE on bit shift by negative number
2014-08-19 20:21:22 +01:00
Anatol Belski
1958857225
ported ext/json
2014-08-19 20:15:59 +02:00
Anatol Belski
7c7767853b
ported ext/ldap
2014-08-19 20:09:16 +02:00
Anatol Belski
6428b49851
ported ext/mbstring
2014-08-19 19:42:16 +02:00
Anatol Belski
e8fcd52ef1
ported ext/odbc
2014-08-19 19:35:29 +02:00
Anatol Belski
1899e6f9b9
ported ext/openssl
2014-08-19 19:27:37 +02:00
Anatol Belski
1a5a113f95
ported pcntl
2014-08-19 19:08:41 +02:00
Anatol Belski
4ed156d4df
ported from pdo - pgsql, odbc, mysql, firebirt, dblib
2014-08-19 19:02:07 +02:00
Anatol Belski
92269d25a3
ported pdo and pdo_sqlite
2014-08-19 18:32:08 +02:00
Anatol Belski
c517d6d853
ported ext/mysqli
2014-08-19 17:08:15 +02:00
Anatol Belski
bdbf47df18
ported mysql and mysqlnd
2014-08-19 16:51:06 +02:00
Anatol Belski
1d8bc9a274
ported ext/pgsql
2014-08-19 16:11:28 +02:00
Anatol Belski
8704e392a1
ported ext/phar
2014-08-19 15:12:13 +02:00
Anatol Belski
398a1cc655
added php_off_t alias
2014-08-19 14:39:24 +02:00
Anatol Belski
6974d36d01
ported ext/posix
2014-08-19 14:30:33 +02:00
Anatol Belski
179040ead0
partially ported ext/pspell, should be more for zend_string usage
2014-08-19 14:28:03 +02:00
Anatol Belski
f07b41b465
fix incompatible types
2014-08-19 14:20:56 +02:00
Anatol Belski
48e6adeee2
ported ext/session
2014-08-19 14:18:24 +02:00
Anatol Belski
64d54461bf
ported ext/shmop
2014-08-19 14:05:39 +02:00
Anatol Belski
e41ec2cfeb
ported ext/simplexml
2014-08-19 14:01:16 +02:00
Anatol Belski
0606e4bcb6
fixes to ext/skeleton
2014-08-19 13:53:44 +02:00
Anatol Belski
ecbce817eb
fixes to ext/snmp
2014-08-19 13:53:02 +02:00
Anatol Belski
094441f102
ported ext/soap
2014-08-19 13:49:48 +02:00
Anatol Belski
2da1c805ec
ported ext/sockets
2014-08-19 13:22:27 +02:00
Anatol Belski
5491d01a92
port sysvshm, sysvsem and sysvmsg
2014-08-19 13:11:32 +02:00
Anatol Belski
58aa0f8df8
fixes to tokenizer
2014-08-19 13:05:20 +02:00
Anatol Belski
40912abf1d
Merge remote-tracking branch 'php/master'
...
Conflicts:
ext/xsl/xsltprocessor.c
2014-08-19 12:56:29 +02:00
Anatol Belski
168ea67b2d
ported xsl, xml reader and writer
2014-08-19 12:55:03 +02:00
Anatol Belski
0e8c20edc9
Merge branch 'master' of git.php.net:php-src
...
# By Stanislav Malyshev (5) and Remi Collet (1)
# Via Stanislav Malyshev
* 'master' of git.php.net:php-src:
5.4.32
fix potentially missing NUL termination
Fix bug #67730 - Null byte injection possible with imagexxx functions
Fixed bug #67717 - segfault in dns_get_record
Fix bug #67716 - Segfault in cdf.c
5.4.32 RC1
2014-08-19 12:51:05 +02:00
Anatol Belski
fa0cca85e5
fix uninitialized args usage
2014-08-19 12:50:27 +02:00
Anatol Belski
acdda1093b
ported ext/sqlite3
2014-08-19 12:04:15 +02:00
Nikita Popov
0a230fb4db
Fix add_class_name_literal (thanks laruence)
2014-08-19 12:01:54 +02:00
Anatol Belski
094a78eb69
ported ext/zip
2014-08-19 11:47:21 +02:00
Nikita Popov
69f0deb399
Fix ast size computation in case of zero children
2014-08-19 11:38:09 +02:00
Anatol Belski
beec26b5fe
ported ext/zlib
2014-08-19 11:33:51 +02:00
Anatol Belski
b9c44ce85e
fixes to ext/dba
2014-08-19 11:28:42 +02:00
Anatol Belski
3e9bab4d83
add credits
2014-08-19 11:24:54 +02:00
Anatol Belski
3bcb168662
ported ext/curl
2014-08-19 11:24:24 +02:00
Anatol Belski
fd279836cf
ported ext/calendar
2014-08-19 10:42:01 +02:00
Stanislav Malyshev
ff6b30c818
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.32
fix potentially missing NUL termination
Fix bug #67730 - Null byte injection possible with imagexxx functions
Fixed bug #67717 - segfault in dns_get_record
Fix bug #67716 - Segfault in cdf.c
5.4.32 RC1
2014-08-19 01:34:38 -07:00
Anatol Belski
29dc15b0bb
fixes to ext/bz2
2014-08-19 10:33:32 +02:00
Anatol Belski
ae470a8e82
fixes to ext/bcmath
2014-08-19 10:30:43 +02:00
Anatol Belski
5dc4f44f3e
Merge remote-tracking branch 'php/master'
...
Conflicts:
ext/standard/dns.c
2014-08-19 09:58:35 +02:00
Anatol Belski
6070757c77
Merge branch 'master' of git.php.net:php-src
...
# By Remi Collet
# Via Remi Collet
* 'master' of git.php.net:php-src:
fix merge issue in previous (again)
fix merge issue in previous
NEWS
NEWS
NEWS
Fixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597
2014-08-19 09:38:13 +02:00
Anatol Belski
d4f463cf08
brought back that vs2012 fix
2014-08-19 09:37:38 +02:00
Remi Collet
633cc42018
fix merge issue in previous (again)
2014-08-19 09:16:24 +02:00
Remi Collet
ddd1e2a8b7
fix merge issue in previous
2014-08-19 09:10:34 +02:00
Anatol Belski
30e0aa5b6b
fixes to iconv
2014-08-19 09:09:43 +02:00
Remi Collet
14e656f81d
fix merge for #67717
2014-08-19 08:56:43 +02:00
Anatol Belski
97c5172ac7
Merge remote-tracking branch 'php/master'
...
Conflicts:
ext/date/lib/parse_date.c
2014-08-19 08:27:43 +02:00
Anatol Belski
53c4c571b3
C89 compat
2014-08-19 08:16:34 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
Anatol Belski
5fe1e5fefd
c89 compat
2014-08-19 08:05:31 +02:00
Anatol Belski
e83f3e7f03
added missing define
2014-08-19 08:00:52 +02:00
Anatol Belski
6bb3d049e8
Merge branch 'master' of git.php.net:php-src
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'master' of git.php.net:php-src:
Fixed encoding support
2014-08-19 07:45:28 +02:00
Anatol Belski
56c7b27d6b
fix wrong pointer indirection
2014-08-19 07:44:03 +02:00
Dmitry Stogov
7dbb8117e4
Fixed encoding support
2014-08-19 09:28:13 +04:00
Lior Kaplan
dd16f4f716
Bump version to 7.0.0
...
Follow up for d9f3eac
2014-08-19 00:20:50 +03:00
Anatol Belski
04b5db1fb2
Merge branch 'master' of git.php.net:php-src
...
# By Derick Rethans (3) and Dmitry Stogov (1)
# Via Derick Rethans (3) and Dmitry Stogov (1)
* 'master' of git.php.net:php-src:
Improved error message
BFN.
Fixed bug #67109 : First uppercase letter breaks date string parsing.
Fixed bug #66985 : Some timezones are no longer valid in PHP 5.5.10.
2014-08-18 22:36:57 +02:00
Anatol Belski
de707df5e6
C89 compat
2014-08-18 22:36:38 +02:00
Derick Rethans
919b6447a2
Merge branch 'PHP-5.6'
2014-08-18 20:27:51 +01:00
Anatol Belski
1e8273964f
more fixes to ext/standard
2014-08-18 20:57:21 +02:00
Anatol Belski
dc40a5c450
refix the dump stuff again
2014-08-18 20:57:00 +02:00
Anatol Belski
a5ffd245bd
fixed splfixedarray
2014-08-18 19:55:05 +02:00
Dmitry Stogov
f3106998b0
Improved error message
2014-08-18 21:47:30 +04:00
Dmitry Stogov
0f5bad93fd
Fixed bug #67856 (Leak when using array_reduce with by-ref function)
2014-08-18 21:08:50 +04:00
Anatol Belski
e49e163a9e
fixes to date
2014-08-18 18:57:55 +02:00
Ferenc Kovacs
29a8701389
Merge branch 'PHP-5.6'
...
* PHP-5.6:
improve the grammar for my recent UPGRADING note
2014-08-18 18:48:06 +02:00
Nikita Popov
ce99712315
Adjust serialization tests to not rely on auto-vivification order
2014-08-18 18:20:34 +02:00
Nikita Popov
ced6d3068a
Merge branch 'master' into ast
2014-08-18 18:16:11 +02:00
Nikita Popov
26a9dc3e04
Fix bug #67858 : Leak when $php_errormsg already set
2014-08-18 18:14:19 +02:00
Ferenc Kovacs
eda5d30be9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
mention the changes regarding ReflectionClass::newInstanceWithoutConstructor in UPGRADING see the discussion on the mailing list and in the pull request for details: https://github.com/php/php-src/pull/733
2014-08-18 17:04:17 +02:00
Anatol Belski
b8324e6d63
further fixes to ext/standard
2014-08-18 16:50:54 +02:00
Nikita Popov
458f67cd21
Fix encoding declaration handling
...
As the encoding declaration influences lexing it needs to be
immidiately handled in the parser.
2014-08-18 16:27:53 +02:00
Andrea Faulds
594a768fef
Revert "Fixed closure::bindTo bad args test"
...
This reverts commit 668d0683cd .
2014-08-18 14:51:40 +01:00
Andrea Faulds
56e6a45c41
Accuracy
2014-08-18 14:50:05 +01:00
Andrea Faulds
2f40631716
Fixed issues spotted by code review
2014-08-18 14:47:57 +01:00
Anatol Belski
97e9d058f0
fixes to string functions
2014-08-18 15:39:38 +02:00
Anatol Belski
22dbb38d5e
fix typo
2014-08-18 10:37:38 +02:00
Anatol Belski
59ec8329f4
renamed _z_param_long
2014-08-18 10:35:46 +02:00
Anatol Belski
483a800c98
Merge remote-tracking branch '64bit_ng/master'
...
Conflicts:
Zend/zend_API.h
2014-08-18 10:34:29 +02:00
Anatol Belski
c586133d07
rename zval_get_long and fixes to some string functions
2014-08-18 08:39:39 +02:00
Dmitry Stogov
35189d2dd6
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Change to ext/reflection should be in its own category
2014-08-18 10:09:25 +04:00
Dmitry Stogov
f3dc4421ff
Fixed parameter parsing
2014-08-18 10:08:48 +04:00
Tjerk Meesters
61e81c714d
Change to ext/reflection should be in its own category
2014-08-18 13:07:34 +08:00
Dmitry Stogov
8b3c2cc47e
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Updated NEWS for d790ec
Correct typo in comments: 'initialized'
typofixes
typofixes
Fixes missing Reflector interface constraints being enforced by the engine
Fixed version id
Update NEWS
Update NEWS
Fix another failing test
Add NEWS
Better version checking
Better version checking
Better version checking
Fix failing tests
Patch for bug #67839 (mysqli does not handle 4-byte floats correctly)
2014-08-18 09:05:16 +04:00
Andrea Faulds
333a465751
Comment clarification
2014-08-18 00:03:56 +01:00
Tjerk Meesters
3e79907b0a
Updated NEWS for d790ec
2014-08-18 06:54:50 +08:00
Andrea Faulds
429bbd7081
Old comment, whitespace
2014-08-17 23:54:23 +01:00
Andrea Faulds
59010bff01
Don't allow unbound scoped closures; make ->call used passed object as scope
2014-08-17 23:47:47 +01:00
Anatol Belski
6ed220cbf3
fixed strspn
2014-08-17 22:56:26 +02:00
Anatol Belski
a3b0cafc01
more fixes to var_dump and co.
2014-08-17 22:34:18 +02:00
Nikita Popov
2a26cbb70e
Fix dtor in do_free as well
...
We should expose zval_ptr_dtor_nogc outside zend_execute
2014-08-17 21:47:23 +02:00
Anatol Belski
77eb6e7278
Merge branch 'master' of git.php.net:php-src
...
# By Veres Lajos (2) and Lior Kaplan (1)
# Via Lior Kaplan
* 'master' of git.php.net:php-src:
Correct typo in comments: 'initialized'
typofixes
typofixes
2014-08-17 21:40:39 +02:00
Andrea Faulds
3f468cd1c7
Removed unused variable
2014-08-17 20:21:12 +01:00
Andrea Faulds
6d187d53ae
Fixed and cleaned up implementaton of Closure::call() for phpng
2014-08-17 20:20:23 +01:00
Anatol Belski
f2182ab845
some more pure naming replacements
2014-08-17 21:16:27 +02:00
Anatol Belski
41115d3d9d
regenerated parser files
2014-08-17 21:05:20 +02:00
Anatol Belski
025a7c304e
fix THIS_HASHVAL
2014-08-17 21:04:52 +02:00
Lior Kaplan
741605da73
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Correct typo in comments: 'initialized'
Conflicts:
ext/dom/php_dom.c
ext/spl/php_spl.c
2014-08-17 21:37:22 +03:00
Nikita Popov
1bab755a35
Fix GC when opcache is in use
2014-08-17 19:15:54 +02:00
Andrea Faulds
e35c8ae13e
Merge branch 'master' into Closure_apply
...
Conflicts:
Zend/zend_closures.c
Zend/zend_closures.h
Zend/zend_execute_API.c
Zend/zend_vm_def.h
2014-08-17 17:20:02 +01:00
Veres Lajos
1e3452992f
typofixes
2014-08-17 16:00:39 +03:00
Lior Kaplan
543d5eb495
Merge branch 'PHP-5.6'
...
* PHP-5.6:
typofixes
Conflicts:
ext/spl/php_spl.c
2014-08-17 15:53:33 +03:00
Anatol Belski
90d6f60bc1
mostly fixes to spl, but also some other
2014-08-17 13:31:39 +02:00
Anatol Belski
977cf1dc11
Merge branch 'master' of git.php.net:php-src
...
# By Tjerk Meesters
# Via Tjerk Meesters
* 'master' of git.php.net:php-src:
Fixes missing Reflector interface constraints being enforced by the engine
2014-08-17 12:04:05 +02:00
Nikita Popov
84e757d22d
Drop znode extended attribute and unused union members
2014-08-17 00:37:45 +02:00
Nikita Popov
904a83a137
Merge remote-tracking branch 'php-src/master' into ast
...
Conflicts:
ext/opcache/Optimizer/optimize_func_calls.c
2014-08-16 22:31:13 +02:00
Nikita Popov
ee3d28ed33
Fix compile_args semantics
2014-08-16 22:29:15 +02:00
Nikita Popov
ef5f3390e7
Implement a[0] syntax from merge
2014-08-16 22:13:33 +02:00
Nikita Popov
38a173916c
Fix merge
2014-08-16 22:08:02 +02:00
Timm Friebe
3db67313c9
Fix nesting for *non*-compile-time-resolveable functions
...
See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414223
2014-08-16 22:03:56 +02:00
Timm Friebe
971d369d88
Add tests for calls to nested, *non*-compile-time-resolveable functions
...
See https://github.com/thekid/php-src/commit/a1a4ba95117cca77b6a669d01b1cf97ea4fcb507#commitcomment-7414362
2014-08-16 22:03:03 +02:00
Nikita Popov
71675a4bf8
Merge remote-tracking branch 'php-src/phpng' into ast
...
Conflicts:
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_language_parser.y
Incomplete merge!
2014-08-16 21:55:08 +02:00
Timm Friebe
a1a4ba9511
Make list of opcodes used for nesting calculation consistent
...
with `zend_do_convert_call_user_func()` in Zend/zend_compile.c
2014-08-16 17:47:21 +02:00
Timm Friebe
c3d214aa08
MFH
2014-08-16 17:38:20 +02:00
Anatol Belski
864172d9a4
further fixes to ext/standard and zend
2014-08-16 17:31:40 +02:00
Anatol Belski
54906c760f
increase the stack size for cli and cgi
2014-08-16 16:45:05 +02:00
Anatol Belski
5bb25776a0
further fixes on core
2014-08-16 15:34:04 +02:00
Anatol Belski
7534bf125a
fix set_time_limit, substr and some more
2014-08-16 14:46:31 +02:00
Anatol Belski
1169de3e61
fix some cases with fast zpp
2014-08-16 14:00:02 +02:00
Anatol Belski
b7e7a89541
several fixes -
...
- param parsing Z_PARAM_STR vs Z_PARAM_STRING
- some functions for new params
- etc
2014-08-16 12:55:13 +02:00
Anatol Belski
cb25136f4e
fix macros in the 5 basic extensions
2014-08-16 11:37:14 +02:00
Tjerk Meesters
87afa6bdc9
Fixes missing Reflector interface constraints being enforced by the engine
2014-08-16 17:34:56 +08:00
Anatol Belski
f790043e30
Merge branch 'master' of git.php.net:php-src
...
# By Keyur Govande (6) and Xinchen Hui (4)
# Via Keyur Govande (5) and Xinchen Hui (2)
* 'master' of git.php.net:php-src:
Fixed version id
Update NEWS
Update NEWS
Fix another failing test
Add NEWS
Better version checking
Better version checking
Better version checking
Fix failing tests
Patch for bug #67839 (mysqli does not handle 4-byte floats correctly)
2014-08-16 11:16:56 +02:00
Anatol Belski
8ee2a4a9b5
first shot on merging the core fro the int64 branch
2014-08-16 11:16:11 +02:00
Xinchen Hui
d790eceb01
Fixed version id
2014-08-16 16:44:02 +08:00
Xinchen Hui
c8250fa3e3
Merge branch 'master' of https://git.php.net/repository/php-src
2014-08-16 16:43:57 +08:00
Keyur Govande
bbd107f7b3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS
2014-08-15 23:49:17 +00:00
Keyur Govande
603e3ddfc0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS
Fix another failing test
Add NEWS
Fix failing tests
Patch for bug #67839 (mysqli does not handle 4-byte floats correctly)
2014-08-15 23:47:31 +00:00
Nikita Popov
f72d6f97ec
ZEND_INIT_FCALL_BY_NAME can have non-string literal
2014-08-15 22:55:15 +02:00
Nikita Popov
9cfbf333b0
Fix list() = string refcounting
2014-08-15 22:36:22 +02:00
Nikita Popov
b511bf828c
Fix typo
2014-08-15 22:13:38 +02:00
Nikita Popov
99878ced15
ZEND_STRLEN and ZEND_DEFINED have IS_VAR results for now
...
This avoids issues with calls being expected to have an IS_VAR
result
2014-08-15 22:07:46 +02:00
Nikita Popov
fbef2af2c3
Update opcache for new AST structures
2014-08-15 22:02:53 +02:00
Anatol Belski
735ec33b82
Merge remote-tracking branch 'origin/str_size_and_int64'
...
* origin/str_size_and_int64: (614 commits)
fix macro
fix macro
fix zpp
fix zpp
fix macros
some more after merge fixes
fixed macro names
fixed signatures
fix datatypes
fix zpp
fixed prototype
fix prototype
fix signature
fix macros
fix macros
reorder the struct members which reduces its size by at least 112 bytes
arg count is zend_size_t now, fix type
fix declarations
fix array types for pass by ref
fix macro
...
2014-08-15 21:34:21 +02:00
Nikita Popov
e607215e47
Fix tests to account for warnings moved from RT to CT
2014-08-15 18:44:39 +02:00
Nikita Popov
f7e5308f4b
Fix test to conform with UVS changes
2014-08-15 18:31:54 +02:00
Nikita Popov
7d8383149a
Fix list() test wrt new assignment order
2014-08-15 18:25:58 +02:00
Nikita Popov
919cb32f72
Fix memory usage test
...
Can't use peak memory usage because memory usage during compilation
is now larger
2014-08-15 17:44:15 +02:00
Nikita Popov
471f13b75e
Fix s&r mistake
2014-08-15 17:27:57 +02:00
Nikita Popov
c4460dd162
Restore old evaluation order
...
${a()}[b()][c()] = d() will now evaluate in order a, b, c, d.
2014-08-15 17:10:06 +02:00
Dmitry Stogov
b1c2e14954
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fixed version checking
Fixed version check
2014-08-15 16:13:00 +04:00
Xinchen Hui
bde56debe5
Better version checking
2014-08-15 18:41:01 +08:00
Xinchen Hui
7af24dcb47
Better version checking
2014-08-15 18:39:45 +08:00
Xinchen Hui
617b1759c4
Better version checking
2014-08-15 18:38:31 +08:00
Xinchen Hui
0583b3bd6a
Fixed version checking
2014-08-15 18:28:41 +08:00
Xinchen Hui
7ace092abf
Fixed version check
2014-08-15 18:21:23 +08:00
Dmitry Stogov
f281e0cf53
Fixed PHP6 unicode related tests
2014-08-15 13:35:52 +04:00
Dmitry Stogov
29893a88e7
Fixed PHP6 unicode related tests
2014-08-15 13:22:13 +04:00
Dmitry Stogov
e3de409eac
Fixed PHP6 unicode related tests
2014-08-15 13:08:53 +04:00
Xinchen Hui
d1b48a8b02
Merge branch 'master' of https://git.php.net/repository/php-src
...
Conflicts:
ext/mysqli/mysqli_api.c
2014-08-15 16:58:22 +08:00
Xinchen Hui
101c055396
Add copyright header
2014-08-15 16:47:54 +08:00
Xinchen Hui
e2522b4f1d
Remove old version PHP supports
2014-08-15 16:40:07 +08:00
Xinchen Hui
89b8c7b3ee
Fixed build after version number bumped
2014-08-15 16:39:51 +08:00
Dmitry Stogov
b01b971ec0
Parameters with duplicate names are not allowed anymore in PHP7.
2014-08-15 11:46:04 +04:00
Dmitry Stogov
3bd32efb3e
Behavoir of func_get_arg() and func_get_args() was changed in PHP7.
...
Now they show current values of variables corresponded to passed arguments instead of originally passed values.
2014-08-15 11:39:50 +04:00
Dmitry Stogov
0d57a7bf34
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Update Version Number :)
Fixed initializing
Unused variable
Conflicts:
main/php_version.h
2014-08-15 11:13:42 +04:00
Dmitry Stogov
d9f3eac12f
Bump version to 7.0.0-dev
2014-08-15 11:10:41 +04:00
Xinchen Hui
3ab892eb75
Update Version Number :)
2014-08-15 15:06:26 +08:00
Xinchen Hui
d7f12b9b9c
Fixed initializing
2014-08-15 13:52:52 +08:00
Xinchen Hui
27c2fa691b
Unused variable
2014-08-15 13:47:38 +08:00
Dmitry Stogov
8b66d64b23
Merge branch 'master' into phpng
...
* master:
add NEWS for 5.6 too
Fix bug #67716 - Segfault in cdf.c
Fix bug #67716 - Segfault in cdf.c
fix test
split the glob() test to test different basedir
fixed glob() edge case on windows, ref bug #47358
- fix bug #47358 , glob returns error, should be empty array()
Add NEWS entry for log() improvements
2014-08-15 08:10:08 +04:00
Stanislav Malyshev
e9dac4cf71
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add NEWS for 5.6 too
2014-08-14 18:16:49 -07:00
Stanislav Malyshev
65a840072b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67716 - Segfault in cdf.c
Fix bug #67716 - Segfault in cdf.c
2014-08-14 17:22:15 -07:00
Stanislav Malyshev
41177c1b65
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test
split the glob() test to test different basedir
fixed glob() edge case on windows, ref bug #47358
- fix bug #47358 , glob returns error, should be empty array()
2014-08-14 17:09:09 -07:00
Sara Golemon
50499fe6d7
Add NEWS entry for log() improvements
2014-08-14 13:34:06 -07:00
Dmitry Stogov
6463bc5b55
Fixed mode
2014-08-14 23:54:32 +04:00
Dmitry Stogov
c78a1734c2
Fixed compilation warnings
2014-08-14 23:53:27 +04:00
Dmitry Stogov
243383a811
Fixed windows build
2014-08-14 23:31:01 +04:00
Dmitry Stogov
7497c8793d
Merge branch 'master' into phpng
...
* master: (51 commits)
Update Git rules
Back to -dev (with EOL notice in NEWS)
new NEWS block for the next release
It's 2014 already, fix copyright year where user visible
PHP 5.3.29
Some changes were lost in the merge commit of #66091
Updated NEWS for #66091
Fixed #66091
Updated NEWS for #66091
Updated NEWS for #66091
Fixed #66091
updated NEWS
updated NEWS
updated NEWS
backported the fix for bug #41577
NEWS entry for e6d93a1 / d73d44c
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
Revert "Merge branch 'pull-request/694' into PHP-5.6"
PHP 5.3.29RC1
Fix missing type checks in various functions
...
Conflicts:
ext/date/php_date.c
ext/standard/math.c
2014-08-14 23:30:49 +04:00
Dmitry Stogov
773d80c6df
Fixed support for references
2014-08-14 22:44:25 +04:00
Dmitry Stogov
e7ffdb2654
Fixed support for references
2014-08-14 21:54:57 +04:00
Sara Golemon
37e91cc5d3
Merge branch 'pull-request/658'
2014-08-14 09:44:14 -07:00
Johannes Schlüter
e644e6634d
Merge branch 'PHP-5.6'
2014-08-14 17:27:12 +02:00
Dmitry Stogov
05ca575bbb
Fixed reference support (references to references are not allowed)
2014-08-14 17:00:01 +04:00
Dmitry Stogov
e430948581
Fixed reference handling
2014-08-14 15:07:39 +04:00
Dmitry Stogov
2ece977c80
Fixed conversion of empty packed array into hash
2014-08-14 13:44:37 +04:00
Dmitry Stogov
25bda5ae3c
Fixed assignment of reference to itself
2014-08-14 12:01:28 +04:00
Dmitry Stogov
753813e542
Restored "???" mark in the place that might be changed later
2014-08-14 10:46:17 +04:00
Xinchen Hui
f7f411e4e2
It's okey for use a stack value here (deleted immediately after use)
2014-08-14 12:26:45 +08:00
Xinchen Hui
c749fe2067
cleanup
2014-08-14 12:15:24 +08:00
Xinchen Hui
bfc1ae07be
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-08-14 11:52:46 +08:00
Ferenc Kovacs
0bad99bf99
Merge branch 'PHP-5.6'
...
* PHP-5.6:
new NEWS block for the next release
2014-08-14 02:18:27 +02:00
Dmitry Stogov
73fe418637
Avoid reallocation
2014-08-13 23:30:07 +04:00
Dmitry Stogov
8296129e50
cleanuo (use zend_string instead of char*)
2014-08-13 22:26:07 +04:00
Dmitry Stogov
bb7d9005b5
cleanup
2014-08-13 22:21:51 +04:00
Dmitry Stogov
01c8aee7d2
cleanup
2014-08-13 22:18:05 +04:00
Dmitry Stogov
a08b7b7701
cleanup
2014-08-13 19:43:34 +04:00
Dmitry Stogov
c1c913c5f1
cleanup (we don't have to duplicate elements of module_registry)
2014-08-13 17:05:18 +04:00
Dmitry Stogov
b59cc8de23
cleanup (we don't have to duplicate elements of stream_filters_hash)
2014-08-13 17:00:13 +04:00
Dmitry Stogov
9fea4348fd
cleanup
2014-08-13 16:55:21 +04:00
Tjerk Meesters
b695341e62
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS for #66091
Updated NEWS for #66091
Fixed #66091
2014-08-13 20:21:30 +08:00
Dmitry Stogov
5a06ac88da
cleanup (use zend_string* instead of char*)
2014-08-13 14:51:48 +04:00
Xinchen Hui
35dd200430
clean up - remove checked questions
2014-08-13 16:44:22 +08:00
Dmitry Stogov
b8517e410c
cleanup
2014-08-13 12:36:10 +04:00
Xinchen Hui
da3aeeed39
clean up - avoid realloc
2014-08-13 15:51:43 +08:00
Ferenc Kovacs
86aa8d2523
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS entry for e6d93a1 / d73d44c
restore FPM compatibility with mod_fastcgi broken since #694 / 67541, fixes bug 67606
Revert "Merge branch 'pull-request/694' into PHP-5.6"
2014-08-12 14:48:48 +02:00
Dmitry Stogov
05eaed4345
Merge branch 'master' into phpng
...
* master:
fix the failing date tests introduced with the latest timezonedb update Derick confirmed on irc that the new/current behavior is the correct and that the tests should be updated to reflect it
Fixed bug #67813 (CachingIterator::__construct InvalidArgumentException wrong message)
2014-08-12 14:46:38 +04:00
Anatol Belski
91351d4bf5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
updated NEWS
backported the fix for bug #41577
2014-08-12 11:53:10 +02:00
Anatol Belski
b3860f4224
Merge branch 'pull-request/681'
2014-08-12 11:45:05 +02:00
Ferenc Kovacs
b3468662de
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix the failing date tests introduced with the latest timezonedb update Derick confirmed on irc that the new/current behavior is the correct and that the tests should be updated to reflect it
2014-08-12 10:44:09 +02:00
Dmitry Stogov
06476e5291
Fixed ext/odbc
2014-08-12 11:27:30 +04:00
Dmitry Stogov
8210b3b8c4
ext/pdo_odbc support for phpng (tested with unixODBC and mysql driver)
2014-08-12 11:00:06 +04:00
Dmitry Stogov
c4fc99ff82
ext/odbc support for phpng (incomplete)
2014-08-12 02:10:30 +04:00
Dmitry Stogov
7435fc88a6
Fixed pdo_firebird tests failures
2014-08-11 23:56:34 +04:00
Dmitry Stogov
3ae802508a
Fixed mode
2014-08-11 18:38:36 +04:00
Dmitry Stogov
8013a27ad9
Implemented ext/com_dotnet support for phpng
2014-08-11 18:37:26 +04:00
Xinchen Hui
dc06b4f941
Merge branch 'PHP-5.6'
2014-08-11 17:47:47 +08:00
Dmitry Stogov
4c716e8b51
Merge branch 'master' into test
...
* master: (39 commits)
Add __debugInfo() to UPGRADING.
fix TS build
Update NEWS
Update NEWS
Update NEWS
Small tidy ups and raise visibility of GitHub PR process
Bug #41631 : Observe socket read timeouts in SSL streams
wrap int8_t and int16_t with #ifdef to avoid possible clashes
- Updated to version 2014.6 (2014f)
Removed Countable::count() change info from UPGRADE.INTERNALS too
NEWS and UPGRADING for intdiv()
Revert "Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option"
Fixed skip case for intdiv 64-bit test
Use callback structure
Add EXPECTF
Fix handling of multi-result sets with PS...used to clean not only the result set but the whole PS.
5.5.17 now
5.4.33-dev now
Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option
Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option
...
Conflicts:
ext/fileinfo/libmagic/softmagic.c
main/streams/xp_socket.c
2014-08-11 11:38:41 +04:00
Dmitry Stogov
0ae305e62d
Fixed compilation warnings about unused labels
2014-08-11 10:17:06 +04:00
krakjoe
1d01e2334c
fix incorrect cast of comparison function and signature of function
2014-08-11 06:47:09 +01:00
krakjoe
dc70139d85
update zend_make_printable_zval to take TSRM context
2014-08-11 06:09:46 +01:00
krakjoe
4513475a41
fix ZTS build
2014-08-10 09:31:02 +01:00
Adam Harvey
97bb078bdd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add __debugInfo() to UPGRADING.
2014-08-08 12:02:56 -07:00
Dmitry Stogov
4a3e501fb3
cleanup
2014-08-08 13:47:34 +04:00
Anatol Belski
6936c7a1bb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix TS build
2014-08-07 19:51:04 +02:00
Daniel Lowrey
5542e60c79
Merge branch 'PHP-5.6'
2014-08-07 12:45:50 -04:00
Christopher Jones
a7ecfb50c1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Small tidy ups and raise visibility of GitHub PR process
2014-08-07 09:30:19 -07:00
Christopher Jones
45caa88c29
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Small tidy ups and raise visibility of GitHub PR process
Conflicts:
README.SUBMITTING_PATCH
2014-08-07 09:29:47 -07:00
Christopher Jones
1d16d8f6ff
Small tidy ups and raise visibility of GitHub PR process
2014-08-07 09:27:53 -07:00
Daniel Lowrey
217c8edd00
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #41631 : Observe socket read timeouts in SSL streams
2014-08-07 12:17:29 -04:00
Dmitry Stogov
50a76860bd
Fixed GC for inner-loops (ext/standard/tests/array/compact_variation1.phpt).
...
Fixed bug #63734 .
2014-08-07 18:50:03 +04:00
Anatol Belski
898b5e5d52
Merge branch 'PHP-5.6'
...
* PHP-5.6:
wrap int8_t and int16_t with #ifdef to avoid possible clashes
2014-08-07 15:23:03 +02:00
Dmitry Stogov
417ed16d11
Make stream->context indirect trough zend_resource (stream->ctx->ptr).
...
Fixed ext/standard/tests/streams/bug61115.phpt
2014-08-07 15:55:37 +04:00
Derick Rethans
3fd379e196
Merge branch 'PHP-5.6'
...
Not sure what's going wrong here for UPGRADING.INTERNALS...
Conflicts:
UPGRADING.INTERNALS
2014-08-07 10:25:05 +01:00
Ferenc Kovacs
3b7c58ecd8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option"
Didn't actually merged the revert as we wan't to keep this in master, but merged it with -s ours.
2014-08-06 21:11:02 +02:00
Andrea Faulds
64534830b1
NEWS and UPGRADING for intdiv()
2014-08-06 19:56:32 +01:00
Andrea Faulds
6c47f50137
Merge branch 'master' of git.php.net:php-src
2014-08-06 16:02:38 +01:00
Andrea Faulds
54e663626d
Fixed skip case for intdiv 64-bit test
2014-08-06 16:02:02 +01:00
Andrey Hristov
f6b96d4c4c
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
2014-08-06 17:04:30 +03:00
Andrey Hristov
771a2e0614
Merge branch 'master' of git.php.net:php-src
2014-08-06 16:58:30 +03:00
Andrey Hristov
fa19a22279
Merge branch 'PHP-5.6'
2014-08-06 16:52:44 +03:00
Andrea Faulds
8e964fe665
Merge branch 'intdiv'
...
* intdiv:
Added -1 safety check, fixed test
php_error_docref
Fixed testcase
Implemented intdiv()
2014-08-06 13:59:23 +01:00
Dmitry Stogov
414762fc12
Fixed GC (Zend/tests/bug63635.phpt)
2014-08-06 15:31:07 +04:00
Stanislav Malyshev
e0456bfd29
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.33-dev now
Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option
Conflicts:
main/streams/xp_socket.c
2014-08-05 21:30:56 -07:00
Daniel Lowrey
f6b530bd54
Merge branch 'PHP-5.6'
2014-08-05 22:58:45 -04:00
Daniel Lowrey
60552a8871
Add SO_REUSEPORT + SO_BROADCAST support via socket stream context option
2014-08-05 22:43:12 -04:00
Dmitry Stogov
e677e8cc87
Fixed ext/wddx/tests/bug48562.phpt
2014-08-05 23:48:27 +04:00
Dmitry Stogov
e3b610c245
typo
2014-08-05 20:55:15 +04:00
Dmitry Stogov
da2097b349
Fixed argument numbering
2014-08-05 18:17:05 +04:00
Michael Wallner
1b5569eb16
Merge branch 'PHP-5.6'
...
* PHP-5.6:
BFN
BFN
Fixed Bug #67724
2014-08-05 15:48:50 +02:00
Dmitry Stogov
ce1af1e47b
Fixed bug #67725 (now we create immutable arrays only in SHM)
2014-08-05 15:38:43 +04:00
Dmitry Stogov
3700364ca5
Don't waste SHM for unused Buckets
2014-08-04 22:51:41 +04:00
Dmitry Stogov
b5590a2f87
Fixed incorrect arguments handling
2014-08-04 21:31:13 +04:00
Dmitry Stogov
415482ac0a
Delete immutable arrays copied into SHM (related to bug #67725 )
2014-08-04 20:20:12 +04:00
Dmitry Stogov
7301994c28
Merge branch 'master' into phpng
...
* master: (46 commits)
PHP_INT_MIN and _MAX tests
NEWS and UPGRADING
Added PHP_INT_MIN
Fix wrong lenght size
Bug #51096 - Remove unnecessary ? for first/last day of
Moved streams related functions to xp_ssl.c
Remove duplicate NEWS
Update NEWS
Update NEWS
Update NEWS
BFN
BFN
Fixed bug #67715 (php-milter does not build and crashes randomly).
We need to turn off any strict mode here for this warning to show up
Disable restrictions regarding arrays in constants at run-time. For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html
Revert "Fix bug #67064 in a BC safe way"
Updated NEWS for #67693
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
add missing entry to NEWS
...
Conflicts:
Zend/tests/errmsg_040.phpt
Zend/tests/ns_059.phpt
Zend/zend_language_parser.y
Zend/zend_vm_def.h
ext/openssl/openssl.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_directory.c
ext/spl/spl_iterators.c
ext/sqlite3/sqlite3.c
ext/standard/array.c
2014-08-04 13:56:27 +04:00
Remi Collet
6f9ed6b01c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
typo
typo
typo
2014-08-04 11:09:25 +02:00
Remi Collet
3e176e0166
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fixed Bug #66901 php-gd 'c_color' NULL pointer dereference
2014-08-04 10:51:19 +02:00
Anatol Belski
c3c83bb078
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Patches #67739
PHP_INT_MIN and _MAX tests
NEWS and UPGRADING
Added PHP_INT_MIN
Conflicts:
main/main.c
2014-08-04 10:34:07 +02:00
Anatol Belski
616275859e
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (51 commits)
backport the fix for bug #67739
fix macro
Fix bug #67705 (extensive backtracking in rule regular expression)
add test
Fix bug #67705 (extensive backtracking in rule regular expression)
Fix wrong lenght size
Bug #51096 - Remove unnecessary ? for first/last day of
Moved streams related functions to xp_ssl.c
Remove duplicate NEWS
Update NEWS
Update NEWS
Update NEWS
BFN
BFN
Fixed bug #67715 (php-milter does not build and crashes randomly).
We need to turn off any strict mode here for this warning to show up
Disable restrictions regarding arrays in constants at run-time. For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html
Revert "Fix bug #67064 in a BC safe way"
Updated NEWS for #67693
Updated NEWS for #67693
...
2014-08-04 10:28:03 +02:00
Anatol Belski
38a4b934ca
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
backport the fix for bug #67739
Fix bug #67705 (extensive backtracking in rule regular expression)
add test
Fix bug #67705 (extensive backtracking in rule regular expression)
2014-08-04 10:04:02 +02:00
Anatol Belski
eee03852b6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
backport the fix for bug #67739
2014-08-04 09:59:06 +02:00
Anatol Belski
8eeacd3364
Merge branch 'pull-request/756'
2014-08-04 09:47:11 +02:00
Anatol Belski
dccbb79445
fix macro
2014-08-04 09:28:36 +02:00
Anatol Belski
860f0ca1aa
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (46 commits)
Fix wrong lenght size
Bug #51096 - Remove unnecessary ? for first/last day of
Moved streams related functions to xp_ssl.c
Remove duplicate NEWS
Update NEWS
Update NEWS
Update NEWS
BFN
BFN
Fixed bug #67715 (php-milter does not build and crashes randomly).
We need to turn off any strict mode here for this warning to show up
Disable restrictions regarding arrays in constants at run-time. For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html
Revert "Fix bug #67064 in a BC safe way"
Updated NEWS for #67693
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
add missing entry to NEWS
add missing entries to NEWS
add NEWS block for the next RC
NEWS entry for #67713
...
Conflicts:
Zend/zend_language_parser.y
ext/odbc/php_odbc.c
ext/openssl/openssl.c
ext/spl/spl_directory.c
ext/spl/spl_iterators.c
ext/sqlite3/sqlite3.c
ext/standard/array.c
2014-08-04 09:18:42 +02:00
Stanislav Malyshev
fa42a513a4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67705 (extensive backtracking in rule regular expression)
add test
Fix bug #67705 (extensive backtracking in rule regular expression)
2014-08-04 00:15:38 -07:00
Andrea Faulds
668d0683cd
Fixed closure::bindTo bad args test
2014-08-03 14:48:14 +01:00
Mauricio Vieira
8afe869cab
xmlwriter_full_end_element tests
2014-08-02 22:39:12 -03:00
Mauricio Vieira
51be35cf38
Tests for writeAttributeNS and xmlwriter_write_attribute_ns
2014-08-02 22:39:11 -03:00
Christian Wenz
513d48f2ef
Patches #67739
...
Fixes #67739 : Windows 8.1/Server 2012 R2 OS build number reported as 6.2 (instead of 6.3)
2014-08-01 22:38:18 +02:00
Andrea Faulds
a748f454a8
Merge branch 'master' into Closure_apply
2014-08-01 17:02:11 +01:00
Andrea Faulds
fe894c2154
PHP_INT_MIN and _MAX tests
2014-08-01 17:01:17 +01:00
Andrea Faulds
a2bbc6f985
Merge branch 'PHP_INT_MIN'
2014-08-01 16:29:34 +01:00
Andrea Faulds
d6cf8be094
NEWS and UPGRADING
2014-08-01 16:28:20 +01:00
Andrea Faulds
24d7fc2bbc
Added PHP_INT_MIN
2014-08-01 14:29:50 +01:00
Andrey Hristov
1d609d2d26
Merge branch 'PHP-5.6'
2014-07-31 21:28:19 +03:00
Peter Cowburn
d5542c4a17
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #51096 - Remove unnecessary ? for first/last day of
2014-07-31 14:35:13 +01:00
Xinchen Hui
863a603fad
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-31 18:16:08 +08:00
Xinchen Hui
238a3167e6
Fixed valgrind issues
2014-07-31 18:15:47 +08:00
Dmitry Stogov
534dfa84a1
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Fixed getDefaultProperties (it should not return reference)
Fixed invalid free
Fixed segfault
2014-07-31 10:55:39 +04:00
Dmitry Stogov
449f3e6452
Fixed resource leak
2014-07-31 10:53:31 +04:00
Dmitry Stogov
7275306887
Fixed check for eval()
2014-07-31 10:52:48 +04:00
Dmitry Stogov
c201ba8fff
execute_data->return_value should be initialized when call internal constructors
2014-07-31 10:51:49 +04:00
Dmitry Stogov
f693cf8e66
EA must be initialized
2014-07-31 10:50:27 +04:00
Xinchen Hui
cf5b3ed31c
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-31 12:57:37 +08:00
Xinchen Hui
be010e26c4
Fixed getDefaultProperties (it should not return reference)
2014-07-31 12:55:53 +08:00
Tjerk Meesters
a41a16c5cd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Moved streams related functions to xp_ssl.c
2014-07-31 12:18:19 +08:00
George Wang
9c6742670a
Updated NEWS regarding LiteSpeed SAPI
2014-07-30 14:53:07 -04:00
Keyur Govande
33ce329f57
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove duplicate NEWS
Update NEWS
Update NEWS
Update NEWS
2014-07-30 18:50:07 +00:00
Michael Wallner
03f56152e5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
BFN
BFN
Fixed bug #67715 (php-milter does not build and crashes randomly).
2014-07-30 20:14:40 +02:00
Nikita Popov
6cf89612db
Support doc comments for propreties
2014-07-30 19:12:48 +02:00
Nikita Popov
8e9a840a53
Mark some small functions as inline
2014-07-30 18:27:41 +02:00
Rasmus Lerdorf
e7d921fd0b
Merge commit '8b9719d'
...
* commit '8b9719d':
We need to turn off any strict mode here for this warning to show up
2014-07-30 12:23:46 -04:00
Bob Weinand
3c0adf2dcd
Merge branch 'PHP-5.6'
2014-07-30 18:07:01 +02:00
Nikita Popov
ad5677e4cd
Use ZVAL_COPY until proven wrong
2014-07-30 17:46:00 +02:00
Nikita Popov
0cd9cffb51
Rename _tmp_compile_const_expr
...
Also remove recursive immutization of arrays there, because this
is already handled when the array is created.
2014-07-30 17:44:43 +02:00
Nikita Popov
044e48d0b1
Weaker recursion during pre-evaluation
2014-07-30 17:29:59 +02:00
Nikita Popov
3630f03f8f
Immutable arrays for the recursive case as well
2014-07-30 13:43:04 +02:00
Tjerk Meesters
0dc88c45b8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
2014-07-30 18:28:23 +08:00
Ferenc Kovacs
ff5a934f21
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing entry to NEWS
2014-07-30 11:47:29 +02:00
Ferenc Kovacs
83c8cd591c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing entries to NEWS
2014-07-30 11:27:13 +02:00
Ferenc Kovacs
3c8cee0171
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add NEWS block for the next RC
2014-07-30 10:51:44 +02:00
Ferenc Kovacs
f893b18544
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS entry for #67713
update the exception message to better match the actual check
ReflectionClass::newInstanceWithoutConstructor() should be allowed to instantiate every class except those internal classes with a final __construct()
2014-07-30 10:46:31 +02:00
Dmitry Stogov
8ad3445713
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed usage after free
2014-07-30 10:40:32 +04:00
Xinchen Hui
1f10013ac4
Fixed invalid free
2014-07-30 11:21:40 +08:00
Keyur Govande
0e04d542e9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Undo inadvertent commit of php_version
Corrected patch for bug #60616
2014-07-30 02:47:44 +00:00
Xinchen Hui
2147799524
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-30 10:47:03 +08:00
Andrea Faulds
85bf8b4ff1
Fixed unbound scoped closure edge cases and added tests for them
2014-07-30 03:21:44 +01:00
Andrea Faulds
f65bdda469
Rename ::apply to ::call for the sake of JS consistency
2014-07-30 01:26:53 +01:00
Nikita Popov
8cab06f09b
Immutablize constant leaf arrays
...
Still haven't entirely figured out how to elegantly handle the
recursive variant.
2014-07-29 23:31:49 +02:00
Nikita Popov
6a13a22f9d
Fix segfault when class name evaluates to IS_CONST
2014-07-29 23:17:54 +02:00
Nikita Popov
763eb13d6e
Formatting
2014-07-29 21:00:19 +02:00
Andrea Faulds
d67ec70a4c
Added test for unbound_scoped
2014-07-29 19:08:21 +01:00
Nikita Popov
438b1e3d42
build_runtime_definition_key returns zend_string*
2014-07-29 20:01:11 +02:00
Andrea Faulds
ded5b3fda4
Added optional bool param $unbound_scoped to Closure::bind and ::bindTo
2014-07-29 18:59:36 +01:00
Dmitry Stogov
70fb0e7519
Fixed incinsitency in passing arguments by reference to call_user_func()
2014-07-29 20:27:48 +04:00
Dmitry Stogov
dda7e84f10
Fixed ext/standard/tests/array/unexpected_array_mod_bug.phpt
2014-07-29 18:19:41 +04:00
Dmitry Stogov
46fcd3fc08
Fixed callback registraion order in spl_autoload_register()
2014-07-29 16:23:56 +04:00
Dmitry Stogov
507e3b9193
fixed support for references
2014-07-29 15:29:22 +04:00
Tjerk Meesters
0120a9ca4b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Wildcards should only be used in the first name component; fixed comment style
2014-07-29 19:15:20 +08:00
Dmitry Stogov
cad6408a3f
Fixed Zend/tests/bug54265.phpt
2014-07-29 14:34:43 +04:00
Dmitry Stogov
046db57049
Fixed incorrect destruction (it might lead to crash)
2014-07-29 12:13:47 +04:00
Dmitry Stogov
21dec5f511
ext/interbase support (incomplete)
2014-07-29 10:15:01 +04:00
Xinchen Hui
a0a4eb23ee
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-29 14:14:45 +08:00
Andrea Faulds
167128d854
Implemented Closure::apply
2014-07-29 02:36:17 +01:00
Keyur Govande
e7df0af6bd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #60616 (odbc_fetch_into returns junk at end of multi-byte char fields)
2014-07-28 23:17:23 +00:00
Nikita Popov
18f0680779
Change current_namespace to a zend_string*
2014-07-28 22:38:26 +02:00
Nikita Popov
047a994830
For filenames a pointer comparison is sufficient
2014-07-28 22:30:24 +02:00
Nikita Popov
e9fb72c8ea
Rename to zend_str_equals_literal and turn into a macro
...
So we can make of sizeof rather than strlen
2014-07-28 22:20:43 +02:00
Nikita Popov
c8d3b5909e
zend_str_equals_str(_ci)
2014-07-28 22:16:24 +02:00
Nikita Popov
8c724c205d
Use zend_str_equals more often
2014-07-28 22:07:11 +02:00
Nikita Popov
7889050685
Add zend_ prefix for emit_op(_tmp)
2014-07-28 22:03:16 +02:00
Stanislav Malyshev
fcd195aa64
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix SOAP for uninitialzed object
2014-07-28 11:38:20 -07:00
Nikita Popov
cf7f0c412d
zend_ast_create determined child count automatically
2014-07-28 18:18:47 +02:00
Nikita Popov
39d480e471
Remove zend_ast_create_unary etc
2014-07-28 17:59:12 +02:00
Nikita Popov
e403b27a40
Remove old macro/function
2014-07-28 15:55:30 +02:00
Nikita Popov
4c05bec536
Remove some unused compiler globals
2014-07-28 15:52:18 +02:00
Nikita Popov
31a886c346
More dead code
2014-07-28 15:43:39 +02:00
Nikita Popov
55f53e29a0
zend_get_class_fetch_type works on zend_string
2014-07-28 15:39:43 +02:00
Nikita Popov
50aefcf075
Remove duplicate code
2014-07-28 15:29:56 +02:00
Nikita Popov
2306655214
We don't pay per newline...
2014-07-28 15:26:30 +02:00
Nikita Popov
38c4125c2e
Cleanup dead/duplicate code
2014-07-28 15:23:00 +02:00
Nikita Popov
a2925df653
Use zend_ast_get_str where possible
2014-07-28 15:16:35 +02:00
Nikita Popov
1d79fb308b
Add zend_ast_list* variant to parser stack element
2014-07-28 15:10:58 +02:00
Nikita Popov
f29b84ab46
Minor cleanups in AST code
2014-07-28 14:51:08 +02:00
Nikita Popov
187ff135f2
zend_do_op_data -> zend_emit_op_data
2014-07-28 12:55:37 +02:00
Nikita Popov
d3cb239305
Use separate node type for lists
...
This saves storing the children count for normal ast nodes.
2014-07-28 12:06:57 +02:00
Stanislav Malyshev
f281a315f7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix NEWS
Fix missing type checks in various functions
2014-07-28 00:39:24 -07:00
Nikita Popov
21eb6807c9
Store lineno for zval ast nodes more efficiently
2014-07-27 13:25:32 +02:00
Nikita Popov
d0943edf49
Remove last EA usages
...
Still retaining the EA field in znode as it is used by opcache
2014-07-27 12:49:26 +02:00
Nikita Popov
bea85f58bb
Use more specific parser stack nodes
2014-07-27 12:46:54 +02:00
Nikita Popov
a74515e240
Separate class type and start lineno
2014-07-27 12:37:28 +02:00
Nikita Popov
0b86b1c8e5
Store doc comments in separate stack entry from start lineno
2014-07-27 12:31:17 +02:00
Nikita Popov
1ea9a2d934
Cleanup member modifier code
2014-07-27 12:19:01 +02:00
Stanislav Malyshev
47a12117c3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix SPL objects initialization checks
2014-07-26 19:37:37 -07:00
Stanislav Malyshev
faaa0ffdc4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add object initialization checks for sqlite3 classes
2014-07-26 16:58:09 -07:00
Nikita Popov
df42793cd2
Create namespace_name via AST
2014-07-26 21:53:50 +02:00
Nikita Popov
c07907121e
zend_do_return -> zend_emit_final_return
2014-07-26 21:32:48 +02:00
Nikita Popov
4ca4b423be
Make lexer return AST nodes
2014-07-26 21:22:54 +02:00
Nikita Popov
8c8839c2a1
Remove DUMMY_STRINGL
...
What is that for?
2014-07-26 19:03:36 +02:00
Nikita Popov
a51e00a8cd
Add functions for create str/long ast directly
2014-07-26 19:01:14 +02:00
Nikita Popov
9344a95ac9
Remove dead code
2014-07-26 18:51:28 +02:00
Nikita Popov
60d96d5117
Fix code in test
2014-07-26 18:39:40 +02:00
Nikita Popov
0406b4d494
Update error message
2014-07-26 18:38:54 +02:00
Nikita Popov
17234d7895
Replicate old linenos for class binding
2014-07-26 18:36:57 +02:00
Nikita Popov
1bdc433259
Fix bugs
2014-07-26 18:23:46 +02:00
Nikita Popov
edd9fcab1e
Fix leaks
...
Must find a good way to handle constant expressions...
2014-07-26 18:08:31 +02:00
Nikita Popov
d46f67a3a7
Use arena allocator (currently leaky!)
2014-07-26 17:45:45 +02:00
Xinchen Hui
55cc812fc7
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-26 10:46:12 +08:00
Ferenc Kovacs
03dcdf5742
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "Fix bug #66568 : the second arg for unserialize is optional." as we already reverted the introduction of the second arg.
2014-07-25 13:16:31 +02:00
Stanislav Malyshev
7abaac41fd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
Fixed bug #67539 (ArrayIterator use-after-free due to object change during sorting)
Fixed Bug #67538 (SPL Iterators use-after-free)
2014-07-24 22:59:01 -07:00
Xinchen Hui
ec441ff4ed
Merge branch 'PHP-5.6'
2014-07-25 10:52:57 +08:00
Nikita Popov
1644bf01da
Resolve futher interning issues
...
Not sure if this is the right way to do it ...
2014-07-24 21:35:57 +02:00
Nikita Popov
c777427c08
Fix interning bug
2014-07-24 21:07:37 +02:00
Nikita Popov
689891c2b2
Expose ast via CG(ast)
2014-07-24 20:51:01 +02:00
Nikita Popov
24ca6bb928
Add call_user_func optimization
2014-07-24 20:35:18 +02:00
Nikita Popov
cec747234d
Implement call_user_func_array optimization
2014-07-24 19:22:46 +02:00
Johannes Schlüter
0ac3d8d4f4
Merge branch 'PHP-5.6'
2014-07-24 18:02:00 +02:00
Johannes Schlüter
6fdbb4601f
Merge branch 'PHP-5.6'
2014-07-24 16:59:37 +02:00
Dmitry Stogov
466816d4ef
Fixed string destruction (class_name might be reused and stored somewhere in __autoload()).
2014-07-24 14:11:21 +04:00
Tjerk Meesters
4b41009064
Merge branch 'PHP-5.6'
2014-07-24 14:40:30 +08:00
Dmitry Stogov
7c6477ce37
Merge branch 'master' into phpng
...
* master:
Removed second zval_copy_ctor()
Fixed crash on self-referencing constant expression (part of a constant AST)
Fixed support for constant arrays in context of "const" statement (Zend/tests/constant_expressions_arrays.phpt failed when opcache.protect_memort was set)
Conflicts:
Zend/zend_ast.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/reflection/php_reflection.c
2014-07-24 01:54:21 +04:00
Dmitry Stogov
8fb7c4dc08
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Removed second zval_copy_ctor()
2014-07-24 01:16:28 +04:00
Dmitry Stogov
39740a33e5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed crash on self-referencing constant expression (part of a constant AST)
2014-07-24 00:59:42 +04:00
Dmitry Stogov
4c37e69957
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed support for constant arrays in context of "const" statement (Zend/tests/constant_expressions_arrays.phpt failed when opcache.protect_memort was set)
2014-07-23 22:49:46 +04:00
Xinchen Hui
6b29880860
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-23 11:05:29 +08:00
Xinchen Hui
5fb31215cb
Fixed segfault
2014-07-23 11:05:03 +08:00
Nikita Popov
0356e07a05
Implement ZEND_DEFINED optimization
2014-07-22 23:30:57 +02:00
Nikita Popov
7892b89465
Implement ZEND_TYPE_CHECK optimization
2014-07-22 23:15:47 +02:00
Nikita Popov
2ee490ba3a
Implement ZEND_STRLEN optimization
2014-07-22 22:57:38 +02:00
Nikita Popov
f21d8bc23b
CT bind args before unpack
2014-07-22 20:41:45 +02:00
Nikita Popov
1859674061
Port ZEND_BIND_GLOBAL optimization
2014-07-22 20:24:47 +02:00
Dmitry Stogov
9583a14e75
Fixed potential memory leaks
2014-07-22 20:55:54 +04:00
Lior Kaplan
ca273c31dd
ZVAL_STRINGL takes only three variables
...
Follow up for commit f4cfaf36
2014-07-22 19:38:35 +03:00
Lior Kaplan
2334785f98
RETVAL_STRINGL takes only two variables
...
Follow up for commit f4cfaf36
2014-07-22 19:38:35 +03:00
Lior Kaplan
1953438ca0
RETVAL_STRING takes only one variable
...
Follow up for commit f4cfaf36
2014-07-22 19:38:35 +03:00
Lior Kaplan
da81873a46
RETURN_STRINGL takes only two variables
...
Follow up for commit f4cfaf36
2014-07-22 19:38:35 +03:00
Nikita Popov
d4d4b69e72
Merge branch 'phpng' into ast
...
Conflicts:
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Some of dmitry's optimizations are not merged in yet!
2014-07-22 18:24:58 +02:00
Dmitry Stogov
f163f625e8
fixed "isset($array[true]);"
2014-07-22 18:40:29 +04:00
Dmitry Stogov
f81956cb3e
Fixed GC bug
2014-07-22 18:39:58 +04:00
Nikita Popov
43b2973ee7
Remove declare_stack
2014-07-22 16:18:13 +02:00
Nikita Popov
a7fc995fa2
Dead code
2014-07-22 16:11:54 +02:00
Nikita Popov
b9be66ebf2
Implement declare()
2014-07-22 16:11:19 +02:00
Nikita Popov
2653b8b5dc
Handle __halt_compiler()
2014-07-22 15:50:23 +02:00
Dmitry Stogov
5fe7f799e0
Fixed compatibility
2014-07-22 17:14:43 +04:00
Nikita Popov
3becdb3376
__halt_compiler() without haling compiler
2014-07-22 14:25:19 +02:00
Nikita Popov
de2f132f33
Add NS error checks
...
Those can probably be implemented in a better way now...
2014-07-22 14:08:52 +02:00
Nikita Popov
776800b0a0
Discard NS doc comments
2014-07-22 13:54:54 +02:00
Dmitry Stogov
f2a2fccece
Merge branch 'master' into phpng
...
* master:
fix nmake snap when ext name is different in target dll
force atoll macro usage on windows
Enable $ replacement in exif, ldap, pdo_pgsql and tidy
See bug #67635
NEWS
NEWS
improve previous, add message during configure
Fixed bug #67635 php links to systemd libraries without using pkg-config
Improve fix for #66608
Fixed segfault with empty break
New added opcodes don't need to be resloved
Update NEWS
Update NEWS
Update NEWS
Fixed bug #66827 Session raises E_NOTICE when session name variable is array
implemented copy libs of core exts in phpize mode
fix copy the ext dll into the prefix path in phpize mode
fix default prefix in phpize mode
fix file with zero size usage in phpize mode
Conflicts:
Zend/zend_opcode.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/session/session.c
2014-07-22 15:42:17 +04:00
Nikita Popov
130b6340d2
Code cleanup
2014-07-22 13:30:26 +02:00
Nikita Popov
cc0bef6636
Fix namespace\, maybe
2014-07-22 13:25:47 +02:00
Nikita Popov
9c69c41a64
Port top level stmt
...
Problem: namespace\foo no longer works :/
2014-07-22 13:02:51 +02:00
Nikita Popov
8a2ff6b53d
Partial NS port (semicolon, no errors)
2014-07-22 12:45:44 +02:00
Nikita Popov
b6c9eb21d4
Port constant declaration
2014-07-22 11:55:07 +02:00
Dmitry Stogov
821b8bbb39
Fixed support for executor override
2014-07-22 11:24:16 +04:00
Dmitry Stogov
ea17b018d8
Fixed dtrace support
2014-07-22 11:12:49 +04:00
Bob Weinand
e3605383cd
Merge pull request #106 from EagleEyeJohn/patch-1
...
Update README.md
2014-07-22 04:49:41 +02:00
Nikita Popov
64151ec37a
Port function/const use
2014-07-21 23:41:11 +02:00
Nikita Popov
573d25b5e7
Drop dead code
2014-07-21 22:58:38 +02:00
Nikita Popov
37ac1b96ed
Port use statement
2014-07-21 22:49:31 +02:00
Nikita Popov
c60cd3e8ef
Remove __clone test (not reason it should error)
2014-07-21 18:47:03 +02:00
Nikita Popov
94d5d7d01b
Remove one usage of implementing_class
2014-07-21 18:25:46 +02:00
Nikita Popov
6c6dd84c50
Dead code
2014-07-21 18:24:10 +02:00
Nikita Popov
f8ce5e6efc
Handle const expr __CLASS__ in trait
2014-07-21 18:21:13 +02:00
Nikita Popov
61a6083e99
Fix some remaining class declaration issues
2014-07-21 18:15:09 +02:00
Nikita Popov
df970e9fc2
Pre-evaluate magic constants
2014-07-21 18:02:31 +02:00
Nikita Popov
18fd2a1897
Port __TRAIT__ and __CLASS__ to AST
2014-07-21 17:34:00 +02:00
Nikita Popov
005315510a
Mostly finish class declarations (~50 failing tests)
2014-07-21 17:14:01 +02:00
Nikita Popov
b24bda6be1
Partial port of class declarations
2014-07-21 16:34:45 +02:00
Nikita Popov
461bce5222
Prepare zend_ast_decl for reuse with classes
2014-07-21 15:38:21 +02:00
Nikita Popov
09564ebacf
zend_begin_func_decl
2014-07-21 15:22:13 +02:00
Anatol Belski
5cadd9d6d0
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-07-21 14:57:56 +02:00
Anatol Belski
222d59aeaa
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix nmake snap when ext name is different in target dll
2014-07-21 14:57:51 +02:00
Anatol Belski
be8f557e77
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix nmake snap when ext name is different in target dll
2014-07-21 14:57:19 +02:00
Anatol Belski
b39f98cf81
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix nmake snap when ext name is different in target dll
2014-07-21 14:48:06 +02:00
Anatol Belski
457f1a3ad5
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
This test depends on expose_php being on
fixed broken merged code
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
Test output relies on expose_php being on
1.2 is a problematic float to print out Lower the default display precision for this test
The test output is dependent on expose_php ini
cleanup file headers.
Do not kill children process in pre-fork mode when parent process quit.
update year & copyright
Fix bug #67587 : Redirection loop on nginx with FPM
Fix still broken session test. Only return true/false.
Followup fix to custom session save handlers
Fix handling of session user module custom handlers.
Update info.c
Conflicts:
ext/session/mod_user.c
main/php_content_types.c
2014-07-21 11:35:22 +02:00
Anatol Belski
6ac9e106af
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (132 commits)
force atoll macro usage on windows
Enable $ replacement in exif, ldap, pdo_pgsql and tidy
See bug #67635
NEWS
NEWS
improve previous, add message during configure
Fixed bug #67635 php links to systemd libraries without using pkg-config
Improve fix for #66608
Fixed segfault with empty break
New added opcodes don't need to be resloved
Update NEWS
Update NEWS
Update NEWS
Fixed bug #66827 Session raises E_NOTICE when session name variable is array
implemented copy libs of core exts in phpize mode
fix copy the ext dll into the prefix path in phpize mode
fix default prefix in phpize mode
fix file with zero size usage in phpize mode
Update NEWS
Fixed bug #66608 (Incorrect behavior with nested "finally" blocks)
...
Conflicts:
main/php_content_types.c
2014-07-21 11:33:09 +02:00
Anatol Belski
6696cbcc9a
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
force atoll macro usage on windows
2014-07-21 10:07:39 +02:00
Anatol Belski
833e466983
Merge branch 'PHP-5.6'
...
* PHP-5.6:
force atoll macro usage on windows
2014-07-21 10:01:48 +02:00
Anatol Belski
0ff7fb02e1
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (131 commits)
Enable $ replacement in exif, ldap, pdo_pgsql and tidy
See bug #67635
NEWS
NEWS
improve previous, add message during configure
Fixed bug #67635 php links to systemd libraries without using pkg-config
Improve fix for #66608
Fixed segfault with empty break
New added opcodes don't need to be resloved
Update NEWS
Update NEWS
Update NEWS
Fixed bug #66827 Session raises E_NOTICE when session name variable is array
implemented copy libs of core exts in phpize mode
fix copy the ext dll into the prefix path in phpize mode
fix default prefix in phpize mode
fix file with zero size usage in phpize mode
Update NEWS
Fixed bug #66608 (Incorrect behavior with nested "finally" blocks)
Enable build without atoll (e.g old AIX flavours)
...
Conflicts:
Zend/zend_opcode.c
ext/date/php_date.c
ext/mysqli/mysqli.c
ext/pgsql/pgsql.c
ext/session/session.c
ext/spl/spl_array.c
ext/standard/http_fopen_wrapper.c
ext/standard/string.c
sapi/litespeed/lsapi_main.c
2014-07-21 09:26:43 +02:00
Lior Kaplan
128eda843f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Enable $ replacement in exif, ldap, pdo_pgsql and tidy
Update NEWS
2014-07-21 01:50:51 +03:00
Remi Collet
a9c8499d4b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
See bug #67635
2014-07-20 11:16:09 +02:00
Nikita Popov
028c7d20fb
Throw \self etc error
...
Could only enable this now that everything uses the new format
2014-07-19 23:44:33 +02:00
Nikita Popov
c8d99a1333
No need to handle leading \ in class_name_literal
2014-07-19 23:39:51 +02:00
Nikita Popov
e6e8867550
Fix class name resolution in traits
2014-07-19 23:36:01 +02:00
Nikita Popov
86f1004c4e
Improve class name handling
2014-07-19 23:30:07 +02:00
Nikita Popov
e572a32657
Dead code
2014-07-19 22:46:22 +02:00
Nikita Popov
291bcfe4f1
Port trait uses
2014-07-19 22:39:01 +02:00
Remi Collet
6055a53d34
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
improve previous, add message during configure
Fixed bug #67635 php links to systemd libraries without using pkg-config
2014-07-19 18:47:32 +02:00
Nikita Popov
fd7387a761
Handle class const doc comment
...
Property doc comments not yet handled
2014-07-19 15:20:35 +02:00
Nikita Popov
222430d99c
Port class const decl
2014-07-19 15:13:50 +02:00
Nikita Popov
43d6e599cf
Port property declarations
2014-07-19 14:54:56 +02:00
Nikita Popov
1aaaedc1eb
Dead code
2014-07-19 13:23:25 +02:00
Nikita Popov
6513e959d6
Fix for with empty expression lists
2014-07-19 13:21:12 +02:00
Nikita Popov
ef26f95676
Load lineno when compiling exprs
2014-07-19 13:13:58 +02:00
Nikita Popov
446cf29ab7
Fix compound assign to static property
2014-07-19 13:03:58 +02:00
Nikita Popov
09309a543f
Remove dead code
2014-07-19 13:00:57 +02:00
Nikita Popov
74dba7e4db
__autoload error
2014-07-19 12:57:31 +02:00
Nikita Popov
547331d24d
Port methods
...
The duplicated magic method checks are ugly
2014-07-19 12:52:44 +02:00
Xinchen Hui
1c0e22f50c
Merge branch 'PHP-5.6'
2014-07-19 17:19:57 +08:00
Xinchen Hui
a3e8a10918
Merge branch 'PHP-5.6'
2014-07-19 13:12:56 +08:00
Yasuo Ohgaki
5ed63b3bfc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66827 Session raises E_NOTICE when session name variable is array
2014-07-19 10:00:10 +09:00
Nikita Popov
b9f62be2e6
Cleanup
2014-07-18 20:24:44 +02:00
Nikita Popov
d0b66f3af3
zend_emit_jump and zend_emit_cond_jump
2014-07-18 20:03:29 +02:00
Anatol Belski
af676be066
Merge branch 'PHP-5.6'
...
* PHP-5.6:
implemented copy libs of core exts in phpize mode
2014-07-18 18:41:31 +02:00
Nikita Popov
ca7a490758
zend_update_jump_target
2014-07-18 16:11:43 +02:00
Nikita Popov
0eab81f32b
Remove bits of dead code
2014-07-18 15:53:38 +02:00
Nikita Popov
adbddf4e5b
Support static closures
2014-07-18 15:47:46 +02:00
Nikita Popov
405b97e8a9
Handle function doc comments
2014-07-18 15:23:16 +02:00
Nikita Popov
cdcf78f730
Fix lexer/compiler interdependency
2014-07-18 15:05:31 +02:00
Nikita Popov
359f99fe48
Use dedicated func_decl ast node
...
Functions need a bunch of extra info, that becomes inconvenient
to handle using the normal ast structure.
2014-07-18 14:57:00 +02:00
Nikita Popov
3ad55e001e
Small cleanup
...
Current problem: build_runtime_defined_function_key is lexer
coupled
2014-07-18 13:15:58 +02:00
Nikita Popov
ae5ba9abfb
Port closures
2014-07-18 12:58:24 +02:00
Nikita Popov
abfc8bd894
Port closure use
2014-07-18 12:30:39 +02:00
Anatol Belski
78f2496f8c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix copy the ext dll into the prefix path in phpize mode
fix default prefix in phpize mode
fix file with zero size usage in phpize mode
2014-07-18 11:43:43 +02:00
Xinchen Hui
6cc487df2c
Revert "stash" (pushed by accident)
...
This reverts commit a18bf5fc93 .
2014-07-18 16:27:31 +08:00
Xinchen Hui
110bf9c720
Merge remote-tracking branch 'origin/master' into phpng
...
Conflicts:
Zend/zend_compile.h
ext/openssl/xp_ssl.c
2014-07-18 16:25:43 +08:00
Xinchen Hui
f6f621ef69
Merge branch 'PHP-5.6'
2014-07-18 15:51:24 +08:00
Lior Kaplan
46dcd12d53
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Enable build without atoll (e.g old AIX flavours)
Enable build without atoll (e.g old AIX flavours)
2014-07-17 23:11:33 +03:00
Anatol Belski
3690e973d2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
implemented usage of the non core ext deps in phpize mode
2014-07-17 21:49:23 +02:00
Jille Timmermans
acd0d7b403
Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set)
2014-07-17 17:21:52 +02:00
John Nicholls
44d61576b9
Update README.md
...
correct spelling of "exert"
2014-07-17 15:43:24 +01:00
Anatol Belski
81c42db7b7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
implemented force usage of generated .h and .js deps in phpize mode
2014-07-17 09:32:44 +02:00
Xinchen Hui
4e378844ab
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-17 15:21:46 +08:00
Dmitry Stogov
2febfbab8e
Micro optimization for the main interpreter loop
2014-07-17 11:18:44 +04:00
Nikita Popov
20d2a044ee
Lineno corrections
2014-07-16 23:33:22 +02:00
Nikita Popov
64a7132185
Port __METHOD__
2014-07-16 23:23:25 +02:00
Nikita Popov
a75921dcb1
Port __FUNCTION__ to AST
2014-07-16 23:10:16 +02:00
Anatol Belski
eb10f035fc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
basic routines for phpize mode to
This test depends on expose_php being on
Test output relies on expose_php being on
1.2 is a problematic float to print out Lower the default display precision for this test
The test output is dependent on expose_php ini
2014-07-16 21:35:18 +02:00
Andrey Hristov
24381cdeb2
Merge branch 'PHP-5.6'
2014-07-16 19:50:41 +03:00
Andrey Hristov
5d6805d498
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
2014-07-16 19:25:31 +03:00
Xinchen Hui
a18bf5fc93
stash
2014-07-16 16:35:48 +08:00
Daniel Lowrey
a0cc25bbfb
Merge branch 'PHP-5.6'
2014-07-16 00:15:05 -04:00
Nikita Popov
f589713cc4
Preliminary function decl support
...
Problem: __FUNCTION__ etc don't work anymore, due to lexer/parser
interdependency.
2014-07-16 00:07:09 +02:00
Andrea Faulds
7148a4cf03
Added -1 safety check, fixed test
2014-07-15 13:53:24 +01:00
Andrea Faulds
6692d15e26
php_error_docref
2014-07-15 13:48:55 +01:00
Dmitry Stogov
8217e20ddb
Fixed compilation warnings
2014-07-15 15:51:40 +04:00
Dmitry Stogov
b4c2bd2277
Fixed compilation on Windows
2014-07-15 15:50:42 +04:00
Andrea Faulds
97c6c48ae8
Fixed testcase
2014-07-15 02:08:26 +01:00
Andrea Faulds
a521fe51d3
Implemented intdiv()
2014-07-15 00:35:26 +01:00
Nikita Popov
1ee3277aba
Port parameter defs
...
Has one bug re \self
2014-07-14 23:03:53 +02:00
Anatol Belski
1fef4e87fc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix C89 compat
This test depends on expose_php being on
The test output is dependent on expose_php ini
1.2 is a problematic float to print out Lower the default display precision for this test
Test output relies on expose_php being on
2014-07-14 20:28:23 +02:00
Rasmus Lerdorf
40955e27f7
This test depends on expose_php being on
2014-07-14 08:21:27 -07:00
Dmitry Stogov
bcc677789c
Fixed ZTS build
2014-07-14 15:46:09 +04:00
Dmitry Stogov
af7cb16907
Implemented builtin instruction for strlen()
2014-07-14 15:43:11 +04:00
Dmitry Stogov
42c4bcaed1
Fixed ZTS build
2014-07-14 14:25:04 +04:00
Anatol Belski
61b91ee7db
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added headers install to phpize mode
2014-07-14 09:53:47 +02:00
Dmitry Stogov
32e477c98c
Merge branch 'master' into phpng
...
* master: (40 commits)
Bug #67609 : TLS connections fail behind HTTP proxy
Updated NEWS for #67594
Updated NEWS for #67594
Fix #67594 - invisible colon should be stripped off header name
Updated NEWS for 34407
Updated NEWS for 34407
Updated NEWS for 34407
Fix for bug #34407 - ucwords and title case
fixed broken merged code
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
fixed broken merged code
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
Test output relies on expose_php being on
1.2 is a problematic float to print out Lower the default display precision for this test
The test output is dependent on expose_php ini
fix makefile in phpize mode
fixe output_as_table() when no ext was enabled
fix end of stream exception when generating makefile
...
Conflicts:
ext/standard/http_fopen_wrapper.c
ext/standard/string.c
sapi/cli/php_cli_server.c
2014-07-14 11:44:53 +04:00
Xinchen Hui
0ef6f729c9
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-14 14:34:51 +08:00
Dmitry Stogov
7dfb4f6b38
Implemented builtin instruction for type check functions - is_*()
2014-07-14 10:33:11 +04:00
Xinchen Hui
b7ff8f28b2
Temporary fixed the invalid read warning
2014-07-14 14:01:53 +08:00
Nikita Popov
47f0717a69
Rename params -> args
2014-07-13 13:11:55 +02:00
Nikita Popov
484ad86958
Moar removal
2014-07-12 19:20:21 +02:00
Nikita Popov
f9ed83469c
Remove more dead code
2014-07-12 19:18:09 +02:00
Nikita Popov
b934dfe088
Remove dead code
2014-07-12 19:10:19 +02:00
Nikita Popov
856e2a05b6
Fix + improve try/catch
2014-07-12 19:08:09 +02:00
Nikita Popov
069da161cf
approx correct linenos in errors
2014-07-12 17:10:10 +02:00
Nikita Popov
c58079b4fd
Port static vars
...
Need to figure out the constant expr stuff
2014-07-12 17:00:53 +02:00
Daniel Lowrey
4bdb0120dc
Merge branch 'PHP-5.6'
2014-07-12 10:57:30 -04:00
Timm Friebe
a49ca6fde8
Rewrite code to use ZEND_VM_JMP() instead of repeated ZEND_VM_INC_OPCODE() calls
2014-07-12 16:40:27 +02:00
Nikita Popov
86a1cd0d82
Verious fixes
2014-07-12 16:25:47 +02:00
Nikita Popov
8577f58e52
Store (bad) estimate of lineno with ast
...
Currently not used yet
2014-07-12 14:03:42 +02:00
Nikita Popov
e367e68111
Port try/catch
...
Down to 50 failing Zend tests
2014-07-12 13:50:58 +02:00
Tjerk Meesters
3a9bdafeff
Merge branch 'PHP-5.6'
2014-07-12 15:11:18 +08:00
Tjerk Meesters
7de82eaeef
Merge branch 'PHP-5.6'
2014-07-12 11:15:03 +08:00
George Wang
e05fb6ee01
fixed broken merged code
2014-07-11 15:02:02 -04:00
George Wang
2d7625a1b8
Fixed a bug that cannot access custom request header stored in apache_request_headers() though array index.
2014-07-11 15:00:36 -04:00
Rasmus Lerdorf
cf23a2efc5
Test output relies on expose_php being on
2014-07-11 10:59:02 -07:00
Rasmus Lerdorf
a6d27b80b3
1.2 is a problematic float to print out
...
Lower the default display precision for this test
2014-07-11 10:29:40 -07:00
Rasmus Lerdorf
e6fae4ca4f
The test output is dependent on expose_php ini
2014-07-11 09:12:32 -07:00
Dmitry Stogov
6c8db864e0
Implemented builtin instruction for strlen()
2014-07-11 18:52:27 +04:00
Nikita Popov
32ca08f249
Fix leak
2014-07-11 15:33:39 +02:00
Nikita Popov
dde9faee2e
Port switch
2014-07-11 15:31:47 +02:00
Anatol Belski
7eaac0f605
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix makefile in phpize mode
2014-07-11 15:07:39 +02:00
Dmitry Stogov
27f38798a1
Fast parameter parsing API
...
This API is experemental. It may be changed or removed.
It should be used only for really often used functions.
(Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
2014-07-11 16:32:20 +04:00
Nikita Popov
f12c1482a3
Port foreach
2014-07-11 12:16:21 +02:00
Dmitry Stogov
8f229b2855
Optimized array_map() and array_combine()
2014-07-11 12:28:36 +04:00
Anatol Belski
646f0f4e47
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixe output_as_table() when no ext was enabled
2014-07-11 09:38:59 +02:00
Nikita Popov
7f151465b2
Make inner_statement_list asty
2014-07-10 23:04:42 +02:00
Anatol Belski
efea4cc3e0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix end of stream exception when generating makefile
2014-07-10 22:35:41 +02:00
Dmitry Stogov
de306e7088
Implement call_user_func() and call_user_func_array() using special opcodes.
...
In some rare cases it leads to insignificant changes in error messages.
2014-07-11 00:32:18 +04:00
Anatol Belski
2f1c11b3e2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
cleanup file headers.
Do not kill children process in pre-fork mode when parent process quit.
update to LSAPI 6.6
2014-07-10 22:17:46 +02:00
Anatol Belski
af994df812
Merge branch 'PHP-5.6'
...
* PHP-5.6:
force ext_dep.js prepend to configure.js in phpize mode
cleanup file headers.
Do not kill children process in pre-fork mode when parent process quit.
update to LSAPI 6.6
Update LiteSpeed SAPI code to V6.4
cleanup file headers.
Do not kill children process in pre-fork mode when parent process quit.
update to LSAPI 6.6
Update LiteSpeed SAPI code to V6.4
update year & copyright
Conflicts:
sapi/litespeed/lsapilib.h
2014-07-10 22:05:15 +02:00
George Wang
cf78e8324e
cleanup file headers.
2014-07-10 15:12:43 -04:00
George Wang
942d64c1c3
Do not kill children process in pre-fork mode when parent process quit.
2014-07-10 14:59:25 -04:00
George Wang
dd29cfed0a
update year & copyright
...
Conflicts:
sapi/litespeed/lsapi_main.c
2014-07-10 14:18:08 -04:00
Dmitry Stogov
4e291fab81
Fixed usage after free()
2014-07-10 21:45:09 +04:00
Anatol Belski
e00a4b92a3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
turn off PGO in phpize mode
Fixed typo in Makefile.frag
Fixed typo in Makefile.frag
2014-07-10 19:37:36 +02:00
Nikita Popov
4215969904
Port if (partial)
2014-07-10 16:38:04 +02:00
Dmitry Stogov
d81b287ce1
Fixed delayed closure destruction and reference support
2014-07-10 18:36:11 +04:00
Nikita Popov
3be63fca48
Port for
2014-07-10 15:51:47 +02:00
Anatol Belski
e40ecb937e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
explicitly PHP_ANALYZER=no when no known keyword was passed
2014-07-10 15:21:24 +02:00
Nikita Popov
80c44ad510
Support creating of ast nodes with >3 children
2014-07-10 15:18:08 +02:00
Nikita Popov
1738ee7e5a
Port do/while
2014-07-10 14:46:22 +02:00
Nikita Popov
c7656c06cc
Port while
...
Note: From here on everything is broken
2014-07-10 14:35:59 +02:00
Nikita Popov
68777b72b2
Expr stmts go through ast
2014-07-10 00:04:27 +02:00
Nikita Popov
1de1bc96a5
Make statement asty
2014-07-10 00:00:48 +02:00
Nikita Popov
117714d122
Port goto label
2014-07-09 23:46:22 +02:00
Nikita Popov
d14b763bb9
Make unticked_statement an ast node (usually NULL)
2014-07-09 23:39:21 +02:00
Nikita Popov
fc541418f2
Port goto
2014-07-09 23:11:32 +02:00
Nikita Popov
cc8a6fa91e
Port break/continue
2014-07-09 23:05:21 +02:00
Nikita Popov
5bf0c28fe3
Port throw
2014-07-09 22:48:42 +02:00
Dmitry Stogov
c85c795e46
Imporoved EXPECTED/UNEXPECTED macros to support not boolean expressions.
...
Fixed invalid EXPECTED() usage.
2014-07-09 19:32:09 +04:00
Dmitry Stogov
19729aa7fe
Use data stored in current call frame instead of EG() if possible
2014-07-09 17:07:41 +04:00
Dmitry Stogov
9d6e45a0ee
Changed zend_make_printable_zval() to return "use_copy" instead of additional reference argument.
...
Improved branch prediction.
2014-07-09 16:05:55 +04:00
Xinchen Hui
d085f79aea
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-09 18:37:49 +08:00
Xinchen Hui
d8431ba09c
Merge branch 'master' into phpng
2014-07-09 18:35:30 +08:00
Xinchen Hui
674af28607
Merge branch 'PHP-5.6'
2014-07-09 18:35:13 +08:00
Xinchen Hui
2c71ea1a99
Merge branch 'PHP-5.5' into PHP-5.6
2014-07-09 18:35:01 +08:00
Dmitry Stogov
f2a12d65fd
Merge branch 'master' into phpng
...
* master:
5.4.31
update NEWS
fix unstable test
5.5.16 now
fix unstable test
Fix bug #67587 : Redirection loop on nginx with FPM
Fix bug #67587 : Redirection loop on nginx with FPM
Fix bug #67587 : Redirection loop on nginx with FPM
updated NEWS
updated NEWS
updated NEWS
Backported the patch from bug #67407 into 5.5+
Backported the patch from bug #67407 into 5.4
NEWS
5.6 have fpm_globals.force_stderr
Fix Bug #67530 error_log=syslog ignored
NEWS
NEWS
Fix Bug #67530 error_log=syslog ignored
Update info.c
2014-07-09 14:07:37 +04:00
Dmitry Stogov
d87140d8d8
Added missed warning (ext/spl/tests/iterator_035.phpt)
2014-07-09 13:30:47 +04:00
Dmitry Stogov
1dd07d6bf4
Partial fix that allows internal constructors to set $this to null.
...
The address of $this passed to drectly called internal constructor in execute_data->return_value.
Internal constructors should use ZEND_CTOR_MAKE_NULL() macro (insted of previous ZEND_NULL(EG(This))) to do the work.
This patch doesn't fix the problem for indirectly called constructors. e.g. parant::__construct().
2014-07-09 11:57:42 +04:00
Xinchen Hui
fa82e05e4c
Use ZEND_HASH_FOREACH_* macros
2014-07-09 15:13:56 +08:00
Stanislav Malyshev
25fe17bdcd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.31
fix unstable test
5.5.16 now
2014-07-08 21:42:38 -07:00
Timm Friebe
a9653b613e
Merge branch 'catchable-fatals/methods-on-non-objects' of github.com:thekid/php-src into catchable-fatals/methods-on-non-objects
2014-07-09 00:16:20 +02:00
Timm Friebe
671f02a262
Merge branch 'master' into catchable-fatals/methods-on-non-objects
2014-07-09 00:16:03 +02:00
Stanislav Malyshev
3119b884db
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
2014-07-08 15:05:24 -07:00
Stanislav Malyshev
b19c30c1fa
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix unstable test
2014-07-08 14:32:45 -07:00
Dmitry Stogov
ca414c6904
Typo
2014-07-09 00:15:27 +04:00
Stanislav Malyshev
1632fbbd14
Merge branch 'pull-request/712'
...
* pull-request/712:
Fix bug #67587 : Redirection loop on nginx with FPM
2014-07-08 12:55:53 -07:00
Stanislav Malyshev
ef2f12ec84
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67587 : Redirection loop on nginx with FPM
Fix bug #67587 : Redirection loop on nginx with FPM
2014-07-08 12:55:35 -07:00
Christian Weiske
e76d3cba96
Fix bug #67587 : Redirection loop on nginx with FPM
...
Redirection will work correctly as long as PATH_INFO is available,
e.g. via the following nginx configuration:
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
2014-07-08 19:03:26 +02:00
Nikita Popov
b5e36ec236
Make gdb dumpbt work again (at least partially)
2014-07-08 15:33:03 +02:00
Dmitry Stogov
3c4e64d633
Fixed IntlCalendar::toDateTime()
2014-07-08 17:28:09 +04:00
Dmitry Stogov
3ad4a8a5fa
Separate argument passed by reference
2014-07-08 16:40:26 +04:00
Dmitry Stogov
7edb66c4ae
Separate argument
2014-07-08 15:43:48 +04:00
Dmitry Stogov
31faac3250
Fixed attempt to modify immutable array
2014-07-08 15:24:08 +04:00
Xinchen Hui
549c5a5c1b
Mismatched folder marks
2014-07-08 17:53:13 +08:00
Dmitry Stogov
9b9d60a480
Specify HashTable size and optimize inserts that may not conflict
2014-07-08 13:46:03 +04:00
Dmitry Stogov
0abd626269
code cleanup
2014-07-08 13:24:23 +04:00
Dmitry Stogov
73679bf6db
Another fix for uninitialized execute_data->symbol_table
2014-07-08 12:17:52 +04:00
Anatol Belski
36644cc71e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
updated NEWS
2014-07-08 10:08:40 +02:00
Anatol Belski
5391c23511
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Backported the patch from bug #67407 into 5.5+
Backported the patch from bug #67407 into 5.4
NEWS
NEWS
Fix Bug #67530 error_log=syslog ignored
2014-07-08 09:57:56 +02:00
Anatol Belski
4883a60bb3
Merge branch 'pull-request/691'
2014-07-08 09:48:59 +02:00
Dmitry Stogov
7ba7dd1943
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Fixed uninitialized symbol_table
2014-07-08 11:33:18 +04:00
Dmitry Stogov
8ce2f2caac
Merge branch 'master' into phpng
...
* master:
Fix still broken session test. Only return true/false.
Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
Followup fix to custom session save handlers
create locales and re-add test
rm test for now
Conflicts:
ext/session/tests/session_set_save_handler_class_012.phpt
2014-07-08 11:32:29 +04:00
Xinchen Hui
e5fed097cc
Fixed uninitialized symbol_table
2014-07-08 14:43:20 +08:00
Remi Collet
b26c97b1a2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
5.6 have fpm_globals.force_stderr
Fix Bug #67530 error_log=syslog ignored
2014-07-08 08:34:15 +02:00
Dmitry Stogov
b36aaea6ed
ZEND_SEND_VAR and ZEND_SEND_VAL specialization
2014-07-08 02:13:53 +04:00
Sara Golemon
6e9bc95f67
Fix still broken session test. Only return true/false.
2014-07-07 14:30:28 -07:00
Adam Harvey
1a43eac259
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
2014-07-07 20:49:00 +00:00
Sara Golemon
7c2489751c
Followup fix to custom session save handlers
...
2d9885c introduced some regressions. This addresses those.
* Don't throw return type notice or session write failure when in an exception
* Fix tests to properly return true/false since null is no longer falsy/successy
* Rerecord a few tests to accomodate difference in raised warnings
2014-07-07 12:59:54 -07:00
Nikita Popov
289265402a
Port echo
2014-07-07 21:14:14 +02:00
Nikita Popov
36c3cf3198
Port return statement
2014-07-07 21:06:02 +02:00
Dmitry Stogov
d9585f019f
Skip useless ZEND_RECV opcodes
2014-07-07 22:18:48 +04:00
Stanislav Malyshev
888fb3323e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
create locales and re-add test
2014-07-07 10:42:36 -07:00
Dmitry Stogov
21acbd5b75
Avoid useless check
2014-07-07 21:33:53 +04:00
Dmitry Stogov
7d0b21d3bc
Function can't be "interactive"
2014-07-07 21:33:09 +04:00
Timm Friebe
be957f806b
Merge branch 'master' into catchable-fatals/methods-on-non-objects
2014-07-07 19:16:15 +02:00
Dmitry Stogov
2ed8a17045
Refactored run_time_cache usage in object handlers
2014-07-07 20:54:31 +04:00
Stanislav Malyshev
fc56aa6829
Merge branch 'PHP-5.6'
...
* PHP-5.6:
rm test for now
2014-07-07 09:34:03 -07:00
Dmitry Stogov
bce6a36c8a
Merge branch 'master' into test
...
* master: (48 commits)
change locale - looks like not everybody has sl_SI
Fix bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone
fix format
Fix bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting)
Make sure the generator script also creates a newline at the end of file
Add newline at end of file to prevent compilation warning
Fix handling of session user module custom handlers.
Reference bug report instead of github issue in NEWS file
add more exts for Travis
Update NEWS
Fix phpdbg.1 man page installation when build != src directory
BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir)
reorder
restore API compatibility
finish
refactor php_stream_temp_create{,_ex} and use it for the php://input stream
refactor _php_stream_fopen_{temporary_,tmp}file()
fix length overflow of HTTP_RAW_POST_DATA
Update NEWS
Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault happen)
...
Conflicts:
ext/opcache/zend_accelerator_util_funcs.c
ext/session/mod_user.c
ext/spl/spl_array.c
ext/spl/spl_dllist.c
ext/standard/file.c
ext/standard/streamsfuncs.c
ext/standard/string.c
main/streams/memory.c
2014-07-07 19:21:23 +04:00
Dmitry Stogov
477bd49cca
Wrong expectation in tests (for some reason backtraces contained invlalid extra frame at the top)
2014-07-07 18:09:17 +04:00
Dmitry Stogov
4dd7c63d1e
Wrong expectation in test (The error "Non-static method A::A_ftk() should not be called statically" is reported on caller side, so backtrace shouldn't include call to A::A_ftk()).
2014-07-07 17:27:16 +04:00
Dmitry Stogov
e4450cddd4
Wrong expectation in test (for some reason error messages didn't refer to right functions)
2014-07-07 17:22:19 +04:00
Dmitry Stogov
2f316a775d
Wrong expectation in test (for some reason backtrace misses gc_collect_cycles() call)
2014-07-07 17:17:42 +04:00
Dmitry Stogov
70a112e51b
Wrong expectation in test (wrong line number in backtrace)
2014-07-07 16:57:05 +04:00
Dmitry Stogov
7ce2d59ad2
Merge branch 'call-frame' into phpng
...
* call-frame:
Simplify call-frame handling
Removed EG(active_symbol_table) and use corresponding value from EG(current_execute_data)
Use values from current_execute_data instead of globals where possible
Removed EG(called_scope) and use corresponding value from EG(current_execute_data)
Removed EG(in_execution). If EG(currentent_execute_data) is not NULL we are executing something.
Removed EG(opline_ptr) and use corresponding value from EG(current_execute_data)
Removed EG(active_op_array) and use corresponding value from EG(current_execute_data)
Uinified call frame handling for user and internal functions. Now EG(current_execute_data) always point to the call frame of the currently executed function.
Fixed cleanup of incompleytely passed parameters
Prohibited parameter redefinition
Fixed support for extra arguments in conjunction with variadiv argument. Use compile time flags to check if we call constructor and result of ZEND_NEW is used or not.
Fixed uninitialized variables
Optimization
Changed zend_execute_data layout to reduce memory overhead
Help C compilet to do the better job optimizing target code
Use fast comparison for (func->type == ZEND_USER_FUNCTION || func->type == ZEND_EVAL_CODE)
Keep extra args in the same VM stack segment (after all CV and TMP vars)
Refactoring: merge call_frame and end_execute_data into single data structure. Keep only single copy of each argument on VM stack (previously ZE kept two copies of each arguments for user functions)
Refactoring: use call_frames instead of call_slots
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2014-07-07 16:19:24 +04:00
Dmitry Stogov
5aa91be509
Simplify call-frame handling
2014-07-07 15:50:44 +04:00
Stanislav Malyshev
f0499b86a8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
change locale - looks like not everybody has sl_SI
2014-07-07 01:38:04 -07:00
Stanislav Malyshev
70c0410d3d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone
fix format
2014-07-07 00:50:15 -07:00
Stanislav Malyshev
ff52eac5f0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting)
Make sure the generator script also creates a newline at the end of file
Add newline at end of file to prevent compilation warning
2014-07-07 00:38:50 -07:00
Stanislav Malyshev
b3d8f4b24d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Reference bug report instead of github issue in NEWS file
2014-07-06 22:16:27 -07:00
Timm Friebe
ded935e37b
Merge branch 'master' into catchable-fatals/methods-on-non-objects
2014-07-06 20:12:31 +02:00
Timm Friebe
dacd4c84cb
QA: Simplify code to find matching ZEND_DO_FCALL_BY_NAME
...
CG(context).nested_calls is stored inside the initializer's result.num
and inside the finalizer's op2.num, by comparing these we don't need
to count manually, and are thus safer from future expansion with
specialized opcodes e.g.
2014-07-06 18:58:37 +02:00
Sara Golemon
2d9885c8cb
Fix handling of session user module custom handlers.
...
According to the documentation, returning TRUE from
user based session handlers should indicate success,
while returning FALSE should indicate failure.
The existing logic relied on casting the return value
to an integer and returning that from the function.
However, the internal handlers use SUCCESS/FAILURE
where SUCCESS == 0, and FAILURE == -1, so the following
behavior map occurs:
return false; => return 0; => return SUCCESS
return true; => return 1; => return <undefined>
Since the session API checks against FAILURE,
both boolean responses wind up appearing like "not FAILURE".
This diff reasserts boolean responses to behave as
documented and introduces some special handling
for integer responses of 0 and -1 so that code can be
written for older and newer versions of PHP.
2014-07-06 09:40:35 -07:00
Timm Friebe
542bfa36cf
Fix expected fatal error, now is catchable fatal
2014-07-06 18:32:47 +02:00
Timm Friebe
067b622ce8
Adjust expected fatal error message
...
Now also includes "on [TYPE]" after merge from master
2014-07-06 17:56:48 +02:00
Timm Friebe
4a3a566a17
Check for memory leaks when not using return value
2014-07-06 17:08:25 +02:00
Timm Friebe
9b6062071e
Adjust expected fatal error message
...
Now also includes "on [TYPE]" after merge from master
2014-07-06 17:07:41 +02:00
Timm Friebe
a1554ca634
Merge in changes from master
...
Now also includes "on [TYPE]" in "Call to a member function" error
2014-07-06 17:07:01 +02:00
Timm Friebe
e0d51d1cf0
Add tests with arrays as parameters
2014-07-06 16:40:21 +02:00
Timm Friebe
7e2e4ebc69
Handle ZEND_NEW nesting
2014-07-06 15:17:16 +02:00
Timm Friebe
d7156c1b31
Also verify nesting with dynamically called static methods
2014-07-06 15:12:15 +02:00
Timm Friebe
9dbc91f2ff
Handle ZEND_INIT_NS_FCALL_BY_NAME nesting
2014-07-06 15:10:50 +02:00
Timm Friebe
7cd8ecb33f
QA: Refactor: Split tests a bit to make them more comprehendable
2014-07-06 15:05:47 +02:00
Timm Friebe
ff66e59731
Support nested static calls
2014-07-06 14:58:44 +02:00
Timm Friebe
df908275f6
Handle ZEND_EXT_FCALL_END, skipping if necessary
...
Verified with running tests with new "-e" run-tests arg:
$ make test TESTS=Zend/tests/*-on-non-objects-*phpt TEST_PHP_ARGS=-e
# Tests passed : 11 (100.0%)
$ make test TESTS=Zend/tests/*-on-non-objects-*phpt
# Tests passed : 11 (100.0%)
Before, this would cause a SEGV. Thanks @nikic for raising this concern
2014-07-06 14:48:42 +02:00
Timm Friebe
ab4ded90f2
Add support for PHP's 'extended information for debugger/profiler' mode
2014-07-06 14:46:34 +02:00
Timm Friebe
e0cf63f4be
Verify non-CV-operands also work
...
See discussion https://github.com/php/php-src/pull/647#issuecomment-48050551
2014-07-06 12:55:27 +02:00
Timm Friebe
dc68aa32bc
Only allocate NULL return value if it's actually used
2014-07-06 12:50:32 +02:00
Timm Friebe
a782f697df
Also handle nested function calls via variable
2014-07-06 12:44:02 +02:00
Timm Friebe
abd42ea4c2
QA: Simplify code to initialize a NULL value
...
See https://github.com/php/php-src/pull/647#discussion_r14560540
2014-07-06 12:38:29 +02:00
Timm Friebe
2758824940
Remove return statement which would break goto and switch VMs
...
See https://github.com/php/php-src/pull/647#discussion_r14560483
2014-07-06 12:31:20 +02:00
Timm Friebe
17b3791a01
Handle nesting correctly
...
See feedback by @nikic, https://github.com/php/php-src/pull/647#issuecomment-48050551
2014-07-06 12:27:04 +02:00
Xinchen Hui
edf2f715e6
Let's rename it
2014-07-06 17:54:38 +08:00
Xinchen Hui
d759ead04f
Fixed convert (ext/intl finished)
2014-07-06 17:48:16 +08:00
Stanislav Malyshev
5b925824ed
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add more exts for Travis
2014-07-05 22:34:57 -07:00
Bob Weinand
2c525b0881
Merge branch 'PHP-5.6'
2014-07-06 01:21:24 +02:00
Bob Weinand
18c9f8fbb9
Merge sapi/phpdbg into PHP-5.6
2014-07-06 01:17:50 +02:00
Nikita Popov
439a95908b
Fix leak when generator return value is not used
2014-07-05 15:07:25 +02:00
Nikita Popov
2d4c962c61
Fix ZTS build
2014-07-05 14:12:20 +02:00
Nikita Popov
77fddc0ca2
Use zend_string* in some places
2014-07-05 00:11:00 +02:00
Nikita Popov
17c2d16d79
Refactor class name resolution as well
2014-07-04 23:45:20 +02:00
Nikita Popov
b3336270f6
Hack around global leak for now
2014-07-04 23:15:31 +02:00
Nikita Popov
fdc318849a
Shared name production for const / fn name
2014-07-04 23:08:05 +02:00
Dmitry Stogov
6bf24f4dd0
Removed EG(active_symbol_table) and use corresponding value from EG(current_execute_data)
2014-07-04 18:03:45 +04:00
Dmitry Stogov
d2890963e4
Use values from current_execute_data instead of globals where possible
2014-07-04 17:03:44 +04:00
Michael Wallner
f9fda21667
Merge branch 'PHP-5.6'
...
* PHP-5.6:
BFN for bug #67551 (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir)
reorder
restore API compatibility
finish
refactor php_stream_temp_create{,_ex} and use it for the php://input stream
refactor _php_stream_fopen_{temporary_,tmp}file()
fix length overflow of HTTP_RAW_POST_DATA
Conflicts:
main/php_content_types.c
2014-07-03 20:43:12 +02:00
Xinchen Hui
21ccbbad7d
Fixed segfault if empty POST
2014-07-03 23:58:21 +08:00
Xinchen Hui
a99e7eeab9
Merge branch 'PHP-5.6'
2014-07-03 14:59:24 +08:00
Xinchen Hui
4ef8a44359
Merge branch 'PHP-5.6'
2014-07-03 10:52:03 +08:00
Dmitry Stogov
c4d99ec982
Removed EG(called_scope) and use corresponding value from EG(current_execute_data)
2014-07-03 02:34:43 +04:00
Ferenc Kovacs
a1c63413cd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
also add Remi to the QA credits
add Stas and Julient to the QA credits
2014-07-02 23:36:00 +02:00
Ferenc Kovacs
f9b3494d99
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update the credits
2014-07-02 23:27:54 +02:00
Dmitry Stogov
0a77dcd4b9
Removed EG(in_execution). If EG(currentent_execute_data) is not NULL we are executing something.
2014-07-03 01:02:25 +04:00
Nikita Popov
99b95f3eb2
Merge branch 'PHP-5.6'
2014-07-02 22:41:04 +02:00
Ferenc Kovacs
f574e69889
Merge branch 'PHP-5.6'
...
* PHP-5.6:
adding a reproduce script for bug #49184
2014-07-02 22:39:19 +02:00
Nikita Popov
2d4d36d2a0
Merge branch 'PHP-5.6'
2014-07-02 22:35:19 +02:00
Adam Harvey
46055f8e99
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix ext/pgsql builds against libpq 7.3.
2014-07-02 12:30:51 -07:00
Dmitry Stogov
63c057e331
Removed EG(opline_ptr) and use corresponding value from EG(current_execute_data)
2014-07-02 23:29:53 +04:00
Dmitry Stogov
4b09dd69e6
Removed EG(active_op_array) and use corresponding value from EG(current_execute_data)
2014-07-02 22:03:21 +04:00
Dmitry Stogov
412ad4b254
Uinified call frame handling for user and internal functions.
...
Now EG(current_execute_data) always point to the call frame of the currently executed function.
2014-07-02 22:01:25 +04:00
Nikita Popov
ac552cccc1
Merge branch 'PHP-5.6'
2014-07-02 17:37:25 +02:00
Bob Weinand
6b0beb9df1
Merge branch 'PHP-5.6'
2014-07-02 17:26:44 +02:00
Bob Weinand
c01dcd325d
Merge branch 'PHP-5.6'
2014-07-02 12:44:30 +02:00
Bob Weinand
0870cc8a7c
Merge branch 'PHP-5.6'
2014-07-02 12:35:06 +02:00
Xinchen Hui
4cec7d479a
Merge branch 'PHP-5.6'
2014-07-02 17:58:49 +08:00
Anatol Belski
4a0f06955d
Merge branch 'PHP-5.6'
2014-07-02 11:36:15 +02:00
Anatol Belski
df93242957
Merge branch 'PHP-5.6'
...
* PHP-5.6:
backported the VC12 fix for ARG_MAX
2014-07-02 11:12:49 +02:00
Anatol Belski
e98d429cc3
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master: (25 commits)
Better fix for bug #67072 with more BC provisions
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
Fix bug #67492 : unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
Fix bug #67349 : Locale::parseLocale Double Free
Better fix for phpdbg + libedit - fix include - disable coloured prompt only with libedit
Fix https://github.com/krakjoe/phpdbg/issues/91
Update copyright year to 2014
Add NEWS. This doesn't need UPGRADING (or an RFC), IMO.
Fix broken test.
Add a mime type map generation script and update the header.
Move the mime type map out of php_cli_server.c for easier generation.
Replace the CLI server's linear search for extensions with a hash table.
fix test
Fixed bug #67399 (putenv with empty variable may lead to crash)
Remove superfluous echos.
Remove usage of pointless COOKIE_SET_COOKIE constant.
Test
Added support for parsing ssl certificates using GeneralizedTime format.
Fix align indentation
...
Conflicts:
ext/standard/head.c
2014-07-02 10:30:36 +02:00
Anatol Belski
84876850ff
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (178 commits)
fix integer overflow in {stream,file}_{get,put}_contents()
add some missing NEWS entries
NEWS block for 5.6.0RC3
Fix ext/pgsql builds with libpq < 7.3.
updated libs_version.txt
updated libs_version.txt
updated libmagic.patch in 5.6+
updated libmagic.patch
Fixed possible crash because of race conditions on modifying constants in shared memory
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
Revert "Fix Bug #67530 error_log=syslog ignored"
--enable-fpm for the travis build
fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here
NEWS
NEWS
Fix bug #67091 : make install fails to install libphp5.so on FreeBSD 10.0
adding NEWS entry for the fix for bug #65641
Updated NEWS file for recent phpdbg fixes
...
2014-07-02 10:27:59 +02:00
Anatol Belski
96783bdfb7
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix integer overflow in {stream,file}_{get,put}_contents()
add some missing NEWS entries
NEWS block for 5.6.0RC3
Fix ext/pgsql builds with libpq < 7.3.
updated libs_version.txt
updated libs_version.txt
updated libmagic.patch in 5.6+
updated libmagic.patch
Conflicts:
ext/standard/file.c
ext/standard/streamsfuncs.c
2014-07-02 10:22:09 +02:00
Michael Wallner
088eedfaa1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix integer overflow in {stream,file}_{get,put}_contents()
2014-07-02 09:56:41 +02:00
Ferenc Kovacs
ae312d1bca
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add some missing NEWS entries
2014-07-02 02:19:12 +02:00
Ferenc Kovacs
72a182aaa8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS block for 5.6.0RC3
2014-07-02 01:39:54 +02:00
Adam Harvey
5a99565d0e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix ext/pgsql builds with libpq < 7.3.
2014-07-01 13:26:28 -07:00
Anatol Belski
444486c362
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libs_version.txt
updated libs_version.txt
2014-07-01 10:35:16 +02:00
Anatol Belski
1f66da2e75
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch in 5.6+
updated libmagic.patch
2014-07-01 10:29:14 +02:00
Anatol Belski
1a50c27f99
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (170 commits)
Fixed possible crash because of race conditions on modifying constants in shared memory
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
Revert "Fix Bug #67530 error_log=syslog ignored"
--enable-fpm for the travis build
fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here
NEWS
NEWS
Fix bug #67091 : make install fails to install libphp5.so on FreeBSD 10.0
adding NEWS entry for the fix for bug #65641
Updated NEWS file for recent phpdbg fixes
Fixed issue krakjoe/phpdbg#94 - List behavior is inconsistent
Fix issue krakjoe/phpdbg#97 - list now appends a newline if there is none The prompt should always ensure it is on a newline
Fixed test
Inform about back command existence in help - Fixes krakjoe/phpdbg#100 No way to list the current stack/frames
Fix issue krakjoe/phpdbg#98 break if does not seem to work
Fix issue krakjoe/phpdbg#99 register function has the same behavior as run
Fix readline/libedit (Thanks to @remicollet)
Replace incorrect `E` command with `ev` in watch help
...
Conflicts:
Zend/zend_compile.c
ext/standard/basic_functions.c
ext/standard/http_fopen_wrapper.c
ext/standard/var.c
ext/tokenizer/tokenizer_data.c
sapi/phpdbg/phpdbg_list.c
2014-07-01 09:10:36 +02:00
Dmitry Stogov
0b1cfdf390
Merge branch 'phpng' into call-frame
...
* phpng: (73 commits)
refcount in phpng has different meanings
Suppress warning "cast from pointer to integer of different size"
Fixed possible crash because of race conditions on modifying constants in shared memory
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
Revert "Fix Bug #67530 error_log=syslog ignored"
Fixed compilation problems
Refactored parameter passing mechanism.
--enable-fpm for the travis build
Fixed segfault while info printing
fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here
NEWS
NEWS
Fix bug #67091 : make install fails to install libphp5.so on FreeBSD 10.0
adding NEWS entry for the fix for bug #65641
Updated NEWS file for recent phpdbg fixes
Fixed issue krakjoe/phpdbg#94 - List behavior is inconsistent
Fix issue krakjoe/phpdbg#97 - list now appends a newline if there is none The prompt should always ensure it is on a newline
Fixed test
...
2014-07-01 10:11:13 +04:00
Xinchen Hui
96e3fd4c1d
refcount in phpng has different meanings
2014-07-01 11:54:16 +08:00
Xinchen Hui
1d1226afa2
Suppress warning "cast from pointer to integer of different size"
2014-07-01 10:36:19 +08:00
Xinchen Hui
42bfa2382c
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-07-01 10:29:11 +08:00
Dmitry Stogov
fd62771fe5
Merge branch 'master' into test
...
* master:
Fixed possible crash because of race conditions on modifying constants in shared memory
2014-07-01 00:22:05 +04:00
Dmitry Stogov
acfbb7b6dc
Merge branch 'master' into test
...
* master: (67 commits)
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
Revert "Fix Bug #67530 error_log=syslog ignored"
--enable-fpm for the travis build
fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here
NEWS
NEWS
Fix bug #67091 : make install fails to install libphp5.so on FreeBSD 10.0
adding NEWS entry for the fix for bug #65641
Updated NEWS file for recent phpdbg fixes
Fixed issue krakjoe/phpdbg#94 - List behavior is inconsistent
Fix issue krakjoe/phpdbg#97 - list now appends a newline if there is none The prompt should always ensure it is on a newline
Fixed test
Inform about back command existence in help - Fixes krakjoe/phpdbg#100 No way to list the current stack/frames
Fix issue krakjoe/phpdbg#98 break if does not seem to work
Fix issue krakjoe/phpdbg#99 register function has the same behavior as run
Fix readline/libedit (Thanks to @remicollet)
Replace incorrect `E` command with `ev` in watch help
Fix typo in `finish` help
...
Conflicts:
Zend/zend_ast.c
Zend/zend_highlight.c
Zend/zend_indent.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/info.c
2014-07-01 00:19:41 +04:00
Dmitry Stogov
8c9b3e664c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed possible crash because of race conditions on modifying constants in shared memory
2014-07-01 00:17:55 +04:00
Ferenc Kovacs
2d26a7cf62
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
remove the NEWS entry for the reverted fpm fix
Revert "Fix Bug #67530 error_log=syslog ignored"
2014-06-30 18:39:31 +02:00
Dmitry Stogov
424894de02
Fixed compilation problems
2014-06-30 18:08:16 +04:00
Dmitry Stogov
b7715c7e8a
Refactored parameter passing mechanism.
...
In PHP-5.6 and below each argument passed to user function was copies on VM stack twice.
Now we always have ZEND_INIT_FCALL (or simular) opcode that pushes "call frame" on top of VM stack.
"Call frame" is actually the same zend_execute_data structure.
All the following ZEND_SEND instructions push arguments on top of the stack in a way that they directly comes into corresponding CV variables of the called frame. Extra arguments are copied at the end of stack frame (after all CV and TMP variables) on function enterance.
There are two minor incompatibilities:
1) It's not allowed to decalre functions redefining arguments e.g. "function foo($a,$a) {}".
2) func_get_arg() and func_get args() return the current value of argument and not the original value that was sent.
2014-06-30 15:43:45 +04:00
Dmitry Stogov
b4a7a1bacc
Fixed cleanup of incompleytely passed parameters
2014-06-30 15:41:16 +04:00
Dmitry Stogov
45082daa3a
Prohibited parameter redefinition
2014-06-30 15:40:28 +04:00
Ferenc Kovacs
62b45983f7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
--enable-fpm for the travis build
2014-06-30 12:31:25 +02:00
Dmitry Stogov
3f0ee308a0
Fixed support for extra arguments in conjunction with variadiv argument.
...
Use compile time flags to check if we call constructor and result of ZEND_NEW is used or not.
2014-06-30 14:17:17 +04:00
Xinchen Hui
d660d7f599
Fixed segfault while info printing
2014-06-30 15:26:55 +08:00
Dmitry Stogov
6a092734ed
Merge branch 'phpng' into call-frame
...
* phpng: (26 commits)
Fixed reference handling in intltz_get_canonical_id
Fixed reference handling in intltz_get_offset
Fixed segfault in intlgregcal_create_instance
Fixed segfault in resourcebundle
Fixed iterators
Fixed test
Fixed memory leak
Fixed retval with zend_call_method
Fixed collator_sort
Fixed test
Fixed memory leaks
Fixed segfault
Fixed segfault temporarily (probably need to be reverted later)
Fixed object properties init
Fixed temporarily un-expected object re-init
Fixed segfault, segfault and segfault
Fixed get_debug_info
Intl's codes are really need more careful :<
Fixed refernce handling
Fixed initialize of zval
...
2014-06-30 10:01:16 +04:00
Xinchen Hui
9c96d966bb
Fixed reference handling in intltz_get_canonical_id
2014-06-30 11:03:03 +08:00
Xinchen Hui
a0b500df99
Fixed reference handling in intltz_get_offset
2014-06-30 11:01:26 +08:00
Ferenc Kovacs
d9dbca8546
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix the last fpm NEWS entry, the other bug is related, but not the same what we fixed here
2014-06-30 02:32:46 +02:00
Ferenc Kovacs
6858be2e74
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fix bug #67091 : make install fails to install libphp5.so on FreeBSD 10.0
2014-06-30 01:35:19 +02:00
Ferenc Kovacs
c73e1f80f5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
adding NEWS entry for the fix for bug #65641
Fix SetHandler proxy:fcgi:// incompatibilities
2014-06-30 01:03:29 +02:00
Xinchen Hui
499293449b
Fixed segfault in intlgregcal_create_instance
2014-06-29 22:56:27 +08:00
Xinchen Hui
f096bc4d86
Fixed segfault in resourcebundle
2014-06-29 22:30:32 +08:00
Xinchen Hui
7d492e3fd4
Fixed iterators
2014-06-29 21:54:39 +08:00
Xinchen Hui
cdff5775dd
Fixed test
2014-06-29 21:06:30 +08:00
Xinchen Hui
f466be5e9b
Fixed memory leak
2014-06-29 19:46:01 +08:00
Xinchen Hui
a94ec141fe
Fixed retval with zend_call_method
2014-06-29 19:07:06 +08:00
Bob Weinand
ee6bab61eb
Merge branch 'PHP-5.6'
2014-06-29 13:01:11 +02:00
Xinchen Hui
477f565f80
Fixed collator_sort
2014-06-29 19:01:02 +08:00
Bob Weinand
856801b84f
Merge sapi/phpdbg into PHP-5.6
2014-06-29 12:49:10 +02:00
Xinchen Hui
f2c83b774a
Fixed test
2014-06-29 18:07:12 +08:00
Xinchen Hui
fa3243a40a
Merge remote branch 'origin/PHP-5.6'
2014-06-29 18:06:44 +08:00
Xinchen Hui
52c27f32fa
Fixed memory leaks
2014-06-29 17:48:10 +08:00
Xinchen Hui
3b7e19ad73
Fixed segfault
2014-06-29 15:53:42 +08:00
Xinchen Hui
704e98072e
Fixed segfault temporarily (probably need to be reverted later)
2014-06-29 15:45:08 +08:00
Xinchen Hui
0b12c08363
Fixed object properties init
2014-06-29 15:39:45 +08:00
Xinchen Hui
9fb8c16b6c
Fixed temporarily un-expected object re-init
2014-06-29 15:28:55 +08:00
Nikita Popov
fb98dd31a0
Some refactoring of fn/const resolution
2014-06-28 22:27:06 +02:00
Xinchen Hui
e1437022e1
Fixed segfault, segfault and segfault
2014-06-29 00:29:07 +08:00
Nikita Popov
e198132542
Drop addition of weird \ prefix for FQ consts
...
Also fixes a resolution bug
2014-06-28 18:24:59 +02:00
Nikita Popov
111ad71d38
Rename ZEND_CONST to ZEND_AST_ZVAL
2014-06-28 18:03:26 +02:00
Xinchen Hui
1d79334806
Fixed get_debug_info
2014-06-28 23:30:46 +08:00
Xinchen Hui
ada2dd97d7
Intl's codes are really need more careful :<
2014-06-28 21:17:19 +08:00
Xinchen Hui
d01e06e18a
Fixed refernce handling
2014-06-28 21:09:07 +08:00
Xinchen Hui
a1426c62d5
Fixed initialize of zval
2014-06-28 21:05:20 +08:00
Xinchen Hui
5614467c6b
Fixed Calendar_objects_free
2014-06-28 20:58:50 +08:00
Xinchen Hui
e328e890ac
Fixed add_ref
2014-06-28 20:53:32 +08:00
Xinchen Hui
b53bc5c762
Fixed segfaults
2014-06-28 20:52:41 +08:00
Xinchen Hui
e4e9e80067
Fixed segfault while starting up
2014-06-28 20:14:12 +08:00
Xinchen Hui
b6e9c76d67
Refactoring ext/intl (only compilerable now, far to finish :<)
2014-06-28 12:20:35 +08:00
Xinchen Hui
7614fe810e
C++ doesn't allow implicitly convert void * to other pointer type
2014-06-28 11:19:38 +08:00
Dmitry Stogov
2f895de2ee
Merge branch 'phpng' into call-frame
...
* phpng:
Suppress warning
Refactoring ext/intl (incompleted)
Fixed build with libmysql
C++ compiler doesn't allow cast a void * to other pointer type
Conflicts:
Zend/zend_execute.h
2014-06-27 21:52:46 +04:00
Dmitry Stogov
a3c8fbdd12
Fixed uninitialized variables
2014-06-27 21:13:05 +04:00
Dmitry Stogov
31087ee8b0
Optimization
2014-06-27 20:22:17 +04:00
Xinchen Hui
2f574e282e
Suppress warning
2014-06-28 00:09:26 +08:00
Xinchen Hui
e6338f5a62
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-06-28 00:03:26 +08:00
Xinchen Hui
4fbaddb4f8
Refactoring ext/intl (incompleted)
2014-06-28 00:02:50 +08:00
Xinchen Hui
2d67b36a92
Fixed build with libmysql
2014-06-27 23:58:55 +08:00
Ferenc Kovacs
6dc56dd8e8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
removing the format added by mistake, props to Solar Designer for spotting this.
2014-06-27 16:30:30 +02:00
Dmitry Stogov
7eebe22916
Changed zend_execute_data layout to reduce memory overhead
2014-06-27 16:24:29 +04:00
Dmitry Stogov
6b0c5ddcbc
Help C compilet to do the better job optimizing target code
2014-06-27 15:48:25 +04:00
Dmitry Stogov
d6bd21eab2
Use fast comparison for (func->type == ZEND_USER_FUNCTION || func->type == ZEND_EVAL_CODE)
2014-06-27 13:02:49 +04:00
Dmitry Stogov
032f33591a
Keep extra args in the same VM stack segment (after all CV and TMP vars)
2014-06-27 12:25:36 +04:00
Remi Collet
6fa814cfc3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fix Bug #67531 syslog cannot be set in pool configuration
Fix Bug #67530 error_log=syslog ignored
2014-06-27 09:51:52 +02:00
Xinchen Hui
f609d8c1c6
C++ compiler doesn't allow cast a void * to other pointer type
2014-06-27 12:35:34 +08:00
Stanislav Malyshev
da7c6b6713
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update the date
better explanation
more extensive note on unserialize() change
more extensive note on unserialize() change
2014-06-26 21:18:22 -07:00
Dmitry Stogov
04c87b9961
Merge branch 'phpng' into call-frame
...
* phpng:
Reverted 387c491559 (it broke ext/standard/tests/file/bug44607.phpt)
op2 is null terminated string
IS_OBJECT and IS_RESOURCE is obviously exclusive
No need to initialize it
More optimizations
Let's assume the name is already lowercased
Save some strlen
Use ZEND_HANDLE_NUMERIC
Fixed stack usage
2014-06-27 01:28:58 +04:00
Dmitry Stogov
9af4b18b81
Reverted 387c491559 (it broke ext/standard/tests/file/bug44607.phpt)
2014-06-27 00:40:52 +04:00
Nikita Popov
64dab4b914
Drop dead code
2014-06-26 22:17:19 +02:00
Nikita Popov
0e44f4c583
Remove obseleted grammar productions
2014-06-26 22:09:05 +02:00
Nikita Popov
dd60c8e0f1
Reuse expr for static_scalar
2014-06-26 22:02:54 +02:00
Dmitry Stogov
c69781393c
Refactoring: merge call_frame and end_execute_data into single data structure. Keep only single copy of each argument on VM stack (previously ZE kept two copies of each arguments for user functions)
2014-06-26 23:51:14 +04:00
Nikita Popov
dd60b9bb91
Handle ::class in const expr via ast as well
2014-06-26 21:44:46 +02:00
Nikita Popov
080e8bffa5
Compile const refs to CONST
2014-06-26 16:56:50 +02:00
Nikita Popov
b83c70416b
Compile class const refs to CONST zval
2014-06-26 16:35:30 +02:00
Xinchen Hui
387c491559
op2 is null terminated string
2014-06-26 22:13:24 +08:00
Nikita Popov
08c4e01a1b
Add compilation state for static scalars
2014-06-26 16:03:15 +02:00
Nikita Popov
9c169d5a4d
Remove static_scalar_base
2014-06-26 14:03:31 +02:00
Nikita Popov
31687ed5c7
Handle trait __CLASS__ in parser
2014-06-26 14:00:20 +02:00
Nikita Popov
7f01b6fcec
Bring static scalar arrays in line
2014-06-26 13:20:39 +02:00
Nikita Popov
0237954778
Bring static scalar AST more in line with normal AST
2014-06-26 13:06:39 +02:00
Nikita Popov
1b84b87e78
Const eval unary pm (as previously)
2014-06-26 12:43:20 +02:00
Xinchen Hui
46f4e9b56e
IS_OBJECT and IS_RESOURCE is obviously exclusive
2014-06-26 18:29:25 +08:00
Xinchen Hui
f75c04ac8d
No need to initialize it
2014-06-26 18:10:18 +08:00
Xinchen Hui
a7ce96d01f
More optimizations
2014-06-26 18:09:04 +08:00
Xinchen Hui
64c5eb00b8
Let's assume the name is already lowercased
2014-06-26 17:56:55 +08:00
Xinchen Hui
b8e8b3fcf4
Save some strlen
2014-06-26 16:11:24 +08:00
Bob Weinand
0b06c8f82b
Merge branch 'PHP-5.6'
2014-06-25 13:57:19 +02:00
Bob Weinand
05955fbce5
Merge sapi/phpdbg into PHP-5.6
2014-06-25 13:56:45 +02:00
Xinchen Hui
4cdea779f9
Use ZEND_HANDLE_NUMERIC
2014-06-25 16:34:53 +08:00
Dmitry Stogov
0f9d5baba2
Merge branch 'phpng' into call-frame
...
* phpng:
Remove temp file committed by accident
Don't use zend_string for other fields (only name here is enough)
Fixed _zend_get_parameters_array
Fixed use of uninitialized value
Cleanup (refactoring is finish)
We don't need extra 1 byte anymore
Conflicts:
Zend/zend_API.c
2014-06-25 11:12:32 +04:00
Xinchen Hui
c25828e41e
Fixed stack usage
2014-06-25 12:33:35 +08:00
Stanislav Malyshev
b304a56685
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove bug67072_2 test for 5.6+ since we'd have cleaner solution
Fix test - because of big #67397 we don't allow overlong locales anymore
2014-06-24 11:24:40 -07:00
Stanislav Malyshev
d4454ac31b
Merge branch 'PHp-5.6'
...
* PHp-5.6:
Better fix for bug #67072 with more BC provisions
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
Fix bug #67492 : unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
Fix bug #67349 : Locale::parseLocale Double Free
update NEWS
5.4.30
Better fix for bug #67072 with more BC provisions
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
update CVE
Fix bug #67492 : unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
Fix bug #67349 : Locale::parseLocale Double Free
add CVEs
Fix potential segfault in dns_get_record()
Fix bug #66127 (Segmentation fault with ArrayObject unset)
5.4.30 rc1
Conflicts:
ext/intl/locale/locale_methods.c
2014-06-24 10:33:40 -07:00
Stanislav Malyshev
66cdd8fd76
Better fix for bug #67072 with more BC provisions
2014-06-24 10:32:33 -07:00
Stanislav Malyshev
3804c0d00f
Fix bug #67498 - phpinfo() Type Confusion Information Leak Vulnerability
2014-06-24 10:32:12 -07:00
Stanislav Malyshev
a374dfab56
Fix bug #67492 : unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion
2014-06-24 10:32:11 -07:00
Stanislav Malyshev
2a29add9e4
Fix bug #67397 (Buffer overflow in locale_get_display_name->uloc_getDisplayName (libicu 4.8.1))
2014-06-24 10:32:11 -07:00
Stanislav Malyshev
5ecee6ebce
Fix bug #67349 : Locale::parseLocale Double Free
2014-06-24 10:31:55 -07:00
Xinchen Hui
58fc40d525
Remove temp file committed by accident
2014-06-25 00:52:05 +08:00
Xinchen Hui
8ce23d8f4f
Don't use zend_string for other fields (only name here is enough)
2014-06-25 00:42:20 +08:00
Xinchen Hui
284141ca8f
Fixed _zend_get_parameters_array
...
it should not decrease the refcount (spotted by
register_shutdown_function in ext/mysqli/tests/bug49442.phpt)
2014-06-25 00:39:37 +08:00
Xinchen Hui
18bde665f5
Merge branch 'PHP-5.6'
2014-06-24 13:53:43 +08:00
Stanislav Malyshev
52cdbc5c10
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Better fix for bug #67072 with more BC provisions
Better fix for bug #67072 with more BC provisions
2014-06-23 22:15:21 -07:00
Dmitry Stogov
43477bc7a2
Refactoring: use call_frames instead of call_slots
2014-06-24 02:17:16 +04:00
Nikita Popov
e26c6d663a
Implement constant expression folding as a separate pass
2014-06-23 21:59:14 +02:00
Xinchen Hui
ee30cc8a1e
Fixed use of uninitialized value
2014-06-24 00:03:02 +08:00
Xinchen Hui
587923ccc8
Cleanup (refactoring is finish)
2014-06-23 23:33:38 +08:00
Xinchen Hui
305da4a88a
We don't need extra 1 byte anymore
2014-06-23 22:58:09 +08:00
Dmitry Stogov
ba45650d63
Fixed string destruction (ext/mysql/tests/mysql_list_fields.phpt was failed)
2014-06-23 17:18:47 +04:00
Dmitry Stogov
0c5a1b835e
Fixed refcounting bug
2014-06-23 17:02:22 +04:00
Dmitry Stogov
bbc508dea5
Fixed string deallocation and code cleanup
2014-06-23 17:01:59 +04:00
Xinchen Hui
56a966e88a
Respect the origin behavior (fix one test: ext/pdo_mysql/tests/bug_33689.phpt)
2014-06-23 19:34:55 +08:00
Xinchen Hui
92a7089893
Use zend_string in mysqlnd
2014-06-23 19:27:24 +08:00
Xinchen Hui
64c6b9bd58
typo
2014-06-23 17:10:25 +08:00
Xinchen Hui
b42f0ce5c4
Fixed segfault (we need to close it for it has referenced by somewhere)
2014-06-23 17:00:18 +08:00
Remi Collet
70e29fc24c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Better fix for phpdbg + libedit - fix include - disable coloured prompt only with libedit
Fix https://github.com/krakjoe/phpdbg/issues/91
2014-06-23 10:39:22 +02:00
Xinchen Hui
c84aff541f
Fixed the trick....
2014-06-23 16:29:48 +08:00
Remi Collet
7efbccd60f
Better fix for phpdbg + libedit
...
- fix include
- disable coloured prompt only with libedit
2014-06-23 10:21:19 +02:00
Remi Collet
679d08e8ba
Fix https://github.com/krakjoe/phpdbg/issues/91
...
Enable edit feature when build with libedit.
Notice: coloured prompt only enable with READLINE
2014-06-23 10:21:19 +02:00
Remi Collet
a52b927bf3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Better fix for phpdbg + libedit - fix include - disable coloured prompt only with libedit
Fix https://github.com/krakjoe/phpdbg/issues/91
2014-06-23 10:18:55 +02:00
Remi Collet
98d41dfc9d
Better fix for phpdbg + libedit
...
- fix include
- disable coloured prompt only with libedit
2014-06-23 10:17:43 +02:00
Ferenc Kovacs
f5defa1cf2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
testcase for 67468 (only for debug build, as I could not create a stable segfault without loading other exts like pgsql)
mention 67468 fix in NEWS
Fix Bug #67468 Segfault in highlight_file()/highlight_string() when pgsql.so module is loaded
2014-06-23 10:14:08 +02:00
Remi Collet
86bafec836
Fix https://github.com/krakjoe/phpdbg/issues/91
...
Enable edit feature when build with libedit.
Notice: coloured prompt only enable with READLINE
2014-06-23 10:04:40 +02:00
Xinchen Hui
2a06902488
Fixed compiler warning
2014-06-23 15:48:19 +08:00
Xinchen Hui
c135ca0a9d
Actually, I don't know how it works. (maybe I should re-start again :<)
2014-06-23 15:35:53 +08:00
Nikita Popov
0644fbccf7
Implement CT eval of binary expressions
...
I totally hate this approach. It's ugly and I don't think I can
share code with the static scalar evaluation. Maybe I should use
the approach that static scalars use instead?
2014-06-22 15:57:44 +02:00
Nikita Popov
508d146cd3
Move T_STRING_VARNAME handling
2014-06-21 20:11:31 +02:00
Nikita Popov
90d36554e2
Support string interpolation
2014-06-21 20:06:46 +02:00
Nikita Popov
b6789b1dd6
zend_ast_dynamic_ast returns new node
2014-06-21 19:31:08 +02:00
Nikita Popov
86db3942cf
Remove dead code
2014-06-21 18:54:30 +02:00
Nikita Popov
657762ee2b
AST stage 2.4
2014-06-21 18:54:13 +02:00
Dmitry Stogov
87b667221e
Code cleanup
2014-06-20 19:40:03 +04:00
Dmitry Stogov
3f041ff2cb
Fixed compilation warnings
2014-06-20 15:04:38 +04:00
Dmitry Stogov
6ea228722b
fixed memory leak
2014-06-20 15:04:25 +04:00
Dmitry Stogov
629c9d3eda
Merge branch 'master' into phpng
...
* master:
Fixed MarinaDB support
2014-06-20 14:02:15 +04:00
Dmitry Stogov
687fa7d63d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed MarinaDB support
2014-06-20 14:01:22 +04:00
Dmitry Stogov
2777662694
Hide warning message after fatal errors
2014-06-20 13:31:43 +04:00
Dmitry Stogov
5152422194
Check if socket is still alive
2014-06-20 13:31:23 +04:00
Dmitry Stogov
36374ff32d
Merge branch 'master' into phpng
...
* master:
skip this test which fails without network
add missing entry to NEWS
add missing entry to NEWS
add NEWS block for 5.6.0RC2
Add support for gb18030/MySQL 5.7
Fix another problem with MySQL 5.7
new test, missing in ea466a3
Suppress test failure with MySQL 5.7
2014-06-20 11:16:57 +04:00
Dmitry Stogov
3f11ddcfe3
Fixed compilation warning
2014-06-20 10:32:05 +04:00
Dmitry Stogov
7e9176731f
Fixed compilation
2014-06-20 10:27:24 +04:00
Xinchen Hui
d632870e4d
Fixed memory leak
2014-06-20 13:27:56 +08:00
Xinchen Hui
e091a91f43
Fixed bugs in binding result
2014-06-20 13:08:40 +08:00
Remi Collet
ae9db5d0a2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
skip this test which fails without network
2014-06-20 06:45:36 +02:00
Xinchen Hui
80108a1607
Fixed PDO_PARAM_ZVAL
2014-06-20 11:40:53 +08:00
Xinchen Hui
73630a1fdc
Fixed pdo_mysql build with mysqlnd
2014-06-19 23:00:45 +08:00
Xinchen Hui
33aa5eb6b6
Refcount may have different meaning in PHP NG
2014-06-19 22:36:48 +08:00
Xinchen Hui
e2b182b24f
Fixed mysqli_get_links_stats
2014-06-19 22:30:15 +08:00
Xinchen Hui
d8a4b1affb
Fixed paramters binding
2014-06-19 22:28:43 +08:00
Nikita Popov
55ab55c417
Add ability to specify additional attr in AST
2014-06-19 13:48:50 +02:00
Nikita Popov
89ecd73a04
Make ast->children a uint
...
Future optimization: only use uint for dynamic lists and use a
uchar or even an introspection function to get the child count.
2014-06-19 13:48:50 +02:00
Nikita Popov
0c81b3eae2
Remove dead code
2014-06-19 13:48:49 +02:00
Nikita Popov
232a922618
Support yield without parens
...
for now => is lowest-prec right-assoc
2014-06-19 13:48:49 +02:00
Nikita Popov
0ec49bba22
AST stage 1.9
...
Expressions (mostly) use the AST
2014-06-19 13:48:35 +02:00
Xinchen Hui
4cc3c7387b
Fixed hash key in persistent hash
2014-06-19 16:24:24 +08:00
Xinchen Hui
46117aff49
Fixed releasing of hash_key
2014-06-19 16:20:21 +08:00
Xinchen Hui
82823e1e96
Fixed stat fields name
2014-06-19 16:16:41 +08:00
Xinchen Hui
e0680cb170
Fixed reference handling of bind_result
2014-06-19 16:08:45 +08:00
Xinchen Hui
f81498c8c8
Fixed invalid read
2014-06-19 15:56:35 +08:00
Xinchen Hui
ffaf8beda7
Fixed segfault
2014-06-19 14:43:14 +08:00
Xinchen Hui
049e52f19b
Fixed various bugs
2014-06-19 14:24:49 +08:00
Xinchen Hui
b7b5fa111b
Fixed MySQLi built with mysqlnd
2014-06-19 11:10:03 +08:00
Xinchen Hui
27e8e11ff9
unused variables
2014-06-19 10:46:23 +08:00
Ferenc Kovacs
7c20edaade
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing entry to NEWS
2014-06-19 02:29:42 +02:00
Ferenc Kovacs
deb650f182
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing entry to NEWS
2014-06-19 02:18:52 +02:00
Ferenc Kovacs
8bca4f0c32
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add NEWS block for 5.6.0RC2
2014-06-19 01:35:19 +02:00
Andrey Hristov
2eb42c953d
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
2014-06-18 21:54:26 +03:00
Xinchen Hui
17f35c9a29
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-06-18 23:37:47 +08:00
Xinchen Hui
b38f6f3de9
Fixed various bugs (ext/mysql with mysqlnd tests pass)
2014-06-18 23:37:15 +08:00
Andrey Hristov
af94a01ebe
Merge branch 'master' of git.php.net:php-src
2014-06-18 18:31:07 +03:00
Andrey Hristov
29cef140ed
Merge branch 'PHP-5.6'
2014-06-18 18:30:49 +03:00
Remi Collet
e3b74cb168
Merge branch 'PHP-5.6'
...
* PHP-5.6:
new test, missing in ea466a3
2014-06-18 16:00:07 +02:00
Dmitry Stogov
b108267f2c
Merge branch 'master' into phpng
...
* master: (41 commits)
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
NEWS
Fix Request #67453 Allow to unserialize empty data.
Update copyright year to 2014
Update copyright year for re2c generated files
Update copyright year to 2014
Update copyright year for re2c files as well
Fix patch for bug #67436
fix failed test
Fix test on modern distro where old unsecure algo are disabled in openssl config. Testing recent algo should be enough to check this function.
Added tests for bug 67436
Fixed wrong XFAIL test - already fixed
Fix typo in Bug #67406 NEWS entry
Fix typo in Bug #67406 NEWS entry
...
Conflicts:
Zend/zend_compile.c
ext/session/session.c
ext/standard/array.c
ext/standard/http_fopen_wrapper.c
tests/classes/bug63462.phpt
2014-06-18 17:50:27 +04:00
Andrey Hristov
ea1632d697
Merge branch 'PHP-5.6'
2014-06-18 16:45:12 +03:00
Dmitry Stogov
a4f38192ec
Use arena allocator for optimizer temporary data structures
2014-06-18 17:09:37 +04:00
Xinchen Hui
7032e1b96d
Fixed warning message
2014-06-18 16:59:56 +08:00
Xinchen Hui
d5c6816e86
Fixed memory leak while doing fetch
2014-06-18 16:10:51 +08:00
Xinchen Hui
98afbc7f75
Fixed segfaults
2014-06-18 15:43:15 +08:00
Xinchen Hui
ac1d6abbef
copy_data seems useless now
2014-06-18 15:13:43 +08:00
Xinchen Hui
2508d493d9
Fixed typo
2014-06-18 15:11:46 +08:00
Xinchen Hui
83d450c78d
Fixed segfault of stream handling
2014-06-18 15:03:01 +08:00
Xinchen Hui
4c4dc8e239
Fixed plugin fetching
2014-06-18 14:26:17 +08:00
Xinchen Hui
2bd14a07fe
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-06-18 12:09:51 +08:00
Xinchen Hui
6288bb8ffe
Refactoring mysqlnd (incompleted, only mysqlnd ext compilable)
2014-06-18 12:09:37 +08:00
Dmitry Stogov
e1b18e59f7
Use arena allocator for zend_class_entry, zend_op_array and zend_property_info that live till the end of request
2014-06-18 02:47:01 +04:00
Lior Kaplan
eba7c77685
Update copyright year to 2014
2014-06-18 00:22:16 +03:00
Lior Kaplan
9d047bb138
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
Update copyright year to 2014
2014-06-18 00:21:20 +03:00
Dmitry Stogov
56731f68a7
Fixed HASH_FLAG_APPLY_PROTECTION flag usage
2014-06-17 13:53:23 +04:00
Remi Collet
a012c2befa
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix Request #67453 Allow to unserialize empty data.
2014-06-17 09:41:30 +02:00
Dmitry Stogov
accaaf9d6e
Don't include trailing zero into hash function
2014-06-17 02:59:00 +04:00
Dmitry Stogov
a8e63d2b56
Fixed support for constants inherited from interfaces
2014-06-17 01:15:51 +04:00
Lior Kaplan
6e0a9b4588
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update copyright year to 2014
Update copyright year for re2c generated files
Update copyright year to 2014
Update copyright year for re2c files as well
2014-06-16 23:36:39 +03:00
Lior Kaplan
55d97085a4
Update copyright year to 2014
2014-06-16 23:34:50 +03:00
Dmitry Stogov
909acec231
Avoid useles constants update
2014-06-16 23:32:58 +04:00
Dmitry Stogov
50cbd7f4ce
Optimize out useles paths
2014-06-16 21:49:46 +04:00
Dmitry Stogov
bd10db271c
Use new zend_hash iteration API
2014-06-16 21:11:52 +04:00
Dmitry Stogov
e181798405
Small call/return improvement
2014-06-16 13:25:23 +04:00
Bob Weinand
b4d61c335b
Merge branch 'PHP-5.6'
2014-06-16 11:20:05 +02:00
Dmitry Stogov
3b2fb7abc5
Fixed support for references
2014-06-16 13:08:48 +04:00
Remi Collet
ced7f0ea12
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix failed test
2014-06-16 10:52:39 +02:00
Remi Collet
6b9fa109e0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix test on modern distro where old unsecure algo are disabled in openssl config. Testing recent algo should be enough to check this function.
2014-06-16 09:44:58 +02:00
Xinchen Hui
17b98b6379
Refactoring imap (in progress)
2014-06-16 14:59:03 +08:00
Bob Weinand
8668f205ca
Merge branch 'PHP-5.6'
2014-06-16 00:43:31 +02:00
Bob Weinand
02bea01f3d
Merge branch 'PHP-5.6'
2014-06-15 23:56:14 +02:00
Bob Weinand
143cc3f0da
Merge branch 'PHP-5.6'
2014-06-15 23:16:21 +02:00
Bob Weinand
1d71600394
Merge branch 'PHP-5.6'
2014-06-15 15:47:44 +02:00
Bob Weinand
79230e5561
Merge sapi/phpdbg into PHP-5.6
2014-06-15 15:47:14 +02:00
Stanislav Malyshev
693535084d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
update NEWS
update NEWS
2014-06-15 01:08:16 -07:00
Nikita Popov
258a733ed2
AST-based compiler: Stage 1
2014-06-14 15:22:18 +02:00
Derick Rethans
b1a708b28c
Merge branch 'PHP-5.6'
2014-06-13 23:26:50 +01:00
Matteo Beccati
7d2bcbe20c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67433 SIGSEGV when using count() on an object implementing Countable
2014-06-13 13:14:52 +02:00
Adam Harvey
64f85d5afa
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Follow 308 Permanent Redirect responses.
2014-06-12 18:19:11 -07:00
Adam Harvey
dd57ceb1de
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add 308 and 426 to the HTTP response code map in the CLI server.
2014-06-12 17:57:55 -07:00
Adam Harvey
a92e3eb0fe
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Keep 308-399 HTTP response codes when header('Location:') is called.
2014-06-12 17:42:29 -07:00
Andrea Faulds
2b5d25d1fc
Merge branch 'httponly-cookies' of https://github.com/mj/php-src
2014-06-12 10:03:14 +01:00
Dmitry Stogov
83817ddb1c
Fixed reference counting
2014-06-12 13:01:44 +04:00
Dmitry Stogov
dd1c68e67f
Merge branch 'master' into phpng
...
* master: (77 commits)
NEWS entry for Fix potential segfault in dns_get_record()
NEWS entry for "Fix potential segfault in dns_get_record()"
NEWS entry for Fix potential segfault in dns_get_record(
Fix potential segfault in dns_get_record()
Revert "Add optional second arg to unserialize()"
5.5.15 now
update NEWS
Fix bug #66127 (Segmentation fault with ArrayObject unset)
5.4.31 next
Add NEWS. This doesn't need UPGRADING (or an RFC), IMO.
Fix broken test.
Add a mime type map generation script and update the header.
Move the mime type map out of php_cli_server.c for easier generation.
Replace the CLI server's linear search for extensions with a hash table.
fix test
Remove unused included file
NEWS
NEWS
NEWS
Fixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec
...
Conflicts:
Zend/zend_closures.c
Zend/zend_execute.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/spl/spl_array.c
ext/standard/basic_functions.c
ext/standard/dns.c
ext/standard/var.c
2014-06-12 05:07:33 +04:00
Dmitry Stogov
593b125eb9
Fixed reference handling
2014-06-12 03:14:57 +04:00
Adam Harvey
b853f99abf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS entry for Fix potential segfault in dns_get_record()
NEWS entry for "Fix potential segfault in dns_get_record()"
NEWS entry for Fix potential segfault in dns_get_record(
5.5.15 now
2014-06-11 21:44:07 +00:00
Dmitry Stogov
edb064e2ee
Fixed call to mysqli_init() from an object. (We should find some better fix)
2014-06-12 00:57:10 +04:00
Sara Golemon
b34d7849ed
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix potential segfault in dns_get_record()
2014-06-11 13:53:59 -07:00
Dmitry Stogov
bccd4184a5
Fixed error messages
2014-06-12 00:33:43 +04:00
Ferenc Kovacs
ec974c4397
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "Add optional second arg to unserialize()"
2014-06-11 14:59:39 +02:00
Dmitry Stogov
9f6db414f8
Improved assignment code
2014-06-11 15:11:29 +04:00
Dmitry Stogov
14e6ee7f42
Use absolute addresses as branch targets for NEW, FE_RESET and FE_FETCH
2014-06-11 11:39:42 +04:00
Stanislav Malyshev
6953d33d30
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
2014-06-10 23:25:01 -07:00
Stanislav Malyshev
6c81b14b2d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66127 (Segmentation fault with ArrayObject unset)
5.4.31 next
2014-06-10 23:21:17 -07:00
Adam Harvey
61279dca69
Add NEWS. This doesn't need UPGRADING (or an RFC), IMO.
2014-06-11 00:31:04 +00:00
Adam Harvey
f79f3ac184
Fix broken test.
2014-06-11 00:22:13 +00:00
Adam Harvey
c12f832479
Add a mime type map generation script and update the header.
2014-06-11 00:19:49 +00:00
Adam Harvey
8c59ae345e
Move the mime type map out of php_cli_server.c for easier generation.
2014-06-11 00:18:33 +00:00
Adam Harvey
faa34f24e3
Replace the CLI server's linear search for extensions with a hash table.
...
This doesn't make a statistically significant performance impact either way
today, but gives us more scope to grow the MIME type list.
2014-06-10 23:57:42 +00:00
Dmitry Stogov
592c8a0426
Improved conditions order
2014-06-11 02:46:50 +04:00
Stanislav Malyshev
ac6c86b7dc
fix test
2014-06-10 14:25:49 -07:00
Xinchen Hui
d461afc3a2
Merge branch 'PHP-5.6'
2014-06-10 21:58:31 +08:00
Xinchen Hui
3c69140a90
Remove unused codes
2014-06-10 21:53:46 +08:00
Remi Collet
0b6676ef87
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec
2014-06-10 14:36:38 +02:00
Remi Collet
ed28d84b9a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Bug #67412 fileinfo: cdf_count_chain insufficient boundary check
2014-06-10 14:24:28 +02:00
Remi Collet
59383273eb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fixed Bug #67411 fileinfo: cdf_check_stream_offset insufficient boundary check
2014-06-10 14:17:06 +02:00
Remi Collet
8cd184f14a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fixed Bug #67410 fileinfo: mconvert incorrect handling of truncated pascal string size
2014-06-10 14:05:44 +02:00
Christian Wenz
60cc43a279
Update info.c
...
Fixes #67407 : Windows 8.1/Server 2012 R2 reported as Windows 8/Server 2012
2014-06-10 10:42:23 +02:00
Remi Collet
39885d0819
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fixed bug #67406 built-in web-server segfaults on startup
2014-06-10 10:39:10 +02:00
Dmitry Stogov
eb9b0baaa9
Optimized for fast path
2014-06-10 01:58:28 +04:00
Dmitry Stogov
15ba03fc80
Avoid repeatable zend_is_autogolobal() calls
2014-06-10 00:16:18 +04:00
Dmitry Stogov
7c045c61f0
Optimized for fast path
2014-06-10 00:15:44 +04:00
Dmitry Stogov
9a9bb8877e
Improved ZTS support
2014-06-09 21:29:20 +04:00
Dmitry Stogov
371345bed6
Avoid reallocation
2014-06-09 17:36:37 +04:00
Ferenc Kovacs
ab074b408a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
enable phpdbg for the travis build, and also run the testsuite for it
2014-06-09 15:30:49 +02:00
Dmitry Stogov
2d29f2d8d9
Comparison optimization
2014-06-09 17:00:22 +04:00
Dmitry Stogov
dbaef7c038
Avoid unnecessary memory allocation/deallocations and pcre calls
2014-06-09 15:42:32 +04:00
Dmitry Stogov
7bf4fa69be
Avoid extra function call on hot path
2014-06-09 15:41:29 +04:00
Bob Weinand
f0a9905759
Merge branch 'PHP-5.6'
2014-06-09 10:07:36 +02:00
Bob Weinand
5e6c5e9569
Merge sapi/phpdbg into PHP-5.6
2014-06-09 10:06:29 +02:00
Stanislav Malyshev
857618161f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #67399 (putenv with empty variable may lead to crash)
Fixed bug #67399 (putenv with empty variable may lead to crash)
Fixed bug #67399 (putenv with empty variable may lead to crash)
2014-06-08 23:10:52 -07:00
Stanislav Malyshev
b060880c87
Fixed bug #67399 (putenv with empty variable may lead to crash)
2014-06-08 23:10:44 -07:00
Matteo Beccati
8cfdf20ccf
Fixed DOM tests when using libxml2 versions patched against CVE-2014-0191
...
DOMDocument::substituteEntities needs to be set to true in order for
external entities to be parsed.
2014-06-09 07:08:04 +02:00
Matteo Beccati
106b6faa7a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed DOM tests when using libxml2 versions patched against CVE-2014-0191
2014-06-09 07:07:28 +02:00
Stanislav Malyshev
d3eac6399b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update news
add news
Bug 49898 __getCookies() method implementation
2014-06-08 19:47:59 -07:00
Stanislav Malyshev
317dec0740
Merge remote-tracking branch 'github/pr/669'
...
* github/pr/669:
Removed another cvsclean file
Removed cvsclean and svnclean tools
2014-06-08 19:29:44 -07:00
Stanislav Malyshev
94b4748175
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Removed another cvsclean file
Removed cvsclean and svnclean tools
2014-06-08 19:29:26 -07:00
Stanislav Malyshev
c568a8e610
Merge remote-tracking branch 'github/pr/462'
...
* github/pr/462:
Bug 64744 Show the type of the non-object for more descriptive errors
2014-06-08 19:19:36 -07:00
Stanislav Malyshev
9fceb05fcf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug 64744 Show the type of the non-object for more descriptive errors
2014-06-08 19:18:09 -07:00
Stanislav Malyshev
659eeee164
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix order
fix order
add news
2014-06-08 19:05:10 -07:00
Stanislav Malyshev
a17734fb04
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug 666222
Fix bug 666222
2014-06-08 19:02:51 -07:00
Stanislav Malyshev
7e1e40209a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed identation on file
Fix align indentation
2014-06-08 15:54:49 -07:00
Stanislav Malyshev
224f369a03
Merge remote-tracking branch 'github/pr/671'
...
* github/pr/671:
Fix align indentation
Fixed identation on file
2014-06-08 14:29:03 -07:00
Stanislav Malyshev
6b4835d3e3
Merge branch 'pull-request/676'
...
* pull-request/676:
Added support for parsing ssl certificates using GeneralizedTime format.
2014-06-08 14:20:30 -07:00
Stanislav Malyshev
f0462db11a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added support for parsing ssl certificates using GeneralizedTime format.
2014-06-08 14:20:07 -07:00
Stanislav Malyshev
f22f665b47
Merge remote-tracking branch 'github/pr/677'
...
* github/pr/677:
Test
Fix grammar #2683
2014-06-08 14:02:20 -07:00
Stanislav Malyshev
ee417600bc
Merge branch 'pull-request/687'
...
* pull-request/687:
Remove superfluous echos.
2014-06-08 13:53:40 -07:00
Stanislav Malyshev
fce97414bc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove superfluous echos.
2014-06-08 13:53:27 -07:00
Jeff Welch
ea543893d0
Remove superfluous echos.
2014-06-08 04:09:14 -04:00
Ferenc Kovacs
2b36a2747d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
use ./tokenizer_data_gen.sh to for adding T_POW & T_POW_EQUAL
2014-06-08 00:18:33 +02:00
Ferenc Kovacs
caf34bf189
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67392 : token_name() does not return name for T_POW and T_POW_EQUAL token
2014-06-07 15:29:29 +02:00
Nikita Popov
98918fe65b
Remove (&ast->u.child)[i] weirdness
2014-06-06 22:35:21 +02:00
Remi Collet
3ef71630b1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
move NEWS entry in the right place
2014-06-06 17:19:57 +02:00
Nikita Popov
2adda06544
Merge branch 'PHP-5.6'
2014-06-06 17:13:08 +02:00
Nikita Popov
c8aa51f825
Accept static member fetch in new variable (BC)
2014-06-06 17:05:14 +02:00
Dmitry Stogov
dd0e96cca3
Bundle pcre-8.35 with sljit support
2014-06-06 18:46:19 +04:00
Remi Collet
acf85d89ba
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fix bug #67390 insecure temporary file use in the configure script
2014-06-06 14:19:28 +02:00
Dmitry Stogov
e499c3d259
Introduced new BIND_GLOBAL instraction instead of FETCH_W+ASSIGN_REF pair that caused a lot of useles checks
2014-06-06 15:04:30 +04:00
Anatol Belski
0e7bf92129
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
restore correct behavior of DateTime
fix test use invalid code
Fixed startup segfault in non-debug builds Fixes issue #87
PHP 5.4/5.5 compability in phpdbg_watch.c
fix gcov data with some locales (again)
Conflicts:
ext/date/php_date.c
2014-06-06 09:06:48 +02:00
Anatol Belski
df0794469d
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (35 commits)
drop exec perm on doc files
fix test for 5.4/5.5
add test for previous fix
NEWS
NEWS
NEWS
Fix regression introduce in fix for bug #67118
update news
update NEWS
Fix tests
Fix possible segfault depending on memory location...
fix gcov data with some locales (again)
fix gcov data with some locales (again)
Update NEWS
Fixed startup segfault in non-debug builds Fixes issue #87
Fixed regression introduced by patch for bug #67072
Fixed bug #67329 fileinfo: NULL pointer deference flaw by processing certain CDF files
(re)add cve number in NEWS, from 5.4.29
NEWS
NEWS
...
2014-06-06 09:04:37 +02:00
Anatol Belski
d4cfc15514
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (24 commits)
drop exec perm on doc files
fix test for 5.4/5.5
add test for previous fix
NEWS
NEWS
NEWS
Fix regression introduce in fix for bug #67118
update news
update NEWS
Fix tests
Fix possible segfault depending on memory location...
fix gcov data with some locales (again)
fix gcov data with some locales (again)
Update NEWS
Fixed startup segfault in non-debug builds Fixes issue #87
Fixed regression introduced by patch for bug #67072
Fixed bug #67329 fileinfo: NULL pointer deference flaw by processing certain CDF files
(re)add cve number in NEWS, from 5.4.29
NEWS
NEWS
...
Conflicts:
ext/date/php_date.c
2014-06-06 08:59:05 +02:00
Dmitry Stogov
e4581fd6b8
GC doesn't count scalars and immutable arrays in the same way
2014-06-05 21:05:07 +04:00
Dmitry Stogov
1593d942e7
Fixed compilation warnings
2014-06-05 20:58:21 +04:00
Dmitry Stogov
717839735f
Merge branch 'master' into phpng
...
* master: (29 commits)
drop exec perm on doc files
fix test for 5.4/5.5
restore correct behavior of DateTime
fix test use invalid code
add test for previous fix
NEWS
NEWS
NEWS
Fix regression introduce in fix for bug #67118
update news
update NEWS
Fix tests
Fix possible segfault depending on memory location...
Fixed startup segfault in non-debug builds Fixes issue #87
PHP 5.4/5.5 compability in phpdbg_watch.c
fix gcov data with some locales (again)
fix gcov data with some locales (again)
fix gcov data with some locales (again)
Update NEWS
Fixed startup segfault in non-debug builds Fixes issue #87
...
2014-06-05 20:54:50 +04:00
Remi Collet
e16097626a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
drop exec perm on doc files
2014-06-05 17:46:21 +02:00
Remi Collet
ce3eae4c36
fix test for 5.4/5.5
2014-06-05 17:36:20 +02:00
Dmitry Stogov
1b8916886b
Speedup string equality check
2014-06-05 19:14:47 +04:00
Dmitry Stogov
730beec16e
Simplify code
2014-06-05 18:42:17 +04:00
Remi Collet
f11f7f5601
restore correct behavior of DateTime
2014-06-05 14:04:44 +02:00
Dmitry Stogov
c1965f58d4
Use reference counting instead of zval duplication
2014-06-05 16:04:11 +04:00
Remi Collet
f1ef7018f0
fix test use invalid code
2014-06-05 14:01:20 +02:00
Remi Collet
aafbf93841
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add test for previous fix
2014-06-05 14:00:40 +02:00
Remi Collet
2890284096
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fix regression introduce in fix for bug #67118
2014-06-05 13:47:14 +02:00
Nikita Popov
e4e42df4e6
Allow only simple variables with global keyword
2014-06-04 17:15:16 +02:00
Stanislav Malyshev
e8e907279e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update news
update NEWS
fix gcov data with some locales (again)
2014-06-04 01:11:40 -07:00
Dmitry Stogov
3d87391cc0
Reference counters in PHPNG may have different values
2014-06-04 09:57:17 +04:00
Bob Weinand
1e85b9e86b
Merge branch 'PHP-5.6'
...
Conflicts:
sapi/phpdbg/phpdbg.c
2014-06-04 02:20:35 +02:00
Bob Weinand
b264783d63
Merge sapi/phpdbg into PHP-5.6
2014-06-04 02:18:39 +02:00
Dmitry Stogov
6e7338700e
Avoid useless merge
2014-06-04 02:11:26 +04:00
Bob Weinand
a1b0ae4247
Fixed startup segfault in non-debug builds
...
Fixes issue #87
2014-06-03 21:24:55 +00:00
Bob Weinand
241211975e
PHP 5.4/5.5 compability in phpdbg_watch.c
2014-06-03 21:24:45 +00:00
Nuno Lopes
082f79de55
fix gcov data with some locales (again)
2014-06-03 17:21:20 -04:00
Bob Weinand
3200d99763
Merge sapi/phpdbg into PHP-5.6
2014-06-03 21:15:02 +00:00
Anatol Belski
94d1014dc7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed regression introduced by patch for bug #67072
2014-06-03 20:52:30 +02:00
Anatol Belski
2cdcf3e877
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #67329 fileinfo: NULL pointer deference flaw by processing certain CDF files
2014-06-03 11:38:19 +02:00
Remi Collet
ec19c906bb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
(re)add cve number in NEWS, from 5.4.29
2014-06-03 11:28:54 +02:00
Dmitry Stogov
3f6f0d5a70
Simplified and optimized ZEND_HANDLE_NUMERIC()
2014-06-03 13:10:42 +04:00
Remi Collet
7a00e8890b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fix bug #67326 fileinfo: cdf_read_short_sector insufficient boundary check
2014-06-03 11:10:08 +02:00
Ferenc Kovacs
3fba1d308c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add NEWS block for 5.6.0RC1
2014-06-03 10:28:23 +02:00
Dmitry Stogov
bc2ba841f9
Optimized conditions order
2014-06-03 09:45:09 +04:00
Dmitry Stogov
30c05577f7
Optimized conditions order
2014-06-03 03:54:03 +04:00
Dmitry Stogov
af78ea1d97
Avoid copying of immutable arrays
2014-06-03 02:43:53 +04:00
Dmitry Stogov
2bc1abe204
cleanup
2014-06-03 02:43:31 +04:00
Dmitry Stogov
0427ae08fb
cleanup
2014-06-03 00:36:31 +04:00
Anatol Belski
4dc952b190
fix macro
2014-06-02 08:45:32 +02:00
Anatol Belski
5cd607d1a7
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Update NEWs
Update NEWs
Fixed bug #67359 (Segfault in recursiveDirectoryIterator)
Check for zero-length keys in spl_array_skip_protected and don't skip them.
added CVEs in NEWS
updated libmagic.patch for 5.6+
updated libmagic.patch for 5.4+
update NEWS
Fix bug #67249 : printf out-of-bounds read
5.5.13 release date
Conflicts:
ext/standard/formatted_print.c
2014-06-02 08:42:24 +02:00
Xinchen Hui
717b5661e7
Fixed merge
2014-06-01 23:14:31 +08:00
Xinchen Hui
91b2ddc816
Merge branch 'master' into phpng
...
Conflicts:
ext/spl/spl_array.c
ext/spl/spl_directory.c
ext/standard/formatted_print.c
2014-06-01 22:43:06 +08:00
Xinchen Hui
d196ac6a48
Merge branch 'PHP-5.6'
2014-06-01 19:42:53 +08:00
Nikita Popov
f4a11b66cc
Merge and rename to member_name
2014-05-31 21:00:11 +02:00
Nikita Popov
8d7f5a403a
Remove duplication
2014-05-31 20:58:44 +02:00
Nikita Popov
8515b96e53
Handle FUNC_ARG fetches on temporaries
2014-05-31 20:15:55 +02:00
Nikita Popov
96b32ec532
Support isset() on temporaries
2014-05-31 20:05:03 +02:00
Nikita Popov
5c2120b6cf
Forbid writing to temporary expressions
2014-05-31 19:41:39 +02:00
Nikita Popov
72b5e0cac0
Add another static member access test
2014-05-31 18:18:20 +02:00
Nikita Popov
f0ac7f7d7b
Properly handle property read on const/tmp
2014-05-31 17:51:22 +02:00
Nikita Popov
c53a7ea4e5
Property handle calls on [] and '' consts/tmps
2014-05-31 17:37:30 +02:00
Nikita Popov
64e4c9eff1
Support directly calling closure
2014-05-31 17:18:37 +02:00
Nikita Popov
fd85f77857
Fix previous commit
2014-05-31 17:02:48 +02:00
Nikita Popov
64f80b3835
Introduce dereferencable_scalar to simplify future additions
2014-05-31 16:44:53 +02:00
Nikita Popov
4ec505f9b5
Add two initial tests
2014-05-31 16:33:52 +02:00
Nikita Popov
f48241f734
Generalize static access syntax
2014-05-31 16:27:03 +02:00
Nikita Popov
8a65c3b234
Remove now unnecessary code in begin_method_call
2014-05-31 16:08:38 +02:00
Nikita Popov
fcf42d817d
Remove object_stack (mostly)
2014-05-31 15:59:54 +02:00
Nikita Popov
c29d3b6e3e
Update another test
2014-05-31 00:48:06 +02:00
Nikita Popov
c5920af515
Update two tests with new semantics
2014-05-31 00:40:32 +02:00
Nikita Popov
ff475e9e76
Allow arrays + object access for new expressions
2014-05-31 00:37:03 +02:00
Nikita Popov
75c0db1119
Integrate combined scalar as dereferencable
2014-05-31 00:18:50 +02:00
Nikita Popov
46a2ca8324
Generalize expression dereferencing
2014-05-31 00:09:11 +02:00
Nikita Popov
5712f0e9bd
Minor cleanup
2014-05-31 00:02:51 +02:00
Nikita Popov
87f8e758c8
Cleanup old grammar rules
2014-05-30 23:51:54 +02:00
Nikita Popov
295d07e373
Reintroduce new expression dereferencing
2014-05-30 23:44:30 +02:00
Nikita Popov
067fca0e89
Remove reference_variable indirection
2014-05-30 23:36:30 +02:00
Nikita Popov
e89958a634
Make function calls directly callable
2014-05-30 23:30:37 +02:00
Nikita Popov
667f8409c5
Recursive definition for object proprety fetches
2014-05-30 23:25:43 +02:00
Nikita Popov
a8c1595012
LTR static member access
2014-05-30 22:33:03 +02:00
Nikita Popov
b8b3b355be
Use recursion for property fetches
2014-05-30 22:04:39 +02:00
Nikita Popov
46e35e3d5d
Get rid of base_variable_with_function_calls
2014-05-30 21:14:18 +02:00
Nikita Popov
e2be2cee97
Temporarily disable complex variables in new expressions
2014-05-30 21:11:25 +02:00
Nikita Popov
95a3a12657
Change precedence of $ operator
...
$$foo['bar'] is now interpreted as ${$foo}['bar'] rather than
${$foo['bar']}.
2014-05-30 16:31:10 +02:00
Dmitry Stogov
032bdbba73
Improved conditions order
2014-05-30 14:40:19 +04:00
Dmitry Stogov
d2020cd91b
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
typo
Revert "Fix ArrayObject with immutable array"
Fix ArrayObject with immutable array
2014-05-30 11:13:19 +04:00
Dmitry Stogov
984c8f87d2
Avoid useless duplication of immutable arrays
2014-05-30 11:12:24 +04:00
Dmitry Stogov
45d7ab1a4c
Avoid in-place modification
2014-05-30 11:12:03 +04:00
Xinchen Hui
9f70b2f6fa
typo
2014-05-30 14:56:50 +08:00
Nikita Popov
92c9f826c9
Revert "Fix ArrayObject with immutable array"
...
This reverts commit 9c85aa0489 .
2014-05-29 21:49:54 +02:00
Nikita Popov
9c85aa0489
Fix ArrayObject with immutable array
2014-05-29 21:19:49 +02:00
Adam Harvey
f4a235c541
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Check for zero-length keys in spl_array_skip_protected and don't skip them.
added CVEs in NEWS
2014-05-29 17:57:54 +00:00
Dmitry Stogov
b3b616cf7e
Introduced immutable arrays. They don't need to be copyed and may be used directly from SHM.
2014-05-29 18:21:56 +04:00
Nikita Popov
bfff679d90
Fix length reset in JSON parser
2014-05-29 12:53:32 +02:00
Nikita Popov
ccd9dab4c6
Fix $http_response_header creation
2014-05-29 12:51:03 +02:00
Nikita Popov
d1ae74a1a5
Improve gdb ht and zval dumps
2014-05-29 12:47:40 +02:00
Nikita Popov
47e85b1b35
Improve class constant fetch fix
...
Dereference the cached constant for Test::TEST as well (and not just
self::TEST).
Also improve the phpt file to test this case as well - previously
this only manifested with opcache enabled, due to literal sharing.
Additionally the Z_TYPE_P != IS_REFERENCE assertion is now moved
into the TMP_VAR fetching code (as it applies to more than just
property assignments.)
2014-05-29 11:17:33 +02:00
Nikita Popov
d9a35c7e97
Fix class constant fetching
...
If a class is extended after the constant fetch has been cached
the cached value will be turned into a reference. On the next
fetch the polymorphic cache will return this reference, which
will be directly returned. The object assignment code then
dereferences this result and performs a shallow copy, which is
invalid for references. This subsequently leads to the constant
value being prematurely freed.
This is fixed by dereferencing the value returned from the
polymorphic cache. Furthermore the incorrect dereference from
in the object assignment code is replaced with an assertion that
we're dealing with a non-reference, so ensure that this kind of
problem cannot go unnoticed in the future.
2014-05-29 00:15:50 +02:00
Nikita Popov
afd8a02160
A few more fixes and improvements for gdbinit
2014-05-29 00:15:50 +02:00
Nikita Popov
411a8757ad
Initialize GC_TYPE_INFO for EG(symbol_table)
2014-05-29 00:15:50 +02:00
Dmitry Stogov
8334f38615
Fixed conversion to phpng mistakes
2014-05-28 23:04:50 +04:00
Nikita Popov
9e2bc83fdb
Use zend_long_to_str in wddx
2014-05-28 18:55:51 +02:00
Nikita Popov
3831b39302
Use zval_get_string in implode
...
Also get rid of separate case for IS_OBJECT - this is already
handled by the default branch.
2014-05-28 18:45:00 +02:00
Nikita Popov
bf5a59d281
Use smart_str_append_long in implode
2014-05-28 18:39:41 +02:00
Nikita Popov
3f27d707d2
Use zend_long_to_str in curl
...
Also use STR_ADDREF instead of maintaining a numeric_key flag.
2014-05-28 18:34:35 +02:00
Nikita Popov
0987d19712
Use zend_long_to_str in pcntl
2014-05-28 18:26:11 +02:00
Nikita Popov
a6d33eb654
Clamb gdb string output at 256 chars
2014-05-28 18:22:19 +02:00
Dmitry Stogov
d0d62d3bb0
Use new zend_hash API
2014-05-28 18:45:01 +04:00
Dmitry Stogov
3419dc8c60
Use new zend_hash API
2014-05-28 18:12:52 +04:00
Dmitry Stogov
2af311bea3
Use new zend_hash API
2014-05-28 17:49:31 +04:00
Dmitry Stogov
4affab237d
Use new zend_hash API
2014-05-28 17:43:11 +04:00
Dmitry Stogov
b675492054
Use new zend_hash API
2014-05-28 17:30:05 +04:00
Dmitry Stogov
20f6dec6b6
Use new zend_hash API
2014-05-28 16:56:41 +04:00
Dmitry Stogov
aca34b127a
Use new zend_hash API
2014-05-28 14:09:42 +04:00
Dmitry Stogov
a1177760b4
Use extended iteration API to avoid in-place modification
2014-05-28 13:00:33 +04:00
Dmitry Stogov
2625f145c8
Use extended iteration API to avoid in-place modification
2014-05-28 12:39:27 +04:00
Dmitry Stogov
c9062917eb
Use new zend_hash API
2014-05-28 12:34:08 +04:00
Dmitry Stogov
a004c4fa80
Avoid in-place modification
2014-05-28 12:15:36 +04:00
Dmitry Stogov
e598aab273
Use new zend_hash API
2014-05-28 12:15:16 +04:00
Dmitry Stogov
066ea2204e
Avoid in-place modification
2014-05-28 10:15:15 +04:00
Dmitry Stogov
cf603fb960
Reference counter in phpng may have a bit different meaning and must not be the same
2014-05-28 02:16:21 +04:00
Dmitry Stogov
6c4b30eb07
Use new zend_hash API
2014-05-28 02:13:45 +04:00
Dmitry Stogov
2dce4cb06c
Avoid in-place conversion
2014-05-28 01:29:37 +04:00
Dmitry Stogov
864aa7746f
Fixed refcounting
2014-05-28 01:28:38 +04:00
Anatol Belski
412feff4be
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch for 5.6+
updated libmagic.patch for 5.4+
2014-05-27 22:40:17 +02:00
Stanislav Malyshev
cca9f376f4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
Fix bug #67249 : printf out-of-bounds read
5.5.13 release date
2014-05-27 12:12:22 -07:00
Anatol Belski
112bf7331f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
fix my last commit with some locales
2014-05-27 12:25:41 +02:00
Anatol Belski
fa59cc202f
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix zpp
fix zpp
Escape non-printable characters in the junit XML output
Fixed broken XML junit output due to escaping of CDATA sections
Fix #50444 : PDO-ODBC changes for 64-bit
update NEWS
backport this piece from 5.6, related to the #66307 fix
Fixed bug #66307 Fileinfo crashes with powerpoint files
Fix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degradation)
Fix bug #67327 : fileinfo: CDF infinite loop in nelements DoS
fix my last commit with some locales
fix my last commit with some locales
Update NEWs and add a test
2014-05-27 12:25:31 +02:00
Anatol Belski
4796204a4c
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Escape non-printable characters in the junit XML output
Fixed broken XML junit output due to escaping of CDATA sections
Fix #50444 : PDO-ODBC changes for 64-bit
update NEWS
backport this piece from 5.6, related to the #66307 fix
Fixed bug #66307 Fileinfo crashes with powerpoint files
Fix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degradation)
Fix bug #67327 : fileinfo: CDF infinite loop in nelements DoS
fix my last commit with some locales
fix my last commit with some locales
Update NEWs and add a test
2014-05-27 12:24:23 +02:00
Anatol Belski
9c20452ee0
fix zpp
2014-05-27 12:23:48 +02:00
Anatol Belski
638466a641
fix zpp
2014-05-27 12:22:15 +02:00
Matteo Beccati
5270563167
Escape non-printable characters in the junit XML output
...
XML doesn't allow most of the characters < 0x20 and binary output
breaks XML parsers. Such characters are not allowed as entities
either, so the generated entities are escaped in order to be printed
as text.
2014-05-27 12:04:52 +02:00
Matteo Beccati
b85990fd8f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Escape non-printable characters in the junit XML output
2014-05-27 12:04:32 +02:00
Xinchen Hui
4c9f6caf39
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
2014-05-27 17:48:47 +08:00
Xinchen Hui
1966116791
retval's initializing is already taken by zend_call_function
2014-05-27 17:48:34 +08:00
Matteo Beccati
1b08c885ba
Fixed broken XML junit output due to escaping of CDATA sections
...
I've removed CDATA and used htmlspecialchars as the output might not be UTF-8 safe, as pointed out by ircmaxell in 26b37f1792
2014-05-27 11:08:03 +02:00
Matteo Beccati
40fd85821b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed broken XML junit output due to escaping of CDATA sections
2014-05-27 11:07:52 +02:00
Stanislav Malyshev
1887f9cce4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #50444 : PDO-ODBC changes for 64-bit
2014-05-26 22:18:32 -07:00
Xinchen Hui
3a1f79d51d
Fixed bug #47407
2014-05-27 11:48:25 +08:00
Stanislav Malyshev
43faeaa621
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
backport this piece from 5.6, related to the #66307 fix
Fixed bug #66307 Fileinfo crashes with powerpoint files
Fix bug #67328 (fileinfo: numerous file_printf calls resulting in performance degradation)
Fix bug #67327 : fileinfo: CDF infinite loop in nelements DoS
fix my last commit with some locales
fix my last commit with some locales
2014-05-26 18:11:38 -07:00
Dmitry Stogov
e34a6e9211
Use new zend_hash API
2014-05-27 00:38:58 +04:00
Nuno Lopes
bdae3d2548
fix my last commit with some locales
2014-05-26 15:08:28 -04:00
Dmitry Stogov
05d0df4706
Use new zend_hash API
2014-05-26 21:29:35 +04:00
Nikita Popov
4ee14c6f8d
Fix ** operator with references
2014-05-26 18:17:55 +02:00
Nikita Popov
ff72c7bfd7
Add test for previous commit
2014-05-26 18:13:16 +02:00
Nikita Popov
ec7b5e0b19
Fix incdec of ref object properties
...
This fixes a number of infinite loops in the Symfony testsuite. It
took an obscene amount of time to track this down :/
2014-05-26 18:00:15 +02:00
Dmitry Stogov
40256e0f9c
Use specialized functions instead of macros
2014-05-26 17:16:16 +04:00
Dmitry Stogov
22f6cf91d5
Optimize func_get_args() to build packed array
2014-05-26 17:15:52 +04:00
Xinchen Hui
0df38cdcb6
Merge branch 'master' into phpng
2014-05-26 17:32:53 +08:00
Xinchen Hui
b5f90e5103
Save some unnecessary zval copying
2014-05-26 17:25:57 +08:00
Xinchen Hui
bd4b9837e9
Improve call_user_function performance
...
params are all zval * now, and retval will be initialized in
zend_call_function.
maybe we can make call_user_function as a macro proxy to
call_user_function_ex later.
2014-05-26 17:16:22 +08:00
Dmitry Stogov
b66728aabb
Removed useless initializations
2014-05-26 11:42:58 +04:00
Xinchen Hui
cdacf4c90a
Merge branch 'PHP-5.6'
2014-05-26 15:40:57 +08:00
Dmitry Stogov
79a3e44a0c
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Finished persistent PDO implement
2014-05-26 10:53:14 +04:00
Dmitry Stogov
9dd66e4d53
Merge branch 'master' into phpng
...
* master:
Fixed issue #183 (TMP_VAR is not only used once)
Fix broken Junit output with --disable-cgi
Added folder mark
Further test fixes for the fdb2709 breakage.
Fix broken test caused by fdb2709 .
Added tests for ZipArchive::addGlob() and ZipArchive::addPattern()
Fix run-tests.php with Valgrind >= 3.10.0.
Add microseconds to the serialised form of DateTime objects.
Improved test for bug #62479
fix typo in ODBC code
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
5.5.14 now
Fix bug #67060 : use default mode of 660
Conflicts:
ext/date/php_date.c
2014-05-26 10:52:43 +04:00
Anatol Belski
567f5e5247
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Added tests for ZipArchive::addGlob() and ZipArchive::addPattern()
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
fix test
2014-05-26 08:51:32 +02:00
Anatol Belski
a4a5e34ed9
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (29 commits)
Fixed issue #183 (TMP_VAR is not only used once)
Fix broken Junit output with --disable-cgi
Added folder mark
Further test fixes for the fdb2709 breakage.
Fix broken test caused by fdb2709 .
Fix run-tests.php with Valgrind >= 3.10.0.
Add microseconds to the serialised form of DateTime objects.
Improved test for bug #62479
fix typo in ODBC code
Support for __debugInfo (Joe Watkins)
Optimize ZEND_POW (Rouven Weßling)
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
Prevent recursion in ZF2 Parameters class
5.5.14 now
adding NEWS block for beta4
5.4.30 next
enable email notifications
update NEWS
update NEWS
...
Conflicts:
ext/opcache/ZendAccelerator.h
ext/spl/spl_array.c
2014-05-26 08:39:06 +02:00
Anatol Belski
317e8058e0
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Fixed issue #183 (TMP_VAR is not only used once)
Fix broken Junit output with --disable-cgi
Added folder mark
2014-05-26 08:31:21 +02:00
Xinchen Hui
9fa9da4831
Finished persistent PDO implement
2014-05-26 14:17:45 +08:00
Dmitry Stogov
347b430a03
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed issue #183 (TMP_VAR is not only used once)
2014-05-26 10:12:36 +04:00
Xinchen Hui
066c1d5451
This seems better
2014-05-26 12:05:21 +08:00
Xinchen Hui
02fde346f8
Save one zval copy
2014-05-26 11:49:43 +08:00
Xinchen Hui
922285ec55
Don't use cast (compiler friendly)
2014-05-26 11:05:04 +08:00
Nikita Popov
0ade00c844
Fix print_flat_hash for objects
2014-05-25 20:07:29 +02:00
Nikita Popov
bdeeddbb80
Fix parts of .gdbinit
2014-05-25 19:04:33 +02:00
Nikita Popov
43cf92edf6
Fix in_array (strict) with references
2014-05-25 18:19:00 +02:00
Nikita Popov
6714770d83
Fix ZTS build
2014-05-25 18:11:24 +02:00
Xinchen Hui
bc357eaf3f
Fixed apply_func_args_t
2014-05-25 20:04:35 +08:00
Xinchen Hui
0175d994c0
Fixed apply_func_arg_t, and it's better not using cast (compiler friendly)
2014-05-25 19:56:51 +08:00
Xinchen Hui
c2082ece52
Fixed apply_func_t (they should be broken before)
2014-05-25 18:32:35 +08:00
Matteo Beccati
5d7f82745f
Fix broken Junit output with --disable-cgi
2014-05-25 00:10:00 +02:00
Matteo Beccati
2c8ce5ba17
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix broken Junit output with --disable-cgi
2014-05-25 00:08:56 +02:00
Xinchen Hui
00e69ba164
typo
2014-05-24 21:45:07 +08:00
Xinchen Hui
b87cff66b8
fci->retval is always set
2014-05-24 21:37:15 +08:00
Xinchen Hui
60e01e5d64
Added folder mark and codes style
2014-05-24 21:35:36 +08:00
Xinchen Hui
dc8a53d4ba
Merge branch 'PHP-5.6'
2014-05-24 21:11:26 +08:00
Anatol Belski
1d28acb437
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Further test fixes for the fdb2709 breakage.
Fix broken test caused by fdb2709 .
Fix run-tests.php with Valgrind >= 3.10.0.
Add microseconds to the serialised form of DateTime objects.
Improved test for bug #62479
2014-05-24 13:58:35 +02:00
Xinchen Hui
9b730bf4bf
Merge branch 'new-tests' of https://github.com/SammyK/php-src
2014-05-24 15:43:37 +08:00
Dmitry Stogov
9eb89dddb1
Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.
2014-05-23 20:37:53 +04:00
Adam Harvey
bbdbb6f7eb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Further test fixes for the fdb2709 breakage.
Fix broken test caused by fdb2709 .
2014-05-23 15:23:55 +00:00
Nikita Popov
8fbf4027e2
Remove incorrect EMPTY_SWITCH_DEFAULT_CASE() usage
2014-05-23 14:32:52 +02:00
Nikita Popov
c838f6c5b9
Remove UB in signed printing macro
...
Signed->unsigned conversion and unsigned negation are well-defined
(unlike signed negation for LONG_MIN.)
2014-05-23 13:15:08 +02:00
Nikita Popov
1d8c499b51
Optimize int to string conversion
...
Probably platform depedentant, but for me snprintf is terribly
slow.
The code for the long printing is taken from the smart string
API.
2014-05-23 13:10:50 +02:00
Sammy Kaye Powers
e2bbe95310
Added tests for ZipArchive::addGlob() and ZipArchive::addPattern()
2014-05-23 05:51:13 +00:00
Adam Harvey
93a98202d0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix run-tests.php with Valgrind >= 3.10.0.
2014-05-22 22:43:39 +00:00
Nikita Popov
4778586896
Fix typo
2014-05-22 19:00:25 +02:00
Nikita Popov
6f0f8511f2
Assert that EMPTY_SWITCH_DEFAULT_CASE() cannot be reached in debug
2014-05-22 19:00:25 +02:00
Aidas Kasparas
d339ddf417
Bug #41577 fix: reinitialization of dotnet_domain structure member
2014-05-22 09:54:44 +03:00
Christopher Jones
94d092dea3
Make a start on phpng compat
2014-05-21 16:43:44 -07:00
Adam Harvey
16a44b993f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add microseconds to the serialised form of DateTime objects.
2014-05-21 15:06:30 -05:00
Matteo Beccati
bb7638adbb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Improved test for bug #62479
2014-05-21 18:59:31 +02:00
Xinchen Hui
f9c3d09f1c
Fixed tests but introduce segfaults (behavior same as trunk)
2014-05-21 23:11:02 +08:00
Xinchen Hui
ad1ef9b629
Refactored ext/pdo_firebird (didn't do test)
2014-05-21 15:52:36 +08:00
Xinchen Hui
59d74db108
Fixed segafult while stream is referenced by persistent resource (like dba)
2014-05-21 13:11:56 +08:00
Xinchen Hui
96617874bd
Fixed persistent dba handling
2014-05-21 12:22:59 +08:00
Xinchen Hui
6d12d3bae1
Refactored ext/dba (tests passes, but segfaults need to be fixed)
2014-05-21 11:40:19 +08:00
Andrey Hristov
5d4f9dfff4
Second set of changes to mysqlnd for phpng.
...
A bit problematic is that the streams seem not to be completely ported.
Also there are some hacks in the streams about EG(regular_list) and EG(persistent_list)
and these need to be carefully checked. The test suite should catch them, however.
2014-05-20 21:50:15 +03:00
Andrey Hristov
5d57e17a15
First set of phpng changes for mysqlnd
2014-05-20 19:57:11 +03:00
Andrey Hristov
2312af04a7
Defensive check
2014-05-20 16:41:14 +03:00
Andrey Hristov
759f1009ad
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-20 14:51:16 +03:00
Andrey Hristov
90cad3de2f
Add one more check to skip getting into code that will do nothing
2014-05-20 14:50:50 +03:00
Dmitry Stogov
01ef592fba
Reverted last commit
2014-05-20 13:55:15 +04:00
Dmitry Stogov
cf4d43e45b
Fixed wrong test (see https://bugs.php.net/bug.php?id=67307 )
2014-05-20 13:47:10 +04:00
Dmitry Stogov
b5af9e8599
More accurate mysql_close()
2014-05-20 13:19:21 +04:00
Xinchen Hui
b36afe8dd3
Refactoring ext/snmp
2014-05-20 17:02:29 +08:00
Xinchen Hui
f2028491aa
Merge branch 'phpng' of https://git.php.net/repository/php-src into phpng
...
Conflicts:
ext/pdo_pgsql/tests/common.phpt
2014-05-20 15:50:41 +08:00
Xinchen Hui
4d299b5092
Revert changes to configs by accident
2014-05-20 11:31:39 +08:00
Xinchen Hui
9c98c1f888
Refactored ext/ldap
2014-05-20 11:29:37 +08:00
Xinchen Hui
e1317ed517
Refactored ext/ldap
2014-05-20 11:26:26 +08:00
Dmitry Stogov
0a68835bd4
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
remove mysqlnd_bt.c as it a long dead code
2014-05-19 22:21:14 +04:00
Dmitry Stogov
b38bb265d4
Fixed test. The warning actually indicate a problem in master that we didn't repeat in phpng.
2014-05-19 22:20:02 +04:00
Andrey Hristov
e6e5d3535d
remove mysqlnd_bt.c as it a long dead code
2014-05-19 20:32:41 +03:00
Dmitry Stogov
78e4f03c22
Fixed incorrect efree()
2014-05-19 16:19:01 +04:00
Dmitry Stogov
a21e6d6ed9
Fixed double free
2014-05-19 13:11:20 +04:00
Dmitry Stogov
35f23d9ee7
Fixed incorrect Z_LVAL() usage
2014-05-19 12:51:48 +04:00
Dmitry Stogov
8506618850
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Fixed memleak (3 tests fails now)
Fixed resources apply_dtor
It's a zend_array not Hashtable (fixed segfault)
Fixed segfault
Refactoring ext/pgsql (incompleted, only compilable)
2014-05-19 11:53:06 +04:00
Dmitry Stogov
4e521c92ec
Prevent crash in case of SQL error
2014-05-19 11:52:33 +04:00
Dmitry Stogov
4ea10696e8
Prevent double resource free
2014-05-19 11:50:38 +04:00
Anatol Belski
ce8f7cb794
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix typo in ODBC code
Support for __debugInfo (Joe Watkins)
Optimize ZEND_POW (Rouven Weßling)
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
Prevent recursion in ZF2 Parameters class
5.5.14 now
Fix bug #67060 : use default mode of 660
2014-05-19 09:44:18 +02:00
Xinchen Hui
a816032285
Fixed memleak (3 tests fails now)
2014-05-19 14:57:17 +08:00
Xinchen Hui
98f801ccbc
Fixed resources apply_dtor
2014-05-19 14:53:02 +08:00
Xinchen Hui
09d2f4b195
It's a zend_array not Hashtable (fixed segfault)
2014-05-19 14:49:28 +08:00
Stanislav Malyshev
134d38118c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix typo in ODBC code
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
5.5.14 now
Fix bug #67060 : use default mode of 660
2014-05-18 23:47:14 -07:00
Xinchen Hui
ed554704f3
Fixed segfault
2014-05-19 14:44:59 +08:00
Xinchen Hui
1ff7c7b9a3
Refactoring ext/pgsql (incompleted, only compilable)
2014-05-19 14:25:30 +08:00
Xinchen Hui
82a4897446
Use new iterator macros
2014-05-19 10:55:09 +08:00
Xinchen Hui
f2d1ace1b4
This should be this (broken compiling before)
2014-05-19 10:26:10 +08:00
Xinchen Hui
3eeb0dc9f7
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-19 10:21:13 +08:00
Dmitry Stogov
21da8af578
Removed the old hack that was originally developed to support constants in array indeces, and isn't needed anymore after the Bob's patch.
2014-05-19 01:20:56 +04:00
Dmitry Stogov
d07c1941ec
Use new hash iteration API and avoid old zend_hash_update_current_key() hack
2014-05-19 00:50:00 +04:00
Dmitry Stogov
b11a30f5ea
Merge branch 'master' into phpng
...
* master:
Support for __debugInfo (Joe Watkins)
Optimize ZEND_POW (Rouven Weßling)
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
Prevent recursion in ZF2 Parameters class
adding NEWS block for beta4
5.4.30 next
enable email notifications
update NEWS
update NEWS
update NEWS
- Updated to version 2014.3 (2014c)
fix bug #67253 : timelib_meridian_with_check out-of-bounds read
Fix bug #67252 : convert_uudecode out-of-bounds read
Fix bug #67251 - date_parse_from_format out-of-bounds read
Fix bug #67250 (iptcparse out-of-bounds read)
Conflicts:
ext/opcache/zend_persist.c
ext/spl/spl_array.c
2014-05-18 21:17:31 +04:00
Dmitry Stogov
91c475fc00
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Support for __debugInfo (Joe Watkins)
2014-05-18 20:56:34 +04:00
Dmitry Stogov
0019b512ff
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Optimize ZEND_POW (Rouven Weßling)
gcov: tentative fix for broken coverage data after fix for opcache coverage slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
Conflicts:
ext/opcache/ZendAccelerator.h
2014-05-18 20:51:37 +04:00
Nuno Lopes
4f8a84b2e7
gcov: tentative fix for broken coverage data after fix for opcache coverage
...
slightly hackish, but works. The idea is that we want to give priority to .gcda files in .libs dirs vs the files in the upper level dir
2014-05-18 11:21:05 -04:00
Tjerk Meesters
6aac353acc
Merge branch 'PHP-5.6'
...
Conflicts:
ext/spl/spl_array.c
2014-05-18 22:51:36 +08:00
Xinchen Hui
583bb6339b
Merge branch 'phpng' of git.php.net:/php-src into phpng
...
Conflicts:
ext/pdo/pdo_sql_parser.c
2014-05-18 21:06:44 +08:00
Xinchen Hui
d86fa38cc5
Fixed uninitialized used
2014-05-18 21:04:43 +08:00
Xinchen Hui
b0ecac6ba8
Fixed uninitialized used
2014-05-18 20:55:06 +08:00
Xinchen Hui
204e580fcd
Fixed Hash API usage
2014-05-18 20:25:07 +08:00
Xinchen Hui
af3829608d
Fixed Hash API usage
2014-05-18 20:23:26 +08:00
Dmitry Stogov
32b58b2e07
phpng support for ext/readline
2014-05-18 15:49:35 +04:00
Dmitry Stogov
0c27dedb6a
phpng support for ext/enchant
2014-05-18 15:04:04 +04:00
Dmitry Stogov
41336194b5
Fixed wrong condition
2014-05-18 13:28:06 +04:00
Dmitry Stogov
c7e6d3acce
Regenerated parser
2014-05-18 13:27:54 +04:00
Pierre Joye
f3963e77ac
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Xinchen Hui
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Fixed Hash API usage (it's in comments)
Fixed Zend Hash API usage (although it's in comments)
Fixed several tests failes
2014-05-18 11:19:31 +02:00
Pierre Joye
fca1e0c574
more port to phpng, zend_string and hash, work in progress
2014-05-18 11:19:02 +02:00
Martin Jansen
068bf645e1
Remove usage of pointless COOKIE_SET_COOKIE constant.
2014-05-18 10:45:31 +02:00
Xinchen Hui
4ababc3a41
Fixed Hash API usage (it's in comments)
2014-05-18 12:09:14 +08:00
Xinchen Hui
eb5c613311
Fixed Zend Hash API usage (although it's in comments)
2014-05-18 12:05:36 +08:00
Xinchen Hui
3cbdcdc2c8
Fixed several tests failes
2014-05-18 12:02:54 +08:00
Xinchen Hui
0d3cd2486a
Finish ext/sockets
2014-05-18 12:02:05 +08:00
Pierre Joye
6223702cf4
fix smart string usage (work in progress), ps: a lot of len tests are done twice or more, rooms for cleanup here
2014-05-17 15:34:03 +02:00
Pierre Joye
bd1aae54eb
fix init, new smart_str struct (use zend_string now)
2014-05-17 15:29:25 +02:00
Pierre Joye
77ba802726
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed new hash API usage
2014-05-17 15:05:48 +02:00
Dmitry Stogov
feeebc2e05
Fixed new hash API usage
2014-05-17 11:48:29 +04:00
Pierre Joye
e9eb642a36
fix hash API calls
2014-05-17 08:12:18 +02:00
Pierre Joye
81f45d50a1
fix signature according to apply_func_arg_t
2014-05-17 05:54:06 +02:00
Pierre Joye
0ba3aec5f7
only used if HAVE_NOFOLLOW
2014-05-17 05:50:01 +02:00
Pierre Joye
c0bd24b502
Z_TYPE_PP > Z_TYPE_P
2014-05-17 05:44:26 +02:00
Pierre Joye
5939345fd5
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov (5) and Xinchen Hui (3)
# Via Xinchen Hui (3) and Dmitry Stogov (2)
* 'phpng' of git.php.net:php-src:
Fixed signed
Refactoring socket (only compilable now)
it make no sense to create a reference to object
Initialize zvals
Fixed <any> with XML references
Refactored shmop
Fixed pointer mess (use * instead of **)
Fixed support for XML references
2014-05-17 05:42:00 +02:00
Pierre Joye
9b44d687df
fix zend_hash_get_current_data_ptr_ex call
2014-05-17 05:41:21 +02:00
Xinchen Hui
84eeae80d8
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-17 10:39:05 +08:00
Xinchen Hui
a4a1fc5552
Fixed signed
2014-05-17 10:28:54 +08:00
Xinchen Hui
489da59b08
Refactoring socket (only compilable now)
2014-05-17 10:23:46 +08:00
Dmitry Stogov
fa4b281c56
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Refactored shmop
2014-05-16 20:21:08 +04:00
Dmitry Stogov
fe7d22ddd4
it make no sense to create a reference to object
2014-05-16 20:20:17 +04:00
Dmitry Stogov
e743089d55
Initialize zvals
2014-05-16 19:43:49 +04:00
Dmitry Stogov
e159955d15
Fixed <any> with XML references
2014-05-16 18:11:28 +04:00
Xinchen Hui
bcb4fcd305
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-16 22:02:19 +08:00
Xinchen Hui
8b7a3b2d05
Refactored shmop
2014-05-16 22:00:04 +08:00
Dmitry Stogov
89dbe07449
Fixed pointer mess (use * instead of **)
2014-05-16 16:56:36 +04:00
Dmitry Stogov
5eb273cfec
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
hash find returns zval* now
2014-05-16 16:35:37 +04:00
Dmitry Stogov
9d6b5e1f8e
Fixed support for XML references
2014-05-16 16:35:00 +04:00
Pierre Joye
06fe7e1e15
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov (3) and Xinchen Hui (1)
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Fixed invalid read in ext/pdo/tests/pdo_025.phpt(pgsql)
Fixed persistent WSDL cache
Fixed wrong backtrace (__doRequest is not a static method). The "master" behavior is wrong.
Restored __destructor() behavior
2014-05-16 14:32:46 +02:00
Pierre Joye
c0ae699ca2
hash find returns zval* now
2014-05-16 14:31:20 +02:00
Xinchen Hui
c7face7702
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-16 19:13:01 +08:00
Xinchen Hui
d85e39cf4a
Fixed invalid read in ext/pdo/tests/pdo_025.phpt(pgsql)
2014-05-16 19:11:38 +08:00
Dmitry Stogov
9df1dcd329
Fixed persistent WSDL cache
2014-05-16 14:36:54 +04:00
Dmitry Stogov
1da1b989cf
Fixed wrong backtrace (__doRequest is not a static method). The "master" behavior is wrong.
2014-05-16 13:41:27 +04:00
Dmitry Stogov
87591db5f5
Restored __destructor() behavior
2014-05-16 13:15:24 +04:00
Pierre Joye
e28662dd95
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed support for <any>
2014-05-16 11:00:49 +02:00
Dmitry Stogov
9389ce8034
Fixed support for <any>
2014-05-16 12:41:45 +04:00
Pierre Joye
c062b889f8
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Xinchen Hui (3) and Dmitry Stogov (2)
# Via Xinchen Hui (3) and Dmitry Stogov (2)
* 'phpng' of git.php.net:php-src:
Fixed iterator destruction
Fixed uninitialized value used
Finish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)
Fixed memory leaks
Fixed several test failed
2014-05-16 09:15:55 +02:00
Pierre Joye
3ebd7ec9cf
wrong macro usage, we expect a DOM object here
2014-05-16 09:15:30 +02:00
Dmitry Stogov
b258b112a4
Fixed iterator destruction
2014-05-16 11:12:32 +04:00
Xinchen Hui
6859890091
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-16 15:09:17 +08:00
Xinchen Hui
4aaab964d7
Fixed uninitialized value used
2014-05-16 14:59:16 +08:00
Dmitry Stogov
3e40a77c9f
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Finish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)
Fixed several test failed
2014-05-16 10:41:55 +04:00
Xinchen Hui
97da4ba079
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-16 14:40:42 +08:00
Xinchen Hui
e8c2b54b9e
Finish ext/pdo_pgsql (3 tests fail, 1 due to knew issue, 2 also fails in trunk)
2014-05-16 14:38:24 +08:00
Dmitry Stogov
98878d4e7d
Fixed memory leaks
2014-05-16 10:37:59 +04:00
Pierre Joye
797c1660cb
test the right length and remove unused var (remaining from 'old' version)
2014-05-16 08:27:21 +02:00
Xinchen Hui
417860f95d
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-16 14:20:54 +08:00
Xinchen Hui
34bb45e92d
Fixed several test failed
2014-05-16 14:18:11 +08:00
Pierre Joye
f28e0b0db7
fix TS build
2014-05-16 07:34:47 +02:00
Pierre Joye
afeead0499
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed WSDL attibute parsing
fixed reference counting and memory leak
Partial fix for XML references handling
Fixed handling of compressed SOAP requests
Fixed support for SOAP_PERSISTENCE_SESSION
Fixed support for empty strings
Buffer has to be reallocated on each loop iteration
Support for IS_INDIRECT
Buffer has to be reallocated on each loop iteration
2014-05-16 07:25:12 +02:00
Dmitry Stogov
b1f88c9a13
Fixed WSDL attibute parsing
2014-05-16 02:36:52 +04:00
Dmitry Stogov
51c55a1ed3
fixed reference counting and memory leak
2014-05-16 02:04:50 +04:00
Dmitry Stogov
5a9de70ba7
Partial fix for XML references handling
2014-05-16 01:49:04 +04:00
Dmitry Stogov
9b8b55bc16
Fixed handling of compressed SOAP requests
2014-05-16 01:29:40 +04:00
Dmitry Stogov
7cb20d597f
Fixed support for SOAP_PERSISTENCE_SESSION
2014-05-15 23:54:36 +04:00
Dmitry Stogov
f31aa8434f
Fixed support for empty strings
2014-05-15 23:16:21 +04:00
Dmitry Stogov
f0da988282
Buffer has to be reallocated on each loop iteration
2014-05-15 22:58:58 +04:00
Dmitry Stogov
ce8518e652
Support for IS_INDIRECT
2014-05-15 22:53:01 +04:00
Dmitry Stogov
2709d4f18b
Buffer has to be reallocated on each loop iteration
2014-05-15 22:51:46 +04:00
Pierre Joye
47335ef956
fix casting
2014-05-15 20:30:30 +02:00
Pierre Joye
a897591180
return ptr, not status
2014-05-15 20:14:29 +02:00
Pierre Joye
8a2a9379cf
used only in the #ifdef 0
2014-05-15 20:09:49 +02:00
Pierre Joye
f87d5001fc
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed wrong comparisons
2014-05-15 19:48:31 +02:00
Dmitry Stogov
16d3d5dc53
Fixed wrong comparisons
2014-05-15 21:06:39 +04:00
Pierre Joye
19f6476d19
fix void* ptr arithmetic
2014-05-15 18:09:50 +02:00
Pierre Joye
dc4a39ca9c
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov (4) and others
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Made a little clean up
check for EG(excepton)
key->len doesn't include trailing space anymore
Fixed WSDL parsing
add support for pdo-pgsql in phpng refactoring
Fixed memory leaks
2014-05-15 17:53:44 +02:00
Xinchen Hui
5aa0856bae
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-15 22:35:06 +08:00
Xinchen Hui
49df66be01
Made a little clean up
2014-05-15 22:33:13 +08:00
Dmitry Stogov
fba70c8362
check for EG(excepton)
2014-05-15 18:17:49 +04:00
Dmitry Stogov
3610c5cf02
key->len doesn't include trailing space anymore
2014-05-15 17:17:09 +04:00
Dmitry Stogov
40a8156966
Fixed WSDL parsing
2014-05-15 16:21:13 +04:00
nikita2206
b7f6bc5103
add support for pdo-pgsql in phpng refactoring
2014-05-15 16:18:50 +04:00
Dmitry Stogov
3e131b41b2
Fixed memory leaks
2014-05-15 16:18:19 +04:00
Pierre Joye
bb0fb58beb
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov (1) and Xinchen Hui (1)
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed hack. now we may store numbers not as pointers.
Fixed two tests, 1 left
2014-05-15 12:03:58 +02:00
Dmitry Stogov
f2324a3e0e
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Fixed two tests, 1 left
Refactored ext/xsl, need some help in 3 tests failed
2014-05-15 14:03:44 +04:00
Dmitry Stogov
bc99c0debb
Fixed hack. now we may store numbers not as pointers.
2014-05-15 14:00:49 +04:00
Xinchen Hui
a031ced63b
Fixed two tests, 1 left
2014-05-15 17:54:58 +08:00
Pierre Joye
17c68b9fd8
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov (2) and Xinchen Hui (1)
# Via Dmitry Stogov (2) and Xinchen Hui (1)
* 'phpng' of git.php.net:php-src:
Fixed zend_string/char* mess
Refactored ext/xsl, need some help in 3 tests failed
Fixed SoapFault handling
2014-05-15 11:50:09 +02:00
Xinchen Hui
08663e9107
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-15 17:45:35 +08:00
Dmitry Stogov
55b6fb1656
Fixed zend_string/char* mess
2014-05-15 13:44:13 +04:00
Xinchen Hui
d74f5ab3df
Refactored ext/xsl, need some help in 3 tests failed
2014-05-15 17:43:44 +08:00
Pierre Joye
5fa4e047b0
unused var
2014-05-15 11:36:40 +02:00
Dmitry Stogov
154976f711
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
forgot that hash uses ending 0
fix ts build
2014-05-15 13:35:03 +04:00
Dmitry Stogov
6f984ab1e8
Fixed SoapFault handling
2014-05-15 13:34:31 +04:00
Pierre Joye
d5e6789439
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
fixed refcounting
Fixed destructive assignment
2014-05-15 10:56:48 +02:00
Pierre Joye
6ad1d7d831
forgot that hash uses ending 0
2014-05-15 10:39:35 +02:00
Pierre Joye
684506c4c8
fix ts build
2014-05-15 10:36:09 +02:00
Dmitry Stogov
88ba312808
fixed refcounting
2014-05-15 12:34:04 +04:00
Dmitry Stogov
5e7e299a34
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
fix leak
zend_hash_del>zend_hash_str_del
unused local var
2014-05-15 12:32:15 +04:00
Dmitry Stogov
3d2b175339
Fixed destructive assignment
2014-05-15 12:29:52 +04:00
Pierre Joye
5609bcc757
fix leak
2014-05-15 10:23:50 +02:00
Pierre Joye
e3e192ca98
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed get_zval_property()
2014-05-15 10:17:11 +02:00
Pierre Joye
365446763f
zend_hash_del>zend_hash_str_del
2014-05-15 10:16:19 +02:00
Dmitry Stogov
540070a999
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
fix invalid use of STR_FREE > efree
RETURN_STRING takes the char* only now (always copied)
RETURN_STRING takes the char* only now
fix build
2014-05-15 12:14:08 +04:00
Pierre Joye
6e84e4a28e
unused local var
2014-05-15 10:12:02 +02:00
Dmitry Stogov
d1c539ce67
Fixed get_zval_property()
2014-05-15 12:11:24 +04:00
Pierre Joye
39f0b585be
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
Fixed reference counting and memory leak
Fixed SOAP error handling
Array with var_args must not be deallocated any more
Allow just set or get context passing NULL pointers
Removed support for old-style resource destructors (only ext/soap used it)
2014-05-15 10:05:04 +02:00
Pierre Joye
15a887ca14
fix invalid use of STR_FREE > efree
2014-05-15 10:01:11 +02:00
Dmitry Stogov
926388620b
Fixed reference counting and memory leak
2014-05-15 11:57:16 +04:00
Pierre Joye
d8c6749649
RETURN_STRING takes the char* only now (always copied)
2014-05-15 09:56:20 +02:00
Pierre Joye
526c778e91
RETURN_STRING takes the char* only now
2014-05-15 09:54:52 +02:00
Dmitry Stogov
4c4df85988
Fixed SOAP error handling
2014-05-15 11:47:10 +04:00
Pierre Joye
6a3ee29785
fix build
2014-05-15 09:38:26 +02:00
Dmitry Stogov
76ada8d5e6
Array with var_args must not be deallocated any more
2014-05-15 11:14:45 +04:00
Dmitry Stogov
04456f8fab
Allow just set or get context passing NULL pointers
2014-05-15 11:14:12 +04:00
Dmitry Stogov
281663f75d
Removed support for old-style resource destructors (only ext/soap used it)
2014-05-15 10:57:03 +04:00
Pierre Joye
89a6d2bc53
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
ext/soap support for phpng (incomplete - just compilable)
2014-05-15 08:24:07 +02:00
Dmitry Stogov
c446e57588
ext/soap support for phpng (incomplete - just compilable)
2014-05-15 02:44:47 +04:00
zborboa-google
ec7eccaaae
Test
2014-05-14 13:11:51 -07:00
Pierre Joye
3ae86b9cce
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Stanislav Malyshev (15) and others
# Via Stanislav Malyshev (15) and others
* 'phpng' of git.php.net:php-src: (53 commits)
Use defined macro
Refactored tidy (all tests passes)
Reverted wrong commit Xinchen, stop commit changed configs :) You may use environment variables to ovverride default settings
Fixed reference counting, IS_REFERENCE and IS_INDIRECT support
Terminate string Useproper hash function
C89 compat
Fixed curl_close() behavior
In most user extensions functions like mysql_close() should use zend_list_close() instead of zend_list_delete(). This closes the actual connection and frees extension specific data structures, but doesn't free zend_reference structure that might be referenced from zval(s). This also doesn't decrement the resource reference counter.
Fixed access to uninitialized data and attempt to double free
Fixed safe resource close. It must not de deleted (just closed), because it still may be referenced from zval(s). This fixes few ext/ftp test memory failures detected with valgrind.
Nested PCRE calls may clobber extra->mark and it has to be reinitailized This fixes invalid memory writes (detected with valgrind) in Zend/tests/closure_047.phpt and Zend/tests/closure_048.phpt.
Added comment
fix test - output can be chunked
fix test
fix test
Fixed test for commit 997be125eb
Add bug fix to NEWS
Update UPGRADING according to bug fix
fix test
improve CURL tests to allow testing without separate server
...
2014-05-14 20:06:58 +02:00
Pierre Joye
21d270dbaa
fix windows build
2014-05-14 20:06:18 +02:00
Pierre Joye
01513976e7
ptr needed here
2014-05-14 20:05:54 +02:00
Anatol Belski
4fb177b916
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
adding NEWS block for beta4
2014-05-14 13:02:08 +02:00
Xinchen Hui
b57b1ff495
Use defined macro
2014-05-14 16:54:14 +08:00
Xinchen Hui
0f6c93d620
Refactored tidy (all tests passes)
2014-05-14 16:44:07 +08:00
Ferenc Kovacs
886fafc34f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
adding NEWS block for beta4
2014-05-14 09:14:57 +02:00
Anatol Belski
1ddecc9d12
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (32 commits)
5.4.30 next
enable email notifications
update NEWS
update NEWS
update NEWS
- Updated to version 2014.3 (2014c)
fix test - output can be chunked
fix test
Fixed test for commit 997be125eb
Add bug fix to NEWS
Update UPGRADING according to bug fix
improve CURL tests to allow testing without separate server
Fixed bug #67199 mb_regex_encoding mishmash
fix bug #67253 : timelib_meridian_with_check out-of-bounds read
Fix bug #67252 : convert_uudecode out-of-bounds read
Fix bug #67251 - date_parse_from_format out-of-bounds read
Fix bug #67250 (iptcparse out-of-bounds read)
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
...
Conflicts:
ext/gd/gd.c
ext/standard/iptc.c
2014-05-14 08:21:12 +02:00
Stanislav Malyshev
5b9f7ee147
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.30 next
2014-05-13 22:22:13 -07:00
Stanislav Malyshev
4fd19c0397
Merge branch 'PHP-5.6'
...
* PHP-5.6:
enable email notifications
2014-05-13 17:15:09 -07:00
Stanislav Malyshev
fedb908b58
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
update NEWS
update NEWS
2014-05-13 17:09:30 -07:00
Stanislav Malyshev
3c107d6434
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix bug #67253 : timelib_meridian_with_check out-of-bounds read
Fix bug #67252 : convert_uudecode out-of-bounds read
Fix bug #67251 - date_parse_from_format out-of-bounds read
Fix bug #67250 (iptcparse out-of-bounds read)
2014-05-13 17:04:44 -07:00
Paul Oehler
f148026017
Added support for parsing ssl certificates using GeneralizedTime format.
...
fix bug #65698
fix bug #66636
2014-05-13 18:32:15 -04:00
Dmitry Stogov
c25f09e6ab
Reverted wrong commit
...
Xinchen, stop commit changed configs :)
You may use environment variables to ovverride default settings
2014-05-13 21:29:57 +04:00
Derick Rethans
7ee66c51e6
Merge branch 'PHP-5.6'
2014-05-13 16:37:07 +01:00
Dmitry Stogov
a08a1ae2c0
Fixed reference counting, IS_REFERENCE and IS_INDIRECT support
2014-05-13 17:27:37 +04:00
Dmitry Stogov
0eeeaa1a23
Terminate string
...
Useproper hash function
2014-05-13 16:40:05 +04:00
Dmitry Stogov
275e006734
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
C89 compat
2014-05-13 16:06:30 +04:00
Anatol Belski
f089d63ddd
C89 compat
2014-05-13 14:04:53 +02:00
Dmitry Stogov
3ba4f8263d
Fixed curl_close() behavior
2014-05-13 16:00:44 +04:00
Dmitry Stogov
7fcd4064c0
Merge branch 'master' into phpng
...
* master: (41 commits)
fix test - output can be chunked
fix test
fix test
Fixed test for commit 997be125eb
Add bug fix to NEWS
Update UPGRADING according to bug fix
fix test
improve CURL tests to allow testing without separate server
improve CURL tests to allow testing without separate server
Fixed bug #67199 mb_regex_encoding mishmash
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
add tests stuff to README
Updated NEWS
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245 ) Linux apparently does not like memcpy in overlapping regions...
- Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)
- Move checking
- Fixed missing NULL check in SimpleXMLElement::xpath()
- Fixed missing NULL check
...
Conflicts:
ext/bz2/bz2.c
ext/gd/gd.c
ext/mbstring/php_mbregex.c
ext/session/tests/031.phpt
ext/simplexml/simplexml.c
ext/spl/spl_fixedarray.c
2014-05-13 15:24:40 +04:00
Dmitry Stogov
b8b8c497c4
In most user extensions functions like mysql_close() should use zend_list_close() instead of zend_list_delete(). This closes the actual connection and frees extension specific data structures, but doesn't free zend_reference structure that might be referenced from zval(s). This also doesn't decrement the resource reference counter.
2014-05-13 13:18:00 +04:00
Dmitry Stogov
f1720348ca
Fixed access to uninitialized data and attempt to double free
2014-05-13 12:57:42 +04:00
Dmitry Stogov
7b1cb4922f
Fixed safe resource close.
...
It must not de deleted (just closed), because it still may be referenced from zval(s).
This fixes few ext/ftp test memory failures detected with valgrind.
2014-05-13 12:47:34 +04:00
Dmitry Stogov
376ab3b787
Nested PCRE calls may clobber extra->mark and it has to be reinitailized
...
This fixes invalid memory writes (detected with valgrind) in Zend/tests/closure_047.phpt and Zend/tests/closure_048.phpt.
2014-05-13 12:14:55 +04:00
Dmitry Stogov
88421c6a04
Added comment
2014-05-13 10:22:21 +04:00
Pierre Joye
c26d79c854
hash keys now use actual string length without leading zero
2014-05-13 08:11:44 +02:00
Pierre Joye
1b89df4925
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Xinchen Hui
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Save one type checking if the type is already string
This should be removed too
Remove zval **
2014-05-13 08:08:25 +02:00
Xinchen Hui
075a6ced0a
Save one type checking if the type is already string
2014-05-13 14:05:28 +08:00
Xinchen Hui
7080131e71
This should be removed too
2014-05-13 13:55:51 +08:00
Xinchen Hui
97c836e421
Remove zval **
2014-05-13 13:45:24 +08:00
Pierre Joye
11caa1d7b4
port dns_win32
2014-05-13 07:06:27 +02:00
Pierre Joye
bc0161b720
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Dmitry Stogov (5) and others
# Via Xinchen Hui (3) and Dmitry Stogov (1)
* 'phpng' of git.php.net:php-src:
restore unexpected commit
Convert to unpacked before deleting elements
- Fixed ZTS build
Fix memory error in spl_directory.c
Fix spl_directory cast_object, reenable error
Support for ext/phar (all tests passed)
ext/phar support (incomplete)
Fixed double free (xmlrpc is done, 1 test failed due to knew issue)
Fixed typo
Refactoring ext/xmlrpc (incompleted)
Removed error message that breaks phar
ext/phar support (incomplete)
Refactor ext/gd (all tests passes)
Fixed wrong buffer length (added place for terminating zero)
2014-05-13 06:51:45 +02:00
Pierre Joye
d24c5de173
port sendmail to windwos (untested yet)
2014-05-13 06:51:11 +02:00
Pierre Joye
dbc6d0df84
port proc_open to windows (untested yet)
2014-05-13 06:50:20 +02:00
Xinchen Hui
618de55485
restore unexpected commit
2014-05-13 12:25:03 +08:00
Xinchen Hui
6037dcd25b
Merge branch 'phpng-hash-str-del-fix' of https://github.com/datibbaw/php-src into phpng
2014-05-13 12:23:58 +08:00
Tjerk Meesters
e7b50a8ee9
Convert to unpacked before deleting elements
...
Return FAILURE immediately if a string index removal is attempted.
Moved condition higher up
2014-05-13 11:58:28 +08:00
Felipe Pena
920d298f4a
- Fixed ZTS build
2014-05-13 00:34:10 -03:00
Nikita Popov
9f9ee0186e
Fix memory error in spl_directory.c
2014-05-12 21:35:39 +02:00
Nikita Popov
8904f72d7c
Fix spl_directory cast_object, reenable error
2014-05-12 20:44:30 +02:00
Dmitry Stogov
f29b68306d
Support for ext/phar (all tests passed)
2014-05-12 22:28:31 +04:00
Stanislav Malyshev
c7abe84d94
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test - output can be chunked
fix test
Conflicts:
ext/curl/tests/curl_basic_006.phpt
2014-05-12 10:58:18 -07:00
Jefersson Nathan
dd2005535c
Fix align indentation
2014-05-12 13:37:47 -03:00
Dmitry Stogov
dda4140010
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
Fixed double free (xmlrpc is done, 1 test failed due to knew issue)
Fixed typo
Refactoring ext/xmlrpc (incompleted)
2014-05-12 16:43:41 +04:00
Dmitry Stogov
4288f0486b
ext/phar support (incomplete)
2014-05-12 16:43:18 +04:00
Xinchen Hui
b0f434c3dd
Fixed double free (xmlrpc is done, 1 test failed due to knew issue)
2014-05-12 20:40:08 +08:00
Xinchen Hui
dec5fa6c08
Fixed typo
2014-05-12 19:57:04 +08:00
Xinchen Hui
b0329185cc
Refactoring ext/xmlrpc (incompleted)
2014-05-12 19:28:06 +08:00
Dmitry Stogov
c6c9d1414c
Removed error message that breaks phar
2014-05-12 14:03:10 +04:00
Dmitry Stogov
dfb10145f7
ext/phar support (incomplete)
2014-05-12 13:31:38 +04:00
Stanislav Malyshev
db35409136
fix test
2014-05-12 01:40:39 -07:00
Anatol Belski
63f57b5901
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master: (29 commits)
Fixed test for commit 997be125eb
Add bug fix to NEWS
Update UPGRADING according to bug fix
fix test
improve CURL tests to allow testing without separate server
improve CURL tests to allow testing without separate server
Fixed bug #67199 mb_regex_encoding mishmash
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
add tests stuff to README
Updated NEWS
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245 ) Linux apparently does not like memcpy in overlapping regions...
- Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)
- Move checking
- Fixed missing NULL check in SimpleXMLElement::xpath()
- Fixed missing NULL check
updated NEWS
Bug #67238 Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
oops, 5.4 and 5.5 use malloc in TSRM
...
Conflicts:
ext/gd/gd.c
2014-05-12 09:59:02 +02:00
Anatol Belski
1c5b635281
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Allow crypto_method context value in stream_socket_enable_crypto()
2014-05-12 09:56:35 +02:00
Xinchen Hui
1be957ebc9
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-12 15:55:48 +08:00
Xinchen Hui
9081a1bdfb
Refactor ext/gd (all tests passes)
2014-05-12 15:53:35 +08:00
Dmitry Stogov
f089be8291
Fixed wrong buffer length (added place for terminating zero)
2014-05-12 11:17:12 +04:00
Anatol Belski
a582692720
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Allow crypto_method context value in stream_socket_enable_crypto()
Conflicts:
ext/standard/streamsfuncs.c
2014-05-12 08:55:10 +02:00
Yasuo Ohgaki
072bbe95ea
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed test for commit 997be125eb
2014-05-12 15:38:40 +09:00
Stanislav Malyshev
97b203c93f
fix test
2014-05-11 23:20:33 -07:00
Stanislav Malyshev
41b655d9cd
improve CURL tests to allow testing without separate server
2014-05-11 23:04:09 -07:00
Pierre Joye
7a74d779aa
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Xinchen Hui
# Via Xinchen Hui
* 'phpng' of git.php.net:php-src:
Fixed reference handling
Fixed IS_INDRICT handling
Fixed fields handling
Refactoring wddx (incompleted, is there any one use it? )
Finish refactoring of MySQLi
Various bug fixes (now 17 tests fails, it is 11 in trunk)
Various bug fixed
2014-05-12 06:46:59 +02:00
Yasuo Ohgaki
a33a817f0e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #67199 mb_regex_encoding mishmash
2014-05-12 13:34:43 +09:00
Xinchen Hui
b2b508a279
Fixed reference handling
2014-05-12 11:39:55 +08:00
Xinchen Hui
fca5af618f
Fixed IS_INDRICT handling
2014-05-12 10:52:37 +08:00
Xinchen Hui
618d6e273c
Fixed fields handling
2014-05-12 10:46:19 +08:00
Stanislav Malyshev
eaa39c9388
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67248 (imageaffinematrixget missing check of parameters)
Fix bug #67247 spl_fixedarray_resize integer overflow
fix news
add tests stuff to README
Updated NEWS
Fix Linux specific fail in error traces (cherry-picked and fix for bug #67245 ) Linux apparently does not like memcpy in overlapping regions...
2014-05-11 18:57:39 -07:00
Xinchen Hui
8d87e3b841
Refactoring wddx (incompleted, is there any one use it? )
2014-05-11 22:04:45 +08:00
Felipe Pena
2ed2283932
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Fixed off-by-one in phar_build (patch by crrodriguez at opensuse dot org)
2014-05-11 09:46:47 -03:00
Xinchen Hui
c057b3f63d
Finish refactoring of MySQLi
...
a few tests failed due to knew issue, I will disscuss with dmitry later
2014-05-11 19:37:48 +08:00
Xinchen Hui
446c60c616
Various bug fixes (now 17 tests fails, it is 11 in trunk)
2014-05-11 17:02:08 +08:00
Xinchen Hui
53b930475f
Various bug fixed
2014-05-11 16:05:14 +08:00
Pierre Joye
486138ef3f
Merge branch 'phpng' of git.php.net:php-src into phpng
...
# By Xinchen Hui (27) and others
# Via Xinchen Hui (5) and others
* 'phpng' of git.php.net:php-src: (47 commits)
Refactor MySQLi (incompleted, only compilable now)
Add support for pspell
update for phpng
Test push (previous push didn't send mail?)
Added smart_string to avoid string duplicated
Use strpprintf
Added vstrpprintf strpprintf to avoid duplicate string
Refactor sysvsem, sysvshm, sysmsg
Fix identical comparison of arrays with references
Fix strtr() segfault
Code cleanup in proc_open
Finish ext/curl (7 tests fails as trunk)
Fixed post data (long type cast matters here :<)
Use zend_string for better performance
Fixed clone refcount
Fixed build with high version libcurl
Refactoring ext/curl (only compilable now)
Fix proc_open resource destruction
Support for ext/phar (incomplete)
Finish bz2 (all tests passed)
...
2014-05-11 08:55:10 +02:00
Xinchen Hui
2402d6cbbc
Refactor MySQLi (incompleted, only compilable now)
2014-05-11 14:53:18 +08:00
Xinchen Hui
e9274de503
Add support for pspell
2014-05-11 00:58:48 +08:00
Felipe Pena
bd88e8dfd2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Move checking
2014-05-10 11:55:51 -03:00
Felipe Pena
b09529ec1a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Fixed missing NULL check in SimpleXMLElement::xpath()
2014-05-10 11:53:59 -03:00
Felipe Pena
4308cf30ba
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Fixed missing NULL check
2014-05-10 11:40:04 -03:00
Sobak
9db82df076
Removed another cvsclean file
2014-05-10 13:30:54 +02:00
Sobak
21642861b2
Removed cvsclean and svnclean tools
2014-05-10 13:16:48 +02:00
krakjoe
08c4b4736e
update for phpng
2014-05-10 10:02:33 +01:00
Xinchen Hui
5ce6c33f65
Test push (previous push didn't send mail?)
2014-05-10 11:19:21 +08:00
Xinchen Hui
beb042090d
Added smart_string to avoid string duplicated
...
for now, if we want result a char * use smart_string, if zend_string
use smart_str
2014-05-10 11:09:17 +08:00
Anatol Belski
7ac7069e99
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Bug #67238 Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
2014-05-09 22:18:07 +02:00
Xinchen Hui
b1c9d5ddee
Use strpprintf
2014-05-10 00:43:02 +08:00
Xinchen Hui
88c550a799
Added vstrpprintf strpprintf to avoid duplicate string
...
(the function name maybe improvement)
2014-05-10 00:21:49 +08:00
Xinchen Hui
e2890e3a0f
Refactor sysvsem, sysvshm, sysmsg
2014-05-09 23:28:21 +08:00
Nikita Popov
9343f874cd
Fix identical comparison of arrays with references
...
Also commit a test I forgot.
2014-05-09 15:46:43 +02:00
Nikita Popov
f1e1231529
Fix strtr() segfault
2014-05-09 15:14:27 +02:00
Nikita Popov
1616415056
Code cleanup in proc_open
2014-05-09 13:01:38 +02:00
Xinchen Hui
1071bf74cf
Finish ext/curl (7 tests fails as trunk)
2014-05-09 14:58:07 +08:00
Xinchen Hui
f4c105dc7d
Fixed post data (long type cast matters here :<)
2014-05-09 14:48:39 +08:00
Xinchen Hui
763cee63ab
Use zend_string for better performance
2014-05-09 14:14:09 +08:00
Xinchen Hui
2d9bc88db8
Fixed clone refcount
2014-05-09 14:00:47 +08:00
Xinchen Hui
564db38dc4
Fixed build with high version libcurl
2014-05-09 13:54:42 +08:00
Xinchen Hui
c5e63f8a63
Refactoring ext/curl (only compilable now)
2014-05-09 12:17:39 +08:00
Nikita Popov
b57d558d56
Fix proc_open resource destruction
2014-05-09 00:24:01 +02:00
Dmitry Stogov
2a31934a1a
Support for ext/phar (incomplete)
2014-05-08 21:18:59 +04:00
Xinchen Hui
28bc91d8b4
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-08 23:02:53 +08:00
Xinchen Hui
afa1de1883
Finish bz2 (all tests passed)
2014-05-08 22:59:17 +08:00
Dmitry Stogov
df5ad846c6
Support for ext/phar (incomplete)
2014-05-08 18:30:07 +04:00
Xinchen Hui
979c665f21
There is memleak
2014-05-08 22:01:50 +08:00
krakjoe
ebaee948d9
bz2 changes for phpng
2014-05-08 13:14:19 +01:00
krakjoe
29a48fe73b
update skeleton
2014-05-08 12:29:56 +01:00
krakjoe
8c7064b2f7
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-08 11:58:28 +01:00
krakjoe
f9cfbb8ea1
recode update for phpng
2014-05-08 11:57:35 +01:00
Xinchen Hui
7541f93f97
ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt fails in trunk as well while building with libmysql
2014-05-08 18:34:56 +08:00
Xinchen Hui
28e6a2b452
Revert "ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt fails in trunk as well while building with libmysql"
...
This reverts commit 29b3529292 .
2014-05-08 18:34:40 +08:00
Xinchen Hui
29b3529292
ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt fails in trunk as well while building with libmysql
2014-05-08 18:30:21 +08:00
Stanislav Malyshev
281bde7701
Merge branch 'PHP-5.6'
...
* PHP-5.6:
oops, 5.4 and 5.5 use malloc in TSRM
2014-05-08 02:04:50 -07:00
Xinchen Hui
7de633c549
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-08 17:03:26 +08:00
Stanislav Malyshev
607b0f99bf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
make release tags not fail Travis CI
2014-05-08 01:12:06 -07:00
Xinchen Hui
be79628b87
Fixed REFERENCE handling
2014-05-08 16:11:50 +08:00
Stanislav Malyshev
cfe9596260
make release tags not fail Travis CI
2014-05-08 01:08:55 -07:00
Stanislav Malyshev
f90505f5c4
don't bother with travis for now, not ready yet
2014-05-08 01:05:17 -07:00
Stanislav Malyshev
79bdc75cb3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix memory leak in TSRM
2014-05-08 01:01:34 -07:00
Xinchen Hui
c242518bf0
There should been memory leaks(and don't use pointer cast)
2014-05-08 15:20:13 +08:00
Xinchen Hui
5f46c8fa31
Fixed bugs in pdo_mysql
2014-05-08 15:19:43 +08:00
Xinchen Hui
dfc940c5d9
Revert "Going to refactor mysqlnd"
...
This reverts commit 37d9f1e6e9 .
2014-05-08 11:50:56 +08:00
Dmitry Stogov
fa7008bb24
Fixed resource destruction
2014-05-08 02:48:31 +04:00
Stanislav Malyshev
da4cd8edb0
Fix memory leak in TSRM
2014-05-07 13:28:03 -07:00
Dmitry Stogov
223df9ceea
We shouldn't modify strings in-place (it may be interned strings stored in SHN)
2014-05-07 23:19:28 +04:00
Dmitry Stogov
d41d6cf206
Interned strings must not be modified in-place
...
MAKE_COPY_ZVAL() should be changed into ZVAL_DUP()
2014-05-07 22:08:25 +04:00
Xinchen Hui
37d9f1e6e9
Going to refactor mysqlnd
2014-05-07 23:34:23 +08:00
Daniel Lowrey
b637946a23
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Allow crypto_method context value in stream_socket_enable_crypto()
2014-05-07 08:13:31 -06:00
Dmitry Stogov
449ea00a48
Fixed ext/fileinfo conversion mistakes
2014-05-07 17:58:28 +04:00
Anatol Belski
fe09b5b0b6
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Fixed test (it requires ext/hash)
Fixed tests (they might fail from time to time because of session GC)
NEWS
XFAIL-- for bug #67198
remove useless indirection
fix bug #67198 (php://input regression)
rename a constant - old name to new name
test for bug #67198
Fix author name on the #63228 patch.
2014-05-07 15:01:44 +02:00
Anatol Belski
ede2963963
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Fixed test (it requires ext/hash)
Fixed tests (they might fail from time to time because of session GC)
NEWS
XFAIL-- for bug #67198
remove useless indirection
fix bug #67198 (php://input regression)
rename a constant - old name to new name
test for bug #67198
Fix author name on the #63228 patch.
Conflicts:
ext/standard/php_fopen_wrapper.c
2014-05-07 15:00:18 +02:00
Dmitry Stogov
e75f2d1f76
Fixed bug introduced during conversion to "phpng"
2014-05-07 16:15:29 +04:00
Dmitry Stogov
b54dcab377
Initialize "retval"
2014-05-07 15:36:01 +04:00
Dmitry Stogov
d5831bfa12
Merge branch 'phpng' of git.php.net:php-src into phpng
...
* 'phpng' of git.php.net:php-src:
fix exif, thnx laruence
2014-05-07 15:14:41 +04:00
krakjoe
1f9ecf42b6
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-07 12:04:04 +01:00
Dmitry Stogov
0c6a6f0fba
Re-applyed Bob's patch with minor fixes
2014-05-07 15:03:56 +04:00
krakjoe
6cab75aaa4
fix exif, thnx laruence
2014-05-07 12:03:00 +01:00
Pierre Joye
670feb3a53
typo in var name
2014-05-07 11:17:03 +02:00
Xinchen Hui
2393000aeb
Prefer the macro we defined
2014-05-07 17:06:27 +08:00
Xinchen Hui
e3a0809655
Rerevert previous commit to phpt by accident
2014-05-07 17:01:59 +08:00
Xinchen Hui
ea26b820e1
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-07 16:53:20 +08:00
Xinchen Hui
ed5b6af8af
Refactored filter
2014-05-07 16:52:58 +08:00
krakjoe
0a134d1a3a
phpng updates for exif
2014-05-07 07:59:45 +01:00
Xinchen Hui
8b90b17c8d
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-07 13:50:53 +08:00
Xinchen Hui
9ef21b7606
Refactor fileinfo
2014-05-07 13:50:29 +08:00
Pierre Joye
38c886a449
-- missing length declaration, may have worked w/some gcc as length is not used in the macro but still need it, ifdef just make code uncertain. will get opt out anyway if not used
2014-05-07 07:31:21 +02:00
Xinchen Hui
478a8b2ebb
Fixed reference handling(param->parameter)
2014-05-07 12:01:07 +08:00
Xinchen Hui
2d0c9690de
Refactor pdo_mysql(incompleted, some tests failed due to no mysqlnd)
2014-05-07 11:00:36 +08:00
Dmitry Stogov
4ecc527976
Reverted Bob's patch (it breaks many tests when run with opcache and needs to be fixed first).
2014-05-07 03:26:13 +04:00
Ferenc Kovacs
64162cd3c2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed test (it requires ext/hash)
Conflicts:
ext/session/tests/031.phpt
2014-05-07 01:03:31 +02:00
Ferenc Kovacs
0cd679fb17
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed tests (they might fail from time to time because of session GC)
Fix author name on the #63228 patch.
2014-05-07 00:39:57 +02:00
Dmitry Stogov
424aebbf36
Added support for ext/openssl
2014-05-07 01:09:42 +04:00
Martin Jansen
71ad601dee
Fix typo
2014-05-06 22:08:52 +02:00
Nikita Popov
a9ba7a6779
Add tests for previous commit
2014-05-06 22:04:58 +02:00
Martin Jansen
c5f9a231d5
Streamlining of cookie handling in ext/session and setcookie
...
Up until now the session cookie used "HttpOnly" to indicate cookies
only available through HTTP while setcookie() used "httponly". The
relevant RFC 6265 claims that case does not matter for this token,
but only explicitely mentions "HttpOnly". Thus this seems like a
logical choice when streamlining the code.
Also the setcookie implementation now uses the same string constants
as the session extension for other tokens like Max-Age or the domain
attribute.
This change poses a slight risk of backwards incompatibility in places
where people deliberately ignore chapter 5.2.5 of RFC 6265 and perform
case-sensitive checks for the HttpOnly attribute.
2014-05-06 22:00:59 +02:00
Nikita Popov
4d8c59f0da
Fix parse_method_params
2014-05-06 21:56:01 +02:00
Martin Jansen
c0f4e270a8
This test requires the hash extension.
2014-05-06 21:34:10 +02:00
Nikita Popov
ccc2c8ae16
Fix error message in parse_method_params
2014-05-06 20:32:49 +02:00
Nikita Popov
80f8d20b72
Remove dead code from ZEND_THROW
...
The IS_CONST case always throws an E_ERROR two lines above that,
so no need to handle it further.
2014-05-06 20:02:26 +02:00
Nikita Popov
767b5eea7e
Fix throw by reference
...
Reported by Timm Friebe
2014-05-06 20:01:19 +02:00
Nikita Popov
409e9134ac
Sync zend_is_true with convert_to_boolean (fixes GMP test)
2014-05-06 19:03:48 +02:00
Nikita Popov
4c5b5d7201
Port ext/gmp (one failure)
2014-05-06 19:03:48 +02:00
Nikita Popov
6e87a0857d
Fix ZTS build
2014-05-06 19:03:48 +02:00
Bob Weinand
628646ec93
Removed now superfluous #define IS_CONSTANT_ARRAY_EX
2014-05-06 18:16:12 +02:00
Bob Weinand
f3c1881f1d
Re-added fix for bug #66015 and adapted for phpng branch
2014-05-06 14:59:03 +02:00
Dmitry Stogov
485a60414d
Fixed incorrect boolean IS_FALSE/IS_TRUE handling
2014-05-06 15:59:49 +04:00
Dmitry Stogov
ebe024fd78
Fixed memory leaks
2014-05-06 15:18:17 +04:00
Dmitry Stogov
70a5e0e429
Fixed support for references and proper string lengths
2014-05-06 15:03:25 +04:00
Dmitry Stogov
6f5a0df570
added support for ext/posix
2014-05-06 14:50:54 +04:00
Michael Wallner
4609f202f0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
2014-05-06 12:39:34 +02:00
Michael Wallner
950bd5e20a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
XFAIL-- for bug #67198
remove useless indirection
fix bug #67198 (php://input regression)
2014-05-06 12:36:55 +02:00
Dmitry Stogov
53b5de1e64
Added support for ext/pcntl (incomplete; ext/posix required to run all tests)
2014-05-06 14:23:56 +04:00
krakjoe
b2fe1c1648
...
2014-05-06 11:22:15 +01:00
Michael Wallner
416cc83f4e
XFAIL-- for bug #67198
2014-05-06 12:22:09 +02:00
Michael Wallner
333638b0d3
remove useless indirection
...
the stream was initialized within the ops
in a prior version of the slim_post_data patch
2014-05-06 12:22:08 +02:00
Michael Wallner
86b6bfb9b7
fix bug #67198 (php://input regression)
2014-05-06 12:22:08 +02:00
krakjoe
ff9597a238
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-06 11:21:21 +01:00
krakjoe
7f32ffbf89
fix leaks in here
2014-05-06 11:20:54 +01:00
Dmitry Stogov
9d21bef39f
Added support for apache and apache2handler SAPIs (They seem slower than FastCGI)
2014-05-06 13:26:23 +04:00
Andrey Hristov
4df71647b6
Merge branch 'PHP-5.6'
2014-05-06 12:17:29 +03:00
Dmitry Stogov
0ea615fd10
Mark all strings stored in SHM as IS_INTERNED to avoid refcounting
2014-05-06 12:41:27 +04:00
krakjoe
4187be99fe
fix for phpng, failing RFC2144 test
2014-05-06 09:08:02 +01:00
krakjoe
362e1db428
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-06 08:01:26 +01:00
krakjoe
360962ea29
fix ftp for ng
2014-05-06 07:54:54 +01:00
Hannes Magnusson
0ebf0c02a0
Fix argument, cur_method_ref->class_name is a zend_string
2014-05-05 21:45:33 -07:00
Dmitry Stogov
1fa4dcac87
Added comment with problem description and two soltions
2014-05-06 04:35:29 +04:00
Dmitry Stogov
8915ad69fb
Fixed memory leaks
2014-05-06 04:06:58 +04:00
Dmitry Stogov
28a8135331
Restored original EG(scope) behavior when call object methods
2014-05-06 02:04:05 +04:00
Dmitry Stogov
1606a9a36a
PDO code assumes that different parts of the union alligned in special way
2014-05-06 02:02:00 +04:00
krakjoe
d7c529ed32
Merge branch 'phpng' of git.php.net:php-src into phpng
2014-05-05 22:45:29 +01:00
Nikita Popov
211d32c814
Initialize CG(one_time_string) in ZTS as well
2014-05-05 22:21:57 +02:00
Nikita Popov
b9438a1ec7
Fix use after free for doc_comment persist
2014-05-05 19:56:05 +02:00
Nikita Popov
592aa37f67
Fix memory error in ext/xml
2014-05-05 17:43:13 +02:00
Nikita Popov
4d22be992c
Fix ZTS
2014-05-05 17:28:22 +02:00
Ferenc Kovacs
875c48ae67
Merge branch 'PHP-5.6'
...
* PHP-5.6:
test for bug #67198
2014-05-05 16:25:38 +02:00
Xinchen Hui
a636c4c03f
Fixed segfault in _xml_xmlchar_zval
2014-05-05 19:52:42 +08:00
Xinchen Hui
fa6f6c8807
Fixed Reference handling in xml_parse_into_struct
2014-05-05 19:45:50 +08:00
Xinchen Hui
c73c6526ef
clean up
2014-05-05 18:09:15 +08:00
Xinchen Hui
39c521c056
Finish Zip (all tests pass)
2014-05-05 17:48:49 +08:00
Xinchen Hui
356824df4c
Romove unnecessary proxy macro
2014-05-05 17:44:07 +08:00
Dmitry Stogov
cd4b4dfc4d
Merge branch 'master' into refactoring2
...
Conflicts:
Zend/zend_hash.c
ext/date/php_date.c
2014-05-05 13:02:43 +04:00
Dmitry Stogov
83d45d0a04
GC checks during argument release don't make sense
2014-05-05 12:40:16 +04:00
Xinchen Hui
72f46a34b8
Refactor zlib (all tests pass)
2014-05-05 15:52:09 +08:00
Anatol Belski
19b6e2cc9a
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (32 commits)
fixed ZEND_DEBUG usage
updated libmagic.patch
added missing stdint header, bug #66907
fix macros
/me blushes, really hard
only build and test nts non-debug and ts debug builds as discussed at https://github.com/php/php-src/pull/654
Fix mysqli build when building against libmysqlclient.
Fix author name on the #63228 patch.
Fixed bug #67169 : []= after_array_splice incorrect
Revert "show leaks in their own group" using valgrind would be a bit too much for travis I guess.
show leaks in their own group
Use the right path for the suggested PHP invocation in ext_skel.
Changed to more understandable NEWS message
one heading is enough
add new NEWS block for alpha3
XFAIL the leaking multibyte tests, we should really get to the bottom of this
Fixed numbering in UPGRADING file
Updated NEWS for fixed phpdbg issue #85
Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
...
2014-05-05 08:59:08 +02:00
Xinchen Hui
f7ee17d9f7
Refactor gettext
2014-05-05 14:32:32 +08:00
Anatol Belski
bc92917e73
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fixed ZEND_DEBUG usage
updated libmagic.patch
added missing stdint header, bug #66907
2014-05-05 08:29:35 +02:00
Xinchen Hui
fee9d4cafd
Refactor bcmath
2014-05-05 14:26:23 +08:00
Xinchen Hui
7e3989f301
Fixed memory leak in prop_handlers registering
2014-05-05 14:04:52 +08:00
Xinchen Hui
cd00ea9993
Port iconv (all tests passes)
2014-05-05 13:58:23 +08:00
Xinchen Hui
ea33fbd833
Don't use this (keyword)
2014-05-05 10:56:18 +08:00
Xinchen Hui
bea30846bb
Refactor Zip (1 test failed)
2014-05-05 10:49:27 +08:00
Xinchen Hui
cf15e94e07
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-05-05 10:34:04 +08:00
Nikita Popov
b30c7fe263
Port JSON
2014-05-05 01:00:59 +02:00
Anatol Belski
149568f4da
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed ZEND_DEBUG usage
2014-05-05 00:51:40 +02:00
Nikita Popov
404cc45ee2
Get php-fpm to work
...
At least phpinfo() works. Need to do more testing (how do you run
fpm with valgrind?)
2014-05-04 22:10:00 +02:00
Anatol Belski
53b4d2feea
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch
2014-05-04 21:34:36 +02:00
Anatol Belski
fe7853137b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added missing stdint header, bug #66907
2014-05-04 21:27:37 +02:00
Anatol Belski
5168611127
fix macros
2014-05-04 21:15:35 +02:00
Anatol Belski
2044884812
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (28 commits)
/me blushes, really hard
only build and test nts non-debug and ts debug builds as discussed at https://github.com/php/php-src/pull/654
Fix mysqli build when building against libmysqlclient.
Fix author name on the #63228 patch.
Fixed bug #67169 : []= after_array_splice incorrect
Revert "show leaks in their own group" using valgrind would be a bit too much for travis I guess.
show leaks in their own group
Use the right path for the suggested PHP invocation in ext_skel.
Changed to more understandable NEWS message
one heading is enough
add new NEWS block for alpha3
XFAIL the leaking multibyte tests, we should really get to the bottom of this
Fixed numbering in UPGRADING file
Updated NEWS for fixed phpdbg issue #85
Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
Added stdion/stdout/stderr constsnts and their php:// wrappers Fixes issue #85
add missing NEWS entry to the correct release where it was added
5.5.12 was released yesterday
add missing NEWS entry to the correct release where it was added
Updated NEWS entry for phpdbg
...
Conflicts:
ext/curl/interface.c
2014-05-04 21:12:47 +02:00
Xinchen Hui
41f6889436
Fixed SimpleXMl build with DOM
2014-05-04 11:46:17 +08:00
Xinchen Hui
f3ccbb3c40
Use self instead of this(keyword)
2014-05-04 11:35:05 +08:00
Xinchen Hui
a275f4c64d
Port XMLWriter
2014-05-04 11:33:17 +08:00
Xinchen Hui
4778efc009
Port XMLReader
2014-05-04 11:12:55 +08:00
Bob Weinand
f66449a467
Merge branch 'PHP-5.6'
2014-05-03 11:41:33 +02:00
Bob Weinand
d4b5ef2e4a
Merge sapi/phpdbg into PHP-5.6
2014-05-03 11:40:25 +02:00
Nikita Popov
42d4adabbd
Fix SXE->string cast for __toString in inheriting class
...
This issue was originally hacked around in zend_make_printable_zval.
I've now moved the overridden __toString() handling into the SXE
cast_object handler, so everything invoking that handler
(zend_make_printable_zval, convert_to_string, zval_get_string,
and various other more obscure usages) see the same behavior.
2014-05-03 11:29:08 +02:00
Nikita Popov
65f488ece3
Add STR_ALLOCA_* API, use in get_method and verify_arg
...
This avoid unnecessary allocations when using dynamic method
dispatch and class typehints.
Probably there are other places where this should be done as well,
those just stood out for my usage.
2014-05-03 10:43:45 +02:00
Xinchen Hui
d8651fbe1c
Make they are in the same style of Z_ISREF
2014-05-03 16:08:58 +08:00
Xinchen Hui
5984f95d8f
Refactor XML (incompleted)
2014-05-03 15:58:09 +08:00
Ferenc Kovacs
a6a1785e23
Merge branch 'PHP-5.5'
...
* PHP-5.5:
only build and test nts non-debug and ts debug builds as discussed at https://github.com/php/php-src/pull/654
2014-05-03 02:51:46 +02:00
Adam Harvey
2f1148ae8a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix mysqli build when building against libmysqlclient.
2014-05-02 14:34:48 -07:00
Adam Harvey
62d72d9105
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix author name on the #63228 patch.
2014-05-02 10:26:18 -07:00
Nikita Popov
46bcaf1b28
Merge branch 'PHP-5.6'
2014-05-02 12:52:44 +02:00
Ferenc Kovacs
db3b70673f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "show leaks in their own group" using valgrind would be a bit too much for travis I guess.
2014-05-02 09:50:40 +02:00
Ferenc Kovacs
3ca7bc089b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
show leaks in their own group
2014-05-02 09:33:31 +02:00
Adam Harvey
aacc49191c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Use the right path for the suggested PHP invocation in ext_skel.
Changed to more understandable NEWS message
one heading is enough
2014-05-01 11:23:48 -07:00
Ferenc Kovacs
f8f5d311cb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add new NEWS block for alpha3
2014-05-01 16:25:38 +02:00
Ferenc Kovacs
562a845dcc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
XFAIL the leaking multibyte tests, we should really get to the bottom of this
2014-05-01 12:50:28 +02:00
Bob Weinand
e0b9e5249c
Merge branch 'PHP-5.6'
2014-05-01 12:30:46 +02:00
Bob Weinand
3695bf27f8
Merge branch 'PHP-5.6'
2014-05-01 11:47:28 +02:00
Bob Weinand
eae7a94fe0
Added stdion/stdout/stderr constsnts and their php:// wrappers
...
Fixes issue #85
2014-05-01 11:43:46 +02:00
Bob Weinand
191e3a0210
Merge sapi/phpdbg
2014-05-01 11:41:49 +02:00
Ferenc Kovacs
94f279258d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing NEWS entry to the correct release where it was added
5.5.12 was released yesterday
add missing NEWS entry to the correct release where it was added
add missing NEWS entry to the correct release where it was added
2014-05-01 10:57:12 +02:00
Bob Weinand
ae8010a0f4
Merge branch 'PHP-5.6'
2014-05-01 10:51:45 +02:00
Ferenc Kovacs
8b2fdb496d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add some missing NEWS entries
2014-05-01 10:44:31 +02:00
Nikita Popov
d820ea9f5e
Avoid superflous allocations in convert_to_string
...
Taken from zval_get_string.
2014-05-01 09:08:30 +02:00
Nikita Popov
e0247de147
zend_stack_top() now returns pointer directly
2014-05-01 09:08:30 +02:00
Nikita Popov
5a03efe279
Don't allocate zend_stack elements individually
...
Instead allocate a vector of elements. Size must now be specified
on initialization rather than on push.
2014-05-01 09:08:29 +02:00
Nikita Popov
257bf697ae
Fix php-cgi -m
2014-05-01 00:25:23 +02:00
Nikita Popov
2c24cdb4a3
Comment out cast_object for IS_NULL
2014-05-01 00:25:23 +02:00
Dmitry Stogov
52e79186b2
JMPZ/JMPNZ/JMPZNZ optimization
2014-05-01 01:24:38 +04:00
Dmitry Stogov
17d027ed47
Split IS_BOOL into IS_FALSE and IS_TRUE
2014-04-30 18:32:42 +04:00
Michael Wallner
e7e44d7d56
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test locality inconsitency
2014-04-30 13:03:12 +02:00
Michael Wallner
8c559c7d8d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
BFN
fix bug #64247 (CURLOPT_INFILE doesn't allow reset)
2014-04-30 09:29:53 +02:00
Dmitry Stogov
6a911e833f
Optimized JMPZNZ to avoid multiplication at runtime (may be it makes sense to use relative addresses everywere it'll lead to Position Independent Code)
2014-04-30 11:23:19 +04:00
Ferenc Kovacs
50396e6c10
Merge remote-tracking branch 'origin/PHP-5.6'
...
* origin/PHP-5.6:
Added further notice about removal of IS_CONSTANT_INDEX/ARRAY macros
separate travis jobs for debug and non-debug builds
separate travis jobs for TS and NTS builds
put this test back to XFAIL, as it was before, since it is still leaking memory
2014-04-30 00:08:38 +02:00
Anatol Belski
3491ef6cdc
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-04-29 23:53:00 +02:00
Anatol Belski
908c364248
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Added further notice about removal of IS_CONSTANT_INDEX/ARRAY macros
Fix bug #67060 : use default mode of 660
updated NEWS
updated NEWS
Fixed bug #66431 Special Character via COM Interface (CP_UTF8)
Cleanup ZEND_MODULE_API_NO => 20050922
Fix crashes in GMP serialize/unserialize
enable gmp for tests
C89 compat
2014-04-29 23:52:49 +02:00
Anatol Belski
ba19cc7b45
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Added further notice about removal of IS_CONSTANT_INDEX/ARRAY macros
Fix bug #67060 : use default mode of 660
2014-04-29 23:49:56 +02:00
Stanislav Malyshev
f2a3be9627
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #67060 : use default mode of 660
2014-04-29 09:17:10 -07:00
Anatol Belski
0f42656fed
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #66431 Special Character via COM Interface (CP_UTF8)
Cleanup ZEND_MODULE_API_NO => 20050922
Fix crashes in GMP serialize/unserialize
enable gmp for tests
C89 compat
Conflicts:
ext/com_dotnet/com_variant.c
2014-04-29 14:05:57 +02:00
Anatol Belski
8928611b0e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #66431 Special Character via COM Interface (CP_UTF8)
2014-04-29 13:47:38 +02:00
Dmitry Stogov
8a8df2ce68
Changed order of types
2014-04-29 10:54:59 +04:00
Timm Friebe
7041ef44a6
Add tests verifying method calls on non-objects work inside eval()
2014-04-28 21:48:08 +02:00
Timm Friebe
da1db5e688
Add tests for indirect calls to methods on non-objects
...
http://news.php.net/php.internals/73823
2014-04-28 21:44:24 +02:00
Marc Bennewitz
b547e1358d
Improved logarithm of base 2 and 10 of standard math functions
2014-04-28 19:58:10 +02:00
Popa Adrian Marius
005f589dc4
Merge branch 'master' of https://git.php.net/push/php-src
...
* 'master' of https://git.php.net/push/php-src :
Fix crashes in GMP serialize/unserialize
enable gmp for tests
2014-04-28 12:14:39 +03:00
Popa Adrian Marius
7c58c5cc90
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Cleanup ZEND_MODULE_API_NO => 20050922
2014-04-28 12:14:12 +03:00
Stanislav Malyshev
8c5ea5624b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix crashes in GMP serialize/unserialize
enable gmp for tests
2014-04-28 01:23:39 -07:00
Anatol Belski
705909aa48
Merge branch 'PHP-5.6'
...
* PHP-5.6:
C89 compat
2014-04-27 18:02:07 +02:00
Anatol Belski
a1edc8e396
Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
...
* phpdbg/master:
C89 compat
2014-04-27 18:01:26 +02:00
Nikita Popov
7c93a7e078
Fix leak I introduced
2014-04-26 11:26:37 +02:00
Nikita Popov
4cd97b3ebd
Fix by-reference argument unpacking
2014-04-26 10:40:12 +02:00
Anatol Belski
92a73b042f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Fix #66908 : php-fpm reload leaks epoll_create() file descriptor
fix file descriptor leak of epollfd
Fix a compiler warning in php_rand.h
Fix #50444 : PDO-ODBC changes for 64-bit
2014-04-26 01:27:13 +02:00
Anatol Belski
2b6be48685
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (168 commits)
some more after merge fixes
fixed macro names
removed /EHa as __try/__catch syntax is used anyway
fix ZEND_DEBUG usage
fixed test
updated NEWS
updated NEWS
Fixed bug #67118 DateTime constructor crash with invalid data
update NEWS
update NEWS
add a test case previously broken by a bad fix
Revert "Fixed bug #64604 "
updated libmagic.patch for 5.6+
updated libmagic.patch
backport this piece from 5.6, related to the #66307 fix
updated NEWS
Fixed bug #66307 Fileinfo crashes with powerpoint files
fix CFLAGS_PHPDBGS and some formatting
use a portable strndup implementation
fixed C89 compat
...
2014-04-26 01:26:55 +02:00
Anatol Belski
047a39c946
some more after merge fixes
2014-04-26 00:42:22 +02:00
Anatol Belski
e88c8cbb7b
fixed macro names
2014-04-26 00:40:58 +02:00
Anatol Belski
14b9658a38
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
removed /EHa as __try/__catch syntax is used anyway
fix ZEND_DEBUG usage
fix CFLAGS_PHPDBGS and some formatting
2014-04-26 00:40:16 +02:00
Anatol Belski
5dbe7c98e4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
removed /EHa as __try/__catch syntax is used anyway
fix ZEND_DEBUG usage
fix CFLAGS_PHPDBGS and some formatting
2014-04-26 00:17:09 +02:00
Anatol Belski
9a8123fabb
Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
...
* phpdbg/master:
removed /EHa as __try/__catch syntax is used anyway
fix ZEND_DEBUG usage
fix CFLAGS_PHPDBGS and some formatting
2014-04-26 00:15:32 +02:00
Nikita Popov
5db9312ec8
Add dst parameter to convert_object_to_type macro
...
Avoids a ZVAL_DUP in the zval_get_* functions.
Also improve object-to-array cast a bit by initializing the array
with correct number of elements and not doing a alloc-init-free
cycle when convert_object_to_type succeeds.
2014-04-25 23:21:05 +02:00
Nikita Popov
778946b3b6
Use convert_scalar_to_array only for arrays
2014-04-25 23:21:05 +02:00
Nikita Popov
4c16b777fe
Uhm, do we really need to support that?
2014-04-25 23:21:05 +02:00
Nikita Popov
9263d18bd9
Optimize ZEND_CAST to avoid zval copies
...
The scalar type casts IS_NULL, IS_BOOL, IS_LONG, IS_DOUBLE and
IS_STRING will no longer require a copy when casting.
A copy is now only made when casting to IS_ARRAY and IS_OBJECT, if
the type doesn't already match.
I tweaked the reference handling for the type-already-correct case
to DEREF the zval after that check. References require a copy anyway,
so they can go through the slow codepath.
2014-04-25 23:21:05 +02:00
Nikita Popov
dd419d24ca
Replace more convert_to_* calls
2014-04-25 23:21:05 +02:00
Nikita Popov
93f9518a58
Align zval_get_long/double with zval_get_string
2014-04-25 23:21:04 +02:00
Nikita Popov
b1b7939b0f
Move more code to use zval_get_string
2014-04-25 23:21:04 +02:00
Nikita Popov
f979e9afb0
More zend_string usage in PCRE
...
Avoid a few copies and zval duplications
2014-04-25 23:21:04 +02:00
Dmitry Stogov
f9927a6c97
Merge mainstream 'master' branch into refactoring
...
During merge I had to revert:
Nikita's patch for php_splice() (it probably needs to be applyed again)
Bob Weinand's patches related to constant expression handling (we need to review them carefully)
I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway)
Conflicts:
Zend/zend.h
Zend/zend_API.c
Zend/zend_ast.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.c
Zend/zend_exceptions.c
Zend/zend_execute.c
Zend/zend_execute.h
Zend/zend_execute_API.c
Zend/zend_hash.c
Zend/zend_highlight.c
Zend/zend_language_parser.y
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_variables.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/php_date.c
ext/dom/documenttype.c
ext/hash/hash.c
ext/iconv/iconv.c
ext/mbstring/tests/zend_multibyte-10.phpt
ext/mbstring/tests/zend_multibyte-11.phpt
ext/mbstring/tests/zend_multibyte-12.phpt
ext/mysql/php_mysql.c
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd_reverse_api.c
ext/mysqlnd/php_mysqlnd.c
ext/opcache/ZendAccelerator.c
ext/opcache/zend_accelerator_util_funcs.c
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c
ext/pcre/php_pcre.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/pdo_pgsql/pgsql_driver.c
ext/pgsql/pgsql.c
ext/reflection/php_reflection.c
ext/session/session.c
ext/spl/spl_array.c
ext/spl/spl_observer.c
ext/standard/array.c
ext/standard/basic_functions.c
ext/standard/html.c
ext/standard/mail.c
ext/standard/php_array.h
ext/standard/proc_open.c
ext/standard/streamsfuncs.c
ext/standard/user_filters.c
ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
main/php_variables.c
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_print.c
sapi/phpdbg/phpdbg_prompt.c
2014-04-26 00:32:51 +04:00
Anatol Belski
36a0950b39
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (158 commits)
fixed test
updated NEWS
updated NEWS
Fixed bug #67118 DateTime constructor crash with invalid data
update NEWS
update NEWS
add a test case previously broken by a bad fix
Revert "Fixed bug #64604 "
updated libmagic.patch for 5.6+
updated libmagic.patch
backport this piece from 5.6, related to the #66307 fix
updated NEWS
Fixed bug #66307 Fileinfo crashes with powerpoint files
use a portable strndup implementation
fixed C89 compat
prepare config.w32
fix dll export
add parser files to dist
Fix accepting ill-formed UTF-8 characters
sapi/litespeed/lsapi_main.c: Fix bug #63228
...
Conflicts:
ext/date/php_date.c
sapi/phpdbg/phpdbg_bp.c
sapi/phpdbg/phpdbg_frame.c
sapi/phpdbg/phpdbg_help.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_prompt.c
2014-04-25 19:49:10 +02:00
Anatol Belski
e5b8fd2cc7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed test
2014-04-25 17:40:46 +02:00
Anatol Belski
f5c0cc64ed
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #67118 DateTime constructor crash with invalid data
2014-04-25 17:27:35 +02:00
Dmitry Stogov
4e7cbf3f58
Use appropriate macros
2014-04-25 11:54:10 +04:00
Dmitry Stogov
2c39cf670c
Use appropriate macro
2014-04-25 11:29:35 +04:00
Dmitry Stogov
42a33085c8
Avoid useless allocations
2014-04-25 11:29:18 +04:00
Stanislav Malyshev
b82d077f98
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
update NEWS
add a test case previously broken by a bad fix
Revert "Fixed bug #64604 "
2014-04-25 00:07:12 -07:00
Dmitry Stogov
d0ed1212a4
Enable PCRE JIT compiler
2014-04-25 08:33:37 +04:00
Xinchen Hui
2178612186
Fixed fetch into refcount hanlding (now 3 test fails)
2014-04-25 11:45:23 +08:00
Xinchen Hui
c5f9b86fd4
Fixed bindColumn
2014-04-25 11:36:53 +08:00
Xinchen Hui
35f22f609a
Fixed memleak
2014-04-25 11:34:00 +08:00
Xinchen Hui
1ccc250c50
Fixed memleak in quote
2014-04-25 11:04:11 +08:00
Xinchen Hui
911d58de37
Fixed tests (object id)
2014-04-25 11:02:19 +08:00
Xinchen Hui
868c2f9c88
Fixed reference handling in bindCloumn
2014-04-25 11:00:35 +08:00
Xinchen Hui
67f27bce55
Fixed register bound parameters in execute
2014-04-25 10:44:21 +08:00
Xinchen Hui
36e214c88b
Fixed refcount of dbh (we don't need another refcount anymore)
2014-04-25 10:27:23 +08:00
Dmitry Stogov
e4c59d7f65
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-25 00:57:12 +04:00
Dmitry Stogov
df7ca608ce
Optimized constant lookup
2014-04-25 00:56:15 +04:00
Anatol Belski
ad22add191
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch for 5.6+
updated libmagic.patch
2014-04-24 20:16:29 +02:00
Anatol Belski
a9d714f874
Merge branch 'PHP-5.6'
...
* PHP-5.6:
backport this piece from 5.6, related to the #66307 fix
2014-04-24 19:53:20 +02:00
Anatol Belski
78eeefb946
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #66307 Fileinfo crashes with powerpoint files
2014-04-24 19:36:20 +02:00
Xinchen Hui
fb81d7270e
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-24 23:29:20 +08:00
Dmitry Stogov
0ca57dd1d3
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-24 19:15:30 +04:00
Dmitry Stogov
b1ff152782
Reimplement strtr()
2014-04-24 19:14:29 +04:00
Xinchen Hui
65931501e6
Fixed Aggregate
2014-04-24 22:43:30 +08:00
Xinchen Hui
e86b287c83
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-24 21:14:57 +08:00
Xinchen Hui
9fe8531309
Various bugs fixed
2014-04-24 21:14:36 +08:00
Dmitry Stogov
65e2ed6e50
Redesigned zend_execute_data layout now EX(object), EX(scope) and EX(called_scope) arr properties of the current function execution co
...
ntext. They are set during zend_execute_data initialization and never changed.
2014-04-24 15:53:20 +04:00
Anatol Belski
ceec2152a6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
use a portable strndup implementation
fixed C89 compat
prepare config.w32
add parser files to dist
2014-04-24 11:07:08 +02:00
Anatol Belski
91b599f4a3
Merge remote-tracking branch 'phpdbg/master' into PHP-5.6
2014-04-24 11:05:52 +02:00
Anatol Belski
60f976a45e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix dll export
2014-04-24 10:53:31 +02:00
Xinchen Hui
9824418c61
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-24 10:18:39 +08:00
Nikita Popov
d2e45b05c7
Small zts fix
2014-04-23 22:33:38 +02:00
Nikita Popov
c98d373eb6
Fix strict array comparison
...
Fixes Symfony test failures
2014-04-23 20:34:45 +02:00
Nikita Popov
58089c5977
Port ext/hash
...
Unsure what to do about hash_final
2014-04-23 20:34:05 +02:00
Nikita Popov
08ae88157b
Allocate zend_strings with correct size
...
For me (32bit) sizeof(zend_string) is 20, which means that the
char[1] array at the end is padded with three bytes. Thus allocating
based on sizeof(zend_string)-1 overallocates by those 3 padding bytes.
This commit fixes the allocation size, by using XtOffsetOf.
2014-04-23 19:34:51 +02:00
Nikita Popov
20580a511c
Fix ZTS build
2014-04-23 18:30:24 +02:00
Xinchen Hui
a30442c1c8
Refactor pdo_sqlite (only compilable)
2014-04-23 11:41:57 +08:00
Xinchen Hui
bd9f575517
Clean up (use zend_string and foreach macros)
2014-04-23 10:58:08 +08:00
Stanislav Malyshev
c0c452d1e0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix accepting ill-formed UTF-8 characters
2014-04-22 16:59:11 -07:00
Dmitry Stogov
7e424f5a95
Use symbolic names instead of magic constants + optimization
2014-04-23 02:47:41 +04:00
Nikita Popov
9c70603f4a
Initialize hash as unpacked if it contains string keys
2014-04-22 21:33:49 +02:00
Nikita Popov
4912bec514
Fix zts
2014-04-22 19:39:13 +02:00
Nikita Popov
3d3a55cbcb
Pass expected array size hint in INIT_ARRAY
...
To avoid unnecessary rehashes
2014-04-22 18:57:03 +02:00
Xinchen Hui
decda0dabe
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-23 00:18:18 +08:00
Xinchen Hui
97381369a3
Refactored sqlite3 (all tests passes)
2014-04-23 00:17:29 +08:00
Dmitry Stogov
7584ae3200
Fixed compilaation warnings
2014-04-22 18:52:59 +04:00
Felipe Pena
fd96831f68
Merge branch 'PHP-5.6'
...
* PHP-5.6:
sapi/litespeed/lsapi_main.c: Fix bug #63228
2014-04-22 10:49:18 -03:00
Dmitry Stogov
5864ce8a44
Fixed compilation warnings
2014-04-22 17:46:34 +04:00
Xinchen Hui
c0b49a701a
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-22 19:10:19 +08:00
Xinchen Hui
8581dd56af
Fixed segfault cause EG(This) is modified
2014-04-22 19:08:58 +08:00
Dmitry Stogov
9cb24c47e1
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-22 14:38:00 +04:00
Xinchen Hui
09dd780c60
USE ZEND_HASH_FOREACH_* macros
2014-04-22 18:29:56 +08:00
Xinchen Hui
207f2431e8
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-22 18:23:47 +08:00
Xinchen Hui
bdfef93b42
Refactor PDO (only compilable now)
2014-04-22 18:23:03 +08:00
Dmitry Stogov
e295518bf3
Fixed typo
2014-04-22 13:11:07 +04:00
Dmitry Stogov
32e6e89887
Optimized ZEND_SEND_REF
2014-04-22 13:10:53 +04:00
Dmitry Stogov
5d479ef693
ZEND_SEND_* optimization
2014-04-22 12:33:00 +04:00
Dmitry Stogov
022fee2166
Cache knowledge about missing property_info
2014-04-22 10:11:41 +04:00
Xinchen Hui
89d89b9586
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-22 11:59:53 +08:00
Dmitry Stogov
fa588a5c82
Use shorter call chain
2014-04-22 02:34:34 +04:00
Bob Weinand
70fc31b8be
Merge branch 'PHP-5.6'
2014-04-22 00:21:34 +02:00
Dmitry Stogov
b886d9ce1e
Use fast comparison function
2014-04-22 02:03:10 +04:00
Dmitry Stogov
1f181c0f4c
Chiper __autoload() function caching
2014-04-22 01:41:40 +04:00
Dmitry Stogov
a821009a6e
Avoid string duplication
2014-04-22 01:41:09 +04:00
Bob Weinand
823ddab3f3
Merge branch 'PHP-5.6'
2014-04-21 23:32:57 +02:00
Bob Weinand
3e3dcde8d7
Merge sapi/phpdbg into PHP-5.6
2014-04-21 23:30:08 +02:00
Dmitry Stogov
ff6dc3e1f2
zend_isset_isempty_dim_prop_obj_handler() split into separate handlers. (Actually, it shared near nothing)
2014-04-22 00:32:29 +04:00
Dmitry Stogov
9610977d10
Reverted chunk committed by mistake
2014-04-21 23:32:36 +04:00
Dmitry Stogov
b9d45cc0a9
Handle references in "slow path"
2014-04-21 23:30:19 +04:00
Dmitry Stogov
4ed452c1b5
Convert zval_get_string() into "fast path" macro and "slow path" function
2014-04-21 22:36:01 +04:00
Dmitry Stogov
8ad8254a16
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-21 21:39:15 +04:00
Dmitry Stogov
4533269839
Fast path for pre/post inc/dec
2014-04-21 21:38:44 +04:00
Nikita Popov
0d43a277b8
Use zval_get_string in a few more places
2014-04-21 17:55:58 +02:00
Nikita Popov
bda96e3c58
Use zval_get_string in print_zval and propagate TSRMLS
2014-04-21 17:55:58 +02:00
Nikita Popov
5c8697184f
Bring zval_get_string implement in line with make_printable_zval
...
As make_printable_zval is the "main" string cast, match that one.
2014-04-21 17:55:58 +02:00
Dmitry Stogov
72c287bd23
Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word
2014-04-21 18:25:34 +04:00
Dmitry Stogov
afe66d89a1
Cleanup
2014-04-21 16:34:40 +04:00
Dmitry Stogov
acd77dec81
Use alloca() for temporary allocation
2014-04-21 15:18:19 +04:00
Dmitry Stogov
fd24614cd9
Inline simple function
2014-04-21 15:18:05 +04:00
Dmitry Stogov
3c42593735
Removed duplicate code
2014-04-21 15:17:48 +04:00
Dmitry Stogov
dd464fb582
Use ZEND_HASH_FOREACH_* macros
2014-04-21 14:20:05 +04:00
Dmitry Stogov
f71da39210
Use ZEND_HASH_FOEACH_* instead of zend_hash_apply_*
2014-04-21 13:55:25 +04:00
Dmitry Stogov
e9f4d822b0
Avoid useles copy ctor
2014-04-21 13:19:52 +04:00
Anatol Belski
70707a58c9
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Allow valid multi-byte utf-8 characters to be allowed as file names in phar archives.
Fix #50444 : PDO-ODBC changes for 64-bit
Fix a compiler warning in php_rand.h
Fix #66908 : php-fpm reload leaks epoll_create() file descriptor
Fix bug #65701 : Do not use cache for file file copy
2014-04-21 08:57:18 +02:00
Xinchen Hui
e48b9ad197
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-21 14:14:00 +08:00
Stanislav Malyshev
57ca493c95
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #64498 : Allow valid multi-byte utf-8 characters to be allowed as file names in phar archives.
2014-04-20 17:24:24 -07:00
Stanislav Malyshev
1ff58c10c9
Merge branch 'pull-request/603'
...
* pull-request/603:
Fix #50444 : PDO-ODBC changes for 64-bit
2014-04-20 16:50:01 -07:00
Stanislav Malyshev
e680b098e3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #50444 : PDO-ODBC changes for 64-bit
2014-04-20 16:49:40 -07:00
Stanislav Malyshev
fc35b548d3
Merge branch 'pull-request/605'
...
* pull-request/605:
Fix a compiler warning in php_rand.h
2014-04-20 16:37:42 -07:00
Stanislav Malyshev
821cc39882
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix a compiler warning in php_rand.h
2014-04-20 16:36:55 -07:00
Stanislav Malyshev
60c54f016f
Merge branch 'pull-request/627'
...
* pull-request/627:
Fix #66908 : php-fpm reload leaks epoll_create() file descriptor
fix file descriptor leak of epollfd
2014-04-20 16:25:37 -07:00
Stanislav Malyshev
185e5c0327
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #66908 : php-fpm reload leaks epoll_create() file descriptor
2014-04-20 16:25:25 -07:00
Stanislav Malyshev
dd9c80e44b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #65701 : Do not use cache for file file copy
2014-04-20 15:27:55 -07:00
Anatol Belski
f3e56c8c9e
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Fixed test case for 5328d42
These links to ~helly don't work anymore.
2014-04-20 20:39:39 +02:00
Anatol Belski
7c6ac6be55
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (23 commits)
updated libs versions
added some notes about the win build system
UPGRADING note about bug #67072
UPGRADING note about bug #67072
UPGRADING note about bug #67072
refixed the test related to bug #67072
Improved the fix for bug #67072 , thanks Nikita
Fixed test case for 5328d42
These links to ~helly don't work anymore.
updated NEWS
updated NEWS
Fixed bug #67072 Echoing unserialized "SplFileObject" crash
updated UPGRADING
updated UPGRADING
correct the bug #67081 fix
updated NEWS
updated NEWS
Fixed bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset
updated NEWS
Fixed bug #67079 Missing MIME types for XML/XSL files
...
2014-04-20 20:39:29 +02:00
Anatol Belski
3eaf40c3fc
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
updated libs versions
added some notes about the win build system
UPGRADING note about bug #67072
UPGRADING note about bug #67072
UPGRADING note about bug #67072
refixed the test related to bug #67072
Improved the fix for bug #67072 , thanks Nikita
Fixed test case for 5328d42
These links to ~helly don't work anymore.
updated NEWS
updated NEWS
Fixed bug #67072 Echoing unserialized "SplFileObject" crash
updated UPGRADING
updated UPGRADING
correct the bug #67081 fix
updated NEWS
updated NEWS
Fixed bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset
2014-04-20 20:30:54 +02:00
Timm Friebe
a86e762166
Add test verifying chained method invocations
2014-04-20 12:47:18 +02:00
Timm Friebe
51a5e18433
Add example how framework code could convert E_RECOVERABLE -> exceptions
2014-04-19 15:32:16 +02:00
Timm Friebe
a6f7f58a87
Make E_RECOVERABLE_ERRORs (4096) show up
2014-04-19 14:45:29 +02:00
Timm Friebe
9265077bb0
Adjust expected outcome (non-Zend tests)
2014-04-19 14:09:10 +02:00
Timm Friebe
f5efee1d22
Regenerate
2014-04-19 14:01:38 +02:00
Timm Friebe
daf16d5683
Adjust expected outcome
2014-04-19 14:01:27 +02:00
Timm Friebe
bdb0cee222
Initial implementation
2014-04-19 14:01:16 +02:00
Dmitry Stogov
54d9ad53f4
More ZEND_HASH_FOREACH_* related changes
2014-04-19 00:08:14 +04:00
Dmitry Stogov
277f8f6391
ZEND_HASH_FOREACH_* usage
2014-04-18 21:49:07 +04:00
Dmitry Stogov
c1e900e4c0
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-18 19:20:39 +04:00
Nikita Popov
85f537bfc0
Revert "Fix include/eval with custom zend_execute"
...
This reverts commit ead8a6636d .
2014-04-18 17:19:46 +02:00
Nikita Popov
f76c683d37
Revert "Fix zend_eval_string (and as such assert + dom tests)"
...
This reverts commit 64cc5a72e2 .
2014-04-18 17:19:31 +02:00
Dmitry Stogov
7652a977a8
Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of zend_hash_move_forward() and family.
2014-04-18 19:18:11 +04:00
Anatol Belski
0cdc57b3cf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libs versions
2014-04-18 16:09:02 +02:00
Anatol Belski
2bb7f3adfc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added some notes about the win build system
2014-04-18 16:05:11 +02:00
Anatol Belski
5745a513c7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
UPGRADING note about bug #67072
UPGRADING note about bug #67072
UPGRADING note about bug #67072
2014-04-18 15:55:12 +02:00
Anatol Belski
f5f1abdc29
Merge branch 'PHP-5.6'
...
* PHP-5.6:
refixed the test related to bug #67072
Improved the fix for bug #67072 , thanks Nikita
2014-04-18 15:17:39 +02:00
Nikita Popov
64cc5a72e2
Fix zend_eval_string (and as such assert + dom tests)
2014-04-18 14:35:59 +02:00
Nikita Popov
ead8a6636d
Fix include/eval with custom zend_execute
2014-04-18 13:44:19 +02:00
Dmitry Stogov
ea2e1bb1eb
Optimized zend_leave_helper()
2014-04-18 13:46:36 +04:00
Stanislav Malyshev
c2b20c467f
Merge branch 'pull-request/646'
...
* pull-request/646:
Fixed test case for 5328d42
2014-04-17 17:37:17 -07:00
Stanislav Malyshev
3405d799f8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed test case for 5328d42
2014-04-17 17:37:05 -07:00
Tjerk Meesters
bb565de5cc
Fixed test case for 5328d42
2014-04-18 08:29:32 +08:00
Nikita Popov
8a14276701
Fix libxml external entity loading
2014-04-18 00:15:13 +02:00
Nikita Popov
c3c47c431e
Move libxml_destroy_fci to RSHUTDOWN
...
If this is only done in post shutdown and the function name is
an object (e.g. closure), the object will already be freed during
zend_deactivate.
I left the rest of the shutdown procedure in post shutdown, as it
presumably has a reason to be there...
2014-04-18 00:15:13 +02:00
Nikita Popov
59d45e69f4
Fix libxml/sxe/dom node import/export
...
Also fix sxe zts.
2014-04-18 00:15:13 +02:00
Dmitry Stogov
3434d3fc98
Optimize CASE(TRUE, X) into BOOL(X) (this pattern affects wordpress)
2014-04-17 21:15:02 +04:00
Bob Weinand
1bc0dbba7b
Merge branch 'PHP-5.6'
2014-04-17 17:37:31 +02:00
Levi Morrison
0193895bb4
These links to ~helly don't work anymore.
2014-04-17 08:46:38 -06:00
Dmitry Stogov
e7b3b1132a
Fixed support for references
2014-04-17 17:21:59 +04:00
Dmitry Stogov
5c02e0fc5f
Cache op_array->run_time_cache in zend_execute_data for faster access
2014-04-17 16:36:04 +04:00
Dmitry Stogov
3cca67f740
Use local variables instead of opline operands to access cache_slots
2014-04-17 16:10:16 +04:00
Dmitry Stogov
e96073b1e4
Moved zend_literal->cache_slot right into zval.
...
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly.
Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.
2014-04-17 15:40:45 +04:00
Anatol Belski
a381cc3c40
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #67072 Echoing unserialized "SplFileObject" crash
2014-04-17 11:08:45 +02:00
Dmitry Stogov
c92dd8eedf
Fixed ZEND_CAST related optimizations (now it returns IS_VAR instead of IS_TMP_VAR)
2014-04-17 11:12:47 +04:00
Dmitry Stogov
dfaf8b6d28
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-17 02:12:52 +04:00
Dmitry Stogov
6976eb2919
Fixed support for unspecialized and GOTO and SWITCH executor
2014-04-17 02:12:06 +04:00
Nikita Popov
f98937fa80
Don't copy in ZEND_CAST if type is already correct
2014-04-16 22:39:50 +02:00
Anatol Belski
7d9e161fa7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated UPGRADING
updated UPGRADING
2014-04-16 20:49:35 +02:00
Dmitry Stogov
320bf772c6
Prevented modification of original name
2014-04-16 22:42:37 +04:00
Dmitry Stogov
3257dc09eb
Prevented modification of interned string
2014-04-16 22:42:15 +04:00
Dmitry Stogov
cc576c74d2
op_array->function_name, op_array->doc_comments and op_array->filename may be kept in opcache SHM
2014-04-16 22:41:07 +04:00
Dmitry Stogov
5bb493c40b
op_array->filename and op_array->filename may be kept in opcache SHM
2014-04-16 22:39:23 +04:00
Dmitry Stogov
2d62a12128
Prevented modification of constant arguments
2014-04-16 21:31:32 +04:00
Dmitry Stogov
05817f1a93
Prevented unintended SHM modification
2014-04-16 21:01:11 +04:00
Dmitry Stogov
a9aa5224e7
Prevented modification of interned string
2014-04-16 20:59:02 +04:00
Nikita Popov
e59c8661fd
Finish DOM port
...
All tests pass now
2014-04-16 17:14:34 +02:00
Nikita Popov
59f6d189c8
Fix remaining XPath issue
2014-04-16 17:14:34 +02:00
Nikita Popov
39d12294fd
Mostly fix Dom XPath
2014-04-16 17:14:34 +02:00
Xinchen Hui
cf7e703813
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-16 22:33:22 +08:00
Dmitry Stogov
54c338acc1
Fixed reference counting
2014-04-16 18:06:03 +04:00
Anatol Belski
3456b73656
Merge branch 'PHP-5.6'
...
* PHP-5.6:
correct the bug #67081 fix
2014-04-16 15:08:46 +02:00
Dmitry Stogov
c44eee153f
Fixed reference counting
2014-04-16 17:06:25 +04:00
Dmitry Stogov
533a8b65f8
Fixed typo
2014-04-16 16:35:41 +04:00
Dmitry Stogov
be60f90dd7
Set reference values of reference counters of not-interned strings when they are restored from SHM
2014-04-16 16:28:27 +04:00
Dmitry Stogov
7537251bd7
Fixed reference counting
2014-04-16 16:28:11 +04:00
Anatol Belski
8a985edfb2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #67081 DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset
2014-04-16 14:16:56 +02:00
Dmitry Stogov
62016f5ab3
Fixed reference counting
2014-04-16 14:15:24 +04:00
Xinchen Hui
ce49e6b0f7
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-16 18:08:08 +08:00
Dmitry Stogov
78f428d3a8
Fixed memory leaks
2014-04-16 13:59:49 +04:00
Dmitry Stogov
a86eb10dae
Fixed non-interned strings refcounting
2014-04-16 13:36:38 +04:00
Xinchen Hui
a16a6eae24
Refactor PDO (incompleted)
2014-04-16 17:28:11 +08:00
Anatol Belski
6162a993dd
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
updated NEWS
Fixed bug #67079 Missing MIME types for XML/XSL files
5.4.29 is next
Fixed bug #66907 Solaris 10 is missing strcasestr and needs substitute
5.5.12RC1 setup
2014-04-16 10:48:48 +02:00
Dmitry Stogov
2f65090a38
Fixed reference counting
2014-04-16 12:33:25 +04:00
Dmitry Stogov
fb4e0a6364
Removed invalid STR_RELEASE()
2014-04-16 12:28:20 +04:00
Dmitry Stogov
81b24d4100
Fixed reference support
2014-04-16 12:08:16 +04:00
Dmitry Stogov
1082489302
Fixed refcounting
2014-04-16 12:07:58 +04:00
Dmitry Stogov
153e549886
Fixed zend_string/char mess
2014-04-16 12:07:21 +04:00
Anatol Belski
0ffdcfe756
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #67079 Missing MIME types for XML/XSL files
2014-04-16 09:50:24 +02:00
Stanislav Malyshev
59d50b5fb0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.29 is next
5.5.12RC1 setup
2014-04-15 17:18:24 -07:00
Dmitry Stogov
dce95c064f
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-16 01:46:07 +04:00
Dmitry Stogov
e99e6958bc
Cleanup
2014-04-16 01:45:40 +04:00
Nikita Popov
9eb8569865
Make DOM mostly work
2014-04-15 22:20:06 +02:00
Dmitry Stogov
a4bda5b187
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-15 22:44:21 +04:00
Dmitry Stogov
6cf5e51f3e
Reduced memory realocations
2014-04-15 22:43:18 +04:00
Nikita Popov
3b9fdf37e1
Make DOM compile
...
Just make it compile, not work yet...
2014-04-15 20:32:47 +02:00
Nikita Popov
7a1a6092f6
Add functions for extracting long/double/string from zval
...
These function get the long / double / string value of a zval with
usual cast semantics, but without actually modifying the zval.
Didn't go on a killing spree for convert_to_* yet...
2014-04-15 20:32:47 +02:00
Nikita Popov
2f0a758fbb
Start working on dom extension
...
Nowhere near compiling yet...
2014-04-15 20:32:46 +02:00
Dmitry Stogov
d0cc5c633c
Use zend_string* instead of char*
2014-04-15 22:10:39 +04:00
Dmitry Stogov
f9b26bc39a
Cleanup (2-nd round)
2014-04-15 21:56:30 +04:00
Anatol Belski
b7d376c1e5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66907 Solaris 10 is missing strcasestr and needs substitute
2014-04-15 10:29:32 -07:00
Anatol Belski
5f79883497
fixed signatures
2014-04-15 08:22:36 -07:00
Anatol Belski
c0faf60be0
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fixed signatures
2014-04-15 17:20:01 +02:00
Anatol Belski
e396a3539c
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Fix #66942 : openssl_seal() memory leak
ws fix
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Fix #66562 : Consistency bug where curl_multi_getcontent behaves different from curl_exec
Fixed bug 64604
2014-04-15 14:11:13 +02:00
Anatol Belski
b504468d78
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (58 commits)
fix datatypes
fix zpp
fixed prototype
fix test - doesn't seem to produce warning
Fix test - on CI somebody could create a process in the meantime
fix windows build
Fix #66942 : openssl_seal() memory leak
ws fix
Fix #66942 : openssl_seal() memory leak
ws fix
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
fix crash in MINFO when no mysqlnd plugins are loaded
Add test
backported some ext/intl tests from 5.6 into 5.4
test fixes for ICU 53.1
...
Conflicts:
ext/mysqlnd/mysqlnd_result.c
2014-04-15 14:10:50 +02:00
Anatol Belski
5e750feb21
fix datatypes
2014-04-15 14:01:50 +02:00
Dmitry Stogov
61e9b0d265
Fixed memory leak
2014-04-15 15:50:34 +04:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Anatol Belski
6e10627d54
fix zpp
2014-04-15 11:34:59 +02:00
Anatol Belski
bc2b0d8ba3
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix test - doesn't seem to produce warning
Fix test - on CI somebody could create a process in the meantime
fix windows build
Fix #66942 : openssl_seal() memory leak
ws fix
Fix #66942 : openssl_seal() memory leak
ws fix
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Add test
Conflicts:
ext/openssl/openssl.c
2014-04-15 10:23:51 +02:00
Anatol Belski
4be58a12d8
fixed prototype
2014-04-15 09:59:01 +02:00
Anatol Belski
f166237626
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (41 commits)
fix crash in MINFO when no mysqlnd plugins are loaded
backported some ext/intl tests from 5.6 into 5.4
test fixes for ICU 53.1
Fixed bug #67033 Remove reference to Windows 95
fix NEWS
Fixed bug #64604
Fix #66562 : Consistency bug where curl_multi_getcontent behaves different from curl_exec
Fix bug #66482 , replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
Fix windows build
Fix bug #66721
fix apr_psprintf format string from e0df4e3dba
Fixed bug #67024 - getimagesize should recognize BMP files with negative height
Bug #66840 : Fix broken build when extension built separately
Reverted to 5a0da281e5 Discussion: http://news.php.net/php.cvs/76836
Forgot title in phpt for bug #67064
Updated NEWS
Fix bug #67064 in a BC safe way You can use an optional parameter now when implementing the Countable interface to get the $mode passed to count().
Added UPGRAING notice for bug #66015 in BC break section
Add new zend_hash_* APIs to UPGRADING.INTERNALS
Add str_* macros to UPGRADING.INTERNALS
...
Conflicts:
Zend/zend_compile.c
Zend/zend_execute_API.c
Zend/zend_language_parser.y
ext/mysqli/mysqli.c
ext/mysqlnd/mysqlnd.c
ext/mysqlnd/mysqlnd.h
ext/mysqlnd/mysqlnd_ps.c
ext/mysqlnd/mysqlnd_result.c
ext/mysqlnd/mysqlnd_result.h
ext/mysqlnd/mysqlnd_structs.h
ext/mysqlnd/mysqlnd_wireprotocol.c
ext/mysqlnd/mysqlnd_wireprotocol.h
ext/opcache/zend_accelerator_util_funcs.c
ext/spl/spl_observer.c
ext/standard/array.c
2014-04-15 09:53:02 +02:00
Dmitry Stogov
93d3a613d8
Fixed support for references
2014-04-15 11:13:23 +04:00
Xinchen Hui
8bfc037348
Fixed invaid write/read
2014-04-15 14:38:38 +08:00
Xinchen Hui
541842d87a
Fixed return uninitialized_zval
2014-04-15 11:10:39 +08:00
Xinchen Hui
84ce66f17c
Fixed Typo
2014-04-15 11:09:04 +08:00
Xinchen Hui
a0690ff288
Fixed zend_object_get_t in simpleXML
2014-04-15 11:05:03 +08:00
Stanislav Malyshev
0ae2328c44
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test - doesn't seem to produce warning
Fix test - on CI somebody could create a process in the meantime
2014-04-14 15:48:33 -07:00
Anatol Belski
46070e956c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix windows build
2014-04-14 23:35:51 +02:00
Dmitry Stogov
2056359594
Fixed test (support for MarinaDB)
2014-04-15 01:27:21 +04:00
Dmitry Stogov
460120c887
Fixed reference counting
2014-04-15 01:16:09 +04:00
Stanislav Malyshev
4db11ff081
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #66942 : openssl_seal() memory leak
ws fix
Fix #66942 : openssl_seal() memory leak
ws fix
2014-04-14 13:38:44 -07:00
Chuan Ma
8d05a777ad
Fix #66942 : openssl_seal() memory leak
...
Fix #66952 : memory leak in openssl_open()
2014-04-14 13:38:32 -07:00
Stanislav Malyshev
fae8ed8ae9
ws fix
2014-04-14 13:37:58 -07:00
Dmitry Stogov
258a5a39fa
Fixed memory leak
2014-04-15 00:21:41 +04:00
Andrey Hristov
f1c70fbbd6
Merge branch 'master' of git.php.net:php-src
2014-04-14 23:11:01 +03:00
Dmitry Stogov
cc50ebc487
Fixed memory leak
2014-04-14 23:53:25 +04:00
Dmitry Stogov
5ff9089320
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-14 23:01:02 +04:00
Dmitry Stogov
9629eea9e7
The test works out of the box
2014-04-14 22:43:33 +04:00
Dmitry Stogov
b0b54e8db4
Fixed nested GC calls (valgrind error in Zend/tests/gc_016.phpt)
2014-04-14 22:41:42 +04:00
Stanislav Malyshev
8bf77370e9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
Fix null byte in LDAP bindings
Fix bug #66171 : better handling of symlinks
2014-04-14 10:53:09 -07:00
Stanislav Malyshev
9af0756dd5
Fix null byte in LDAP bindings
2014-04-14 10:53:08 -07:00
Stanislav Malyshev
fb96a62b7d
Fix bug #66171 : better handling of symlinks
2014-04-14 10:53:07 -07:00
Xinchen Hui
76825a71a4
Fixed SXE iterator(14 tests fail)
2014-04-15 00:37:48 +08:00
Xinchen Hui
30a974f435
Fixed sxe object clone
2014-04-15 00:10:59 +08:00
Xinchen Hui
1f207e73eb
Fixed double free
2014-04-15 00:06:54 +08:00
Anatol Belski
a35723f6e1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix crash in MINFO when no mysqlnd plugins are loaded
2014-04-14 17:45:18 +02:00
Xinchen Hui
55440b0870
Fixed libxml handling default context
2014-04-14 23:40:21 +08:00
Anatol Belski
edc4aca826
Merge branch 'PHP-5.6'
...
* PHP-5.6:
backported some ext/intl tests from 5.6 into 5.4
2014-04-14 16:45:18 +02:00
Andrey Hristov
0705bfc3a3
Merge branch 'PHP-5.6'
2014-04-14 17:44:21 +03:00
Anatol Belski
333af6fe34
Merge branch 'PHP-5.6'
...
* PHP-5.6:
test fixes for ICU 53.1
2014-04-14 15:35:01 +02:00
Xinchen Hui
c7513f58d2
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-14 19:27:55 +08:00
Xinchen Hui
a975c7e0fe
Refactor simpleXML (compilable, but incompleted)
2014-04-14 19:27:22 +08:00
Dmitry Stogov
703c1bc570
Fixed passing arguments by reference into array_walk() callbacks.
2014-04-14 15:11:05 +04:00
Dmitry Stogov
5dc52e4880
Fixed interface constants inheritance.
...
Now we use IS_REFERENCE for inhereted class constants.
I might miss some edje cases.
2014-04-14 13:24:43 +04:00
Anatol Belski
fca5889963
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #67033 Remove reference to Windows 95
2014-04-14 09:34:02 +02:00
Stanislav Malyshev
1155b62ba4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix NEWS
2014-04-13 20:17:30 -07:00
Stanislav Malyshev
3970b9d7dd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #66021 (Blank line inside empty array/object)
2014-04-13 18:56:26 -07:00
Stanislav Malyshev
9f9f378c88
Merge branch 'pull-request/533'
...
* pull-request/533:
Fixed bug 64604
2014-04-13 18:39:58 -07:00
Stanislav Malyshev
0a13f8168d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #64604
2014-04-13 18:39:28 -07:00
Stanislav Malyshev
aa3cc443c3
Merge branch 'pull-request/578'
...
* pull-request/578:
Fix #66562 : Consistency bug where curl_multi_getcontent behaves different from curl_exec
2014-04-13 18:15:55 -07:00
Stanislav Malyshev
85d05b5654
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #66562 : Consistency bug where curl_multi_getcontent behaves different from curl_exec
2014-04-13 18:14:10 -07:00
Stanislav Malyshev
d3b433bb15
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66482 , replace wrong item name 'priority' with 'process.priority' in php-fpm.conf
2014-04-13 17:33:02 -07:00
Stanislav Malyshev
3a3a05d2e8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix windows build
2014-04-13 17:04:25 -07:00
Stanislav Malyshev
11bdb85d30
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66721
2014-04-13 15:56:02 -07:00
Stanislav Malyshev
9fb92eed83
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix apr_psprintf format string from e0df4e3dba
Fixed bug #67024 - getimagesize should recognize BMP files with negative height
2014-04-13 15:40:21 -07:00
Bob Weinand
12844292b8
Merge branch 'PHP-5.6'
2014-04-14 00:10:25 +02:00
Daniel Lowrey
f1aa39c1af
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #66840 : Fix broken build when extension built separately
2014-04-13 15:19:23 -06:00
Nikita Popov
4fc3d2d104
Copy varname before unset
...
Otherwise we get issues when the varname variable coincides with
the variable that is deleted.
2014-04-13 23:07:10 +02:00
Bob Weinand
e8728b4999
Merge branch 'PHP-5.6'
2014-04-13 19:41:27 +02:00
Bob Weinand
ef214aa3c0
Merge branch 'PHP-5.6'
2014-04-13 19:28:32 +02:00
Bob Weinand
d86c297659
Merge branch 'PHP-5.6'
2014-04-13 11:42:30 +02:00
Nikita Popov
099c070f18
Merge branch 'PHP-5.6'
2014-04-13 10:49:38 +02:00
Ferenc Kovacs
c459805cb2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66660 : use str_efree instead of efree to handle interned empty strings correctly
2014-04-13 10:48:42 +02:00
Matteo Beccati
0175bbb767
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66604 'pdo/php_pdo_error.h' not copied to the include dir
2014-04-13 08:55:13 +02:00
Ferenc Kovacs
fdbf467d2e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66568 : the second arg for unserialize is optional.
2014-04-13 02:50:03 +02:00
Ferenc Kovacs
fb326bbd9b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix typo
2014-04-13 01:57:49 +02:00
Bob Weinand
eae0f529f2
Merge branch 'PHP-5.6'
2014-04-12 23:55:35 +02:00
Dmitry Stogov
b178992cd1
Temporary fix for Zend/tests/bug46238.phpt
2014-04-12 00:50:36 +04:00
Dmitry Stogov
c6af3781ee
Fixed test (now string data allocated together with zend_string structure)
2014-04-11 23:25:50 +04:00
Dmitry Stogov
affc7ab6c5
Fixed test (order of variables doesn't mater)
2014-04-11 23:04:47 +04:00
Bob Weinand
ca447a8f6f
Merge branch 'PHP-5.6'
2014-04-11 20:14:44 +02:00
Nikita Popov
2c6ee5dcb5
Fix argument unpacking
2014-04-11 19:53:14 +02:00
Bob Weinand
ccf863c8ce
Merge branch 'PHP-5.6'
2014-04-11 19:35:11 +02:00
Bob Weinand
38ec4d20bf
Merge branch 'PHP-5.6'
2014-04-11 18:24:41 +02:00
Bob Weinand
53e71e47b9
Merge branch 'PHP-5.6'
2014-04-11 16:21:15 +02:00
Dmitry Stogov
e27eca90a5
for some reason gcc -O2 compiled the previous code in unexpected way
2014-04-11 18:16:03 +04:00
Dmitry Stogov
a6123151c7
Fixed memory leak
2014-04-11 18:15:53 +04:00
Dmitry Stogov
13f0c8b18c
Fixed double free
2014-04-11 16:48:38 +04:00
Dmitry Stogov
2614d945f8
Fixed memory leaks
2014-04-11 15:29:37 +04:00
Anatol Belski
f0c95cb705
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix syntax error in vc++
2014-04-11 13:28:13 +02:00
Dmitry Stogov
33c731d94f
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-11 15:06:01 +04:00
Dmitry Stogov
b6af031e52
Fixed support for references
2014-04-11 15:05:12 +04:00
Dmitry Stogov
68c34855af
Fixed memory leaks
2014-04-11 14:47:53 +04:00
Dmitry Stogov
f1f3e3c371
fixed persistent reaource destruction
2014-04-11 14:47:38 +04:00
Xinchen Hui
a2a2481dd1
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-11 18:08:11 +08:00
Xinchen Hui
180de35bce
Refactor libxml (incompleted)
2014-04-11 18:07:25 +08:00
Dmitry Stogov
aa2ed70d43
Fixed srialize()
2014-04-11 13:44:23 +04:00
Dmitry Stogov
dac8cefb45
Fixed tests (added session_destroy() to avoid side effects on the following tests)
2014-04-11 13:17:59 +04:00
Anatol Belski
3af4be482c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fixed bug #66967 Updated the bundled libsqlite to 3.8.4.3
2014-04-11 11:02:02 +02:00
Dmitry Stogov
4adedff13d
Fixed tests (they might fail from time to time because of session GC)
2014-04-11 12:43:35 +04:00
Dmitry Stogov
ec4314f818
Fixed reference counting
2014-04-11 12:43:22 +04:00
Xinchen Hui
0d341e5b0e
No need anymore
2014-04-11 16:30:19 +08:00
Bob Weinand
9663193bbc
Merge branch 'PHP-5.6'
2014-04-11 10:11:58 +02:00
Dmitry Stogov
aeb64f5447
Fixed support for references
2014-04-11 11:15:31 +04:00
Xinchen Hui
70ba20bfd3
hmm, make it consistent
2014-04-11 12:54:42 +08:00
Xinchen Hui
2e97e18bd0
Fixed _php_mbstr_parse_mail_headers
2014-04-11 12:53:35 +08:00
Xinchen Hui
12470b4092
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-11 12:34:06 +08:00
Dmitry Stogov
91ed685e26
Close all files and resources before before destroying object storage, because resources may point to objects. (THIS CHANGE MAY BE DANGEROUS)
2014-04-11 02:22:00 +04:00
Dmitry Stogov
98350cdcea
Introduced API to close all resources at once
2014-04-11 02:21:06 +04:00
Dmitry Stogov
a9599c9512
Fixed memory leak
2014-04-10 23:36:16 +04:00
Dmitry Stogov
ca05f965e3
Fixed tests (added missing zend.multibyte=On)
2014-04-10 23:07:00 +04:00
Dmitry Stogov
c54768bd60
fixed serialize()
2014-04-10 22:44:39 +04:00
Andrey Hristov
6828437c11
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
ext/mysqlnd/mysqlnd_result.c
2014-04-10 18:22:01 +03:00
Dmitry Stogov
8eb8d123e0
Fixed suppor for multibyte encoding
2014-04-10 18:47:47 +04:00
Popa Adrian Marius
c2ce0df01b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Cleanup $ is not needed for git
2014-04-10 17:43:45 +03:00
Dmitry Stogov
7a7b94d2fe
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-10 18:08:39 +04:00
Dmitry Stogov
6bfedfd22e
Fixed unserialize()
2014-04-10 18:08:11 +04:00
Nikita Popov
f449b04713
Fix some ZTS issues and leaks
2014-04-10 13:50:25 +02:00
Anatol Belski
0eb34f25ae
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-04-10 12:43:08 +02:00
Anatol Belski
dfbc874a11
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix prototype
fix typo
fix typo
fix typo
add a NEWS block for beta2
add missing entries to NEWS
abstract namespace for unix sockets is a linux only feature
Don't test for specific non-zero substr_compare() return value
Add only_integer_keys option to zend_hash_reindex
Don't always separate splice replacement array
Add zend_hash_splice
Add zend_hash_reindex
Remove some usages of hashtable internals
Updated NEWS
fixed bug66702 : regexiterator's invert flag doesn't work as expected
2014-04-10 12:42:58 +02:00
Nikita Popov
c6eba25571
Port tokenizer extension
2014-04-10 11:44:45 +02:00
Anatol Belski
9112c2f122
fix prototype
2014-04-10 11:44:28 +02:00
Anatol Belski
af53cc6799
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix typo
fix typo
fix typo
add a NEWS block for beta2
add missing entries to NEWS
abstract namespace for unix sockets is a linux only feature
Don't test for specific non-zero substr_compare() return value
Add only_integer_keys option to zend_hash_reindex
Don't always separate splice replacement array
Add zend_hash_splice
Add zend_hash_reindex
Remove some usages of hashtable internals
Updated NEWS
fixed bug66702 : regexiterator's invert flag doesn't work as expected
Conflicts:
Zend/zend_hash.c
ext/spl/spl_iterators.c
ext/standard/array.c
ext/standard/php_array.h
2014-04-10 10:49:48 +02:00
Dmitry Stogov
6df6006769
Compatibility fix for ext/session/tests/session_id_error3.phpt
2014-04-10 12:29:14 +04:00
Dmitry Stogov
23aecd1736
Fixed test (it requires ext/hash)
2014-04-10 12:14:11 +04:00
Dmitry Stogov
0ae14f3a1d
Fixed access to uninitialized data
2014-04-10 10:38:40 +04:00
Ferenc Kovacs
7b3e369740
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix typo
fix typo
fix typo
2014-04-10 07:07:50 +02:00
Ferenc Kovacs
edbaa1fa5e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add a NEWS block for beta2
add missing entries to NEWS
2014-04-10 06:23:23 +02:00
Xinchen Hui
27f7f342ee
session_id is binary safe now
2014-04-10 11:57:34 +08:00
Dmitry Stogov
eb69fd9b0b
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-04-10 03:22:06 +04:00
Nikita Popov
a6be32f59a
IS_INTERNED is not always 0 in ZTS
...
The current implementation chooses to intern "" in ZTS. Either that
should be removed or IS_INTERNED needs to actually check the flag.
2014-04-09 23:54:03 +02:00
Dmitry Stogov
6ee5e813ab
var_push_dtor_no_addref() is useles (var_push_dtor() doesn't work properly as well)
2014-04-10 01:49:26 +04:00
Nikita Popov
19ccd79942
Fix copying of constants for ZTS
...
Just a quick hack, should probably add an internal_copy_ctor
function for this.
2014-04-09 23:41:17 +02:00
Nikita Popov
3ce96eabc0
Fix function copying in ZTS
...
Still doesn't entirely work :/
2014-04-09 23:41:16 +02:00
Nikita Popov
20f2e5986e
Fix ZTS build
...
This only makes it compile, it doesn't actually work, presumably
because interned strings are assumed in some places.
2014-04-09 23:41:16 +02:00
Dmitry Stogov
2016e72111
Temporary refcounting fix
2014-04-10 01:08:52 +04:00
Dmitry Stogov
d8a0c6c6ab
typo
2014-04-10 00:22:13 +04:00
Dmitry Stogov
29f068779f
Fixed ext/spl/tests/iterator_035.phpt
2014-04-09 23:49:58 +04:00
Dmitry Stogov
a938b24607
Fixed resource to integer conversion
2014-04-09 22:31:40 +04:00
Dmitry Stogov
816f8dfefb
Fixed macro
2014-04-09 22:23:22 +04:00
Ferenc Kovacs
1b1dabcf60
Merge branch 'PHP-5.6'
...
* PHP-5.6:
abstract namespace for unix sockets is a linux only feature
2014-04-09 19:04:35 +02:00
Dmitry Stogov
b1d2efcc2d
Fixed reference counting
2014-04-09 18:11:18 +04:00
Dmitry Stogov
8732f5e5d7
Removed useless code
2014-04-09 17:55:40 +04:00
Dmitry Stogov
9b276c7a0c
Fixed error reporting
2014-04-09 17:08:52 +04:00
Dmitry Stogov
b7e6c8d0f8
Fixed reference counting
2014-04-09 17:02:13 +04:00
Dmitry Stogov
79b27dc096
Fixed reference counting
2014-04-09 16:48:03 +04:00
Tjerk Meesters
939b2db87d
Merge branch 'PHP-5.6'
2014-04-09 20:11:36 +08:00
Dmitry Stogov
d9f6068fd3
Fixed GC
2014-04-09 15:26:45 +04:00
Dmitry Stogov
22ec682e77
Fixed reference counting
2014-04-09 15:05:22 +04:00
Nikita Popov
21e01f2b70
Merge branch 'PHP-5.6'
2014-04-09 12:31:35 +02:00
Dmitry Stogov
085be9d618
Fixed ArrayObject::sort() family
2014-04-09 14:25:35 +04:00
Etienne Kneuss
6acfaa982b
Merge branch 'PHP-5.6'
2014-04-09 11:52:11 +02:00
Dmitry Stogov
39d2cede74
Fixed support for IS_INDIRECT and IS_REFERENCE
2014-04-09 13:23:28 +04:00
Anatol Belski
b0ddef8ba3
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
cleanup old unsupported versions of Firebird 1.0.x
cleanup
Fixes bug #66071 : isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret
2014-04-09 11:17:43 +02:00
Anatol Belski
71a8b01b2b
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Updated NEWS for #67043
Fixed bug 67043
cleanup
Fixes bug #66071 : isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret
updated libs versions
fixed the test for ICI >= 52.1
Fix Linux specific fail in error traces Linux apparently does not like memcpy in overlapping regions...
add missing skip to the output, so we actually skip this test
fix the test according to how new date code does it
fix to work on different ICU versions
multibytes tests still fail, put them in XFAIL
2014-04-09 11:17:23 +02:00
Anatol Belski
abad64c50e
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Updated NEWS for #67043
Fixed bug 67043
cleanup
Fixes bug #66071 : isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret
updated libs versions
fixed the test for ICI >= 52.1
Fix Linux specific fail in error traces Linux apparently does not like memcpy in overlapping regions...
add missing skip to the output, so we actually skip this test
fix the test according to how new date code does it
fix to work on different ICU versions
multibytes tests still fail, put them in XFAIL
Conflicts:
ext/standard/string.c
2014-04-09 11:04:50 +02:00
Dmitry Stogov
ad524d2818
Use proper size
2014-04-09 12:16:21 +04:00
Dmitry Stogov
48d3b95aee
Fixed NULL pointer dereferencing
2014-04-09 11:56:48 +04:00
Dmitry Stogov
98ab24f1af
Fixed NULL pointer dereferencing
2014-04-09 11:39:39 +04:00
Dmitry Stogov
abbb1c0f00
Unset CV before calling zval_ptr_dtor(), because its destructor may bailout and stay CV value in inconsistet state
2014-04-09 10:47:24 +04:00
Dmitry Stogov
c99b767537
Fixed generator destruction
2014-04-09 10:47:03 +04:00
Dmitry Stogov
479f520d14
Fixed store of "shared" zend_strings
2014-04-09 09:43:42 +04:00
Tjerk Meesters
419d98b291
Merge branch 'PHP-5.6'
2014-04-09 07:37:07 +08:00
Dmitry Stogov
7402af380b
Fixed destruction of objects and iterators on unclean request shutdown and GC (few cases are still unfixed).
...
Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.
2014-04-09 01:50:15 +04:00
Stanislav Malyshev
d349971bb2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
cleanup
Fixes bug #66071 : isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret
2014-04-08 09:39:34 -07:00
Popa Adrian Marius
8abcd97333
cleanup old unsupported versions of Firebird 1.0.x
2014-04-08 17:36:38 +03:00
Popa Adrian Marius
88cd44aa62
cleanup
2014-04-08 15:29:32 +03:00
Popa Adrian Marius
6d7093cbbe
Fixes bug #66071 : isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret
2014-04-08 14:11:58 +03:00
Anatol Belski
1157f81b2f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libs versions
2014-04-08 11:43:55 +02:00
Dmitry Stogov
0e7d30e8d3
Optimized ASSIGN_OP
2014-04-08 02:25:49 +04:00
Dmitry Stogov
3d0b32b3db
IS_CONST can't be a reference
2014-04-08 00:52:07 +04:00
Dmitry Stogov
f3c57716f7
Optimized ZEND_FETCH_R and family
2014-04-08 00:38:54 +04:00
Dmitry Stogov
3d17219cd8
Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
...
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.
2014-04-07 23:14:17 +04:00
Anatol Belski
6c2f7bc2c4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed the test for ICI >= 52.1
2014-04-07 17:41:47 +02:00
Bob Weinand
d58a7500a7
Merge branch 'PHP-5.6'
2014-04-07 17:16:48 +02:00
Ferenc Kovacs
a6e56586c6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing skip to the output, so we actually skip this test
2014-04-07 16:59:27 +02:00
Dmitry Stogov
3167b49ce9
Allocate HashTable->arData and HashTable->arHash at once
2014-04-07 18:22:03 +04:00
Dmitry Stogov
66b3b907c2
Cleanup
2014-04-07 16:50:41 +04:00
Dmitry Stogov
bf35b22af5
Optimized ISSET_ISEMPTY_DIM_OBJ
2014-04-07 14:56:34 +04:00
Dmitry Stogov
3485b11499
"incremental" hash bucket initialization
2014-04-07 13:31:44 +04:00
Dmitry Stogov
df7293b072
don't use memset() for array of zval initialization
2014-04-07 12:14:44 +04:00
Dmitry Stogov
8b2bb30137
Use macros
2014-04-07 10:57:58 +04:00
Stanislav Malyshev
2000c8ed46
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix the test according to how new date code does it
fix to work on different ICU versions
2014-04-05 20:13:48 -07:00
Stanislav Malyshev
ca31c8f4fe
Merge branch 'PHP-5.6'
...
* PHP-5.6:
multibytes tests still fail, put them in XFAIL
2014-04-05 18:35:18 -07:00
Anatol Belski
589384cb2c
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Remove call_user_method() and call_user_method_array() from master, long time deprecated in favour of call_user_func*().
2014-04-05 10:34:46 +02:00
Anatol Belski
62a25407a9
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
updated NEWS
updated NEWS
Fixed bug #66084 simplexml_load_string() mangles empty node name
cleanup NEWS
NEWS
NEWS
Fix Bug #66736 fpassthru broken
2014-04-05 10:34:40 +02:00
Anatol Belski
d308724d19
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #66084 simplexml_load_string() mangles empty node name
cleanup NEWS
NEWS
NEWS
Fix Bug #66736 fpassthru broken
2014-04-05 09:53:38 +02:00
Anatol Belski
d7f5f608ac
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
Fixed bug #66084 simplexml_load_string() mangles empty node name
2014-04-05 09:50:13 +02:00
Kalle Sommer Nielsen
96d5d7c240
Merge branch 'master' of https://git.php.net/push/php-src
2014-04-05 06:45:02 +02:00
Kalle Sommer Nielsen
91aa9fbb47
Remove call_user_method() and call_user_method_array() from master, long time deprecated in favour of call_user_func*().
2014-04-05 06:43:41 +02:00
Dmitry Stogov
a94923d5cb
Avoid double zval copying in ZEND_SEND_VAL and zend_send_by_var_helper
2014-04-05 02:14:17 +04:00
Dmitry Stogov
a80e945835
Optimized ZEND_FETCH_DIM_*
2014-04-05 01:56:51 +04:00
Dmitry Stogov
c11dc75b4e
Refactored IS_INDIRECT IS_VAR passing between opcodes to avoid reference counting
2014-04-04 19:01:53 +04:00
Dmitry Stogov
cea26aa2eb
Tergets of ASSIGN and ASSIGN_REF don't have to be initialized
2014-04-04 15:22:41 +04:00
Dmitry Stogov
eaeb3c39b4
Optimized RECV_* opcodes
2014-04-04 14:36:34 +04:00
Dmitry Stogov
3bc8810b1e
Constant duplication optimization
...
Argument receiving optimization
2014-04-04 03:55:27 +04:00
Stanislav Malyshev
882862eb6e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
cleanup NEWS
2014-04-03 15:57:26 -07:00
Dmitry Stogov
58f0f2503c
Various VM optimizations
2014-04-04 02:52:53 +04:00
Dmitry Stogov
58871730c8
ASSIGN_REF optimization
2014-04-03 16:53:30 +04:00
Dmitry Stogov
76cc99fe60
Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)
2014-04-03 15:26:23 +04:00
Michael Wallner
8d4ee1dbed
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fix Bug #66736 fpassthru broken
2014-04-03 10:41:53 +02:00
Anatol Belski
d7aed3c631
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-04-03 10:02:53 +02:00
Anatol Belski
bccac3c79b
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
NEWS
NEWS
Fix bug #66182 exit in stream filter produces segfault
NEWS
NEWS
Fixed bug #61019 (Out of memory on command stream_get_contents)
NEWS
NEWS
Fix bug #64330
update NEWS
updated NEWS
updated NEWS
added test for bug #53965
Fixed bug #53965 <xsl:include> cannot find files w/ relative paths when loaded w/ "file://"
updated libmagic.patch
NEWS
NEWS
NEWS
Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian)
2014-04-03 10:02:44 +02:00
Anatol Belski
582bf28311
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
NEWS
NEWS
Fix bug #66182 exit in stream filter produces segfault
NEWS
NEWS
Fixed bug #61019 (Out of memory on command stream_get_contents)
NEWS
NEWS
Fix bug #64330
update NEWS
updated NEWS
updated NEWS
added test for bug #53965
Fixed bug #53965 <xsl:include> cannot find files w/ relative paths when loaded w/ "file://"
updated libmagic.patch
NEWS
NEWS
NEWS
Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian)
2014-04-03 09:12:26 +02:00
Michael Wallner
3f8c45e28c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fix bug #66182 exit in stream filter produces segfault
2014-04-03 09:10:02 +02:00
Michael Wallner
4d412421df
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fixed bug #61019 (Out of memory on command stream_get_contents)
2014-04-02 15:39:16 +02:00
Dmitry Stogov
d8099d0468
Changed data layout to allow more efficient operations
2014-04-02 14:34:44 +04:00
Michael Wallner
2b7bf2cb6e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
2014-04-02 11:15:11 +02:00
Michael Wallner
1d6b3f1293
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #64330
2014-04-02 11:11:39 +02:00
Dmitry Stogov
3b25faa4aa
Fixed 0 index handling
2014-04-02 12:09:05 +04:00
Dmitry Stogov
7240b4ec4d
Avoid unnecessary zval separations
2014-04-02 01:56:16 +04:00
Dmitry Stogov
5c912a805b
Use "fast" comparison function
2014-04-02 00:48:26 +04:00
Dmitry Stogov
60961bba3d
Avoid useless memset()
2014-04-01 23:56:45 +04:00
Dmitry Stogov
dccd97d347
Avoid unnecessary zval separations
2014-04-01 23:44:42 +04:00
Dmitry Stogov
4456bfaa72
Avoid unnecessry reallocations
2014-04-01 23:27:51 +04:00
Dmitry Stogov
6b2ed577fd
Avoid unnecessry reallocations
2014-04-01 22:36:17 +04:00
Dmitry Stogov
8ddda2f649
Avoid unnecessry reallocation
2014-04-01 21:19:44 +04:00
Dmitry Stogov
8dedaf8512
Use interned strings for one character strings
2014-04-01 18:06:50 +04:00
Dmitry Stogov
042c937f69
Use STR_COPY() instead of STR_DUP() where possible
2014-04-01 17:10:15 +04:00
Dmitry Stogov
a25a1ba0ef
STR_DUP() doesn't duplicate interned strings anymore. In case new string is required STR_INIT() or STR_ALLOC() should be used.
2014-04-01 16:31:03 +04:00
Dmitry Stogov
7eff369ba9
Store constant flags
2014-04-01 16:30:13 +04:00
Dmitry Stogov
9799542ffa
Fixed parameter passing
2014-04-01 14:42:04 +04:00
Dmitry Stogov
015e5dc43b
In case the string can't be interned it must not be released
2014-04-01 14:35:34 +04:00
Dmitry Stogov
70b7950a75
Exclude interned flags from constant flags
2014-04-01 14:20:10 +04:00
Dmitry Stogov
9b196ca6e8
Added check for interned strings
2014-04-01 14:19:43 +04:00
Dmitry Stogov
98ca90c910
Fixed char*/zend_string* mess
2014-04-01 13:57:23 +04:00
Dmitry Stogov
0da12b9273
Fixed script size calculation
2014-04-01 13:04:33 +04:00
Dmitry Stogov
569bfbd00b
Keep constnat flags
2014-04-01 12:20:16 +04:00
Anatol Belski
45c1e28161
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
updated NEWS
updated NEWS
added test for bug #53965
Fixed bug #53965 <xsl:include> cannot find files w/ relative paths when loaded w/ "file://"
2014-04-01 10:15:05 +02:00
Dmitry Stogov
ceecd31cb6
Fixed support for arg_info and type hinfing (TODO: names should be interned)
2014-04-01 11:44:11 +04:00
Dmitry Stogov
46647180ef
function_name might be shared across few op_arrays (inherited methods)
2014-04-01 11:29:22 +04:00
Dmitry Stogov
2a612e91c2
Fixed optimizer
2014-04-01 11:04:12 +04:00
Dmitry Stogov
b964621294
Fixed optimizer (incomplete)
2014-04-01 01:53:33 +04:00
Dmitry Stogov
3fc8449e1e
Fixed interned strings support
2014-04-01 00:50:25 +04:00
Dmitry Stogov
fd4d11e053
fixes
2014-03-31 23:38:37 +04:00
Anatol Belski
41d63e38e1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch
2014-03-31 17:24:53 +02:00
Remi Collet
cf4e7837d1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian)
2014-03-31 16:58:21 +02:00
Dmitry Stogov
7465be4fbd
Optimizer related fixes (incomplete)
2014-03-31 18:13:16 +04:00
Dmitry Stogov
47fdb9eae3
fixed craches at request shutdown and memory leaks
2014-03-31 16:09:45 +04:00
Anatol Belski
4dd4eac9d5
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-31 12:04:04 +02:00
Anatol Belski
0fb1f51435
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
update lib versions
Remove unneeded string copy. Allow to set ''(empty string values) internal/input/output_encoding for better compatibility. i.e. Runtime INI value changes. More compliance to the RFC. Improve/add encoding handling tests. i.e. Rather than set encoding automagic way, detect it.
Fix test
2014-03-31 12:03:50 +02:00
Anatol Belski
295cec706e
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
update lib versions
Remove unneeded string copy. Allow to set ''(empty string values) internal/input/output_encoding for better compatibility. i.e. Runtime INI value changes. More compliance to the RFC. Improve/add encoding handling tests. i.e. Rather than set encoding automagic way, detect it.
Fix test
Conflicts:
ext/iconv/iconv.c
ext/standard/html.c
2014-03-31 11:57:46 +02:00
Dmitry Stogov
292b8dffc8
Make opcache work (incomplete - optimizer doesn't work yet; crashes on request shutdown)
2014-03-31 13:11:58 +04:00
Xinchen Hui
35199a3d0c
Fixed null pointer dereference
2014-03-30 17:53:17 +08:00
Xinchen Hui
6c16325034
Fixed smart_str_setl
2014-03-30 17:50:42 +08:00
Xinchen Hui
fa2e7ba0cb
Fixed retval for ps_call_handler
2014-03-29 20:17:59 +08:00
Xinchen Hui
6e34bde64b
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-29 17:40:34 +08:00
Xinchen Hui
5c1595ca8e
Refactor session (incompleted)
2014-03-29 17:39:26 +08:00
Dmitry Stogov
5324f22f59
ext/opcache refactoring (incomplete)
2014-03-28 23:34:49 +04:00
Julio Pintos
389d4e5ec3
Fix #66908 : php-fpm reload leaks epoll_create() file descriptor
...
This patch fixes descriptor leak which could lead to DoS once Max open files is reached
2014-03-28 13:26:43 -03:00
Xinchen Hui
3647fc6fcc
Refactor session (incompleted)
2014-03-28 18:46:25 +08:00
Dmitry Stogov
ea85451b65
Refactored data structures to keep zend_object* instead of a whole zval in some places
2014-03-28 02:11:22 +04:00
Anatol Belski
5000a2cd37
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update lib versions
2014-03-27 18:20:17 +01:00
Dmitry Stogov
68385716a4
Fixed support for references & cleanup
2014-03-27 18:14:57 +04:00
Dmitry Stogov
5604cfbbba
cleanup
2014-03-27 18:14:42 +04:00
Dmitry Stogov
8bfd9a0e57
Fixed memory leak
2014-03-27 16:43:40 +04:00
Dmitry Stogov
9a8fbdf2f4
Use CV variable offset instead of CV variable number
2014-03-27 16:00:25 +04:00
Dmitry Stogov
d83d34ba6d
Cleanup
2014-03-27 14:55:52 +04:00
Dmitry Stogov
c6cba55454
Use ZVAL_DEREF() macro
2014-03-27 13:39:09 +04:00
Yasuo Ohgaki
08cd3c6146
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove unneeded string copy. Allow to set ''(empty string values) internal/input/output_encoding for better compatibility. i.e. Runtime INI value changes. More compliance to the RFC. Improve/add encoding handling tests. i.e. Rather than set encoding automagic way, detect it.
2014-03-27 17:21:23 +09:00
Dmitry Stogov
54d559d893
Replaced (Z_TYPE(x) == IS_REFERENCE) with (Z_ISREF(x))
2014-03-27 11:50:45 +04:00
Dmitry Stogov
e2e99b0670
Typo
2014-03-27 11:40:59 +04:00
Dmitry Stogov
36f24c512e
Inlined "slow" CV lookup code (now it's cheap)
...
Removed expectations for undefined CV acess for BP_VAR_W and BP_VAR_IS modes
2014-03-27 11:19:34 +04:00
Dmitry Stogov
92aef5279a
Fixed support for references
2014-03-27 00:05:06 +04:00
Dmitry Stogov
f53c31265f
Fixed symbol table detaching
2014-03-27 00:04:50 +04:00
Dmitry Stogov
f3272bf7ac
Fixed extract() support IS_INDIRECT
2014-03-26 22:52:28 +04:00
Dmitry Stogov
de6a76d16e
fixed support for references
2014-03-26 22:06:44 +04:00
Xinchen Hui
903b6b59bf
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-26 23:25:26 +08:00
Xinchen Hui
c9bca5039b
Refactor session (incompleted)
2014-03-26 23:23:54 +08:00
Dmitry Stogov
887189ca31
Refactored IS_INDIRECT usage for CV and object properties to support HashTable resizing
2014-03-26 18:07:31 +04:00
Andrey Hristov
a496525744
Merge branch 'PHP-5.6'
2014-03-26 15:40:54 +02:00
Anatol Belski
fd89d420a8
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
fix merge issue
Added TSRMLS_CC to zend_is_true() calls
Conflicts:
ext/spl/spl_array.c
2014-03-26 08:31:42 +01:00
Anatol Belski
9a9af437cb
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
- Updated to version 2014.2 (2014b)
fix merge issue
Updated NEWS for #66834
Call offsetGet() when called with isset() on ArrayObject derivatives
NEWS
NEWS
NEWS
Fixed bug #66946 extensive backtracking in awk rule regular expression CVE-2013-7345
Fixed bug #66946 extensive backtracking in awk rule regular expression CVE-2013-7345
Conflicts:
ext/spl/spl_array.c
2014-03-26 08:30:15 +01:00
Dmitry Stogov
e82f112468
Fixed test (scalar values don't have reference counters...)
2014-03-26 00:01:33 +04:00
Anatol Belski
ef05ba6411
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
- Updated to version 2014.2 (2014b)
fix merge issue
Updated NEWS for #66834
Call offsetGet() when called with isset() on ArrayObject derivatives
NEWS
NEWS
NEWS
Fixed bug #66946 extensive backtracking in awk rule regular expression CVE-2013-7345
Fixed bug #66946 extensive backtracking in awk rule regular expression CVE-2013-7345
Conflicts:
ext/spl/spl_array.c
2014-03-25 17:37:06 +01:00
Derick Rethans
5fe735c5a2
Merge branch 'PHP-5.6'
2014-03-25 12:17:22 +00:00
Remi Collet
ab72457d7f
fix merge issue
2014-03-25 12:07:29 +01:00
Tjerk Meesters
4cb19f0a0f
Added TSRMLS_CC to zend_is_true() calls
2014-03-25 19:05:43 +08:00
Tjerk Meesters
6018c47a28
Merge branch 'PHP-5.6'
2014-03-25 18:19:42 +08:00
Remi Collet
94647425d7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fixed bug #66946 extensive backtracking in awk rule regular expression CVE-2013-7345
Fixed bug #66946 extensive backtracking in awk rule regular expression CVE-2013-7345
2014-03-25 11:05:11 +01:00
Anatol Belski
0e15725152
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-25 09:06:02 +01:00
Anatol Belski
7915eb8c5c
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix disabling PGO for extensions, rel bug #65715
more fixes related to bug #65715
fix some warnings
PHP-5.6 compatibility for apache2 filter SAPI
updated NEWS
updated NEWS
updated NEWS
Fixed bug #65715 php5embed.lib isn't provided anymore
2014-03-25 09:05:49 +01:00
Anatol Belski
2fb527660d
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix disabling PGO for extensions, rel bug #65715
more fixes related to bug #65715
fix some warnings
PHP-5.6 compatibility for apache2 filter SAPI
updated NEWS
updated NEWS
updated NEWS
Fixed bug #65715 php5embed.lib isn't provided anymore
2014-03-25 09:03:32 +01:00
Anatol Belski
86e77b6b58
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix disabling PGO for extensions, rel bug #65715
2014-03-25 06:46:25 +01:00
Anatol Belski
978ceb2830
Merge branch 'PHP-5.6'
...
* PHP-5.6:
more fixes related to bug #65715
2014-03-24 19:19:24 +01:00
Michael Wallner
8b9d12dd47
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix some warnings
PHP-5.6 compatibility for apache2 filter SAPI
Fixes bug #66595
2014-03-24 17:53:08 +01:00
Anatol Belski
12bc572008
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
updated NEWS
Fixed bug #65715 php5embed.lib isn't provided anymore
2014-03-24 10:32:07 +01:00
Xinchen Hui
6965efb273
Fixed segfault due to incompleted refactoring
2014-03-24 17:14:29 +08:00
Xinchen Hui
c998bfaf86
It's a tradition return NULL on error of args parsing
2014-03-24 14:31:03 +08:00
Xinchen Hui
9e96c912fc
Fixed smart_str0 for empty str(more friendly for user?)
2014-03-24 14:06:35 +08:00
Xinchen Hui
50dc2ec46c
Fixed memleak temporary
2014-03-24 13:57:59 +08:00
Xinchen Hui
807ed2eb19
Fixed encoding list building while array arg
2014-03-24 13:56:46 +08:00
Xinchen Hui
7caf93a785
Fixed tests (mysqlnd only)
2014-03-24 13:45:18 +08:00
Xinchen Hui
506f6a4282
Refactor mbstring (incompleted)
2014-03-24 12:40:07 +08:00
Xinchen Hui
9011a70c7f
Refactor mbstring (incompleted)
2014-03-23 23:38:32 +08:00
Xinchen Hui
946269e48e
Refactor mbstring (incompleted)
2014-03-23 20:04:58 +08:00
Xinchen Hui
adcfee7b07
Refactor ext/mysql
2014-03-23 13:23:25 +08:00
Anatol Belski
8afbb5cdd6
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-22 11:06:37 +01:00
Anatol Belski
208af7e86c
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix C89 compat
fix signature
Revert "Add helper function for updating bucket contents"
Rename+move zend_hash_apply_deleter and reuse it
Make zend_hash_apply_deleter() void, to allow reuse
Add helper function for updating bucket contents
Remove unnecessary check
Fixes after merge
Emit a warning in case of unallowed characters. Fix another place this code is used - reuse
add info: empty strings are interned
don't replace with ?, just skip it
2014-03-22 11:06:27 +01:00
Anatol Belski
18405e9dff
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix C89 compat
2014-03-22 10:45:56 +01:00
Anatol Belski
d374c7703c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix C89 compat
2014-03-22 10:44:40 +01:00
Anatol Belski
4d647197cf
fix signature
2014-03-22 10:34:32 +01:00
Anatol Belski
69ae149b4f
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Revert "Add helper function for updating bucket contents"
Rename+move zend_hash_apply_deleter and reuse it
Make zend_hash_apply_deleter() void, to allow reuse
Add helper function for updating bucket contents
Remove unnecessary check
Fixes after merge
Emit a warning in case of unallowed characters. Fix another place this code is used - reuse
add info: empty strings are interned
don't replace with ?, just skip it
Conflicts:
Zend/zend_hash.c
ext/mysqlnd/mysqlnd.c
2014-03-22 10:24:11 +01:00
Dmitry Stogov
f2a598393f
Fixed wrong assignment
2014-03-22 02:40:41 +04:00
Dmitry Stogov
0e91c5a586
Fixed refcounting
2014-03-22 01:13:15 +04:00
Dmitry Stogov
6da4759769
Fixed refcounting
2014-03-22 00:00:20 +04:00
Dmitry Stogov
c36294c4da
Cleanup
2014-03-21 21:48:38 +04:00
Dmitry Stogov
b4b728fe85
don't mark zvals as rotts if they are already processed by GC
2014-03-21 21:36:46 +04:00
Dmitry Stogov
5c169160e6
cosure->debug_info is not a subject for GC
2014-03-21 21:35:47 +04:00
Dmitry Stogov
a4280c340b
Fixed reference counting
2014-03-21 21:34:15 +04:00
Dmitry Stogov
130e48d375
Typo
2014-03-21 16:37:53 +04:00
Andrey Hristov
b418bea1ac
Merge branch 'master' of git.php.net:php-src
2014-03-21 14:33:32 +02:00
Dmitry Stogov
37db857734
Fixed CV IS_INDIRECT support
2014-03-21 15:43:53 +04:00
Dmitry Stogov
a3abf6f291
Fixed refcounting
2014-03-21 15:33:08 +04:00
Dmitry Stogov
7ce06ee5a7
don't keep useless objects till the end of the script (destroy them immediately)
2014-03-21 15:32:02 +04:00
Dmitry Stogov
ef6919e6f2
Fixed static data cleanup
2014-03-21 13:51:18 +04:00
Dmitry Stogov
d735434e47
Fixed refcounting
2014-03-21 12:07:27 +04:00
Dmitry Stogov
2f4e8aa5d7
Fixed refcounting
2014-03-21 11:33:20 +04:00
Nikita Popov
4290293b81
Merge branch 'PHP-5.6'
2014-03-21 01:34:46 +01:00
Nikita Popov
2b89f618ff
Merge branch 'PHP-5.6'
2014-03-21 00:16:03 +01:00
Dmitry Stogov
6123deb30f
Fixed refcounting (proper fix)
2014-03-21 01:08:26 +04:00
Dmitry Stogov
cce7d5a1ec
Fixed refcounting
2014-03-21 00:34:26 +04:00
Dmitry Stogov
ee0ecc83d5
Fixed invalid free
2014-03-21 00:34:03 +04:00
Dmitry Stogov
6186bc6dff
Fixed iterator dtor
2014-03-20 23:28:24 +04:00
Dmitry Stogov
24b72415cb
Iterator has to be properly closed
2014-03-20 23:05:38 +04:00
Andrey Hristov
e3babd3ac3
Merge branch 'PHP-5.6'
2014-03-20 17:29:02 +02:00
Andrey Hristov
ea93d1fe83
Merge branch 'PHP-5.6'
2014-03-20 17:24:26 +02:00
Remi Collet
3b4fcd3f39
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add info: empty strings are interned
2014-03-20 15:18:50 +01:00
Andrey Hristov
8ed85557e0
Merge branch 'PHP-5.6'
2014-03-20 16:16:27 +02:00
Dmitry Stogov
a9d21c1457
check if object store was freed before accessing particular object
2014-03-20 17:26:20 +04:00
Dmitry Stogov
36cd92a7d3
Fixed passing argument by refefence from internal functions
2014-03-20 17:03:32 +04:00
Anatol Belski
f52f68303f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Add default_charset handling
2014-03-20 08:58:37 +01:00
Anatol Belski
8aed7642c2
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Add default_charset handling
Updated UPGRADING to add three changes
OCI8: fix prototypes for oci_field_*(). They can take a column index or name.
Change test package name ARRAYBINDPKG1 to a per-file unique name to aid parallel testing
fix compilation error
fix typo
Fix problem with mysqli_commt()/mysqli_rollback()
Restore NEWS and UPGRADING for hash_equals().
5.5.11RC1 preparation
Fixed typo
Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
2014-03-20 08:56:27 +01:00
Dmitry Stogov
1968e6be65
Fixed tests (now objects are counted only once)
2014-03-20 11:54:24 +04:00
Dmitry Stogov
1d66808dc4
Reverted 07fcdc40a0
2014-03-20 11:48:49 +04:00
Anatol Belski
10248d3b5a
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Add default_charset handling
Updated UPGRADING to add three changes
OCI8: fix prototypes for oci_field_*(). They can take a column index or name.
Change test package name ARRAYBINDPKG1 to a per-file unique name to aid parallel testing
fix compilation error
fix typo
Fix problem with mysqli_commt()/mysqli_rollback()
Restore NEWS and UPGRADING for hash_equals().
5.5.11RC1 preparation
Fixed typo
Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
Conflicts:
ext/mysqli/mysqli_api.c
ext/mysqlnd/mysqlnd.c
ext/standard/html.c
2014-03-20 08:47:51 +01:00
Dmitry Stogov
9db5076718
Fixed GC
2014-03-20 11:38:13 +04:00
Dmitry Stogov
07fcdc40a0
Fixed circular array copying
2014-03-20 11:37:42 +04:00
Dmitry Stogov
e4e7502548
fixed compilation warning
2014-03-20 11:36:59 +04:00
Yasuo Ohgaki
bd9978331f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add default_charset handling
2014-03-20 11:04:23 +09:00
Yasuo Ohgaki
8f5a31ff37
Add default_charset handling
2014-03-20 11:03:02 +09:00
Christopher Jones
122c69a0be
Merge branch 'PHP-5.6'
...
* PHP-5.6:
OCI8: fix prototypes for oci_field_*(). They can take a column index or name.
2014-03-19 15:23:40 -07:00
Dmitry Stogov
373855ef49
Fixed GC
2014-03-20 01:41:55 +04:00
Christopher Jones
3406f98439
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Change test package name ARRAYBINDPKG1 to a per-file unique name to aid parallel testing
2014-03-19 14:13:40 -07:00
Dmitry Stogov
a6f09e48d7
Fixed memory leak
2014-03-20 01:05:06 +04:00
Dmitry Stogov
2909c72b69
Improved GC compatibility
2014-03-20 00:29:20 +04:00
Dmitry Stogov
3c0feb51bc
Fixed assignment of "new" by reference
2014-03-19 23:51:28 +04:00
Dmitry Stogov
5db78476e3
Mark objects that are going to be deleted
2014-03-19 23:50:50 +04:00
Dmitry Stogov
acc719766d
More accurate zval comparison
2014-03-19 22:43:36 +04:00
Dmitry Stogov
e884d5d8e3
Fixed assignment reference to itself
2014-03-19 22:43:06 +04:00
Andrey Hristov
d22d1035cb
Merge branch 'PHP-5.6'
2014-03-19 19:15:15 +02:00
Andrey Hristov
e756f417b9
Merge branch 'PHP-5.6'
2014-03-19 18:55:40 +02:00
Dmitry Stogov
cb411f024d
GC cleanup
2014-03-19 18:11:46 +04:00
Dmitry Stogov
120dfd1e04
GC cleanup
2014-03-19 17:55:42 +04:00
Dmitry Stogov
9385ddaff9
GC related fix
2014-03-19 17:25:19 +04:00
Adam Harvey
4bac43a520
Merge branch 'PHP-5.6'
2014-03-19 06:25:06 -07:00
Dmitry Stogov
76cd829efd
Fixed double free
2014-03-19 17:00:58 +04:00
Dmitry Stogov
b7938ab1bd
Refactored GC (incomplete)
2014-03-19 17:00:28 +04:00
Yasuo Ohgaki
dc471acafe
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add missing E_DEPRECATED error for https://wiki.php.net/rfc/default_encoding
2014-03-19 18:14:32 +09:00
Anatol Belski
3b55f66d93
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix macros
2014-03-19 09:46:01 +01:00
Anatol Belski
fa6ba0ecdb
fix macros
2014-03-19 09:45:22 +01:00
Anatol Belski
177d45ee17
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-19 09:43:16 +01:00
Anatol Belski
c569a6502d
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
prep for 5.4.27 rc1
remove obsolete comment
Fixes to various stream cast on win64
- Updated to version 2014.1 (2014a)
Add a test
Add hash_equals() to perform string comparisons that are not vulnerable to timing attacks.
2014-03-19 09:42:59 +01:00
Anatol Belski
87da8f58e2
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
prep for 5.4.27 rc1
remove obsolete comment
Fixes to various stream cast on win64
- Updated to version 2014.1 (2014a)
Add a test
Add hash_equals() to perform string comparisons that are not vulnerable to timing attacks.
Conflicts:
ext/bz2/bz2.c
ext/standard/streamsfuncs.c
2014-03-19 08:53:59 +01:00
Stanislav Malyshev
2833c3b77d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
prep for 5.4.27 rc1
2014-03-18 23:25:32 -07:00
Anatol Belski
6d6cce0f56
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove obsolete comment
Fixes to various stream cast on win64
2014-03-19 06:38:18 +01:00
Adam Harvey
68e479b94d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add hash_equals() to perform string comparisons that are not vulnerable to timing attacks.
2014-03-18 09:33:22 -07:00
Derick Rethans
22fc261628
Merge branch 'PHP-5.6'
2014-03-18 15:02:27 +00:00
Andrey Hristov
dd1670067c
Merge branch 'PHP-5.6'
2014-03-18 16:19:34 +02:00
Anatol Belski
849b546ba0
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-18 14:12:54 +01:00
Anatol Belski
4535642ad4
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Fixed wrong indentation
Fix phpdbg build on FreeBSD
Fixed off-by-one in php_url_parse_ex
Fixed typo in UPGRADING and modified php.ini-* description for encoding related changes
Add support for PCRE marks
Update UPGRADING. Add more descriptions about default_charset and encoding related changes. Many thanks to Christopher.
UPGRADING (openssl updates)
Support async pgsql connections and non-blocking queries
2014-03-18 14:11:44 +01:00
Anatol Belski
ed70f02b29
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Fixed wrong indentation
Fix phpdbg build on FreeBSD
Fixed off-by-one in php_url_parse_ex
Fixed typo in UPGRADING and modified php.ini-* description for encoding related changes
Add support for PCRE marks
Update UPGRADING. Add more descriptions about default_charset and encoding related changes. Many thanks to Christopher.
UPGRADING (openssl updates)
Support async pgsql connections and non-blocking queries
Conflicts:
ext/pcre/php_pcre.c
ext/pgsql/pgsql.c
2014-03-18 14:03:25 +01:00
Dmitry Stogov
2e3e96b24b
Fixed zend_string*/char* mess
2014-03-18 14:53:13 +04:00
Dmitry Stogov
da9a2872b0
Fixed cleanup on request shutdown
2014-03-18 14:52:54 +04:00
Mateusz Kocielski
582032b659
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed wrong indentation
2014-03-18 10:50:16 +01:00
Mateusz Kocielski
ea12799eff
Fixed wrong indentation
2014-03-18 10:49:28 +01:00
Dmitry Stogov
89ad91a8cc
Fixed tests
2014-03-18 13:28:50 +04:00
Dmitry Stogov
6b6e903688
Fixed support for references
2014-03-18 13:20:11 +04:00
Mateusz Kocielski
1a5c51829a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix phpdbg build on FreeBSD
Fixed off-by-one in php_url_parse_ex
2014-03-18 10:03:06 +01:00
Mateusz Kocielski
b20abadf90
Fix phpdbg build on FreeBSD
...
Added missing netinet/in.h header.
2014-03-18 09:51:39 +01:00
Dmitry Stogov
2adecc6dc2
Fixed reference separation
2014-03-18 12:37:51 +04:00
Dmitry Stogov
e47c080ce8
Fixed stream_filter_remove()
2014-03-18 11:50:22 +04:00
Dmitry Stogov
a7b33bb431
Fixed memory leak
2014-03-18 11:34:09 +04:00
Dmitry Stogov
1b2b7f410f
Fixed URL scanner
2014-03-18 11:18:40 +04:00
Yasuo Ohgaki
789b10ccb5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Modified php.ini-* description for encoding related changes
2014-03-18 07:29:22 +09:00
Nikita Popov
2c31b9f506
Merge branch 'PHP-5.6'
2014-03-17 22:32:45 +01:00
Dmitry Stogov
811a523c30
Fixed error logging with date
2014-03-18 01:32:03 +04:00
Dmitry Stogov
dbc68b9b88
Fixed tests (scalar don't have reference counter, other values may get different counter values)
2014-03-18 01:16:12 +04:00
Dmitry Stogov
292c01d890
Fixed get_browser()
2014-03-18 00:55:25 +04:00
Dmitry Stogov
53a63dbd7d
Fixed stream notifier
2014-03-18 00:08:50 +04:00
Dmitry Stogov
aa5f55306b
Refactored EG(active_symbol_table) to be zend_array* instead of HashTable*
2014-03-17 23:15:22 +04:00
Dmitry Stogov
1b6327fd3b
Fixed string length
2014-03-17 21:38:48 +04:00
Xinchen Hui
3203c65c7c
Fixed COUNT_RECURSIVE reference handling
2014-03-17 22:04:54 +08:00
Daniel Lowrey
ddbd20bd29
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Support async pgsql connections and non-blocking queries
2014-03-17 08:03:54 -06:00
Dmitry Stogov
77f4c94114
Fixed test (the expected output and master behavior are wrong)
2014-03-17 17:55:51 +04:00
Dmitry Stogov
355b136466
Fixed ext/ereg problems
2014-03-17 17:38:15 +04:00
Dmitry Stogov
62c448ab8b
Fixed serialize/unserialize problems
2014-03-17 17:23:27 +04:00
Anatol Belski
87958f8cf7
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix macros
2014-03-17 11:15:13 +01:00
Anatol Belski
1ad45a3741
fix macros
2014-03-17 11:14:33 +01:00
Anatol Belski
81fc3398c1
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-17 11:08:17 +01:00
Anatol Belski
263572fbe3
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Fix bug #66873 : check if obj->src is set
updated NEWS
updated to oniguruma to 5.9.5
2014-03-17 11:07:54 +01:00
Anatol Belski
300a8df8f4
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Fix bug #66873 : check if obj->src is set
updated NEWS
updated to oniguruma to 5.9.5
Conflicts:
ext/intl/converter/converter.c
2014-03-17 10:37:46 +01:00
Stanislav Malyshev
5b6c416002
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66873 : check if obj->src is set
2014-03-17 01:20:31 -07:00
Xinchen Hui
648f1081c9
Fixed function name comparation
2014-03-17 12:32:42 +08:00
Xinchen Hui
7d8e990f29
Fixed add_ref asseration fail
2014-03-17 12:16:46 +08:00
Xinchen Hui
897a4d255a
Refactor reflection_object to fix bug after default_properties changed
2014-03-17 12:15:22 +08:00
Xinchen Hui
466dbfee88
Fixed NULL pointer dereference
2014-03-17 12:05:52 +08:00
Xinchen Hui
639c4da20a
Forgot fix similar issue in spl_recursive_it_get_method
2014-03-16 23:04:07 +08:00
Xinchen Hui
86aa343d3b
Fixed spl_dual_it_get_method
2014-03-16 23:02:14 +08:00
Xinchen Hui
b78bbe93ca
Fixed segfault (invalid free handling)
2014-03-16 22:05:38 +08:00
Xinchen Hui
5ec42e9dec
Fixed memory leak while cloning (All tests passes now in ext/date)
2014-03-16 18:09:27 +08:00
Xinchen Hui
10490a1eb2
Fixed tests, reflection doesn't return reference anymore
2014-03-16 18:09:06 +08:00
Xinchen Hui
6956d7e3eb
Refactor date to fixed bug after default_properties changed
2014-03-16 17:14:31 +08:00
Xinchen Hui
5df7fe59f3
Fixed wrong md5 str length
2014-03-16 15:52:50 +08:00
Xinchen Hui
5639a2a8ef
Reflection doesn't return ref anymore
2014-03-16 15:47:08 +08:00
Xinchen Hui
051a3eb45b
Fixed string handling in ext/spl/tests/recursive_tree_iterator_001.phpt
2014-03-16 15:45:45 +08:00
Xinchen Hui
bf5e00f2e6
Fixed reference handling in pcre_grep
2014-03-16 15:40:35 +08:00
Xinchen Hui
412ca11eda
Fixed reference arg hanlding in pcre_replace
2014-03-16 08:45:43 +08:00
Xinchen Hui
ef1e006bd6
Refactor php_pcre_replace to return zend_string
2014-03-16 08:44:07 +08:00
Anatol Belski
511ea15808
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated to oniguruma to 5.9.5
2014-03-15 18:00:38 +01:00
Xinchen Hui
6dd3d5cb36
Should not release container before dup
2014-03-15 22:43:40 +08:00
Xinchen Hui
d0bbc227aa
IS_UNDEF should never goes to user script land
2014-03-15 22:37:27 +08:00
Xinchen Hui
2a8cef80cf
Fixed typo
2014-03-15 22:23:30 +08:00
Xinchen Hui
b264e96497
Fixed bug codes in SplFileInfo::getExtension
2014-03-15 22:17:55 +08:00
Xinchen Hui
a49781f20d
Fixed refcounted
2014-03-15 22:13:55 +08:00
Xinchen Hui
9d4dca0880
Refactor Spl_Directory to fixed bug after default_properties changed
2014-03-15 22:07:40 +08:00
Xinchen Hui
34dac6ddbc
Fixed several bugs in spl_autoload
2014-03-15 19:34:07 +08:00
Xinchen Hui
c201896125
Fixed memory leak while add_mem faile
2014-03-15 19:33:36 +08:00
Xinchen Hui
19045f0d27
Fixed refcount asseration
2014-03-15 19:16:07 +08:00
Xinchen Hui
8558dc8eaf
Refactor Spl_Heap to fixed bug after default_properties change
2014-03-15 19:14:11 +08:00
Xinchen Hui
cc79496b97
Refactor Spl_Iterators to fixed default_properties change
2014-03-15 16:33:55 +08:00
Xinchen Hui
6c10f7ac36
Refactored Spl_Dllist to fixed zend_object->default_properties change
2014-03-15 14:44:50 +08:00
Xinchen Hui
4d9d08269c
Refactored Spl_Arrary to fixed zend_object->default_properties change
2014-03-15 14:32:32 +08:00
Xinchen Hui
bfe1f224b2
Fixed fixed_array returning initializing
2014-03-15 13:20:23 +08:00
Xinchen Hui
28e0a58018
Fixed fixedarray iterator fetching
2014-03-15 13:18:32 +08:00
Xinchen Hui
b2432872c4
Fixed fixed_array fetching
2014-03-15 13:12:55 +08:00
Julio Pintos
4c70701e58
fix file descriptor leak of epollfd
2014-03-14 16:47:30 -03:00
Dmitry Stogov
232f3e915c
Fixed various CLI problems
2014-03-14 18:00:42 +04:00
Dmitry Stogov
c094fc11be
Fixed refcounting
2014-03-14 15:54:49 +04:00
Anatol Belski
aa0c920cc5
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-14 12:36:50 +01:00
Dmitry Stogov
51494f252f
Don't include trailing zero into hash caclculation
2014-03-14 15:35:57 +04:00
Anatol Belski
c302a31491
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
NEWS
NEWS
NEWS
Fixed Bug #66833 Default digest algo is still MD5
reorder the struct members which reduces its size by at least 112 bytes
arg count is zend_size_t now, fix type
Fix 5.5.10 NEWS
fix declarations
Typo fix: sicret -> secret
2014-03-14 12:27:09 +01:00
Anatol Belski
78fef11fe5
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
NEWS
NEWS
NEWS
Fixed Bug #66833 Default digest algo is still MD5
Fix 5.5.10 NEWS
Typo fix: sicret -> secret
2014-03-14 12:21:20 +01:00
Remi Collet
90ea07a25c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
Fixed Bug #66833 Default digest algo is still MD5
Fix 5.5.10 NEWS
2014-03-14 09:53:35 +01:00
Dmitry Stogov
734db60eaa
Fixed reference support
2014-03-14 12:50:20 +04:00
Dmitry Stogov
5f613c0d23
Fixed support for references
2014-03-14 12:14:59 +04:00
Dmitry Stogov
dd1bd54408
Fixed support for references
2014-03-13 23:23:20 +04:00
Dmitry Stogov
493d5adab5
Fixed test (scalars don;t have reference counter any more)
2014-03-13 23:04:30 +04:00
Dmitry Stogov
b8089696c4
Fixed support for references
2014-03-13 22:56:18 +04:00
Dmitry Stogov
c1236214fe
REFERENCE is always REFCOUNTED
2014-03-13 22:07:37 +04:00
Dmitry Stogov
5f861768d6
Fixed reference conversion
2014-03-13 22:07:14 +04:00
Anatol Belski
beac52a78b
reorder the struct members which reduces its size by at least 112 bytes
2014-03-13 18:28:22 +01:00
Anatol Belski
39fa14d089
arg count is zend_size_t now, fix type
2014-03-13 18:26:43 +01:00
Dmitry Stogov
bfdaf6e806
Fixed reference support
2014-03-13 17:59:50 +04:00
Dmitry Stogov
25d55d16fc
Fixed foreach (now we store HashPointer in additional IS_TMP_VAR slot(s))
2014-03-13 17:01:28 +04:00
Anatol Belski
3a66f6343c
fix declarations
2014-03-13 05:47:31 -07:00
Lior Kaplan
14731a7501
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Typo fix: sicret -> secret
2014-03-13 12:43:15 +02:00
Dmitry Stogov
918866da5f
Fixed autoconversion from reference to ordinal value
2014-03-13 14:24:08 +04:00
Anatol Belski
386d326e8a
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-13 11:17:04 +01:00
Anatol Belski
b4c627c826
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix array types for pass by ref
fix macro
updated libs_version.txt
2014-03-13 11:16:55 +01:00
Anatol Belski
af0bc1a306
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
updated libs_version.txt
2014-03-13 11:16:12 +01:00
Anatol Belski
65fcde6651
fix array types for pass by ref
2014-03-13 11:02:05 +01:00
Anatol Belski
be0563b5b0
fix macro
2014-03-13 10:50:30 +01:00
Anatol Belski
21db15ed1d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libs_version.txt
2014-03-13 10:31:26 +01:00
Anatol Belski
90bf37bff9
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-13 10:19:02 +01:00
Anatol Belski
1f094bf6f5
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix zpp
Remove unneeded test
Update NEWS
Revert "Implement Bug #54649 Create session_serializer_name()"
Revert "Implemented Request #11100 (session_gc() function)."
made libgd recognize the 9 version series
fix include search
NEWS
NEWS
Fix bug #66887 imagescale - poor quality of scaled image
NEWS
Fixed Bug #66893i imagescale ignore method argument
Add SKIPIF in GMP test
Fix hash_pbkdf2() with missing $length argument
typo in NEWS
typo in NEWS
NEWS
NEWS
Fixed Bug #66890 imagescale segfault
Updated UPGRADING to cover PDO_pgsql changes
2014-03-13 10:18:50 +01:00
Anatol Belski
5ea53dc6df
fix zpp
2014-03-13 10:16:19 +01:00
Dmitry Stogov
6c8ac33b69
Fixed test
2014-03-13 12:42:24 +04:00
Anatol Belski
3fdbb0d39f
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Remove unneeded test
Update NEWS
Revert "Implement Bug #54649 Create session_serializer_name()"
Revert "Implemented Request #11100 (session_gc() function)."
made libgd recognize the 9 version series
fix include search
NEWS
NEWS
Fix bug #66887 imagescale - poor quality of scaled image
NEWS
Fixed Bug #66893i imagescale ignore method argument
Add SKIPIF in GMP test
Fix hash_pbkdf2() with missing $length argument
typo in NEWS
typo in NEWS
NEWS
NEWS
Fixed Bug #66890 imagescale segfault
Updated UPGRADING to cover PDO_pgsql changes
Conflicts:
ext/gd/gd.c
ext/hash/hash.c
ext/session/session.c
2014-03-13 08:38:58 +01:00
Yasuo Ohgaki
ea72093259
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove unneeded test
2014-03-13 06:55:10 +09:00
Yasuo Ohgaki
0021095c40
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert "Implement Bug #54649 Create session_serializer_name()"
Revert "Implemented Request #11100 (session_gc() function)."
2014-03-13 06:33:28 +09:00
Dmitry Stogov
e0dd8a4f4b
Fixed IS_INDIRECT handling when assign array element by reference.
...
This might cause passing invalid pointer if the array could be resized before IS_INDIRECT usage.
Now we use IS_REFERENCE instead of IS_INDIRECT.
The following test crashed before:
<?php $a = array(0,1,2,3,4,5,6,7); $a[8] = &$a[7]; ?>
2014-03-13 00:30:53 +04:00
Anatol Belski
f407482fcc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
made libgd recognize the 9 version series
2014-03-12 19:31:21 +01:00
Anatol Belski
983e105d6b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix include search
2014-03-12 19:25:44 +01:00
Remi Collet
1db6ecc235
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fix bug #66887 imagescale - poor quality of scaled image
2014-03-12 17:13:55 +01:00
Remi Collet
a498e64914
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fixed Bug #66893i imagescale ignore method argument
2014-03-12 15:36:52 +01:00
Nikita Popov
e2a5859b2f
Merge branch 'PHP-5.6'
2014-03-12 14:17:27 +01:00
Remi Collet
bc8095350d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
typo in NEWS
typo in NEWS
2014-03-12 14:08:36 +01:00
Remi Collet
ee06def81b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fixed Bug #66890 imagescale segfault
2014-03-12 13:47:36 +01:00
Matteo Beccati
f35aba1874
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated UPGRADING to cover PDO_pgsql changes
2014-03-12 12:32:25 +01:00
Dmitry Stogov
72f738c368
Fixed reference afto conversion
2014-03-12 12:07:03 +04:00
Anatol Belski
bda12b052a
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-12 09:06:05 +01:00
Anatol Belski
c6f5be6427
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Updated NEWS
Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParams
Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT
Drop PDO support for extremely old libpq versions
Fix compile error with theoretically supported versions of libcurl < 7.12.3.
2014-03-12 09:05:51 +01:00
Anatol Belski
63d06ce9b0
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Updated NEWS
Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParams
Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT
Drop PDO support for extremely old libpq versions
Fix compile error with theoretically supported versions of libcurl < 7.12.3.
Conflicts:
ext/pdo_pgsql/pdo_pgsql.c
ext/pdo_pgsql/pgsql_driver.c
2014-03-12 09:02:39 +01:00
Matteo Beccati
f702bf3178
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added new PDO::PGSQL_ATTR_DISABLE_PREPARES that uses PQexecParams
Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT
Drop PDO support for extremely old libpq versions
2014-03-11 23:30:18 +01:00
Dmitry Stogov
d708d3c596
Fixed passing arguments by reference from internal functions
2014-03-11 22:33:28 +04:00
Adam Harvey
4ab192908f
Merge branch 'PHP-5.6'
2014-03-11 11:07:21 -07:00
Anatol Belski
7fbf929125
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-11 16:36:35 +01:00
Anatol Belski
7d770a9d50
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix path separator
Use /dev/urandom as the default mcrypt_create_iv() source
Add tests for bug #66872 and gmp_[rem]root
Fixed mcrypt test case
Removed bogus loops
restored the old code in 5.4/5 related to bug #66872
2014-03-11 16:36:12 +01:00
Anatol Belski
f224455520
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix path separator
2014-03-11 16:30:43 +01:00
Anatol Belski
664b38a21d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix path separator
2014-03-11 16:29:53 +01:00
Anatol Belski
adbb44537a
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Use /dev/urandom as the default mcrypt_create_iv() source
Add tests for bug #66872 and gmp_[rem]root
Fixed mcrypt test case
Removed bogus loops
restored the old code in 5.4/5 related to bug #66872
Conflicts:
ext/mcrypt/mcrypt.c
2014-03-11 15:32:07 +01:00
Nikita Popov
32103286de
Merge branch 'PHP-5.6'
2014-03-11 14:06:57 +01:00
Tjerk Meesters
ea72a9b771
Merge branch 'PHP-5.6'
2014-03-11 19:17:11 +08:00
Anatol Belski
4bebb23d00
Merge branch 'PHP-5.6'
...
* PHP-5.6:
restored the old code in 5.4/5 related to bug #66872
2014-03-11 11:53:42 +01:00
Dmitry Stogov
8863df3653
Fixed reference handling
2014-03-11 14:49:25 +04:00
Anatol Belski
b873bb63c5
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
inject it directly. This is not C++ and I don't want to use hacks with similar structures that are binary compatible. Better be explicit.
Conflicts:
ext/mysqlnd/mysqlnd_structs.h
2014-03-11 09:58:36 +01:00
Anatol Belski
b99af06dfe
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Fixed Bug #66875 (Improve performance of multi-row OCI_RETURN_LOB queries)
2014-03-11 09:56:44 +01:00
Anatol Belski
78bbfd7fac
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Fixed Bug #66875 (Improve performance of multi-row OCI_RETURN_LOB queries)
2014-03-11 09:46:41 +01:00
Anatol Belski
0ae46ce747
no need to fetch ts id here
2014-03-11 09:40:47 +01:00
Anatol Belski
ddf306fdd2
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
updated libsqlite to 3.8.3.1 in 5.5 branch, too
DI
Switch from a single flag to a flag byte
updated libmagic.patch
updated libmagic.patch
Conflicts:
Zend/zend_language_scanner.c
2014-03-11 09:40:08 +01:00
Anatol Belski
bed93450cd
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
updated libsqlite to 3.8.3.1 in 5.5 branch, too
DI
Switch from a single flag to a flag byte
updated libmagic.patch
updated libmagic.patch
update NEWS
fix #66872 , invalid argument crashes gmp_testbit
fix #66872 , invalid argument crashes gmp_testbit
update news
- fix #66869 , Invalid 2nd argument crashes imageaffinematrixget
add vc12 (2013)
add vc12 (2013)
Conflicts:
Zend/zend_ini_scanner.c
Zend/zend_language_scanner.c
ext/mysqlnd/mysqlnd_structs.h
2014-03-11 09:26:05 +01:00
Dmitry Stogov
4b5e67638e
Reverted wrong fix
2014-03-11 11:34:23 +04:00
Xinchen Hui
53e312c663
Review ended
...
Revert "An demo(for review) to show how to fix the problem(symbol table resize)"
This reverts commit 60c354510b .
2014-03-11 14:23:14 +08:00
Christopher Jones
cc409199f9
Merge branch 'master' of https://git.php.net/repository/php-src
...
# By Andrey Hristov (3) and Anatol Belski (1)
# Via Andrey Hristov (8) and others
* 'master' of https://git.php.net/repository/php-src :
inject it directly. This is not C++ and I don't want to use hacks with similar structures that are binary compatible. Better be explicit.
updated libsqlite to 3.8.3.1 in 5.5 branch, too
DI
Switch from a single flag to a flag byte
2014-03-10 16:46:43 -07:00
Christopher Jones
de4ff2c5a4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed Bug #66875 (Improve performance of multi-row OCI_RETURN_LOB queries)
2014-03-10 16:34:21 -07:00
Andrey Hristov
fa2e8615bf
Merge branch 'master' of git.php.net:php-src
2014-03-10 19:24:29 +02:00
Andrey Hristov
5e836b443c
Merge branch 'PHP-5.6'
2014-03-10 19:16:22 +02:00
Andrey Hristov
d2a291393a
inject it directly. This is not C++ and I don't want to use hacks with similar structures
...
that are binary compatible. Better be explicit.
2014-03-10 19:15:30 +02:00
Anatol Belski
6cac2eec27
Merge branch 'master' of git.php.net:php-src
2014-03-10 17:52:32 +01:00
Anatol Belski
720522a24d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libsqlite to 3.8.3.1 in 5.5 branch, too
2014-03-10 17:51:05 +01:00
Andrey Hristov
3456d47235
Merge branch 'PHP-5.6'
2014-03-10 18:19:22 +02:00
Andrey Hristov
07738a0f2b
Merge branch 'PHP-5.6'
2014-03-10 17:52:48 +02:00
Andrey Hristov
2cece8574f
Merge branch 'master' of git.php.net:php-src
2014-03-10 17:34:08 +02:00
Pierre Joye
b1e661e0c5
Merge branch 'master' of git.php.net:php-src
...
# By Anatol Belski
# Via Anatol Belski
* 'master' of git.php.net:php-src:
updated libmagic.patch
updated libmagic.patch
fix ZTS
2014-03-10 16:26:57 +01:00
Andrey Hristov
f995187d34
Merge branch 'PHP-5.6'
2014-03-10 17:26:13 +02:00
Anatol Belski
cfe1a63f4d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch
updated libmagic.patch
2014-03-10 14:18:06 +01:00
Anatol Belski
82c056235a
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
fix ZTS
update NEWS
fix #66872 , invalid argument crashes gmp_testbit
fix #66872 , invalid argument crashes gmp_testbit
update news
- fix #66869 , Invalid 2nd argument crashes imageaffinematrixget
Fixed mcrypt test case
add vc12 (2013)
add vc12 (2013)
Conflicts:
ext/openssl/openssl.c
2014-03-10 12:45:17 +01:00
Anatol Belski
b582be1e23
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Fix indentation
2014-03-10 12:33:02 +01:00
Anatol Belski
be9c9da186
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Fix indentation
2014-03-10 12:30:09 +01:00
Anatol Belski
4b9cf5468a
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (48 commits)
more fixes to ext/mcrypt
partly revert the wrong merge
Do not remove *.1, it's not generated by make but configure
Fix typo: entory -> entry
after merge fixes
updated NEWS
removed the libsqlite patch as it's not relevant anymore
updated bundled libsqlite to 3.8.3.1
add OPSYS_Z_CPM missing constant
Update php.ini files (new openssl directives)
Fixed null termination
Updated NEWS for #65545
Updated NEWS for #65545
Add fread(length) method
Updated news for #66822
Allow T_POW in constant expressions
Fix typo
Fix #66698 : Add fnv1a32 and fnv1a64 hash options
Fix HTML entity table generation
Add test for bug #62102 / RFC 2144
...
Conflicts:
ext/openssl/openssl.c
ext/openssl/xp_ssl.c
2014-03-10 12:28:00 +01:00
Anatol Belski
dd7ecf2c5b
fix ZTS
2014-03-10 12:24:32 +01:00
Pierre Joye
6d6da2f189
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update NEWS
fix #66872 , invalid argument crashes gmp_testbit
fix #66872 , invalid argument crashes gmp_testbit
add vc12 (2013)
2014-03-10 12:19:36 +01:00
Pierre Joye
5f88102fca
Merge branch 'master' of git.php.net:php-src
...
# By Andrey Hristov (1) and others
# Via Andrey Hristov (3) and others
* 'master' of git.php.net:php-src:
Fix indentation
Do not remove *.1, it's not generated by make but configure
Fix typo: entory -> entry
2014-03-10 12:19:32 +01:00
Andrey Hristov
9a112e00cd
Merge branch 'PHP-5.6'
2014-03-10 12:55:53 +02:00
Anatol Belski
61363d4751
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Do not remove *.1, it's not generated by make but configure
Fix typo: entory -> entry
2014-03-10 11:16:19 +01:00
Anatol Belski
8cea765858
more fixes to ext/mcrypt
2014-03-10 11:15:34 +01:00
Xinchen Hui
60c354510b
An demo(for review) to show how to fix the problem(symbol table resize)
2014-03-10 16:25:05 +08:00
Xinchen Hui
80625f20e5
Revert "An demo(for review) to show how to fix the problem we meet"
...
This reverts commit 4aeae15706 .
2014-03-10 16:24:35 +08:00
Anatol Belski
0190e37ec6
partly revert the wrong merge
2014-03-10 09:21:12 +01:00
Xinchen Hui
29500848f6
Merge branch 'PHP-5.6'
2014-03-10 15:55:20 +08:00
Xinchen Hui
4aeae15706
An demo(for review) to show how to fix the problem we meet
2014-03-10 11:29:28 +08:00
Xinchen Hui
a38694be52
Fixed warning mesg
2014-03-10 10:49:53 +08:00
Lior Kaplan
7cf0931f18
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix typo: entory -> entry
2014-03-09 23:07:48 +02:00
Pierre Joye
c1732700db
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update news
- fix #66869 , Invalid 2nd argument crashes imageaffinematrixget
add vc12 (2013)
2014-03-09 21:18:23 +01:00
Pierre Joye
bf58535965
Merge branch 'master' of git.php.net:php-src
...
# By Nikita Popov (10) and others
# Via Remi Collet (9) and others
* 'master' of git.php.net:php-src: (41 commits)
updated NEWS
removed the libsqlite patch as it's not relevant anymore
updated bundled libsqlite to 3.8.3.1
Fixed mcrypt test case
add OPSYS_Z_CPM missing constant
Update php.ini files (new openssl directives)
Fixed null termination
Updated NEWS for #65545
Updated NEWS for #65545
Add fread(length) method
Updated news for #66822
Allow T_POW in constant expressions
Fix typo
Fix #66698 : Add fnv1a32 and fnv1a64 hash options
Fix HTML entity table generation
Add test for bug #62102 / RFC 2144
Whitespace.
Misc cleanup including adding the version number
Fix order in NEWS
Add CVE ref (not known at release time)
...
2014-03-09 17:06:57 +01:00
Anatol Belski
2a2649ed0a
after merge fixes
2014-03-09 16:17:44 +01:00
Anatol Belski
7b8ba8e3e3
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (43 commits)
updated NEWS
removed the libsqlite patch as it's not relevant anymore
updated bundled libsqlite to 3.8.3.1
add OPSYS_Z_CPM missing constant
Update php.ini files (new openssl directives)
Fixed null termination
Updated NEWS for #65545
Updated NEWS for #65545
Add fread(length) method
Updated news for #66822
Allow T_POW in constant expressions
Fix typo
Fix #66698 : Add fnv1a32 and fnv1a64 hash options
Fix HTML entity table generation
Add test for bug #62102 / RFC 2144
Whitespace.
Misc cleanup including adding the version number
Fix order in NEWS
Add CVE ref (not known at release time)
Fix NEWS for 5.5.11 fix (really not in 5.5.10)
...
Conflicts:
ext/mcrypt/mcrypt.c
ext/mysqlnd/mysqlnd.h
ext/mysqlnd/mysqlnd_ps.c
ext/mysqlnd/mysqlnd_result.c
ext/mysqlnd/mysqlnd_result.h
ext/mysqlnd/mysqlnd_structs.h
ext/openssl/openssl.c
ext/openssl/xp_ssl.c
ext/zip/php_zip.c
2014-03-09 15:00:36 +01:00
Xinchen Hui
43eaced19f
All tests passed in ext/standard/tests/dir now
2014-03-09 20:10:02 +08:00
Xinchen Hui
2465f5c6d9
Use list_close here (by ext/standard/tests/dir/closedir_basic.phpt)
2014-03-09 20:08:06 +08:00
Anatol Belski
e3776042b9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
2014-03-09 13:06:51 +01:00
Anatol Belski
efd983a40f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
removed the libsqlite patch as it's not relevant anymore
2014-03-09 13:04:14 +01:00
Xinchen Hui
661df93ea8
IS_REFERENCE is unfrequent
2014-03-09 20:03:24 +08:00
Anatol Belski
c34aa1cd63
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated bundled libsqlite to 3.8.3.1
2014-03-09 13:02:33 +01:00
Xinchen Hui
9f3687d4db
Use list_close here to fix ext/standard/tests/file/popen_pclose_basic.phpt
2014-03-09 19:56:48 +08:00
Xinchen Hui
6c557d867c
Fixed ref hanlding in ADD_ARRAY_ELEMENT (by ext/standard/tests/array/bug30074.phpt)
2014-03-09 19:45:45 +08:00
Xinchen Hui
b2b457a7e0
Fixed wrong addref usage in extract
2014-03-09 11:53:06 +08:00
Xinchen Hui
4b40e40ad0
Fixed memleak while sending IS_REFERENCE
2014-03-09 11:48:09 +08:00
Xinchen Hui
f1ed4f6bf9
Fixed parse_ini_file
2014-03-09 11:35:20 +08:00
Xinchen Hui
7668f7f95a
Fixed double free in parse_ini_string
2014-03-09 11:06:06 +08:00
Xinchen Hui
350260624d
Fixing SplFixedArray (this probably will be revert, just show what the problem is)
2014-03-08 19:03:38 +08:00
Tjerk Meesters
84efa66e4d
Updated test case with expected output
2014-03-08 16:17:30 +08:00
Tjerk Meesters
d09eb1504a
Fixed mcrypt test case
2014-03-08 16:16:46 +08:00
Xinchen Hui
1d4cea40e3
Refactor SplObjectStorage make it works
2014-03-08 14:47:55 +08:00
Dmitry Stogov
7cd78822ab
Fixed assignment to reference
2014-03-08 00:02:12 +04:00
Xinchen Hui
3f794ba743
Improve codes
2014-03-07 22:33:36 +08:00
Dmitry Stogov
f0989e332f
Fixed char*/zend_string* inconsistency
2014-03-07 18:23:57 +04:00
Dmitry Stogov
6ad3abcd3e
Temporary fix memory leaks
2014-03-07 17:21:29 +04:00
Dmitry Stogov
b671c3a28a
Fixed refcounting
2014-03-07 17:17:35 +04:00
Dmitry Stogov
d599d0cecd
Temporary fix memory leaks
2014-03-07 17:14:16 +04:00
Remi Collet
397b8aa2ad
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add OPSYS_Z_CPM missing constant
2014-03-07 14:10:31 +01:00
Dmitry Stogov
ab3d1e0d03
Temporary fix memory leaks
2014-03-07 17:09:45 +04:00
Dmitry Stogov
97156bc141
Fixed string length
2014-03-07 17:06:13 +04:00
Dmitry Stogov
e9855b1992
Fixed pass by reference special cases
2014-03-07 16:45:32 +04:00
Daniel Lowrey
ddd855cbc2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update php.ini files (new openssl directives)
2014-03-07 05:26:48 -07:00
Dmitry Stogov
6d67dd3103
Fixed refcounting
2014-03-07 15:58:09 +04:00
Tjerk Meesters
777831a24b
Merge branch 'PHP-5.6'
2014-03-07 19:24:50 +08:00
Tjerk Meesters
7137775ec2
Merge branch 'PHP-5.6'
2014-03-07 19:01:53 +08:00
Xinchen Hui
5edbe296ef
Fixed bug codes in stream_resolve_include_path....
2014-03-07 18:01:22 +08:00
Xinchen Hui
be6e417fdc
Fixed memory leak (double array_init)
2014-03-07 17:48:54 +08:00
Xinchen Hui
3da247e7a8
Forgot to remove unused codes
2014-03-07 17:41:02 +08:00
Xinchen Hui
4b3e6fc129
Refactor reference handling
2014-03-07 17:08:14 +08:00
Xinchen Hui
cc03c3faae
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-07 16:51:55 +08:00
Xinchen Hui
c2933c234c
Fixed invalid pointer usage (tests/output/ob_start_callbacks.phpt)
2014-03-07 16:49:01 +08:00
Dmitry Stogov
03c7ab5a95
Fixed return by reference
2014-03-07 12:25:55 +04:00
Dmitry Stogov
81531116c1
Fixed support for references
2014-03-07 11:32:07 +04:00
Xinchen Hui
7c623c0e89
Fixed asseration failed in ob_get_status
2014-03-07 15:12:52 +08:00
Bob Weinand
75435e30ae
Merge branch 'PHP-5.6'
2014-03-07 07:41:16 +01:00
Xinchen Hui
7003e76512
Fixed numeric string handling length
2014-03-07 14:35:14 +08:00
Xinchen Hui
ecc0687398
Fixed IS_REFERENCE handling in sort()
2014-03-07 13:51:39 +08:00
Xinchen Hui
f3a6c30cca
IS_REFERENCE is unfrequent
2014-03-07 13:51:04 +08:00
Nikita Popov
45ed85941e
Merge branch 'PHP-5.6'
2014-03-06 23:39:21 +01:00
Nikita Popov
4c3454fbdc
Merge branch 'PHP-5.6'
2014-03-06 23:15:37 +01:00
Dmitry Stogov
5343cd3216
Fixed guard support in magic method __set()
2014-03-07 02:03:25 +04:00
Nikita Popov
7220eddf9e
Merge branch 'PHP-5.6'
2014-03-06 22:40:31 +01:00
Dmitry Stogov
85a5712955
Fixed __FILE__ and __METHOD__ constants
2014-03-07 01:34:03 +04:00
Dmitry Stogov
6b303a6bd6
Fixed refcounting
2014-03-07 01:33:33 +04:00
Dmitry Stogov
6fd8d0d8f6
Fixed test
2014-03-07 01:00:26 +04:00
Dmitry Stogov
b146ed1607
Fixed dynamic properties cloning
2014-03-07 00:50:02 +04:00
Dmitry Stogov
70260d133e
Fixed memory leak
2014-03-07 00:26:21 +04:00
Dmitry Stogov
fff3c54f9e
Added check
2014-03-06 22:07:28 +04:00
Xinchen Hui
10c7f2ddbc
Fixed IS_REFERENCE handling in preg_match
2014-03-06 23:39:34 +08:00
Xinchen Hui
2d45dce4aa
Second argument of call_user_method is ref
2014-03-06 23:32:47 +08:00
Xinchen Hui
00cf4e5a58
Have no idea why I changed it to 0 in 70ddc853
2014-03-06 23:28:31 +08:00
Xinchen Hui
95d31d773f
Fixed refcounted on INTERNED string
2014-03-06 23:18:48 +08:00
Xinchen Hui
e1a29600bc
To be consistent with old PHP in is_callable(do we really need it?)
2014-03-06 23:16:06 +08:00
Dmitry Stogov
9ed631a4d0
Fixed ArrayAccess behavior
2014-03-06 17:59:17 +04:00
Dmitry Stogov
3e4c22b499
Fixed possible HashTable modification in its destructor
2014-03-06 16:53:13 +04:00
Dmitry Stogov
dfe1fd73bf
Fixed uninitialized value
2014-03-06 16:09:00 +04:00
Dmitry Stogov
60eac8b860
Fixed string offset handling
2014-03-06 16:00:38 +04:00
Xinchen Hui
a1052c51f8
Fixed wrong fix for tmpbuf
2014-03-06 19:22:59 +08:00
Xinchen Hui
9e9737061e
Fixed IS_REFERENCE handling
2014-03-06 19:07:59 +08:00
Xinchen Hui
3290476a9f
Fixed wrong merges
2014-03-06 19:06:05 +08:00
Xinchen Hui
9eb9ba3aa8
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
...
Conflicts:
ext/standard/formatted_print.c
2014-03-06 19:03:22 +08:00
Xinchen Hui
11166882c0
Fixed memory leak in ext/standard/tests/strings/str_word_count.php
2014-03-06 19:00:51 +08:00
Xinchen Hui
9a81b6dea4
Fixed memory leak in ext/standard/tests/time/strptime_parts.php
2014-03-06 18:51:20 +08:00
Xinchen Hui
bbacddaf90
Fixed memory leak in vfprintf
2014-03-06 18:47:43 +08:00
Dmitry Stogov
08aadb0638
Fixed memory leak
2014-03-06 14:42:16 +04:00
Xinchen Hui
e4f5b9ac38
Fixed memory leak in getimagesize
2014-03-06 18:30:32 +08:00
Dmitry Stogov
0b6af57256
Fixed memory leaks
2014-03-06 14:29:36 +04:00
Xinchen Hui
b212461297
IS_REFERENCE is unfrequent
2014-03-06 18:23:16 +08:00
Xinchen Hui
6ee7240119
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-06 18:07:42 +08:00
Xinchen Hui
ddf3861923
Fixed memory leak in vsprintf
2014-03-06 18:06:41 +08:00
Remi Collet
4e87968821
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix order in NEWS
Add CVE ref (not known at release time)
Fix NEWS for 5.5.11 fix (really not in 5.5.10)
5.5.10 release date for NEWS
2014-03-06 11:02:48 +01:00
Dmitry Stogov
076da5a372
Fixed IS_REFERENCE support
2014-03-06 13:59:15 +04:00
Xinchen Hui
66dead5239
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-06 17:39:00 +08:00
Xinchen Hui
089820e102
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-06 17:33:22 +08:00
Dmitry Stogov
8d2fb9d479
Internal functions may return (e.g. on wrong arguments) keeping the original return_value. So we have to initialize return_value as IS_NULL.
2014-03-06 13:32:43 +04:00
Dmitry Stogov
9ae9460bd0
Fixed refcounting
2014-03-06 13:32:26 +04:00
Remi Collet
b4d65a0e94
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Set default Digest Message to use SHA1 instead of MD5 in openssl tests as MD5 signature are now rejected by newer openssl Version.
Add NEWS/UPGRADING notes (openssl + curl)
2014-03-06 10:16:40 +01:00
Dmitry Stogov
9727b47418
Fixed ArrayAccess handling
2014-03-06 13:11:23 +04:00
Xinchen Hui
bc18a22e44
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-06 16:44:11 +08:00
Dmitry Stogov
2eb980f614
IS_REFERENCE with refcount==1 should be handled as ordinal value
2014-03-06 12:37:46 +04:00
Xinchen Hui
86227d3403
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-06 14:17:49 +08:00
Dmitry Stogov
f3b4b16883
Fixed passing reference by value in call_user_func()
2014-03-06 01:04:28 +04:00
Dmitry Stogov
9ebd9388ee
Fixed Generator::throw()
2014-03-06 00:45:53 +04:00
Dmitry Stogov
018be97c0d
Fixed support for undefined constants in RECV_INIT
2014-03-06 00:15:56 +04:00
Dmitry Stogov
712dd6c68e
Fixed "foreach ($reference as $val)"
2014-03-05 23:22:50 +04:00
Daniel Lowrey
1f5459572e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add encrypted server SNI support
Raise timeout to 2s, reworded ssl timeout warning
Refactor + reorganize openssl files
2014-03-05 10:23:54 -07:00
Andrey Hristov
1c1ee4672d
Merge branch 'master' of git.php.net:php-src
2014-03-05 16:46:45 +02:00
Nikita Popov
94e308da7a
Merge branch 'PHP-5.6'
2014-03-05 15:38:56 +01:00
Xinchen Hui
9a4e16db6f
Fixed zend_is_true to support IS_REFERENCE
2014-03-05 22:31:02 +08:00
Andrey Hristov
529fdd5bb0
Merge branch 'PHP-5.6'
2014-03-05 16:24:43 +02:00
Xinchen Hui
84f20dc212
Invalid free of args("+")
2014-03-05 22:19:02 +08:00
Dmitry Stogov
c5af715f2b
Fixed hidden property handling
2014-03-05 17:57:21 +04:00
Dmitry Stogov
28aacbfe15
It's not possible to create reference to string-offset
2014-03-05 17:32:23 +04:00
Dmitry Stogov
47f9014458
Fixed array_nultisort() to support IS_REFERENCE
2014-03-05 17:23:40 +04:00
Dmitry Stogov
84c092f6d6
Fixed by reference parameter passing from internal functions
2014-03-05 16:17:00 +04:00
Dmitry Stogov
da75df6faa
Fixed string lengths
2014-03-05 16:04:28 +04:00
Dmitry Stogov
7320abbaa9
Reverted "efree(args);" removed by mistake
2014-03-05 15:49:24 +04:00
Dmitry Stogov
50d899dda3
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-05 15:34:50 +04:00
Dmitry Stogov
b763baff97
Temporary fix for lazy symbol table initialization called from zemd_error(), that converts CV variables into IS_INDIRECT
2014-03-05 15:33:31 +04:00
Xinchen Hui
ef01b7937e
Fixed wrong hash value in ext/standard/tests/array/array_combine.php
2014-03-05 18:39:20 +08:00
Xinchen Hui
70b7887712
Fixed refcounted handling
2014-03-05 18:17:16 +08:00
Xinchen Hui
74c2deecd8
Fixed refcounted
2014-03-05 18:11:22 +08:00
Xinchen Hui
581fa5822e
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
...
Conflicts:
ext/standard/array.c
2014-03-05 18:02:35 +08:00
Xinchen Hui
bfaa9669a6
Fixed refcounted
2014-03-05 18:00:46 +08:00
Dmitry Stogov
3733737328
Handle interned strings as non-refcounted scalars
2014-03-05 13:55:56 +04:00
Xinchen Hui
0791bdb562
retval might be IS_UNDEF even the call is successed
2014-03-05 17:53:01 +08:00
Remi Collet
1a94fca35e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
2014-03-05 10:46:01 +01:00
Pierre Joye
d1ac107077
Merge branch 'master' of git.php.net:php-src
...
# By krakjoe (558) and others
# Via Anatol Belski (126) and others
* 'master' of git.php.net:php-src: (1484 commits)
NEWS
NEWS
Fixed Bug #66820 out-of-bounds memory access in fileinfo
Improves fix for memory leak, keep in sync with upstream.
Add notice about tsrm_virtual_cwd.h moved to zend_virtual_cwd.h as this introduce need for awfull hacks...
Fixed NEWS for #60602
Fixed news for #60602
Updated news for #60602
proc_open(): separate environment values that aren't strings
Added DateTimeImmutable::createFromMutable.
Sort alphabetically
Fixed NEWS.
Capture peer cert even if verify fails
Windows cert verify improvements + leak fixes
turn off some false positives
support for static analyzers other than visual studio
fix wording
reveal more info on the configure options
Updated news for #66535 and #66109
Updated news for #66535 and #66109
...
2014-03-05 10:45:58 +01:00
Remi Collet
3686b6bd90
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fixed Bug #66815 imagecrop(): insufficient fix for NULL defer CVE-2013-7327
2014-03-05 10:44:12 +01:00
Xinchen Hui
75d567ef9a
Fixed NULL pointer def in ext/standard/tests/array/array_fill_keys_variation2.php
2014-03-05 17:31:10 +08:00
Xinchen Hui
36f01f158c
Fixed NULL pointer dereference
2014-03-05 17:29:29 +08:00
Xinchen Hui
2ee6bc1309
Remove "efree(args")
2014-03-05 17:07:09 +08:00
Xinchen Hui
57ae19a0b7
Checkout refcounted before doing addref
2014-03-05 17:02:50 +08:00
Xinchen Hui
cb5e9eac9f
Fixed memory leak (ext/standard/tests/file/stream_002.phpt)
2014-03-05 16:03:05 +08:00
Xinchen Hui
dc889b69ef
Fixed segfault (op2 maybe equal to result)
2014-03-05 15:43:57 +08:00
Dmitry Stogov
dd7c7e6fb2
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
...
Conflicts:
ext/standard/formatted_print.c
2014-03-05 11:26:35 +04:00
Dmitry Stogov
040dea8b82
Arguments taken by internal functions using zend_parse_parameters() with "+" and "*" specifications must not be deallocated anymore.
2014-03-05 11:10:52 +04:00
Xinchen Hui
8218ab7724
Fixed memory leak
2014-03-05 14:43:20 +08:00
Xinchen Hui
d6d28458d5
Fixed unlink file
2014-03-05 14:40:49 +08:00
Xinchen Hui
f76a64fd3a
Fixed variable name register
2014-03-05 14:20:47 +08:00
Xinchen Hui
d5fa6b2467
Fixed name length in get_include_path
2014-03-05 12:16:57 +08:00
Xinchen Hui
37343cc17d
Fixed var_export reference handling
2014-03-05 12:10:43 +08:00
Xinchen Hui
53a3210750
Fixed refcount showing
2014-03-05 12:06:56 +08:00
Xinchen Hui
91a1e7b90b
Fixed warning mesgs
2014-03-05 12:05:28 +08:00
Xinchen Hui
63a1b34924
Fixed segfault
2014-03-05 11:44:51 +08:00
Xinchen Hui
1c42751316
Refactor stream_get_record to return zend_string
2014-03-05 11:41:21 +08:00
Xinchen Hui
2cdc90bd94
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-05 11:30:51 +08:00
Xinchen Hui
1a828f42ea
Fixed stream_cast
2014-03-05 11:28:31 +08:00
Dmitry Stogov
19670c2bbc
Fixied calling object closures from internal functions
2014-03-05 01:54:21 +04:00
Dmitry Stogov
db7b5325f0
Fixed IS_REFERENCE separation
2014-03-05 00:28:01 +04:00
Dmitry Stogov
6b8c46dc76
Fixed passing by reference
2014-03-04 23:54:05 +04:00
Remi Collet
eaaf3f0f57
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
Fixed Bug #66820 out-of-bounds memory access in fileinfo
2014-03-04 20:39:11 +01:00
Dmitry Stogov
58918431e9
Fixed test
2014-03-04 23:30:56 +04:00
Anatol Belski
902824b70e
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-04 20:23:15 +01:00
Anatol Belski
30cad90261
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Improves fix for memory leak, keep in sync with upstream.
Add notice about tsrm_virtual_cwd.h moved to zend_virtual_cwd.h as this introduce need for awfull hacks...
Fixed NEWS for #60602
Fixed news for #60602
Updated news for #60602
proc_open(): separate environment values that aren't strings
Added DateTimeImmutable::createFromMutable.
Sort alphabetically
Fixed NEWS.
Capture peer cert even if verify fails
Windows cert verify improvements + leak fixes
Updated news for #66535 and #66109
Updated NEWS for #66535
Conflicts:
ext/openssl/xp_ssl.c
2014-03-04 20:20:15 +01:00
Anatol Belski
b186b2774a
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Improves fix for memory leak, keep in sync with upstream.
Add notice about tsrm_virtual_cwd.h moved to zend_virtual_cwd.h as this introduce need for awfull hacks...
Fixed NEWS for #60602
Fixed news for #60602
Updated news for #60602
proc_open(): separate environment values that aren't strings
Added DateTimeImmutable::createFromMutable.
Sort alphabetically
Fixed NEWS.
Capture peer cert even if verify fails
Windows cert verify improvements + leak fixes
Updated news for #66535 and #66109
Updated NEWS for #66535
Conflicts:
ext/standard/proc_open.c
2014-03-04 19:50:25 +01:00
Dmitry Stogov
8b82b3e735
Fixed return of references by value
2014-03-04 17:38:19 +04:00
Dmitry Stogov
38151a38ec
Fixed dereferencing of value returned from function (foo()[1] = ...)
2014-03-04 17:23:23 +04:00
Dmitry Stogov
ba30f1e946
Fixed assign by reference
2014-03-04 17:04:46 +04:00
Remi Collet
93f4ca0ea9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Improves fix for memory leak, keep in sync with upstream.
2014-03-04 13:46:33 +01:00
Dmitry Stogov
dbb6837627
EG(error_zval) must be passed as IS_INDIRECT
2014-03-04 16:32:40 +04:00
Xinchen Hui
12478f7287
Fixed warning msg
2014-03-04 20:31:24 +08:00
Xinchen Hui
f853449ce8
Fixed memory leak temporary
2014-03-04 20:29:48 +08:00
Xinchen Hui
c1ec21e265
Fixed memory leak
2014-03-04 20:25:26 +08:00
Xinchen Hui
851ba9a198
Fixed warning mesg
2014-03-04 20:10:41 +08:00
Xinchen Hui
4358e4b7cd
Fixed base64decode usage
2014-03-04 20:08:06 +08:00
Dmitry Stogov
f88816acbb
Fixed next index insetion through magic function ($obj[] = ...)
2014-03-04 16:07:42 +04:00
Dmitry Stogov
1de1fa2821
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-04 15:13:38 +04:00
Xinchen Hui
bab58ab97e
Fixed stream_select (incompeleted)
2014-03-04 19:12:43 +08:00
Xinchen Hui
d28af8ef3d
Fixed wrapper errors realted tests
2014-03-04 18:22:15 +08:00
Dmitry Stogov
e0f6bae56b
Passing symbol_table into user error handlers
2014-03-04 14:17:17 +04:00
Dmitry Stogov
7bc5d0b1f4
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-04 12:29:09 +04:00
Dmitry Stogov
1be0df935f
Fixed destruction of VM handler operands (FREE_OP1 and family)
2014-03-04 12:27:50 +04:00
Xinchen Hui
e3de898d98
Paramter are references
2014-03-03 23:14:57 +08:00
Xinchen Hui
d821c90148
Return empty string
2014-03-03 23:09:31 +08:00
Xinchen Hui
1f228e46d0
Error message has been changed
2014-03-03 22:39:20 +08:00
Remi Collet
945d50c25c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add notice about tsrm_virtual_cwd.h moved to zend_virtual_cwd.h as this introduce need for awfull hacks...
2014-03-03 15:34:02 +01:00
Dmitry Stogov
27d3b5b5b4
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-03 15:40:36 +04:00
Dmitry Stogov
fe8c0b889f
Fixed return_value destruction
2014-03-03 15:36:58 +04:00
Xinchen Hui
eb7a9c7c47
Fixed wrong data type (all tests passed in ext/network now)
2014-03-03 18:27:45 +08:00
Xinchen Hui
4e9f2c7c00
Temorary fixed memleak
2014-03-03 18:24:06 +08:00
Xinchen Hui
6374fce5db
Wrong type check
2014-03-03 18:23:12 +08:00
Xinchen Hui
dae6e672c2
Fixed reference arguments handling
2014-03-03 18:20:53 +08:00
Xinchen Hui
b4ccb6a9fd
Refactor gethostbyname to returing zend_string
2014-03-03 18:19:16 +08:00
Xinchen Hui
93ea0dfe98
Fixed fsockopen's reference argument handling
2014-03-03 18:14:59 +08:00
Xinchen Hui
ebfa9e0415
Fixed NULL pointer def
2014-03-03 18:12:13 +08:00
Xinchen Hui
1aecda4c43
Fixed php_mail log
2014-03-03 18:00:56 +08:00
Xinchen Hui
ca146a6e14
Elements in array could be reference
2014-03-03 17:44:21 +08:00
Xinchen Hui
5de87fe680
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-03 17:34:01 +08:00
Xinchen Hui
70ddc853fd
Refactor php_escape_shell_* to return zend_string
2014-03-03 17:33:40 +08:00
Dmitry Stogov
e73c32c229
Fixed macros
2014-03-03 13:09:56 +04:00
Xinchen Hui
d50782286f
Fixed get_cfg_var
2014-03-03 17:09:06 +08:00
Xinchen Hui
dc96140721
Fixed typo in get_extension_funcs
2014-03-03 17:06:04 +08:00
Xinchen Hui
7735226e36
Fixed memory leak in php_uname
2014-03-03 16:56:54 +08:00
Xinchen Hui
ec30d8178d
Fixed proc_open's reference argument
2014-03-03 16:50:35 +08:00
Xinchen Hui
3e93cd9fd7
Fixed serval segfaults
2014-03-03 16:46:18 +08:00
Xinchen Hui
07eb0f4970
Fixed NULL pointer def
2014-03-03 16:42:34 +08:00
Xinchen Hui
be4878edd0
Use stack memory here to avoid mem leak
2014-03-03 16:39:29 +08:00
Xinchen Hui
b07d5913dd
Refactor php_url_(en|de)code to return zend_string
2014-03-03 16:34:43 +08:00
Xinchen Hui
8ca824d673
Fixed memory leak
2014-03-03 16:13:03 +08:00
Xinchen Hui
e1d1be148e
Fixed NULL pointer dereference
2014-03-03 16:10:15 +08:00
Tjerk Meesters
8a825de5b0
Merge branch 'PHP-5.6'
2014-03-03 06:00:01 +08:00
Derick Rethans
18178aa013
Merge branch 'PHP-5.6'
2014-03-02 14:18:58 -05:00
Daniel Lowrey
41bde3f0a7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Capture peer cert even if verify fails
Windows cert verify improvements + leak fixes
2014-03-02 10:39:03 -07:00
Xinchen Hui
0fe209e317
Refactor _php_stream_scandir to avoid memleak
2014-03-02 22:47:59 +08:00
Xinchen Hui
ce03111e50
Fixed segfault in closedir
2014-03-02 22:35:24 +08:00
Xinchen Hui
38b72bd783
Fixed bug55871.phpt in another way, test script should be changed?
2014-03-02 22:28:36 +08:00
Xinchen Hui
0f117ef4d9
Fixed php_implode with reference
2014-03-02 22:14:25 +08:00
Xinchen Hui
92eda10261
Fixed str_replace count handling
2014-03-02 22:07:32 +08:00
Xinchen Hui
6ed82f7104
Use zend_string to avoid memleak
2014-03-02 22:00:30 +08:00
Anatol Belski
b1dbe97bb6
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-03-02 14:59:21 +01:00
Anatol Belski
4358b8e447
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
turn off some false positives
fixes signed/unsigned in ext/pgsql
more signature fixes
fixed signatures php_uint_t vs php_size_t for len
removed senseless unsigned < 0 check
more zpp fixes
fix reading unsigned from zpp
support for static analyzers other than visual studio
fix wording
reveal more info on the configure options
fixes unsigned < 0 comparsion
Updated news for #66535 and #66109
2014-03-02 14:59:07 +01:00
Xinchen Hui
8cb468d5e3
Fixed wrong condition (introduced by previous ci)
2014-03-02 21:48:38 +08:00
Xinchen Hui
18363f42b2
Fixed invalid free
2014-03-02 21:44:17 +08:00
Xinchen Hui
35742a74e2
Fixed zend_string
2014-03-02 21:42:21 +08:00
Xinchen Hui
4eeee08ec8
Fixed getClosureThis()
2014-03-02 21:40:20 +08:00
Xinchen Hui
81271854e8
Fixed test
2014-03-02 21:38:00 +08:00
Xinchen Hui
30c20084d7
Fixed memory leak
2014-03-02 21:36:51 +08:00
Xinchen Hui
069c158c20
Fixed php_info related
2014-03-02 21:31:38 +08:00
Anatol Belski
816e21982e
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
turn off some false positives
2014-03-02 13:14:04 +01:00
Anatol Belski
ec7935f7b5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
turn off some false positives
2014-03-02 12:49:58 +01:00
Anatol Belski
43d15abf72
fixes signed/unsigned in ext/pgsql
2014-03-02 11:55:32 +01:00
Anatol Belski
17a7912eff
more signature fixes
2014-03-02 11:37:01 +01:00
Anatol Belski
e7a92a913f
fixed signatures php_uint_t vs php_size_t for len
2014-03-02 11:30:22 +01:00
Anatol Belski
e993862fb5
removed senseless unsigned < 0 check
2014-03-02 11:29:37 +01:00
Anatol Belski
549b251691
more zpp fixes
2014-03-02 11:10:27 +01:00
Anatol Belski
16e4b43f8c
fix reading unsigned from zpp
2014-03-02 11:05:11 +01:00
Xinchen Hui
26e993a7ae
Fixed zend_string
2014-03-02 16:07:44 +08:00
Xinchen Hui
5a9e8a5e26
Not reference anymore
2014-03-02 15:47:08 +08:00
Xinchen Hui
8d2c1f58a1
Fixed refcounting
2014-03-02 15:15:51 +08:00
Xinchen Hui
ff5870a288
Fixed reflection (incompeleted)
2014-03-02 15:14:00 +08:00
Xinchen Hui
05e8f28533
This should be a real problem
2014-03-02 14:35:41 +08:00
Anatol Belski
7b5c1cd562
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
support for static analyzers other than visual studio
2014-03-01 20:22:03 +01:00
Anatol Belski
c0b5c290bb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
support for static analyzers other than visual studio
2014-03-01 20:18:44 +01:00
Anatol Belski
586f3a87f0
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix wording
reveal more info on the configure options
Updated news for #66535 and #66109
2014-03-01 15:12:22 +01:00
Anatol Belski
4b50f20504
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix wording
Updated news for #66535 and #66109
2014-03-01 13:28:24 +01:00
Anatol Belski
91d61a2096
Merge branch 'PHP-5.6'
...
* PHP-5.6:
reveal more info on the configure options
2014-03-01 13:12:08 +01:00
Anatol Belski
a54d442de1
fixes unsigned < 0 comparsion
2014-03-01 11:30:49 +01:00
Xinchen Hui
171fde5491
Fixed SplPriorityQueue's free_obj
2014-03-01 12:44:33 +08:00
Anatol Belski
ef7c911c9e
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-02-28 21:10:16 +01:00
Anatol Belski
9c1dd320d6
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (33 commits)
remove temp test files
fix typo replacement
don't compare constants on run time
fix macros
more descriptor fixes
substr_compare(): Allow zero length comparison
Fixed test case title
[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
Fixed expected output of a few cURL test cases
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
primitive test fixes
man page: long option name is --strip, not --stripped
--global have be removed in 5.2
remove pcntl leftover from the test code
list the fpm change hat rfc in UPGRADING
mention the apparmor support in fpm
typo spotted by Lajos Veres
update libs_version.txt
update libs_version.txt
NEWS
...
Conflicts:
ext/openssl/openssl.c
2014-02-28 21:09:55 +01:00
Anatol Belski
e6ccba4b14
remove temp test files
2014-02-28 21:06:00 +01:00
Dmitry Stogov
46ab80b48e
Temporary fix for reference counting
2014-02-28 23:42:32 +04:00
Dmitry Stogov
29d61b6527
Fixed refcounting
2014-02-28 23:25:06 +04:00
Anatol Belski
3eeda5e804
fix typo replacement
2014-02-28 20:15:37 +01:00
Dmitry Stogov
843423716b
Fixed user stream filters
2014-02-28 23:05:22 +04:00
Anatol Belski
3b37fe3bde
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
don't compare constants on run time
2014-02-28 19:42:31 +01:00
Anatol Belski
3f779b9bd2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
don't compare constants on run time
2014-02-28 19:39:50 +01:00
Anatol Belski
65f17d672d
fix macros
2014-02-28 19:19:32 +01:00
Anatol Belski
28dbadeb1d
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (28 commits)
substr_compare(): Allow zero length comparison
Fixed test case title
[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
Fixed expected output of a few cURL test cases
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
primitive test fixes
man page: long option name is --strip, not --stripped
--global have be removed in 5.2
remove pcntl leftover from the test code
list the fpm change hat rfc in UPGRADING
mention the apparmor support in fpm
typo spotted by Lajos Veres
update libs_version.txt
update libs_version.txt
NEWS
NEWS
NEWS
test for bug #66762
Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
fix tests broken by 633f898f15
...
Conflicts:
ext/curl/interface.c
ext/standard/mail.c
ext/standard/string.c
2014-02-28 19:18:18 +01:00
Anatol Belski
2d83dca7be
more descriptor fixes
2014-02-28 18:49:02 +01:00
Xinchen Hui
dd3a7e97e0
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-03-01 00:46:11 +08:00
Xinchen Hui
7235048ca1
Fixing spl_autoload functional (one test failed due to get_closure)
2014-03-01 00:44:02 +08:00
Tjerk Meesters
0d26d655b7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
substr_compare(): Allow zero length comparison
2014-02-28 23:50:27 +08:00
Xinchen Hui
7208b9660c
Fixed autoload_func_info using zval instead of zval *
2014-02-28 23:05:13 +08:00
Xinchen Hui
237dbd972e
Fixed uninilized intern
2014-02-28 22:55:59 +08:00
Xinchen Hui
4340f1a561
Fixed offset_key
2014-02-28 22:52:18 +08:00
Xinchen Hui
0680cdb4ac
Fixed refcount handling
2014-02-28 22:47:24 +08:00
Tjerk Meesters
d4d726bb6b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed test case title
[bug 66535] X-PHP-Originating-Script adds newline if no custom headers are given
2014-02-28 22:33:08 +08:00
Xinchen Hui
2a82660923
Temporary fix zcontext
2014-02-28 22:21:51 +08:00
Dmitry Stogov
4865ec6ff0
Fixed ini_get_all()
2014-02-28 17:47:00 +04:00
Dmitry Stogov
53128644f3
Redesigned SRR_OFFSET handling
2014-02-28 17:39:08 +04:00
Dmitry Stogov
e26722c2fa
Fixed access to undefined properties
2014-02-28 16:56:52 +04:00
Dmitry Stogov
cb7797a43c
Fixed NULL pointer dereferencing
2014-02-28 16:16:15 +04:00
Dmitry Stogov
08d9a4ffa2
Fixed closures in static methods
2014-02-28 16:06:38 +04:00
Dmitry Stogov
a18a95f70a
Fixed support for references
2014-02-28 15:58:11 +04:00
Dmitry Stogov
2bf3018169
Fixed array_push()
2014-02-28 15:48:39 +04:00
Dmitry Stogov
feeca5aba6
Fixed uninitialized zval
2014-02-28 15:47:37 +04:00
Dmitry Stogov
d0311ad28e
Fixed method argument parsing
2014-02-28 15:47:12 +04:00
Tjerk Meesters
060643f5ba
Merge branch '5.6'
...
* 5.6:
Fixed expected output of a few cURL test cases
Allow NULL as value for CURLOPT_CUSTOMREQUEST option.
2014-02-28 19:14:18 +08:00
Xinchen Hui
670ef9decd
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-28 19:08:08 +08:00
Xinchen Hui
990c923ef4
Refactored spl_filesystem_iterator
2014-02-28 19:07:54 +08:00
Dmitry Stogov
04d04d01c8
Fixed memory leak
2014-02-28 14:24:35 +04:00
Dmitry Stogov
a72a1b1391
Fixed memory leak
2014-02-28 13:43:52 +04:00
Dmitry Stogov
045c5fddfa
Fixed memory leaks
2014-02-28 13:37:55 +04:00
Dmitry Stogov
9d1294e33d
Fixed memory leak
2014-02-28 13:29:18 +04:00
Dmitry Stogov
339d82c72d
Fixed __COMPILER_HALT_OFFSET handling
2014-02-28 13:15:40 +04:00
Xinchen Hui
7dcb14ebcd
We need to stash the object_ptr in fci
2014-02-28 17:12:53 +08:00
Dmitry Stogov
663990284b
Fixed get_defined_functions()
2014-02-28 13:10:07 +04:00
Dmitry Stogov
17a009ddce
Fixed isset($str[$double])
2014-02-28 13:04:46 +04:00
Dmitry Stogov
3ed445f749
Fixed IS_REFERENCE support
2014-02-28 12:54:38 +04:00
Anatol Belski
bad0b4fc8c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
primitive test fixes
2014-02-28 09:45:02 +01:00
Dmitry Stogov
cee824bbef
Fixed SEPARATE_ZVAL_IF_REF()
2014-02-28 12:21:12 +04:00
Xinchen Hui
b353d5abe9
Fixed un-initilized iterator in DirectoyItrator
2014-02-28 16:06:47 +08:00
Xinchen Hui
0def388427
Fixed Z_ADDREF
2014-02-28 15:29:00 +08:00
Xinchen Hui
142dd01006
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-28 15:25:18 +08:00
Dmitry Stogov
5b5367ddbb
Fixed SEPARATE_ZVAL() to support objects and resources
2014-02-28 11:21:15 +04:00
Remi Collet
0821d3942e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
man page: long option name is --strip, not --stripped
--global have be removed in 5.2
2014-02-28 08:12:38 +01:00
Xinchen Hui
1265850fef
Add zend_iterator_dtor
2014-02-28 15:03:43 +08:00
Dmitry Stogov
54095e8c56
Converting from reference to regular value
2014-02-28 11:03:05 +04:00
Dmitry Stogov
855a030b7b
Fixed return value handling in ZEND_ASSIGN_OBJ
2014-02-28 10:41:28 +04:00
Xinchen Hui
a5ce7d526e
Revert "Move zend_objects_store_put out of zend_object_std_init"
...
This reverts commit 8ced4f0ac9 .
2014-02-28 13:59:07 +08:00
Xinchen Hui
3231174749
Fixed typo in previous commit
2014-02-28 13:15:51 +08:00
Xinchen Hui
fb825a95d0
Fixed module name printing
2014-02-28 13:02:28 +08:00
Xinchen Hui
8ced4f0ac9
Move zend_objects_store_put out of zend_object_std_init
2014-02-28 12:59:51 +08:00
Xinchen Hui
4318e57604
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-28 11:44:39 +08:00
Dmitry Stogov
08da14adac
Fixed support for IS_REFERENCE
2014-02-28 00:21:12 +04:00
Dmitry Stogov
6f578b57bc
Fixed FETCH_OBJ_UNSET, FETCH_DIM_UNSET
2014-02-28 00:09:43 +04:00
Rouven Weßling
09f69ca02d
Fix a compiler warning in php_rand.h
2014-02-27 20:57:31 +01:00
Dmitry Stogov
cb181c512a
I don't know how to fix it
2014-02-27 23:51:00 +04:00
Dmitry Stogov
3960b0acc4
Temporarry commented
2014-02-27 23:50:43 +04:00
Dmitry Stogov
10fd93343e
Fixed reference counting
2014-02-27 23:25:41 +04:00
Dmitry Stogov
e43d0d1717
fixed refcounting in "$a->magic_prop += 2"
2014-02-27 23:18:37 +04:00
Dmitry Stogov
5e4a97f365
Fixed ASSIGN_OBJ with IS_TMP and IS_CONST operand
2014-02-27 22:53:56 +04:00
Dmitry Stogov
3f4759515c
Fixed memory leak
2014-02-27 22:21:02 +04:00
Dmitry Stogov
0e44e0611d
Fixed ASSIGN of IS_REFERENCE (it should be separated)
2014-02-27 22:16:15 +04:00
Anatol Belski
79063d16b9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove pcntl leftover from the test code
2014-02-27 15:51:28 +01:00
Xinchen Hui
cfa93d08f5
Unused element
2014-02-27 22:50:31 +08:00
Xinchen Hui
0817cee164
Fixed object creating (std_init calls store_put now)
2014-02-27 22:47:30 +08:00
Dmitry Stogov
c5a508582f
Fixed refcounting
2014-02-27 18:10:42 +04:00
Dmitry Stogov
9d6cce629a
Fixed __get() related memleak
2014-02-27 16:58:18 +04:00
Dmitry Stogov
3810b4ab4a
Fixed constant expressions in array indeces handling
2014-02-27 16:41:41 +04:00
Dmitry Stogov
3696e038e5
Various fixes related to read_property(), read_dimension() and iterators refactoring
2014-02-27 16:07:36 +04:00
Ferenc Kovacs
e77131f5d1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
list the fpm change hat rfc in UPGRADING
2014-02-27 12:54:53 +01:00
Ferenc Kovacs
4d8c167ccd
Merge branch 'PHP-5.6'
...
* PHP-5.6:
mention the apparmor support in fpm
2014-02-27 12:43:58 +01:00
Dmitry Stogov
4ba590697e
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-27 15:40:51 +04:00
Dmitry Stogov
1c3ba95bb5
Refactored read_property() and read_dimension() handlers
2014-02-27 15:40:13 +04:00
Xinchen Hui
382b0dfdb7
Refactoring zend_iterator (incompleted)
2014-02-27 19:19:02 +08:00
Ferenc Kovacs
1bb0500a91
Merge branch 'PHP-5.6'
...
* PHP-5.6:
typo spotted by Lajos Veres
2014-02-27 11:31:04 +01:00
Dmitry Stogov
ee3254a2e8
Temporary refcounting fix
2014-02-27 13:06:11 +04:00
Xinchen Hui
122cc5f495
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-27 16:56:17 +08:00
Dmitry Stogov
1493b30501
Temporarry refcounting fix
2014-02-27 12:53:40 +04:00
Dmitry Stogov
054917619a
Fixed empty()
2014-02-27 12:48:53 +04:00
Dmitry Stogov
0548ac59a5
Resource closing without destruction
2014-02-27 12:28:55 +04:00
Anatol Belski
70b2d1d59a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update libs_version.txt
update libs_version.txt
2014-02-27 09:27:06 +01:00
Remi Collet
a5f5855db9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
NEWS
NEWS
test for bug #66762
Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
2014-02-27 08:50:41 +01:00
Ferenc Kovacs
6dd8a4d4f0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix tests broken by 633f898f15
2014-02-27 02:33:20 +01:00
Ferenc Kovacs
1b60d39e5e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add missing NEWS entry
add missing NEWS entry
add missing NEWS entry
add missing NEWS entry
add missing NEWS entry
add missing NEWS entry
2014-02-27 01:29:21 +01:00
Daniel Lowrey
1d2181b615
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove cURL close policy related constants
2014-02-26 13:41:04 -07:00
Daniel Lowrey
ed00de58bf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Deprecate CN_match in favor of peer_name in SSL contexts
2014-02-26 13:24:07 -07:00
Anatol Belski
f34e4283ce
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-02-26 20:11:51 +01:00
Anatol Belski
9b4dc3a5a1
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
Update stack size in tests/func/010.phpt
Don't add num_additional_args in SEND opcodes
Disallow use of positional args after unpacking
Store arg_num in fcall entry
Introduce zend_function_call_entry structure
2014-02-26 20:11:31 +01:00
Anatol Belski
8647f4e7f5
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Update stack size in tests/func/010.phpt
Don't add num_additional_args in SEND opcodes
Disallow use of positional args after unpacking
Store arg_num in fcall entry
Introduce zend_function_call_entry structure
Conflicts:
Zend/zend_compile.c
Zend/zend_language_parser.y
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2014-02-26 19:17:23 +01:00
Anatol Belski
758f73630a
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport: (23 commits)
after merge fix
move the default encoding NEWS entry to alpha3, as it was pushed after beta2 was tagged
rearrange the NEWS blocks a bit
add NEWS block for 5.6.0 beta1
restored that test part in ext/openssl to enable notify/wait
remove echo
fix stdin reading in new openssl tests
kick redundant include
Prevent implicit function declaration when TLSEXT unavailable
Update NEWS+UPGRADING (openssl)
Remove test case invalidated by openssl.cafile accessibility change
Tolerate non-standard newlines when parsing stream CA files
Remove openssl tests that shouldn't have survived last merge
Add openssl.cafile ini check when loading cainfo
Change openssl directives to PHP_INI_PERDIR
Update openssl tests with new server/client test harness
Add peer certificate verification on windows
add news entry
add news entry
add clear_env option to FPM config
...
2014-02-26 17:16:20 +01:00
Anatol Belski
d753db3a81
after merge fix
2014-02-26 17:01:24 +01:00
Anatol Belski
bd9a370701
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6: (22 commits)
move the default encoding NEWS entry to alpha3, as it was pushed after beta2 was tagged
rearrange the NEWS blocks a bit
add NEWS block for 5.6.0 beta1
restored that test part in ext/openssl to enable notify/wait
remove echo
fix stdin reading in new openssl tests
kick redundant include
Prevent implicit function declaration when TLSEXT unavailable
Update NEWS+UPGRADING (openssl)
Remove test case invalidated by openssl.cafile accessibility change
Tolerate non-standard newlines when parsing stream CA files
Remove openssl tests that shouldn't have survived last merge
Add openssl.cafile ini check when loading cainfo
Change openssl directives to PHP_INI_PERDIR
Update openssl tests with new server/client test harness
Add peer certificate verification on windows
add news entry
add news entry
add clear_env option to FPM config
add clear_env option to FPM config
...
Conflicts:
ext/openssl/openssl.c
2014-02-26 16:47:49 +01:00
Nikita Popov
bfd967c11f
Merge branch 'PHP-5.6'
2014-02-26 16:42:55 +01:00
Ferenc Kovacs
45ec37fb89
Merge branch 'PHP-5.6'
...
* PHP-5.6:
move the default encoding NEWS entry to alpha3, as it was pushed after beta2 was tagged
rearrange the NEWS blocks a bit
2014-02-26 15:41:46 +01:00
Ferenc Kovacs
25941c293f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
add NEWS block for 5.6.0 beta1
add news entry
add news entry
add clear_env option to FPM config
add clear_env option to FPM config
Reduce test noise on cross Oracle client <-> server version tests. This fix is already in PHP 5.6+
Reduce test noise in cross Oracle client <-> server version testing. This change is already in PHP 5.6+
2014-02-26 15:14:50 +01:00
Dmitry Stogov
60eadc80b8
Fixed return anf yield by reference
2014-02-26 18:07:16 +04:00
Dmitry Stogov
e49c0804da
Temporary memory leak fix (should be done in a better way)
2014-02-26 17:36:39 +04:00
Anatol Belski
e15fdcb09c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
restored that test part in ext/openssl to enable notify/wait
2014-02-26 13:38:04 +01:00
Dmitry Stogov
39c466147a
Fixed user iterator creation
2014-02-26 16:28:04 +04:00
Dmitry Stogov
0bde8c9857
Fixed argument unpacking
2014-02-26 16:17:28 +04:00
Anatol Belski
38f349da1f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove echo
2014-02-26 12:41:57 +01:00
Dmitry Stogov
6829be6c26
ifixed foreach() by reference
2014-02-26 15:38:58 +04:00
Dmitry Stogov
ff1778a89f
Temorary fix for implicit IS_CV conversion into IS_INDIRECTR
2014-02-26 15:17:08 +04:00
Dmitry Stogov
495551aa8c
Fixed iterators API. zend_iterator_init() has to be used in each get_iterator() callback.
2014-02-26 15:01:08 +04:00
Anatol Belski
83b2593b23
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix stdin reading in new openssl tests
2014-02-26 11:27:48 +01:00
Anatol Belski
8ece03a679
Merge branch 'PHP-5.6'
...
* PHP-5.6:
kick redundant include
2014-02-26 11:24:22 +01:00
Dmitry Stogov
a4a86df3c0
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-26 13:59:20 +04:00
Dmitry Stogov
d062fb3344
Generator related fixes
2014-02-26 13:58:59 +04:00
Xinchen Hui
95320f1f46
Fixed memory leak
2014-02-26 16:33:27 +08:00
Xinchen Hui
4b6eb998da
Fixed error msg
2014-02-26 16:24:44 +08:00
Xinchen Hui
a0ab299f7f
Fixed memory leak
2014-02-26 16:22:03 +08:00
Xinchen Hui
24540362b0
Re-fixed unserialize
2014-02-26 15:51:53 +08:00
Xinchen Hui
b7052ef16d
Revert "Fixed unserialize implementation (it's complicated, this issue took me 4 hours :<, need some review)"
...
This reverts commit 80a178015d .
2014-02-26 13:33:55 +08:00
Xinchen Hui
66b7f6722d
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-26 12:52:43 +08:00
Xinchen Hui
80a178015d
Fixed unserialize implementation (it's complicated, this issue took me 4 hours :<, need some review)
2014-02-26 12:51:23 +08:00
Xinchen Hui
0c0e9c3cd7
Fixed class name usage
2014-02-26 11:26:08 +08:00
Xinchen Hui
c146752812
Fixed reference handling in zif_unserialize
2014-02-26 11:21:52 +08:00
Xinchen Hui
f4a70fa759
Fixed has_propery
2014-02-26 11:18:19 +08:00
Xinchen Hui
7f527d8047
Fixed reference handling in serialize/unserialize
2014-02-26 11:08:13 +08:00
Daniel Lowrey
b3b709f1fc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Prevent implicit function declaration when TLSEXT unavailable
2014-02-25 19:12:49 -07:00
Dmitry Stogov
4a1ecf0e8b
Reflection related fixes
2014-02-26 02:02:57 +04:00
Dmitry Stogov
bb27b4ac95
Fixed refcounting
2014-02-26 01:09:58 +04:00
Dmitry Stogov
78fc6b3570
Fixed refcounting
2014-02-26 01:09:34 +04:00
Dmitry Stogov
9c317c57bc
Fixed user streams handling
2014-02-26 01:00:39 +04:00
Daniel Lowrey
33914b5166
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove test case invalidated by openssl.cafile accessibility change
Tolerate non-standard newlines when parsing stream CA files
Remove openssl tests that shouldn't have survived last merge
Add openssl.cafile ini check when loading cainfo
Change openssl directives to PHP_INI_PERDIR
Update openssl tests with new server/client test harness
Add peer certificate verification on windows
2014-02-25 13:27:10 -07:00
Dmitry Stogov
e4b5848859
Fixed handling of "static" variables
2014-02-25 23:56:09 +04:00
Dmitry Stogov
329a576f39
Fixed EG(error_zval) handling
2014-02-25 23:39:25 +04:00
Dmitry Stogov
f0e9a108a7
Fixed support for references
2014-02-25 23:26:04 +04:00
Anatol Belski
4d1ab57e4f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
add clear_env option to FPM config
2014-02-25 20:20:55 +01:00
Anatol Belski
148058cc46
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fixed typo
Use API instead of directly acessing the structure
zpp readme adjustment
Conflicts:
README.PARAMETER_PARSING_API
2014-02-25 20:20:44 +01:00
Anatol Belski
05db0cbcc0
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Use API instead of directly acessing the structure
Conflicts:
ext/mysqli/mysqli_prop.c
2014-02-25 20:19:04 +01:00
Dmitry Stogov
1ac966d524
Fixed memory leaks
2014-02-25 23:12:25 +04:00
Anatol Belski
1ccc6d0a73
fixed typo
2014-02-25 17:28:12 +01:00
Andrey Hristov
ee2d5776fa
Merge branch 'PHP-5.6'
2014-02-25 17:40:59 +02:00
Dmitry Stogov
4fd84823f6
Fixed foreach() over object properties
2014-02-25 17:56:03 +04:00
Dmitry Stogov
fdd1f74e37
Fixed debug backtrace
2014-02-25 17:11:55 +04:00
Dmitry Stogov
c077742b2a
Fixed reflection object destruction
2014-02-25 17:03:48 +04:00
Dmitry Stogov
068ea84a84
THIS MAY BE A REAL PROBLEM
2014-02-25 16:38:18 +04:00
Dmitry Stogov
fe5c1cc48f
Fixed crach because of dereferencing of NULL pointer
2014-02-25 16:25:45 +04:00
Dmitry Stogov
77abd35b78
Fixed memory leak
2014-02-25 16:20:42 +04:00
Dmitry Stogov
639e4e1afa
Changes zend_is_callable() to use zend_string* instead of char*
2014-02-25 16:03:34 +04:00
Dmitry Stogov
b965647e44
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
...
Conflicts:
Zend/zend_object_handlers.c
2014-02-25 15:23:06 +04:00
Xinchen Hui
40a9132de8
zend_hash_add might return NULL in ext/standard/tests/serialize/serialization_objects_011.php
2014-02-25 18:29:20 +08:00
Xinchen Hui
346d52c2c4
Fixed asseration fail
2014-02-25 18:22:54 +08:00
Xinchen Hui
f298ade89a
Fixed wrong hash_zval_identical_function
2014-02-25 18:20:35 +08:00
Xinchen Hui
499b553c18
Fixed NULL pointer dereference
2014-02-25 18:14:22 +08:00
Anatol Belski
b643fcddd1
zpp readme adjustment
2014-02-25 11:05:35 +01:00
Xinchen Hui
595741f6ec
Fixed test fail in ext/standard/tests/serialize/bug64354_1.php
2014-02-25 17:58:01 +08:00
Dmitry Stogov
cabfbf7128
Fixed IS_REFERENCE handling
2014-02-25 13:47:33 +04:00
Anatol Belski
feedfe178c
corrections to the zpp readme
2014-02-25 10:39:38 +01:00
Dmitry Stogov
6b8253af27
Fixed user error handler invocation (temporary disabled symbol table passing)
2014-02-25 13:35:39 +04:00
Dmitry Stogov
820184dd00
Fixed converting IS_REFERENCE to string
2014-02-25 13:21:03 +04:00
Dmitry Stogov
4e63cf9b16
Fixed POST_INC/POST_DEC
2014-02-25 13:20:43 +04:00
Dmitry Stogov
6ee86d0c29
Fixed dynamic properies table construction
2014-02-25 13:02:34 +04:00
Xinchen Hui
dc2d758c93
Fixed segfaults
2014-02-25 16:54:26 +08:00
Xinchen Hui
71dac3d54f
Don't add_ref in add_*_str functions
2014-02-25 15:47:24 +08:00
Xinchen Hui
bfcb3defdd
Fixed memory leak in ext/standard/tests/strings/quotemeta_basic.php
2014-02-25 13:08:16 +08:00
Xinchen Hui
f482092cab
Fixed momory leak in heberv
2014-02-25 13:04:00 +08:00
Xinchen Hui
2ed1f00869
Refactor php_crypt to returning zend_string
2014-02-25 12:46:51 +08:00
Xinchen Hui
9e4da2d0ec
Fixed segfault in ext/standard/tests/strings/money_format_variation1.phpt
2014-02-25 12:36:33 +08:00
Xinchen Hui
d35a068aa6
Fixed array comparation
2014-02-25 12:31:35 +08:00
Xinchen Hui
1dc69e86f9
Fixed memory leak in setlocale
2014-02-25 12:30:50 +08:00
Xinchen Hui
e0a32353af
Fixed NULL pointer dereference in ext/standard/tests/strings/setlocale_basic2.php
2014-02-25 12:09:39 +08:00
Dmitry Stogov
ff162410f0
Fixed traits support
2014-02-25 01:18:06 +04:00
Dmitry Stogov
fea971e1e4
Better IS_REFERENCE handling
2014-02-25 00:17:13 +04:00
Andrew Kehrig
85c06f17f3
Fix #50444 : PDO-ODBC changes for 64-bit
...
This bug is also referenced in
[#61777 ](https://bugs.php.net/bug.php?id=61777 ) and is still present in
the latest stable release of the 5.5 branch. I see two tickets exist for
this problem already, and I'm just submitting these changes via github
as a reminder that this is a serious problem for anyone using PDO_ODBC
on the x64 builds.
2014-02-24 13:48:39 -05:00
Dmitry Stogov
e9cde67d47
Fixed double free
2014-02-24 18:00:24 +04:00
Dmitry Stogov
0907f22bbd
Fixed debug_backtrace
2014-02-24 17:29:45 +04:00
Dmitry Stogov
760fe72af6
Fixed comparison od references
2014-02-24 17:29:28 +04:00
Dmitry Stogov
55bca5868a
Fixed $this handling
2014-02-24 17:07:44 +04:00
Dmitry Stogov
a3448b7cfa
Support for IS_REFERENCE
2014-02-24 16:51:38 +04:00
Dmitry Stogov
789eb6dfc3
Fixed create_function()
2014-02-24 16:35:55 +04:00
Dmitry Stogov
595fc4d901
More constant related fixes
2014-02-24 15:49:15 +04:00
Dmitry Stogov
abb57cc1c2
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-24 15:25:43 +04:00
Dmitry Stogov
f4c2810ab4
fixed support for constant expressions
2014-02-24 15:25:24 +04:00
Xinchen Hui
93428dc6b9
Refactor base64 to returning zend_string
2014-02-24 18:48:22 +08:00
Xinchen Hui
1e5a4f281d
Refactor php_uu(en/de)code to returning zend_string
2014-02-24 18:32:09 +08:00
Anatol Belski
56d4d97393
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fixed macro
add clear_env option to FPM config
Make sure value is initialized
We can't dereference dbh if it is NULL
2014-02-24 11:30:26 +01:00
Xinchen Hui
5fccb0724b
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-24 18:18:39 +08:00
Xinchen Hui
57a3feb422
Fixed memory leak in strrev
2014-02-24 18:15:40 +08:00
Xinchen Hui
5adeaa147d
Refactoring php_stream_copy_to_mem to return zend_string
2014-02-24 18:12:30 +08:00
Dmitry Stogov
73b8e9aef4
Fixed wrong condition
2014-02-24 14:06:39 +04:00
Dmitry Stogov
454e9911ad
Fixed new dynamic propery creation
2014-02-24 14:00:52 +04:00
Dmitry Stogov
1770ace249
Fixed object to string conversion
2014-02-24 13:49:53 +04:00
Xinchen Hui
9e9f6c7123
Fixed memory leak in str_pad
2014-02-24 17:44:42 +08:00
Xinchen Hui
b529155635
Fixed memory leak in nlbr
2014-02-24 17:40:18 +08:00
Xinchen Hui
a9529b8ad3
Refactor chunk_split returning zend_string to avoid memleak
2014-02-24 17:35:47 +08:00
Dmitry Stogov
62e7ac77e5
Fixed arg_info[].class_name destruction
2014-02-24 13:33:30 +04:00
Xinchen Hui
e687939f01
Fixed wrong array to string convertion
2014-02-24 17:30:39 +08:00
Xinchen Hui
479b82c0d4
Fixed invalid write in vsprintf tests
2014-02-24 17:26:09 +08:00
Dmitry Stogov
fd87bde4d6
Fixed error messages
2014-02-24 13:19:32 +04:00
Dmitry Stogov
b6c5e55b5a
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-24 13:19:22 +04:00
Anatol Belski
94cfa3a120
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fixed macro
add clear_env option to FPM config
Make sure value is initialized
We can't dereference dbh if it is NULL
2014-02-24 10:16:31 +01:00
Anatol Belski
5c3b9db84c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed macro
add clear_env option to FPM config
2014-02-24 10:14:09 +01:00
Dmitry Stogov
844887ed56
Fixed IS_RESOURCE handling
2014-02-24 13:12:53 +04:00
Xinchen Hui
0b37b90ec4
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-24 16:37:43 +08:00
Xinchen Hui
1bb59c73c4
Fixed NULL pointer dereference in ext/standard/tests/strings/strtr_variation*
2014-02-24 16:36:48 +08:00
Dmitry Stogov
448e28cc84
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-24 12:30:21 +04:00
Dmitry Stogov
074391de88
ZEND_CATCH support for IS_INDIRECT
2014-02-24 12:29:35 +04:00
Xinchen Hui
4fb57d7f4f
Fixed wrong size of key length
2014-02-24 16:24:08 +08:00
Xinchen Hui
22e42c25ab
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-24 16:15:43 +08:00
Dmitry Stogov
f1dcbf4750
ASSIGN_REF related fixes
2014-02-24 12:15:11 +04:00
Xinchen Hui
6c3c1f0949
Fixed memory leak in ext/standard/tests/strings/bug24098.phpt
2014-02-24 16:14:46 +08:00
Xinchen Hui
4dac68221f
Fixed NULL pointer dereference in php_url_encode_hash_ex
2014-02-24 16:07:02 +08:00
Xinchen Hui
94e30a8197
Fixed memory leak in substr_replace
2014-02-24 15:58:38 +08:00
Antony Dovgal
29a4407914
Merge branch 'pull-request/598'
...
* pull-request/598:
add clear_env option to FPM config
2014-02-24 11:52:56 +04:00
Paul Annesley
a16304f836
add clear_env option to FPM config
...
This makes it possible to leave the envoronment as is on startup and
pass all the variables to the workers.
The default value of clear_env is "yes", preserving previous behaviour.
Patch by Paul Annesley.
2014-02-24 11:47:44 +04:00
Dmitry Stogov
23c9d3eb01
Fixed zend_rebuild_symbol_table() using IS_INDIRECT
2014-02-24 11:31:46 +04:00
Dmitry Stogov
e43f57e215
Fixed ++/-- of references
2014-02-24 11:23:25 +04:00
Xinchen Hui
948a00ff59
Now we always ZVAL_DUP args[argnum] now (in ed8691b2)
2014-02-24 15:13:06 +08:00
Xinchen Hui
737a84ed04
Revert "Fixed segfault in ext/standard/tests/strings/bug24208.php"
...
This reverts commit b1fb93b482 .
2014-02-24 15:04:05 +08:00
Xinchen Hui
6f6573ef6a
Fixed several memory leaks
2014-02-24 15:03:35 +08:00
Xinchen Hui
077b02326a
Refactor php_addslashes using zend_string
2014-02-24 12:07:09 +08:00
Xinchen Hui
ed8691b24b
Fixed segfault in ext/standard/tests/strings/fprintf_variation_001.php
2014-02-23 22:33:10 +08:00
Johannes Schlüter
a61d7e6278
Merge branch 'PHP-5.6'
2014-02-23 15:00:06 +01:00
Xinchen Hui
69a93d2fd7
Fixed segfault in ext/standard/tests/strings/bug49785.phpt
2014-02-23 21:53:48 +08:00
Xinchen Hui
70baf8f419
Fixed the memroy leak first (refactor it later)
2014-02-23 21:43:59 +08:00
Xinchen Hui
91e2a91396
Missing handling of IS_REF in ext/standard/tests/strings/bug47842.php
2014-02-23 19:36:38 +08:00
Xinchen Hui
b287591a87
Refactor php_str_to_str returning zend_string
2014-02-23 19:25:26 +08:00
Xinchen Hui
bd3bd63571
Fixed wrong zend_string usage in ext/standard/tests/strings/bug47443.php
2014-02-23 19:04:40 +08:00
Xinchen Hui
6a856d4aa9
Fixed inproper IS_REF handling in ext/standard/tests/strings/bug27295.phpt
2014-02-23 18:48:15 +08:00
Xinchen Hui
f21eb59cda
Fixed memory leak ext/standard/tests/strings/bug21453.phpt
2014-02-23 18:28:00 +08:00
Xinchen Hui
915a8a2d42
Fixed test ext/standard/tests/strings/bug26817.php
2014-02-23 18:22:53 +08:00
Xinchen Hui
5db2503fc0
Fixed memory leak in ext/standard/tests/strings/bug20927.phpt
2014-02-23 18:17:39 +08:00
Xinchen Hui
c0aba2c641
Refactor basename using zend_string
2014-02-23 18:08:35 +08:00
Xinchen Hui
0e4cfad1e8
Refactor php_addcslashes using zend_string
2014-02-22 20:51:26 +08:00
Xinchen Hui
257853cade
Fixed memory leak in ext/standard/tests/strings/005.php
2014-02-22 20:36:12 +08:00
Xinchen Hui
b1fb93b482
Fixed segfault in ext/standard/tests/strings/bug24208.php
...
it still ugly,, maybe we should make EG(active_symbol_table) a zend_array?
2014-02-22 20:19:12 +08:00
Xinchen Hui
3cf418c50a
No refcounted type
2014-02-22 20:05:04 +08:00
Anatol Belski
eb48e0181e
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Fix build against older OpenSSL libs
Conflicts:
UPGRADING
2014-02-21 23:24:51 +01:00
Anatol Belski
592a73fbca
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fix linkage
More openssl UPGRADING updates
Fix build against older OpenSSL libs
Update NEWS/UPGRADING with openssl additions
fix macro names
Conflicts:
NEWS
UPGRADING
2014-02-21 23:22:02 +01:00
Anatol Belski
734d1b8e6f
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
fix linkage
2014-02-21 23:17:41 +01:00
Anatol Belski
38d02db86d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix linkage
More openssl UPGRADING updates
Fix build against older OpenSSL libs
Update NEWS/UPGRADING with openssl additions
2014-02-21 23:14:48 +01:00
Anatol Belski
90d31780c9
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
More openssl UPGRADING updates
Fix build against older OpenSSL libs
Update NEWS/UPGRADING with openssl additions
2014-02-21 21:55:21 +01:00
Dmitry Stogov
2711e368b8
Fixed error messages
2014-02-22 00:41:06 +04:00
Dmitry Stogov
bc3fb147cf
Fixed char/zend_string mesh
2014-02-22 00:31:39 +04:00
Dmitry Stogov
efae48d996
Fixed constant name construction
2014-02-22 00:20:57 +04:00
Dmitry Stogov
598a51844c
Fixed improper deallocation
2014-02-22 00:20:36 +04:00
Daniel Lowrey
a27db7d2da
Fix build against older OpenSSL libs
2014-02-21 13:01:04 -07:00
Dmitry Stogov
d149228b69
Use better data structures (incomplete)
2014-02-21 23:51:08 +04:00
Dmitry Stogov
6454684212
Use better data structures (incomplete)
2014-02-21 22:59:51 +04:00
Anatol Belski
a4de08ea89
fix macro names
2014-02-21 18:21:05 +01:00
Dmitry Stogov
008a42e7c8
Fixed error messages
2014-02-21 20:53:09 +04:00
Anatol Belski
ff5f498f58
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Mitigate client-initiated SSL renegotiation DoS
2014-02-21 17:52:53 +01:00
Anatol Belski
76e711fe59
after merge fix
2014-02-21 17:49:21 +01:00
Anatol Belski
264c68aed7
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Mitigate client-initiated SSL renegotiation DoS
Conflicts:
ext/openssl/xp_ssl.c
2014-02-21 17:46:15 +01:00
Anatol Belski
14af491490
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
after merge fix
C89 compat
Added information about interned strings usage
Updated opcache version
Added function opcache_is_script_cached(). (Danack)
Improve OpenSSL compile flag compatibility, minor updates
Use crypto method flags; add tlsv1.0 wrapper; add wrapper tests
Improve server forward secrecy, refactor client SNI
Add 'honor_cipher_order' server context option
Add 'capture_session_meta' context option
Disable TLS compression by default in both clients and servers
Release ssl buffers
Add openssl_get_cert_locations() function
Explicitly set cert verify depth if not specified
Strengthen default cipher list
Conflicts:
ext/openssl/xp_ssl.c
2014-02-21 17:45:04 +01:00
Dmitry Stogov
c8663929a2
Fixed error messages
2014-02-21 20:44:26 +04:00
Dmitry Stogov
52bd62eca8
Fixed assertions
2014-02-21 20:35:40 +04:00
Daniel Lowrey
1268bd6045
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Mitigate client-initiated SSL renegotiation DoS
2014-02-21 09:15:53 -07:00
Anatol Belski
bb9b9d7d29
after merge fix
2014-02-21 17:09:29 +01:00
Dmitry Stogov
2520f0801d
Fix Z_COUNTED() -> Z_REFCOUNTED()
2014-02-21 19:19:52 +04:00
Dmitry Stogov
3496950e54
Fixed get_object_vars()
2014-02-21 19:19:44 +04:00
Dmitry Stogov
6d5ce339e6
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-21 19:05:15 +04:00
Xinchen Hui
47fb198533
Revert "Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003.phpt"
...
This reverts commit b96318105b .
2014-02-21 23:02:24 +08:00
Dmitry Stogov
a4f2c6ea15
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-21 18:55:26 +04:00
Dmitry Stogov
686ea7f20e
Fixed compound name resolution
2014-02-21 18:55:04 +04:00
Xinchen Hui
013cc55395
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
...
Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner.l
2014-02-21 22:41:48 +08:00
Xinchen Hui
76c28f878a
Fixed missed REFCOUNTED checking
2014-02-21 22:39:27 +08:00
Xinchen Hui
b96318105b
Use zend_string for arg_info to fixed segfault in Zend/tests/argument_restriction_003.phpt
2014-02-21 22:34:30 +08:00
Dmitry Stogov
2549010278
Fixed error messages
2014-02-21 18:23:56 +04:00
Dmitry Stogov
5fa6dbba8e
Fixed class_alias()
2014-02-21 18:19:46 +04:00
Dmitry Stogov
b2e7b89041
Fix non-zero terminated strings
2014-02-21 18:14:47 +04:00
Dmitry Stogov
ca729cb4e3
Fixed __METHOD__ handling
2014-02-21 17:52:43 +04:00
Xinchen Hui
92450f9d6c
Fixed test tests/classes/__call_007.php
2014-02-21 21:47:41 +08:00
Dmitry Stogov
d0eccdeea1
Fixed array_unshift()
2014-02-21 17:38:12 +04:00
Dmitry Stogov
0907a1b3f8
Fixed error messages
2014-02-21 17:35:19 +04:00
Dmitry Stogov
0fc85fbdff
Fixed error messages
2014-02-21 17:27:53 +04:00
Dmitry Stogov
7113ae0b24
Fixed include_once() handling
2014-02-21 17:23:13 +04:00
Dmitry Stogov
7e03f3712b
All zend_parse_parameters("Z") has to be replaced with zend_parse_parameters("z")
2014-02-21 17:22:02 +04:00
Xinchen Hui
882b0a3c24
Fixed segfault due to invalid write
2014-02-21 21:20:50 +08:00
Xinchen Hui
2b7ca1c756
Fixed segfault due to missing REFCOUNTED check
2014-02-21 21:12:12 +08:00
Xinchen Hui
f4f7a80a2c
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-21 21:02:12 +08:00
Anatol Belski
93e8fb39df
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
C89 compat
Added information about interned strings usage
Updated opcache version
Added function opcache_is_script_cached(). (Danack)
Conflicts:
ext/openssl/xp_ssl.c
2014-02-21 13:56:14 +01:00
Anatol Belski
befb267ddf
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
* origin/PHP-5.6:
Improve OpenSSL compile flag compatibility, minor updates
Use crypto method flags; add tlsv1.0 wrapper; add wrapper tests
Improve server forward secrecy, refactor client SNI
Add 'honor_cipher_order' server context option
Add 'capture_session_meta' context option
Disable TLS compression by default in both clients and servers
Release ssl buffers
Add openssl_get_cert_locations() function
Explicitly set cert verify depth if not specified
Strengthen default cipher list
Conflicts:
ext/openssl/openssl.c
ext/openssl/xp_ssl.c
ext/standard/file.c
2014-02-21 13:37:35 +01:00
Dmitry Stogov
6fbea9ce6a
Fixed exception constructor
2014-02-21 16:14:42 +04:00
Dmitry Stogov
51d7c4828a
Fixed tests/run-test/test009.phpt
2014-02-21 15:48:56 +04:00
Dmitry Stogov
bdeaf2ef55
Wrong string destruction
2014-02-21 15:26:41 +04:00
Anatol Belski
04a10be9db
Merge branch 'PHP-5.6'
...
* PHP-5.6:
C89 compat
2014-02-21 11:24:18 +01:00
Xinchen Hui
e193944b3e
Fixed segfault in ext/standard/tests/strings/addslashes_variation1.php
2014-02-21 16:56:23 +08:00
Dmitry Stogov
b0927faf48
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added information about interned strings usage
2014-02-21 12:45:12 +04:00
Xinchen Hui
8211026fa7
Fixed segfault in ext/standard/tests/strings/add-and-stripslashes.phpt
2014-02-21 16:39:59 +08:00
Xinchen Hui
29e2ce597b
Fixed segfault in file_get_contents
2014-02-21 16:32:46 +08:00
Dmitry Stogov
f786eec680
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated opcache version
2014-02-21 12:06:46 +04:00
Dmitry Stogov
c3b35e2519
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added function opcache_is_script_cached(). (Danack)
2014-02-21 12:01:06 +04:00
Daniel Lowrey
86d9235de5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Improve OpenSSL compile flag compatibility, minor updates
Use crypto method flags; add tlsv1.0 wrapper; add wrapper tests
Improve server forward secrecy, refactor client SNI
Add 'honor_cipher_order' server context option
Add 'capture_session_meta' context option
Disable TLS compression by default in both clients and servers
Release ssl buffers
Add openssl_get_cert_locations() function
Explicitly set cert verify depth if not specified
Strengthen default cipher list
2014-02-20 17:46:54 -07:00
Anatol Belski
f629a3b84d
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
2014-02-21 00:32:03 +01:00
Anatol Belski
d6591ba1e3
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
* origin/str_size_and_int64_56_backport:
fixed path separator in the tests
Add more tests for __debugInfo() and fix leak
updated libmagic.patch for 5.6+
updated libmagic.patch in 5.4/5
fixed leak introduced after CVE/upgrade
Use nicer output for characters < 32 and > 126 in exception strings Using question marks might confuse more than it helps. Users are wondering what happened to their string...
Update pgsql document
Fixes #66714 : imageconvolution breakage in 5.5.9
Conflicts:
UPGRADING
2014-02-21 00:31:32 +01:00
Anatol Belski
175ab77029
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
2014-02-21 00:25:08 +01:00
Anatol Belski
0140e83048
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed path separator in the tests
2014-02-21 00:23:36 +01:00
Anatol Belski
eca2c0462f
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
2014-02-20 23:12:57 +01:00
Sara Golemon
d301c35540
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add more tests for __debugInfo() and fix leak
2014-02-20 12:10:40 -08:00
Anatol Belski
a30ef13ad8
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
2014-02-20 20:34:12 +01:00
Anatol Belski
7fab1a5790
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch for 5.6+
2014-02-20 19:06:32 +01:00
Anatol Belski
2b767f83dc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch in 5.4/5
2014-02-20 19:01:45 +01:00
Anatol Belski
34f39f26e1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed leak introduced after CVE/upgrade
2014-02-20 18:55:21 +01:00
Bob Weinand
219a37106f
Merge branch 'PHP-5.6'
2014-02-20 17:50:14 +01:00
Xinchen Hui
15e9bfa048
Update .gdbinit
2014-02-20 18:30:06 +08:00
Xinchen Hui
cc15eb500e
Fixed segfault in Zend/tests/008.phpt
2014-02-20 16:21:41 +08:00
Xinchen Hui
b917458490
Fixed segfault (Zend/tests/026.phpt now pass)
2014-02-20 15:39:46 +08:00
Xinchen Hui
6557bc48e2
Merge branch 'PHP-5.6'
2014-02-20 11:20:01 +08:00
Anatol Belski
ee690ae2a6
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
2014-02-20 02:12:33 +01:00
Anatol Belski
c869a60c91
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-20 02:12:18 +01:00
Anatol Belski
465fe9f0de
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
2014-02-20 02:09:35 +01:00
Anatol Belski
d021f575f6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
some missing pieces for __debugInfo
2014-02-20 02:08:07 +01:00
Anatol Belski
ef295ab8e8
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
...
Conflicts:
NEWS
2014-02-20 00:00:33 +01:00
Dmitry Stogov
ff61b46941
Use better data structures (incomplete)
2014-02-19 16:50:09 +04:00
Anatol Belski
cd064187da
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
Conflicts:
ext/fileinfo/libmagic.patch
ext/fileinfo/libmagic/readcdf.c
ext/openssl/openssl.c
2014-02-19 12:42:20 +01:00
Dmitry Stogov
b3aea904e0
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-19 15:34:46 +04:00
Dmitry Stogov
a22d27a756
Use better data structures (incomplete)
2014-02-19 15:34:32 +04:00
Xinchen Hui
3e89e92f57
Fixed possible NULL pointer dereference
2014-02-19 19:33:10 +08:00
Xinchen Hui
a52659bc25
zend_hash_del didn't check the PACKED flag
2014-02-19 19:27:42 +08:00
Daniel Lowrey
af318419ad
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add tests for Bug #65538
Fix Bug #65538 (cafile now supports stream wrappers)
2014-02-19 04:19:30 -07:00
Daniel Lowrey
4c1baa8263
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Skip failing tests when EC unavailable (RHEL)
2014-02-19 04:03:16 -07:00
Xinchen Hui
388e60a2d5
Fixed segfault in 017.phpt(a memory leak is reported now)
2014-02-19 19:03:03 +08:00
Xinchen Hui
189a39a187
Fixed segfault
2014-02-19 18:49:00 +08:00
Xinchen Hui
a28ce57bc5
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-19 18:42:22 +08:00
Xinchen Hui
75f583de91
Fixed memory leak (forgot to release the zval)
2014-02-19 18:41:50 +08:00
Dmitry Stogov
9187abfaef
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-19 14:36:05 +04:00
Dmitry Stogov
8bae1daa0c
Use better data structures (incomplete)
2014-02-19 14:35:28 +04:00
Xinchen Hui
757facf6c1
Fixed segfault in BEGIN/END SILENT
2014-02-19 18:34:27 +08:00
Anatol Belski
97c8a4da98
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
2014-02-19 11:29:15 +01:00
Anatol Belski
46cdc50e61
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch
2014-02-19 11:20:53 +01:00
Anatol Belski
5f526e4907
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove PHP_API_VERSION < 20100412 check
2014-02-19 11:02:19 +01:00
Xinchen Hui
c1c4d26817
Use better data structures (incomplete)
2014-02-19 17:58:39 +08:00
Anatol Belski
f4d61099fb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
expose correct libmagic version
2014-02-19 10:49:15 +01:00
Anatol Belski
61677fa12d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed tests in ext/fileinfo
2014-02-19 10:05:01 +01:00
Anatol Belski
9a250f6dc6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated to libmagic-5.17
2014-02-19 10:03:19 +01:00
Dmitry Stogov
9067dbcd0d
Use better data structures (incomplete)
2014-02-19 12:03:01 +04:00
Xinchen Hui
6a3a33405b
Use zend_string avoid mem wasting
2014-02-19 12:13:43 +08:00
Dmitry Stogov
557994d50d
Use better data structures (incomplete)
2014-02-19 01:12:05 +04:00
Dmitry Stogov
110e01a21e
Fixed object destruction
2014-02-18 22:35:54 +04:00
Anatol Belski
3580f401ca
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libmagic.patch
2014-02-18 19:09:20 +01:00
Stanislav Malyshev
87cb5858e7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update news with CVE
5.5.11-dev next
5.5.11 next for NEWS
2014-02-18 08:49:15 -08:00
Dmitry Stogov
bb58ea348c
Use better data structures (incomplete)
2014-02-18 18:10:54 +04:00
Dmitry Stogov
9e6c0c6a89
Use better data structures (incomplete)
2014-02-18 17:31:27 +04:00
Dmitry Stogov
246d50fd95
Fixed memory leak
2014-02-18 17:11:57 +04:00
Remi Collet
e32b54578a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Set fileinfo version to 1.0.5 (as in php 5.4, no diff)
NEWS
NEWS
Fixed Bug #66731 file: infinite recursion
2014-02-18 13:58:48 +01:00
Dmitry Stogov
7428cac6e8
Use better data structures (incomplete)
2014-02-18 16:44:01 +04:00
Dmitry Stogov
9ddf3c5780
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-18 16:28:26 +04:00
Dmitry Stogov
5de7115679
Use better data structures (incomplete; able to run bench.php)
2014-02-18 16:27:38 +04:00
Anatol Belski
a3dd7ab593
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
2014-02-18 10:56:30 +01:00
Xinchen Hui
43b03c74b3
Refacting smart_str
2014-02-18 17:42:46 +08:00
Dmitry Stogov
1c4f3d39a8
Use better data structures (incomplete)
2014-02-18 11:44:58 +04:00
Stanislav Malyshev
8862a4d98d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.27 now
update NEWS
2014-02-17 21:22:56 -08:00
Sara Golemon
837af67271
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add __debugInfo() magic method
2014-02-17 19:37:55 -08:00
Daniel Lowrey
491d492ada
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed broken build when EC unavailable
2014-02-17 19:39:43 -05:00
Dmitry Stogov
a0fe8e5a91
Use better data structures (incomplete)
2014-02-18 01:41:23 +04:00
Dmitry Stogov
4d6ff31cb3
emalloced interned strings have to be deallocated before memory manager shutdown
2014-02-17 22:30:35 +04:00
Dmitry Stogov
fc5e9bee29
It should be fixed later in some better way (added ??? marks)
2014-02-17 22:17:16 +04:00
Andrey Hristov
f3e59b838e
Merge branch 'PHP-5.6'
2014-02-17 19:04:14 +02:00
Andrey Hristov
f83e88e3ea
Merge branch 'PHP-5.6'
2014-02-17 18:37:59 +02:00
Xinchen Hui
e7d173fc82
Fixed Memory leak
2014-02-17 23:01:25 +08:00
Xinchen Hui
6d77ca06b9
Fixed Segfault
2014-02-17 22:47:52 +08:00
Dmitry Stogov
2b9b9afa7a
Use better data structures (incomplete)
2014-02-17 17:59:18 +04:00
Anatol Belski
cbaea7d214
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/json/php_json.h
ext/pgsql/pgsql.c
ext/pgsql/php_pgsql.h
2014-02-17 12:27:33 +01:00
Anatol Belski
4dd4f728ce
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
Conflicts:
ext/json/php_json.h
2014-02-17 12:17:04 +01:00
Julien Pauli
90325ba7ef
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS for #65753
Export JsonSerializable Interface (bug #65753 )
2014-02-17 11:16:48 +01:00
Julien Pauli
1ba76df8d0
Export JsonSerializable Interface (bug #65753 )
2014-02-17 10:39:39 +01:00
Anatol Belski
3d1d48a85f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
simplify the metadata part
2014-02-17 10:21:59 +01:00
Anatol Belski
463b450595
after merge fix
2014-02-17 09:21:27 +01:00
Anatol Belski
f6c611fd84
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
Conflicts:
ext/pgsql/pgsql.c
ext/pgsql/php_pgsql.h
2014-02-17 09:16:13 +01:00
Dmitry Stogov
5066169070
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-17 11:50:44 +04:00
Dmitry Stogov
0e425121b3
Use better data structures (incomplete)
2014-02-17 11:50:32 +04:00
Xinchen Hui
50927142f3
Use better data structures (incomplete)
2014-02-17 15:41:02 +08:00
Xinchen Hui
028bdea3db
Use better data structures (incomplete)
2014-02-17 15:17:53 +08:00
Scott MacVicar
24092b7196
Merge branch 'PHP-5.6'
...
* PHP-5.6:
imagettftext() uses the last charactermap it found and not the one you want
[libxml] Unit test for libxml_disable_entity_loader()
Add pgsql related change information to NEWS and UPGRADING
2014-02-16 22:51:20 -08:00
Xinchen Hui
ab2a73a662
Use better data structures (incomplete)
2014-02-17 11:05:48 +08:00
Yasuo Ohgaki
d06551b957
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Imprement FR #25854 Return value for pg_insert should be resource instead of bool
2014-02-17 06:38:36 +09:00
Yasuo Ohgaki
540a28b4ec
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Implement FR #41146 - Add "description" with exteneded flag pg_meta_data(). pg_meta_data(resource $conn, string $table [, bool extended]) It also made pg_meta_data() return "is enum" always.
2014-02-17 06:35:15 +09:00
Yasuo Ohgaki
862e4bdf52
Implement FR #41146 - Add "description" with exteneded flag pg_meta_data().
...
pg_meta_data(resource $conn, string $table [, bool extended])
It also made pg_meta_data() return "is enum" always.
2014-02-17 06:23:52 +09:00
Anatol Belski
558795d02b
fix always_populate_raw_data config
2014-02-16 19:29:07 +01:00
Anatol Belski
d69911515a
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
2014-02-16 17:17:19 +01:00
Anatol Belski
107df3d32b
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-16 17:16:55 +01:00
Anatol Belski
a2928ea32c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated pgsql/config.w32
2014-02-16 17:15:40 +01:00
Xinchen Hui
ad1838d248
Use better data structures (incomplete)
2014-02-16 22:27:31 +08:00
Xinchen Hui
f0168baecf
Use better data structures (incomplete)
2014-02-16 22:15:54 +08:00
Anatol Belski
01cf1aabe2
remove cast
2014-02-16 15:08:12 +01:00
Anatol Belski
88ba1e9eb5
remove some obsolete casts
2014-02-16 15:07:32 +01:00
Anatol Belski
d8c35fd578
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/pgsql/pgsql.c
ext/pgsql/tests/config.inc
2014-02-16 15:06:44 +01:00
Anatol Belski
c801f53102
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
Conflicts:
ext/pgsql/pgsql.c
ext/pgsql/tests/config.inc
2014-02-16 14:50:47 +01:00
Yasuo Ohgaki
24a2c76f86
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Travis has old PostgreSQL server. Avoid test error.
2014-02-16 18:09:23 +09:00
Yasuo Ohgaki
eed796f175
Merge branch 'PHP-5.6'
...
* PHP-5.6:
It seems travis needs ending >?
2014-02-16 16:41:24 +09:00
Yasuo Ohgaki
390b5200c6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
EXPERIMENTAL flags for pg_select/pg_insert/pg_update/pg_delete are removed.
2014-02-16 14:13:17 +09:00
Yasuo Ohgaki
44cb669ca7
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Remove XFAIL from a test
Declare a number of functions as variadic.
2014-02-16 10:52:54 +09:00
Yasuo Ohgaki
bf18d4c16e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed possbile injections against pg_insert()/pg_delete()/pg_update()/pg_select()
2014-02-16 10:47:58 +09:00
Anatol Belski
5847fc8b20
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/pgsql/pgsql.c
2014-02-16 01:12:00 +01:00
Anatol Belski
729079fc66
Merge remote-tracking branch 'origin/PHP-5.6' into str_size_and_int64_56_backport
...
Conflicts:
ext/mysqli/mysqli_api.c
ext/pgsql/pgsql.c
2014-02-16 01:06:20 +01:00
Nikita Popov
1aa6f95651
Merge branch 'PHP-5.6'
2014-02-16 00:08:17 +01:00
Yasuo Ohgaki
e5b2e4c4d3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Refactor build_tablename()
2014-02-16 07:52:12 +09:00
Anatol Belski
fdc8dbe9d9
remaining backports for ext/*
2014-02-15 23:48:05 +01:00
Anatol Belski
c9e2bfc424
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqli/mysqli_api.c
ext/pgsql/pgsql.c
2014-02-15 23:12:40 +01:00
Yasuo Ohgaki
d10e83cf89
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revise encoding blacklist
2014-02-16 06:25:27 +09:00
Anatol Belski
98f03086bb
further ext backports
2014-02-15 21:48:15 +01:00
Anatol Belski
f2f78bc053
fix wrong backport
2014-02-15 21:41:28 +01:00
Anatol Belski
a005010ef6
backported remaining part in main/streams
2014-02-15 21:01:06 +01:00
Anatol Belski
4fc459e424
backported ticks function signature
2014-02-15 20:51:14 +01:00
Anatol Belski
23679f5a01
backport ext/spl
2014-02-15 20:38:36 +01:00
Anatol Belski
beb11f69f3
backported sapi/cli
2014-02-15 20:25:37 +01:00
Anatol Belski
1648d83e6d
backport ext/date
2014-02-15 20:25:16 +01:00
Anatol Belski
f6b64e93dd
backported ext/standard
2014-02-15 20:16:05 +01:00
Johannes Schlüter
bc4e9d36a6
Merge branch 'PHP-5.6'
2014-02-15 20:06:15 +01:00
Xinchen Hui
34aefa5604
Use better data structures (incomplete)
2014-02-15 23:21:09 +08:00
Anatol Belski
b64462fd71
remove comment
2014-02-15 15:19:49 +01:00
Anatol Belski
abca09bf6b
remove test files
2014-02-15 14:43:53 +01:00
Anatol Belski
533dab176c
simple overwrites
2014-02-15 14:41:52 +01:00
Anatol Belski
f90db6feda
fix sprintf declaration for broken sprintf
2014-02-15 14:40:11 +01:00
Anatol Belski
9a7f242f86
backported main/
2014-02-15 14:33:11 +01:00
Felipe Pena
70317ca754
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Fix ZTS build when HAVE_PQESCAPELITERAL is not set
Update NEWS
Update NEWS
2014-02-15 11:05:39 -02:00
Anatol Belski
2fd7f7c825
backported Zend
2014-02-15 14:04:53 +01:00
Yasuo Ohgaki
c1211e84fc
Merge branch 'PHP-5.6'
2014-02-15 18:30:50 +09:00
Daniel Lowrey
1b4af87af4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix for bug66501 - "key type not supported in this PHP build"
2014-02-14 18:24:04 -07:00
Anatol Belski
f2e817ea64
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-15 01:32:33 +01:00
Daniel Lowrey
89292d95ad
Add missing TSRMLS_CC
2014-02-14 17:27:29 -07:00
Daniel Lowrey
8562b8c163
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #47030 (separate host and peer verification)
2014-02-14 15:40:36 -07:00
Daniel Lowrey
a5551b73db
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix test broken if openssl is compiled without sslv2
2014-02-14 13:39:53 -07:00
Daniel Lowrey
d47f2116a0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix segfault accessing context when no context assigned
Conflicts:
ext/openssl/xp_ssl.c
2014-02-14 10:53:47 -07:00
Daniel Lowrey
4921c1f0ce
Fix segfault accessing context when no context assigned
...
Conflicts:
ext/openssl/xp_ssl.c
2014-02-14 10:33:43 -07:00
Daniel Lowrey
059c0a9eb9
Merge branch 'master' of git://git.php.net/php-src
...
* 'master' of git://git.php.net/php-src: (33 commits)
a few typofixes
a few typofixes
a few typofixes
Update NEWS and UPGRADING
move the peer verification NEWS entry to the alpha2 block, as it was pushed after alpha1
mention ldap_modify_batch()
Implement RFC https://wiki.php.net/rfc/default_encoding
update the alpha2 release date
Fixed ZTS and added fix to NEWS.
Implemented feature #45528 : Allow the DateTimeZone constructor to accept timezones per offset too.
Rename timelib_get_zone to timelib_parse_zone and export.
Replace old SVN references to Git
fix regex to detect valgrind version New PCRE version got stricter
fix regex to detect valgrind version New PCRE version got stricter
Fixed memory leak in pow operator
5.5.9 now released
Added information in NEWS and UPGRADING
add T_POW (**) operator
add NEWS block for 5.6.0alpha3
updated libs_version.txt
...
2014-02-14 10:27:11 -07:00
Lior Kaplan
464b1bc4fb
Merge branch 'PHP-5.6'
2014-02-14 17:19:33 +02:00
Veres Lajos
57294d6824
a few typofixes
2014-02-14 17:16:17 +02:00
Xinchen Hui
6cb316cf5d
Use better data structures (incomplete)
2014-02-14 23:11:40 +08:00
Dmitry Stogov
17bf59f895
Use better data structures (incomplete)
2014-02-14 17:48:45 +04:00
Dmitry Stogov
e85790a4d4
Use better data structures (incomplete)
2014-02-14 15:11:21 +04:00
Dmitry Stogov
686a078258
Use better data structures (incomplete)
2014-02-14 14:55:48 +04:00
Dmitry Stogov
a52817eb02
Use better data structures (incomplete)
2014-02-14 14:11:52 +04:00
Dmitry Stogov
c56a2344d0
Merge branch 'refactoring2' of github.com:zend-dev/php into refactoring2
2014-02-14 13:40:23 +04:00
Dmitry Stogov
398256e5fe
Use better data structures (incomplete)
2014-02-14 13:40:11 +04:00
Xinchen Hui
068ec75f8b
Use better data structures (incomplete)
2014-02-14 17:05:04 +08:00
Dmitry Stogov
40e053e7f3
Use better data structures (incomplete)
2014-02-13 17:54:23 +04:00
Anatol Belski
b923de2a8f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/standard/html.c
2014-02-13 09:22:58 +01:00
Yasuo Ohgaki
9a5cb51ebc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Implement RFC https://wiki.php.net/rfc/default_encoding
2014-02-13 11:56:54 +09:00
Anatol Belski
8cda1af604
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/oci8/oci8.c
2014-02-12 22:30:20 +01:00
Dmitry Stogov
6306918ed2
Use better data structures (incomplete)
2014-02-12 23:54:04 +04:00
Dmitry Stogov
7a9348f45d
Reverted zval_clear() and zval_release() back to zval_ptr_dtor()
2014-02-12 22:51:19 +04:00
Xinchen Hui
d3954f16d3
Use better data structures (incomplete) -- stash for today work
2014-02-12 22:15:08 +08:00
Dmitry Stogov
be82a07776
Use better data structures (incomplete)
2014-02-12 18:08:11 +04:00
Dmitry Stogov
4e66abad54
Use better data structures (incomplete) - refactored return_value handling
2014-02-12 14:29:51 +04:00
Dmitry Stogov
e2ea9a7319
Use better data structures (incomplete)
2014-02-12 11:42:27 +04:00
Ferenc Kovacs
c9e9151bb3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update the alpha2 release date
Make html_table_gen consistent with html_table.h
2014-02-12 06:40:43 +01:00
Xinchen Hui
0c0efba45f
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
2014-02-11 19:33:48 +08:00
Xinchen Hui
3f4c877bf7
Use better data structures (incomplete)
2014-02-11 19:33:18 +08:00
Derick Rethans
c4e6c12b71
Merge branch 'PHP-5.6'
2014-02-11 11:31:13 +00:00
Dmitry Stogov
2161103fc3
Use better data structures (incomplete)
2014-02-10 17:49:21 +04:00
Anatol Belski
d7a5bd11e5
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/date/php_date.c
2014-02-10 12:52:57 +01:00
Dmitry Stogov
00244baba8
Use better data structures (incomplete)
2014-02-10 12:18:01 +04:00
Dmitry Stogov
f4cfaf36e2
Use better data structures (incomplete)
2014-02-10 10:04:30 +04:00
Derick Rethans
a30ebbdb18
Merge branch 'PHP-5.6'
2014-02-09 15:57:54 -05:00
Anatol Belski
e7719f949a
fix printf fmt for zend_uint_t
2014-02-09 06:37:08 -08:00
Anatol Belski
d55c85d795
fix return of hash num elements
2014-02-09 14:29:10 +01:00
Anatol Belski
33b5108a2b
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-09 11:01:26 +01:00
Anatol Belski
d5c924750b
replace *_STRTOL with STRTOI, etc.
2014-02-09 10:55:52 +01:00
Anatol Belski
110c17f8b8
fix size types
2014-02-08 20:05:49 +01:00
Anatol Belski
9d972d3956
fix implicit type conversion
2014-02-08 20:05:16 +01:00
Anatol Belski
3ea59f0d51
fix size types in zend_ts_hash.*
2014-02-08 20:04:31 +01:00
Nuno Lopes
7b7d2952a6
fix regex to detect valgrind version
...
New PCRE version got stricter
2014-02-08 07:07:15 -05:00
Anatol Belski
da452e33e7
fix some implicit 32 vs 64 bit type conversions
2014-02-07 00:14:01 +01:00
Anatol Belski
06eff86e4d
it's actually correct to always use size_t for zend_size_t, even on 32 bit
2014-02-07 00:13:11 +01:00
Anatol Belski
44772c2cb5
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
Zend/zend_operators.c
2014-02-06 23:17:09 +01:00
Bob Weinand
237c1bf7b5
Merge branch 'PHP-5.6'
2014-02-06 21:32:11 +01:00
Anatol Belski
eeea68592f
after merge fix
2014-02-06 20:20:39 +01:00
Anatol Belski
7e8616620d
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Added information in NEWS and UPGRADING
add T_POW (**) operator
add NEWS block for 5.6.0alpha3
updated libs_version.txt
updated libs_version.txt
update libs_version.txt
Conflicts:
Zend/zend_ini_scanner.c
ext/standard/math.c
2014-02-06 20:20:12 +01:00
Bob Weinand
44dcdd146d
Merge branch 'PHP-5.6'
2014-02-06 14:48:56 +01:00
Anatol Belski
205543143f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated libs_version.txt
updated libs_version.txt
update libs_version.txt
2014-02-06 09:18:22 +01:00
Anatol Belski
a72d90cb6d
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-05 20:17:11 +01:00
Anatol Belski
190c7772c1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
more tests for ICU >= 52.1 compat
fix tests for ICU >= 52.1
2014-02-05 20:14:19 +01:00
Anatol Belski
bf0d383aba
fix tests for ICU >= 52.1
2014-02-05 19:25:33 +01:00
Hannes Magnusson
7d62a321c7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix year
2014-02-05 10:18:10 -08:00
Anatol Belski
b35c788a62
Merge branch 'PHP-5.6'
...
* PHP-5.6:
adapt test to curl 7.35.0 upgrade
2014-02-05 15:17:48 +01:00
Anatol Belski
ff390d788f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
move the NEWS entry into the right section
2014-02-05 10:52:17 +01:00
Anatol Belski
c907406c79
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-05 07:35:14 +01:00
Daniel Lowrey
6c1cdd0814
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed SNI failure from missing Z_STRVAL_PP
2014-02-04 19:13:50 -07:00
Anatol Belski
971a4a52e3
fix flag signness
2014-02-04 18:52:45 +01:00
Anatol Belski
1f8153a533
fix the comment text
2014-02-04 18:09:22 +01:00
Anatol Belski
be7934b91b
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-04 11:15:54 +01:00
Anatol Belski
60846fab58
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
updated NEWS
2014-02-04 10:39:46 +01:00
Anatol Belski
f27eaa1578
Merge branch 'PHP-5.6'
...
* PHP-5.6:
pcre tests go with 8.34 upgrade
2014-02-04 10:35:19 +01:00
Anatol Belski
2e8e2db82a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
pcre upgraded to 8.34
2014-02-04 10:32:09 +01:00
Anatol Belski
ac42ddf586
let thread id be 64 bit on win64
2014-02-03 18:44:46 +01:00
Anatol Belski
ba32bba8c2
fix some specs for line num
2014-02-03 18:14:31 +01:00
Anatol Belski
c98fcaafe7
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-03 17:21:30 +01:00
Anatol Belski
798e2e75b5
more cleanups to num args types
2014-02-03 17:03:53 +01:00
Anatol Belski
c5668d1fae
more cleanup for num args
2014-02-03 15:59:35 +01:00
Anatol Belski
6fb3434592
fix type for op num
2014-02-03 15:03:59 +01:00
Anatol Belski
7af9b01e26
fixed length property types in zend_property_info
2014-02-03 14:23:24 +01:00
Anatol Belski
8903518423
fixed types for num_args at various places
2014-02-03 14:17:15 +01:00
Ferenc Kovacs
0e764dc657
Merge branch 'PHP-5.6'
2014-02-03 04:21:27 +01:00
Anatol Belski
472579280f
after merge fix, some datatypes
2014-02-02 20:33:24 +01:00
Anatol Belski
7061c35725
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-02 18:46:15 +01:00
krakjoe
6597d86389
Merge branch 'PHP-5.6'
...
* PHP-5.6:
windows
2014-02-02 15:14:53 +00:00
krakjoe
2462d2764a
windows
2014-02-02 15:14:25 +00:00
krakjoe
eacab735e0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
clean symbols
2014-02-02 15:10:28 +00:00
krakjoe
f1a6ca29fb
clean symbols
2014-02-02 15:10:17 +00:00
krakjoe
8aaec7d1c3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
another patch from upstream
2014-02-02 14:59:30 +00:00
krakjoe
d260b5d240
another patch from upstream
2014-02-02 14:58:39 +00:00
krakjoe
202dcc0f6a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
woops
2014-02-02 14:50:43 +00:00
krakjoe
395a936397
woops
2014-02-02 14:50:32 +00:00
krakjoe
ee42849f8f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
better use of tmpnam/mkstemp
2014-02-02 14:42:54 +00:00
krakjoe
1deeec0ba8
better use of tmpnam/mkstemp
2014-02-02 14:42:31 +00:00
krakjoe
37f4f132fc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update version
2014-02-02 14:05:03 +00:00
krakjoe
591e64ff58
update version
2014-02-02 14:04:47 +00:00
krakjoe
4c6816ddf2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
remove use of zend directly, avoid leaks/bugs in modules etc
2014-02-02 13:51:05 +00:00
krakjoe
dc02b5a1fd
Merge branch 'master' of https://git.php.net/repository/php-src
2014-02-02 13:50:54 +00:00
krakjoe
270e487d41
remove use of zend directly, avoid leaks/bugs in modules etc
2014-02-02 13:43:43 +00:00
Anatol Belski
15896155c4
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-02-01 20:37:43 +01:00
Daniel Lowrey
f08e8772a7
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove #if PHP_VERSION_ID version checks
Conflicts:
ext/openssl/xp_ssl.c
2014-02-01 08:25:01 -07:00
Daniel Lowrey
0893a13e32
Remove #if PHP_VERSION_ID version checks
2014-02-01 08:13:53 -07:00
Daniel Lowrey
f197dafd1c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Use master-agnostic zend_is_true checks
Conflicts:
ext/openssl/xp_ssl.c
2014-01-31 14:22:35 -07:00
Christopher Jones
f65cdd0a46
Fix expectation that zval size was 4 bytes
...
Various range checks added
2014-01-30 17:45:15 -08:00
Anatol Belski
39c41e6c1d
cleanup with --reverse
2014-01-30 17:21:14 -08:00
Anatol Belski
247d7d7b14
add --zpp-vars to script usage out
2014-01-30 21:53:45 +01:00
Anatol Belski
d82da76d19
document more on --zpp-vars
2014-01-30 21:50:46 +01:00
Anatol Belski
e56176479c
added replace.php --zpp-vars
...
Simple cases on datatype replacements can be handled now
2014-01-30 21:40:43 +01:00
Anatol Belski
31ca11d1b6
more feasible solution for zpp specs using compat.h
2014-01-30 18:26:21 +01:00
Sara Golemon
7f42e62d22
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Make html_table_gen consistent with html_table.h
2014-01-30 02:06:30 -08:00
Christopher Jones
66500333cf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix merge
2014-02-10 17:04:55 -08:00
Christopher Jones
71a82be899
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Add Oracle PL/SQL BOOLEAN type support to oci_bind_by_name()
2014-02-10 15:01:37 -08:00
Sara Golemon
45e2a557f1
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Make html_table_gen consistent with html_table.h
2014-01-30 02:05:49 -08:00
Anatol Belski
d329b89a55
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-30 10:49:14 +01:00
Anatol Belski
5ed1bdf9a5
fix ZTS build
2014-01-30 10:47:58 +01:00
Anatol Belski
2adf9e6235
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-30 10:03:40 +01:00
Anatol Belski
ae850328a1
mention important compiler warnings, state the changed APIs more precisely
2014-01-30 09:32:24 +01:00
Stanislav Malyshev
11e47b1cdc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
tests still failing, so xfail for now until fixed
tests still failing, so xfail for now until fixed
tests still failing, so xfail for now until fixed
2014-01-29 23:48:44 -08:00
Stanislav Malyshev
d76a6a3e4d
tests still failing, so xfail for now until fixed
2014-01-29 23:48:44 -08:00
Yasuo Ohgaki
210b444e1d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug data->fd not set to -1 for open_basedir failure.
2014-01-30 14:17:11 +09:00
Daniel Lowrey
ba8cdc855d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed build breakage from b4b4d9697f
2014-01-29 17:59:46 -07:00
Anatol Belski
0c14569584
after merge fix
2014-01-29 23:21:15 +01:00
Anatol Belski
27868a0966
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-29 22:57:53 +01:00
Anatol Belski
c91ad8233b
fix merge error after b4b4d9697f
2014-01-29 22:50:56 +01:00
Anatol Belski
485e999d9c
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqli/php_mysqli_structs.h
2014-01-29 22:08:50 +01:00
Andrey Hristov
79e0c273b8
Merge branch 'master' of git.php.net:php-src
...
Conflicts:
ext/openssl/xp_ssl.c
2014-01-29 15:33:52 +02:00
Andrey Hristov
1c7f54d4f7
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
ext/openssl/xp_ssl.c
2014-01-29 15:32:02 +02:00
Remi Collet
cbb1097770
Merge branch 'PHP-5.6'
...
* PHP-5.6:
zip extension version 1.12.4
2014-01-29 14:01:03 +01:00
Anatol Belski
7554d07945
separated zpp and macro replacement
2014-01-29 13:39:02 +01:00
Anatol Belski
9fedc08613
more doc on replace.php
2014-01-29 13:10:57 +01:00
Anatol Belski
e2bdd42758
fixed reverse mode for --zpp
2014-01-29 12:52:38 +01:00
Anatol Belski
b281016972
some datatype fixes
2014-01-29 12:40:32 +01:00
Anatol Belski
e2cab1d888
fixed --zpp and added --zpp-compat
2014-01-29 12:39:19 +01:00
Anatol Belski
236e3188db
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
main/php_ini.c
2014-01-29 10:45:52 +01:00
Remi Collet
83c302840e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed Request #66574 Allow multiple paths in php_ini_scanned_path
2014-01-29 09:57:22 +01:00
Yasuo Ohgaki
3828b5d83d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed zend.multibyte tests partially
2014-01-29 15:56:13 +09:00
Anatol Belski
8da5217cd5
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Update NEWS/UPGRADING
Verify peers by default in client socket operations
add text for the new constants
add new consts
Fixed arginfo of PDO::__construct() to match the docs and zend_parse_parameters definition.
fix *.dsp files related to bug #50333
2014-01-29 00:36:37 +01:00
Anatol Belski
68969026fc
reveal implemented replace.php options
2014-01-29 00:35:40 +01:00
Anatol Belski
4347713fd2
more precise info on printf formats and fix some wording
2014-01-29 00:16:47 +01:00
Anatol Belski
febe423643
added info about new datatypes in zval
2014-01-28 23:55:39 +01:00
Daniel Lowrey
6edc84fcdf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS/UPGRADING
Verify peers by default in client socket operations
Conflicts:
ext/openssl/xp_ssl.c
2014-01-28 10:36:28 -07:00
Daniel Lowrey
4bc8f94b58
Merge branch 'master' of https://github.com/php/php-src
...
* 'master' of https://github.com/php/php-src :
add text for the new constants
add new consts
2014-01-28 09:53:17 -07:00
Andrey Hristov
fb5c7cda5d
Merge branch 'master' of git.php.net:php-src
2014-01-28 15:58:08 +02:00
Andrey Hristov
3834771b2e
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
UPGRADING
2014-01-28 15:57:48 +02:00
Andrey Hristov
d9078c7c8d
Merge branch 'PHP-5.6'
2014-01-28 15:47:50 +02:00
Anatol Belski
90bce9f1e8
word on bit shifting
2014-01-28 14:17:36 +01:00
Bob Weinand
4b8c098f02
Merge branch 'PHP-5.6'
2014-01-28 13:35:13 +01:00
Anatol Belski
b1396cc7a5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix *.dsp files related to bug #50333
2014-01-28 13:10:01 +01:00
Anatol Belski
82857031f0
fix datatype
2014-01-28 12:00:33 +01:00
Freek
54a6c1de7d
Fix #66562 : Consistency bug where curl_multi_getcontent behaves different from curl_exec
...
curl_exec returns an empty string when data is received from a domain that returns zero content. curl_multi_getcontent
returned null. Now it returns an empty string fixing the incosistency
2014-01-28 11:47:14 +01:00
Anatol Belski
b972c10f3c
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-28 07:58:50 +01:00
Daniel Lowrey
aafce7353e
Merge branch '5.6'
...
* 5.6:
Update NEWS/UPGRADING
Prevent invalid SAN peer verification on null byte prefix attack
2014-01-27 15:00:04 -07:00
Yasuo Ohgaki
9f3a98b124
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove obsolete description
2014-01-27 18:58:06 +09:00
Stanislav Malyshev
473cd4d6a9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix English and improve by Stas. Thanks :)
Update source docs
Revert "Update source docs"
Update source docs
2014-01-26 17:21:33 -08:00
Stanislav Malyshev
586f379b88
Merge branch 'PHP-5.6'
...
* PHP-5.6:
drop precision since trigonometric functions are non-portable
XFAIL multibyte tests until they are fixed (bug 66582)
2014-01-26 15:51:46 -08:00
Stanislav Malyshev
909ef53e9d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
drop precision since trigonometric functions are non-portable
2014-01-26 15:16:08 -08:00
Stanislav Malyshev
4e89151159
Merge branch 'PHP-5.6'
...
* PHP-5.6:
XFAIL multibyte tests until they are fixed (bug 66582)
2014-01-26 15:12:40 -08:00
Stanislav Malyshev
ceca4d2490
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test
2014-01-26 14:31:43 -08:00
Stanislav Malyshev
a0445644e0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test
2014-01-26 14:26:26 -08:00
Stanislav Malyshev
8e08f6c28d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test - new flag ZEND_ACC_HAS_TYPE_HINTS
2014-01-26 12:17:32 -08:00
Stanislav Malyshev
c4259f90b1
fix test - new flag ZEND_ACC_HAS_TYPE_HINTS
2014-01-26 12:17:29 -08:00
Anatol Belski
d7c02a47fd
extended replace.php with --reverse and --zpp
2014-01-26 18:21:05 +01:00
Derick Rethans
6dd41435a3
Merge branch 'PHP-5.6'
2014-01-26 14:02:55 +01:00
Anatol Belski
350d9db222
after merge fixes to ext/ldap
2014-01-26 13:42:06 +01:00
Anatol Belski
4d7f63385b
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-26 12:29:45 +01:00
Stanislav Malyshev
c2a93ba3af
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix test bug62479.phpt
2014-01-25 23:27:48 -08:00
Stanislav Malyshev
1eee68d3f4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Implement ldap_modify_batch.
2014-01-25 22:05:18 -08:00
Anatol Belski
2726001dd0
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-25 22:24:37 +01:00
Derick Rethans
0f62b94971
Merge branch 'PHP-5.6'
2014-01-25 16:16:42 +01:00
Anatol Belski
3b61e3ec1e
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqlnd/mysqlnd_ps_codec.c
2014-01-24 22:15:16 +01:00
Ferenc Kovacs
a791671f40
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix the primary qa email address and update the list of available people being able to add moderators to our lists
Revert "Fix #62479 : Some chars not parsed in passwords"
Fix #62479 : Some chars not parsed in passwords
2014-01-24 16:13:10 +01:00
Andrey Hristov
3aa6f8bfdd
Merge branch 'PHP-5.6'
2014-01-24 12:31:33 +02:00
Andrey Hristov
dc6b14149d
Merge branch 'PHP-5.6'
...
Conflicts:
ext/mysqlnd/mysqlnd_ps_codec.c
2014-01-24 12:15:03 +02:00
Anatol Belski
727fac6290
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqlnd/mysqlnd_ps_codec.c
2014-01-24 04:20:21 +01:00
Anatol Belski
9debf41bfd
some extension to the porting doc
2014-01-24 04:15:50 +01:00
Xinchen Hui
874a0bb7eb
Merge branch 'PHP-5.6'
2014-01-24 10:52:22 +08:00
Will Fitch
28e0a2129b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update gitignore and Makefile for additional entries
2014-01-23 21:36:54 -05:00
Christopher Jones
daa34699af
Add #defines for compatibility with PHP releases prior to the core PHP
...
type changes.
2014-01-23 11:13:32 -08:00
Andrey Hristov
7072db5a6b
FIx failing tests because of operator precedence
2014-01-23 18:20:13 +02:00
Anatol Belski
4be5d97f3d
fixed merge error in ext/oci8
2014-01-23 01:10:13 +01:00
Anatol Belski
c0e5d95ca6
added convert_to_int_ex
2014-01-23 01:07:44 +01:00
Christopher Jones
ab5405e800
Fixes to ext/oci8
2014-01-23 00:25:55 +01:00
Anatol Belski
2741cf56a4
missed header
2014-01-22 15:16:35 -08:00
Anatol Belski
aa6f6ca864
fixed ZEND_INT_FMT
2014-01-22 15:11:39 -08:00
Anatol Belski
2bdb887975
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-22 23:47:05 +01:00
Anatol Belski
4904be6d94
Merge branch 'PHP-5.6'
...
* PHP-5.6:
refixed that test for 5.5+
5.5.10 next
2014-01-22 23:31:09 +01:00
Anatol Belski
d21056176a
missing piece of code from the mainstream
2014-01-22 22:19:02 +01:00
Anatol Belski
806e540a4f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-22 15:43:09 +01:00
Anatol Belski
03dfe0d5e0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed test
2014-01-22 15:41:45 +01:00
Anatol Belski
529060dbc9
after merge fix ext\session
2014-01-22 14:55:25 +01:00
Anatol Belski
374a796daa
renamed the compat macros
2014-01-22 14:51:47 +01:00
Anatol Belski
dcdf236467
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix zts
2014-01-22 12:05:27 +01:00
Anatol Belski
bb45daeb75
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-22 11:56:50 +01:00
Anatol Belski
74fff1512a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed missing usleep() prototype in pgsql
2014-01-22 11:54:16 +01:00
Yasuo Ohgaki
36a7f48e84
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed previous commit may delete unwanted cookies. Sync tests from upper branches.
Re-fixed bug #66469
2014-01-22 19:23:52 +09:00
Anatol Belski
ff42d2a644
after merge fix and more revamp on ext\session
2014-01-22 09:54:04 +01:00
Anatol Belski
8a43325b38
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-22 09:29:30 +01:00
Yasuo Ohgaki
9cefeea860
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Re-fixed bug #66469
2014-01-22 13:49:13 +09:00
Stanislav Malyshev
d5f79e40e5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix CVE ref for bug #66060
fix CVE ref for bug #66060
fix buglet in makedist
5.4.26 next
fix news
2014-01-21 13:29:13 -08:00
Anatol Belski
a40c20f764
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqlnd/mysqlnd_result.c
2014-01-21 17:17:27 +01:00
Anatol Belski
4b7148711b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed post deactivate signature in ext\libxml
2014-01-21 17:15:12 +01:00
Johannes Schlüter
676864684b
Merge branch 'PHP-5.6'
2014-01-21 16:40:13 +01:00
David Soria Parra
807d937e91
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Change automaticaly to automatically
2014-01-21 16:20:14 +01:00
Ferenc Kovacs
2bf13b2042
Merge branch 'PHP-5.6'
2014-01-21 11:21:28 +01:00
Ferenc Kovacs
15acd4ee50
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix these tests so they properly clean up after themselves.
2014-01-21 02:29:11 +01:00
Anatol Belski
5b83f7252a
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-20 17:39:53 +01:00
Anatol Belski
9673f66da6
range checks for ext\bz2
2014-01-20 17:24:09 +01:00
Remi Collet
a3541301eb
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Skip those test which fails on ARM architecture
dos2unix
2014-01-20 14:44:43 +01:00
Xinchen Hui
aaad97675a
Merge branch 'PHP-5.6'
2014-01-20 21:25:42 +08:00
Anatol Belski
89a9acea1f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed glob compilation with vc12
2014-01-20 10:13:22 +01:00
Anatol Belski
d501707248
Merge branch 'PHP-5.6'
...
* PHP-5.6:
support for Visual C+ 2013
2014-01-20 10:05:37 +01:00
Remi Collet
5b5b9b9239
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Skip readline tests which fail with libedit Add specific libedit test (output slightly differs)
2014-01-20 09:39:39 +01:00
Remi Collet
3b82a477b0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed Bug #66412 readline_clear_history() with libedit causes segfault after #65714
2014-01-20 08:41:04 +01:00
Yasuo Ohgaki
fd45f1eb78
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Enable zend.multibyte tests. Tipcal configuration works, but most tests fail.
2014-01-19 13:33:27 +09:00
Anatol Belski
e3cfbef33f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/pdo_pgsql/pgsql_driver.c
2014-01-19 02:17:07 +01:00
Anatol Belski
d788a85736
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix C89 compat
2014-01-19 02:05:38 +01:00
Anatol Belski
137feda86a
fix C89 compat
2014-01-19 02:05:10 +01:00
Will Fitch
9eb4bc2f84
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix #62479 : Some chars not parsed in passwords
2014-01-18 19:49:06 -05:00
Anatol Belski
bc7dc1913c
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-19 01:35:02 +01:00
Will Fitch
4e5195f82c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #66509 : copy() arginfo incorrect since 5.4
2014-01-18 11:57:34 -05:00
Nikita Popov
89eab884d9
Merge branch 'PHP-5.6'
2014-01-18 14:44:57 +01:00
Johannes Schlüter
84efb8fc71
Merge branch 'PHP-5.6'
2014-01-18 13:53:15 +01:00
Johannes Schlüter
2dd38009ca
Merge branch 'phpdbg' into PHP-5.6
2014-01-18 13:52:27 +01:00
Anatol Belski
f5d48e8524
partial revamp ext/intl
2014-01-17 23:52:19 +01:00
Adam Harvey
86096a99ec
Merge branch 'PHP-5.6'
2014-01-17 20:29:31 +08:00
Michael Wallner
f1fc5a5bf5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Clarify always_populate_raw_post_data situation in 5.6
2014-01-17 12:19:17 +01:00
Anatol Belski
ee039d5a1a
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-17 11:12:14 +01:00
Anatol Belski
deb56c010e
Merge branch 'PHP-5.6'
2014-01-17 11:08:21 +01:00
Antony Dovgal
cfce5a4d02
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
forked the test for bug #66481
2014-01-17 12:22:34 +04:00
Antony Dovgal
a053e69991
fix indentation
2014-01-17 12:22:07 +04:00
Anatol Belski
feb4eb850d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
forked the test for bug #66481
2014-01-17 03:32:26 +01:00
Antony Dovgal
998f506b6d
Merge branch 'fpm-apparmor-fixed' of https://github.com/notti/php-src
...
* 'fpm-apparmor-fixed' of https://github.com/notti/php-src :
Add some basic and apparmor tests to fpm
Add --force-stderr to fpm
Add apparmor change hat functionality to fpm
2014-01-16 17:36:03 +04:00
Anatol Belski
24850c5662
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-16 10:16:04 +01:00
Xinchen Hui
7691926bbe
Merge branch 'PHP-5.6'
2014-01-16 14:42:14 +08:00
Anatol Belski
49c20cdfcb
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-16 07:32:33 +01:00
Yasuo Ohgaki
7b5b2b4efa
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Bug #66481 Segfaults on session_name()
2014-01-16 11:35:57 +09:00
Dmitry Stogov
511a375e60
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Log information about cached scripts and keys
2014-01-15 12:15:41 +04:00
Anatol Belski
208e580ebc
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/pgsql/pgsql.c
2014-01-15 08:29:12 +01:00
Dmitry Stogov
61028ad45e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
We don't know PHP_5_6_X_API_NO yet
2014-01-15 11:11:01 +04:00
Yasuo Ohgaki
e4f1eee6c3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added pg_lo_truncate() and 64bit large object support from PostgreSQL 9.3 and up
2014-01-15 14:39:56 +09:00
Yasuo Ohgaki
a92c5b14cf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Always initialize pg_version() result array elements to prevent failed test with older postgresql servers. Add missing client_encoding element.
2014-01-15 14:28:08 +09:00
Yasuo Ohgaki
ee4e5ce2cf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed pg_version() crash with older postgresql
2014-01-15 13:32:43 +09:00
Yasuo Ohgaki
42c134df4b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed session module is sending multiple set-cookie headers when session.use_strict_mode=1
2014-01-15 11:07:51 +09:00
Anatol Belski
3213959080
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-14 17:23:59 +01:00
Xinchen Hui
aca07343ce
Merge branch 'PHP-5.6'
2014-01-14 22:34:53 +08:00
Anatol Belski
4f71b9022d
fix printf spec
2014-01-14 05:59:40 -08:00
Anatol Belski
d384422f27
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqlnd/mysqlnd_ps_codec.c
2014-01-14 09:51:34 +01:00
Anatol Belski
25e57e702b
fix uninitialized value
2014-01-14 09:47:27 +01:00
Anatol Belski
0c04890354
more fixes after merge
2014-01-14 09:45:46 +01:00
Anatol Belski
5866c701a2
after merge fix
2014-01-14 09:15:55 +01:00
Anatol Belski
28c917923d
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqlnd/mysqlnd_ps_codec.c
2014-01-14 09:10:38 +01:00
Anatol Belski
614a69fe1d
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2014-01-14 08:59:36 +01:00
Yasuo Ohgaki
681e1a5ce0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Made pg_version() return full connection info.
2014-01-14 10:16:43 +09:00
Paul Tarjan
d599d36d49
Dont ignore errors from FT_Get_Glyph
2014-01-13 16:30:48 -08:00
Andrey Hristov
bbc37e78e8
Merge branch 'master' of git.php.net:php-src
2014-01-14 01:32:36 +02:00
Andrey Hristov
73008bb5ce
More refactoring of the big function generating execute requests
2014-01-14 01:31:16 +02:00
Anatol Belski
aeec64b7f4
fixed a typo
2014-01-13 23:12:58 +01:00
Anatol Belski
f92f7f05e9
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-13 22:08:35 +01:00
Dmitry Stogov
5980e987d2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed ZTS build
2014-01-13 23:11:36 +04:00
Anatol Belski
7010a933d1
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-13 18:58:45 +01:00
Anatol Belski
25dfcf4fdd
small corrections
2014-01-13 18:56:43 +01:00
Anatol Belski
de137e5a8d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
forked test for win32
2014-01-13 17:13:11 +01:00
Dmitry Stogov
127eb33b84
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66461 (PHP crashes if opcache.interned_strings_buffer=0)
2014-01-13 18:07:26 +04:00
Anatol Belski
972a6bd0f7
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/opcache/Optimizer/pass1_5.c
2014-01-13 14:29:14 +01:00
Anatol Belski
e15f7decd1
further porting notes
2014-01-13 14:23:39 +01:00
Dmitry Stogov
e141592da6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66440 (Optimisation of conditional JMPs based on pre-evaluate constant function calls)
2014-01-13 16:16:57 +04:00
Dmitry Stogov
f5182741a6
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
move common code into a function
2014-01-13 15:36:37 +04:00
Dmitry Stogov
3458dac342
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66471 (Keep backward compatibility)
2014-01-13 15:36:06 +04:00
Anatol Belski
21643019c0
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/mysqlnd/mysqlnd_ps_codec.c
2014-01-13 12:29:30 +01:00
Anatol Belski
bd5a5e7f7a
added ptrdiff_t notes and some other porting doc improvements
2014-01-13 12:22:01 +01:00
Anatol Belski
85ff0a75e3
ws and some note corrections
2014-01-13 12:04:25 +01:00
Anatol Belski
e5613c17fc
more on porting
2014-01-13 11:55:53 +01:00
Andrey Hristov
cf9966671c
Merge branch 'master' of git.php.net:php-src
2014-01-13 12:40:59 +02:00
Andrey Hristov
01d5e28057
move common code into a function
2014-01-13 12:40:39 +02:00
Anatol Belski
7957d672bc
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
* origin/master:
Fixed bug #66474 (Optimizer bug in constant string to boolean conversion)
2014-01-13 10:45:19 +01:00
Anatol Belski
f7e5a97076
further writing on PECL_PORTING
2014-01-13 10:44:36 +01:00
Dmitry Stogov
aab2e8eb7e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66474 (Optimizer bug in constant string to boolean conversion)
2014-01-13 12:08:23 +04:00
Anatol Belski
4560d412bb
reworked compat.h
2014-01-13 04:08:46 +01:00
Anatol Belski
2487493f83
added compat.h
2014-01-12 15:48:47 +01:00
Anatol Belski
3957288cf7
rrenamed the readme file
2014-01-12 14:02:18 +01:00
Anatol Belski
b1ea854100
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-12 12:03:53 +01:00
Anatol Belski
fba53c888b
started the porting docs/tools
2014-01-12 12:00:12 +01:00
Bob Weinand
a86e869ee8
Merge branch 'PHP-5.6'
2014-01-12 02:00:37 +01:00
Anatol Belski
fd09f3f059
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
Zend/zend_language_parser.y
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2014-01-11 16:30:35 +01:00
Nikita Popov
4facc35413
Merge branch 'PHP-5.6'
2014-01-11 12:54:08 +01:00
Anatol Belski
5122ece265
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-11 00:25:13 +01:00
Johannes Schlüter
82dfe1acc8
Merge branch 'PHP-5.6'
2014-01-10 16:04:29 +01:00
Anatol Belski
5fefc0ce47
reverted erroneous patch in array_sum()
2014-01-10 14:56:03 +01:00
Anatol Belski
aaccf60fea
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-09 16:30:25 +01:00
Anatol Belski
9aaea81cfe
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed EOL in the test
2014-01-09 15:29:16 +01:00
Anatol Belski
3572a0482d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added testcase from bug #65371
2014-01-09 15:25:18 +01:00
Dmitry Stogov
83b00bbd08
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed ADD_INTERNED_STRING() logic to support strings that are already interned. (Terry)
2014-01-09 13:50:12 +04:00
Anatol Belski
6951bea25e
revamped ext/shmop
2014-01-09 09:51:21 +01:00
Anatol Belski
9dd5099566
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-09 08:26:42 +01:00
Anatol Belski
2a468115e3
revamp mysqlnd, mysqli, mysql and pdo_mysql
2014-01-09 04:18:37 +01:00
Anatol Belski
8edaa10eab
fixed the 'p' modifier when %p is used
2014-01-09 04:17:38 +01:00
Gernot Vormayr
e9883779a0
Add some basic and apparmor tests to fpm
2014-01-07 00:21:24 +01:00
Gernot Vormayr
32d9409a24
Add --force-stderr to fpm
2014-01-07 00:19:01 +01:00
Scott MacVicar
6fe34014f0
Merge branch 'PHP-5.6'
...
* PHP-5.6:
[libxml] Unit test for libxml_disable_entity_loader()
2014-01-06 17:06:33 +00:00
Scott MacVicar
28beaaad9c
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
[libxml] Unit test for libxml_disable_entity_loader()
2014-01-06 17:05:34 +00:00
Scott MacVicar
42f084c692
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
[libxml] Unit test for libxml_disable_entity_loader()
2014-01-06 17:05:16 +00:00
Scott MacVicar
24cc7c0be2
[libxml] Unit test for libxml_disable_entity_loader()
...
Summary:
Test to make sure libxml_disable_entity_loader() is behaving.
2014-01-06 17:04:54 +00:00
Anatol Belski
47df90a765
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2014-01-05 23:06:08 +01:00
Anatol Belski
e797e058c5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
one more extension for the basename test
2014-01-05 19:22:11 +01:00
Anatol Belski
ac875f8f7e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
improved the fix for bug #66395
Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS 2012
updated NEWS
Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS 2012
2014-01-05 19:13:40 +01:00
Anatol Belski
4ff4837966
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
Zend/zend.c
Zend/zend_ini_scanner.c
2014-01-04 02:17:11 +01:00
Anatol Belski
19aafe43b2
Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS 2012
...
Visual Studio 2012 includes sanity checks for C++11 features, see
http://msdn.microsoft.com/en-us/library/vstudio/bb531344(v=vs.110).aspx
To fix the 'inline' keyword redefinition for C++ in debug mode, the
new macros ZEND_WIN32_KEEP_INLINE is introduced, ZEND_WIN32_FORCE_INLINE is
automatically appended in release mode.
2014-01-04 01:41:49 +01:00
Nikita Popov
250ee4c17a
Merge branch 'PHP-5.6'
2014-01-04 01:30:44 +01:00
Anatol Belski
6e7d24dd14
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
2014-01-03 22:45:09 +01:00
Anatol Belski
b502c0a3dc
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66395 basename function doesn't remove drive letter
2014-01-03 22:39:17 +01:00
Xinchen Hui
b209c27302
Merge branch 'PHP-5.6'
2014-01-03 11:37:32 +08:00
Xinchen Hui
af6c11c5f0
Bump year
2014-01-03 11:11:57 +08:00
Xinchen Hui
0f53e37494
Merge branch 'PHP-5.6'
2014-01-03 11:09:07 +08:00
Xinchen Hui
75bad44801
Bump year
2014-01-03 11:08:10 +08:00
Derick Rethans
c9f909cd42
Merge branch 'PHP-5.6'
2014-01-02 12:52:26 +00:00
Derick Rethans
63d390cdf9
Merge branch 'PHP-5.6'
2014-01-02 12:47:52 +00:00
Anatol Belski
826064410c
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/gmp/gmp.c
2014-01-02 09:55:25 +01:00
krakjoe
9e4ab7c53f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix #66375 bad logic in sapi header callback routine
2014-01-01 13:01:41 +00:00
Felipe Pena
57a6209051
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Fixed bug #66381 (__ss_family was changed on AIX 5.3)
2014-01-01 09:57:03 -02:00
Nikita Popov
73db3cda8b
Merge branch 'PHP-5.6'
2013-12-30 14:41:45 +01:00
Michael Wallner
79d1c70e99
This should be an empty merge.
...
Merge branch 'PHP-5.6'
* PHP-5.6:
update php.ini-*
Add E_DEPRECATED when populating $HTTP_RAW_POST_DATA
add 'never'
fix type
fix type; add tests for -1
s/BOOLEAN/ENTRY/
re-introduce always_populate_raw_post_data
2013-12-30 14:32:25 +01:00
Nikita Popov
056f3441fd
Merge branch 'PHP-5.6'
2013-12-30 13:59:55 +01:00
Anatol Belski
9ac081f295
after merge fixes to ext/zip
2013-12-30 10:48:14 +01:00
Anatol Belski
4e9b54757a
fixes after merge and some opcache revamp
2013-12-30 10:42:05 +01:00
Anatol Belski
d40315a09d
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-30 10:12:32 +01:00
Anatol Belski
bcfee0ada4
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/opcache/Optimizer/zend_optimizer.c
ext/opcache/Optimizer/zend_optimizer_internal.h
ext/zip/php_zip.c
2013-12-30 10:07:08 +01:00
Remi Collet
a3c7971f94
Merge branch 'PHP-5.6'
...
* PHP-5.6:
missing file from libzip 0.11.2
2013-12-30 10:00:19 +01:00
Remi Collet
7844fb292c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix compat for PHP ABI changes
2013-12-30 08:47:23 +01:00
Remi Collet
717dcdaa67
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
2013-12-30 07:45:17 +01:00
Remi Collet
764190c1d6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Sync with pecl/zip 1.12.4dev
2013-12-30 07:38:45 +01:00
Xinchen Hui
6b34343479
Merge branch 'PHP-5.6'
2013-12-30 11:07:42 +08:00
Xinchen Hui
8b72df0608
Merge branch 'PHP-5.6'
2013-12-30 10:58:56 +08:00
Xinchen Hui
408ae9a452
Merge branch 'PHP-5.6'
2013-12-30 10:52:21 +08:00
Anatol Belski
b923ee32c9
added ZEND_ABS and revamped some related stuff
2013-12-29 16:39:15 +01:00
Anatol Belski
1085d21693
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-28 17:30:23 +01:00
Remi Collet
bd3e5aab1d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
minor fix on previous
2013-12-28 14:29:38 +01:00
Remi Collet
8785e22bca
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop())
2013-12-28 14:26:24 +01:00
Anatol Belski
4aca887f8b
other place with 64 bit << and hash size
2013-12-28 13:58:22 +01:00
Anatol Belski
10cd3f86b7
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-28 02:36:45 +01:00
Anatol Belski
b8b4591265
fix bit shift 64 vs 32 bit vars
2013-12-28 00:38:49 +01:00
Anatol Belski
e2df932ef0
revamp the hash api once more
2013-12-27 23:28:22 +01:00
krakjoe
50f09d8256
Merge branch 'PHP-5.6'
...
* PHP-5.6:
update version output
2013-12-27 18:04:06 +00:00
krakjoe
2b111a3b14
update version output
2013-12-27 18:03:11 +00:00
Anatol Belski
173bd989cd
fix macros conflicts when included intsafe.h
2013-12-27 17:32:46 +01:00
Anatol Belski
d0ab1e4ea4
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/gd/gd.c
2013-12-27 17:01:29 +01:00
Xinchen Hui
fb4678f1ac
Merge branch 'PHP-5.6'
2013-12-27 20:46:08 +08:00
Xinchen Hui
c0476ff44b
Merge branch 'PHP-5.6'
2013-12-27 14:11:41 +08:00
Xinchen Hui
1a4863d560
Merge branch 'PHP-5.6'
2013-12-27 14:07:15 +08:00
Anatol Belski
8d0b174eea
removed accidentially merged in files
2013-12-26 13:33:38 +01:00
Anatol Belski
3e65d7dad0
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
Zend/zend_compile.c
2013-12-26 13:06:49 +01:00
Dmitry Stogov
65fd18fd88
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time. (Some extensions might need to be fixed using str_efree() instead of efree() to support interned strings).
Conflicts:
NEWS
Zend/zend_extensions.h
Zend/zend_modules.h
2013-12-26 14:51:05 +04:00
Xinchen Hui
d6713f3989
Fixed warning "No new line at end of file"
2013-12-26 17:45:37 +08:00
Dmitry Stogov
ef56cfb991
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed ZEND_MM_MEM_TYPE=mmap_zero
2013-12-26 11:53:03 +04:00
Anatol Belski
a5720b4493
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-25 23:45:53 +01:00
Anatol Belski
c676f5b36d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix c89 compat
2013-12-25 23:44:24 +01:00
Anatol Belski
b36bae023e
fix c89 compat
2013-12-25 23:43:20 +01:00
Anatol Belski
734c28d242
Merge branch 'PHP-5.6'
...
* PHP-5.6:
brought the ext/sybase_ct/config.w32 up to date
2013-12-25 23:31:17 +01:00
Anatol Belski
d031758b49
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-25 22:40:03 +01:00
Anatol Belski
1dc85bfa6c
revamp ext/sybase_ct
2013-12-25 22:33:11 +01:00
Xinchen Hui
bd0a8f31a4
Merge branch 'master' of git.php.net:php-src
2013-12-25 15:36:45 +08:00
Xinchen Hui
03e36cd5b8
Merge branch 'PHP-5.6'
2013-12-25 15:35:02 +08:00
Stanislav Malyshev
b3c43a1aec
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.4.25 next
2013-12-24 22:23:55 -08:00
Anatol Belski
79eb697f48
Merge branch 'master' into str_size_and_int64
2013-12-24 22:04:07 +01:00
Anatol Belski
0493099786
next wave on fixes for ext/phpdbg
2013-12-24 21:59:44 +01:00
Anatol Belski
3af0ee0ea3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed incompatible pointer in phpdbg on win64
2013-12-24 21:09:45 +01:00
Anatol Belski
868dbe7baf
fixed incompatible pointer in phpdbg on win64
2013-12-24 21:08:33 +01:00
Bob Weinand
c02acf3c29
Merge branch 'PHP-5.6'
2013-12-24 13:20:12 +01:00
Bob Weinand
36f487a32c
Fixed #18
...
Errors not displaying in some configurations
2013-12-24 13:19:18 +01:00
Anatol Belski
5ae8f624a1
basic fixes to sapi/phpdbg
2013-12-24 02:44:53 -08:00
Anatol Belski
713b69adf8
added credits note
2013-12-24 02:44:53 -08:00
Anatol Belski
87f348a1e7
basic fixes to sapi/fpm
2013-12-24 02:44:53 -08:00
Anatol Belski
4267b15630
Z_STRLEN vs Z_STRSIZE
2013-12-24 02:44:53 -08:00
Joe Watkins
5aba79affa
update credits
2013-12-24 02:44:53 -08:00
Bob Weinand
62f0ffb34e
Added breaking upon fatal-ish error
2013-12-24 02:44:53 -08:00
Stanislav Malyshev
4363b38657
fix NEWS file for master
2013-12-24 02:44:53 -08:00
Bob Weinand
09e6ef3986
Fixed credits in phpdbg.* files
2013-12-24 02:44:52 -08:00
Joe Watkins
ca8ff0725b
update credits
2013-12-24 09:04:32 +00:00
Joe Watkins
e07dfa96b3
Merge branch 'master' of https://git.php.net/repository/php-src
...
* 'master' of https://git.php.net/repository/php-src :
Fixed credits in phpdbg.* files
Added breaking upon fatal-ish error
fix NEWS file for master
credits file for phpdbg
Fixed credits in phpdbg.* files
reformat
credits file
2013-12-24 09:03:55 +00:00
Bob Weinand
ad358593a8
Merge branch 'PHP-5.6'
2013-12-24 00:37:20 +01:00
Bob Weinand
31c15f0d17
Fixed credits in phpdbg.* files
2013-12-24 00:34:23 +01:00
Bob Weinand
02352bee60
Added breaking upon fatal-ish error
2013-12-24 00:30:37 +01:00
Stanislav Malyshev
6daa84f199
fix NEWS file for master
2013-12-23 15:25:38 -08:00
Joe Watkins
a1387ae088
credits file for phpdbg
2013-12-24 00:16:47 +01:00
Anatol Belski
2f77629f72
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-23 23:41:29 +01:00
Anatol Belski
e540839c8b
Merge branch 'master' into str_size_and_int64
...
Conflicts:
Zend/zend_vm_execute.h
ext/opcache/Optimizer/pass1_5.c
ext/opcache/ZendAccelerator.h
2013-12-23 23:39:42 +01:00
Joe Watkins
056f6fd895
Merge branch 'PHP-5.6'
...
* PHP-5.6:
credits file for phpdbg
2013-12-23 22:37:36 +00:00
Anatol Belski
63ea29a206
fixed tests using 'expected to be long' vs 'expected to be integer'
2013-12-23 14:28:02 -08:00
Anatol Belski
a06a89dba6
removed the all style function arg formats 'l', 's', 'p'
2013-12-23 14:24:34 -08:00
Stanislav Malyshev
392f6830a1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
restore NEWS to the state of 6c5e93fe17
2013-12-23 14:10:44 -08:00
Anatol Belski
389b4d411e
fix typo after merge
2013-12-23 20:31:40 +01:00
Dmitry Stogov
276b9767e4
Fixed bug #66338 (Optimization binding of class constants is not safely opcacheable)
2013-12-23 20:30:30 +01:00
Dmitry Stogov
c699696c43
Fixed bug #66334 (Memory Leak in new pass1_5.c optimizations). (Terry)
2013-12-23 20:30:27 +01:00
krakjoe
8d64f0ee71
missing, apparently
2013-12-23 20:25:58 +01:00
Dmitry Stogov
67eccf8617
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66338 (Optimization binding of class constants is not safely opcacheable)
2013-12-23 16:54:54 +04:00
Dmitry Stogov
bd88bed670
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
removed outdated IsDebuggerPresent declaration
2013-12-23 16:05:38 +04:00
Dmitry Stogov
209ec406ca
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66334 (Memory Leak in new pass1_5.c optimizations). (Terry)
2013-12-23 16:05:18 +04:00
Anatol Belski
ea7a70708f
removed outdated IsDebuggerPresent declaration
...
This piece of code seems to retain compatibility with some windows
versions before 2000. Today it's not relevant anymore and only
produces a warning C4273 because of the conflicting prototype. In
VC9 the declaration is present in winbase.h:4142, but available
is it already in winxp. Here's the doc link
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680345(v=vs.85).aspx
2013-12-23 12:34:30 +01:00
Dmitry Stogov
1c462a4e4d
Added suggestion about opcache.revalidate_freq setting in development environment
2013-12-23 12:34:27 +01:00
Dmitry Stogov
9c5a902106
Fixed Issue #140 : "opcache.enable_file_override" doesn't respect "opcache.revalidate_freq"
2013-12-23 12:34:26 +01:00
Sara Golemon
78f2ded86a
Bump ZEND_MODULE_API_NO due to the TSRMLS change to zend_is_true()
2013-12-23 12:30:16 +01:00
krakjoe
a2e77fb258
opcodes
2013-12-23 12:29:01 +01:00
krakjoe
07e97f919d
missing, apparently
2013-12-23 12:28:59 +01:00
krakjoe
f9affb5ae9
stop warnings from unused opcode map
2013-12-23 12:24:11 +01:00
Felipe Pena
aaca4ede15
- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com
2013-12-23 12:17:15 +01:00
Anatol Belski
f4a96983e1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
removed outdated IsDebuggerPresent declaration
2013-12-23 12:01:26 +01:00
Dmitry Stogov
62fa84a031
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added suggestion about opcache.revalidate_freq setting in development environment
2013-12-23 13:11:22 +04:00
Dmitry Stogov
5bc9e006e8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed Issue #140 : "opcache.enable_file_override" doesn't respect "opcache.revalidate_freq"
fix news
opcodes
opcodes
Conflicts:
NEWS
2013-12-23 12:52:27 +04:00
Sara Golemon
6a2a2b52f9
Bump ZEND_MODULE_API_NO due to the TSRMLS change to zend_is_true()
2013-12-22 14:10:59 -08:00
krakjoe
befdd1770a
fix news
2013-12-22 14:34:29 +00:00
krakjoe
523a6b50ae
fix news file
2013-12-22 13:27:38 +00:00
krakjoe
8ce521a6a7
missing, apparently
2013-12-22 13:19:35 +00:00
krakjoe
621862a192
Merge branch 'PHP-5.6'
...
* PHP-5.6:
stop warnings from unused opcode map
- BFN
Conflicts:
NEWS
Zend/zend_vm_opcodes.h
2013-12-22 13:15:40 +00:00
Felipe Pena
e700cbff22
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries) patch by: michael at orlitzky dot com
2013-12-22 09:43:29 -02:00
Anatol Belski
85251eccaf
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-22 11:57:14 +01:00
Anatol Belski
e11fbd979f
next wave of revamp in Zend
2013-12-22 11:54:30 +01:00
Bob Weinand
2bf271bbb0
Merge branch 'PHP-5.6'
2013-12-22 01:08:47 +01:00
Bob Weinand
5b1f6caaf0
Merge branch 'PHP-5.6'
2013-12-22 00:57:31 +01:00
Anatol Belski
94fcc9e8c7
Merge branch 'master' into str_size_and_int64
2013-12-21 21:49:03 +01:00
Bob Weinand
0cc89be244
Merge branch 'PHP-5.6'
2013-12-21 21:33:15 +01:00
Anatol Belski
b77d6bb2b4
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-21 20:46:42 +01:00
Bob Weinand
e2b75e5bb7
Merge branch 'PHP-5.6'
2013-12-21 19:32:41 +01:00
Christopher Jones
1b1b706818
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Align 'configure --help' columns
Added NEWS and UPGRADING info for phpdbg
2013-12-20 10:05:52 -08:00
Anatol Belski
3f2f1b2661
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-20 14:47:15 +01:00
Bob Weinand
3926362d30
Merge branch 'master' of https://git.php.net/push/php-src
2013-12-20 14:36:28 +01:00
Bob Weinand
f500be8838
Merge branch 'PHP-5.6'
2013-12-20 14:35:40 +01:00
Bob Weinand
4350937027
Merge branch 'master' of sapi/phpdbg into PHP-5.6
...
Including phpdbg.
2013-12-20 14:27:51 +01:00
Anatol Belski
b0a551ee14
final remove of the temporary int64/strlen configure options
2013-12-20 09:06:31 +01:00
Anatol Belski
f2fc935502
next wave on semantical replacements long vs. int
2013-12-19 23:32:58 -08:00
Anatol Belski
98e273bb03
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
ext/zip/php_zip.c
2013-12-19 22:18:18 +01:00
Boris Lytochkin
ba51a375ae
Merge branch '5.6'
...
* 5.6:
Fixed SNMP_ERR_TOOBIG handling for bulk walk operations. (Boris Lytochkin)
2013-12-20 00:47:26 +04:00
Derick Rethans
db025b3789
Merge branch 'PHP-5.6'
2013-12-19 19:01:08 +00:00
Derick Rethans
e1a5edaac2
Merge branch 'PHP-5.5'
2013-12-19 18:58:48 +00:00
Anatol Belski
88456894b9
Merge branch 'str_size_and_int64' of https://git.php.net/push/php-src into str_size_and_int64
2013-12-19 08:44:56 -08:00
Anatol Belski
6125278290
more semantical replacements LONG vs. INT
2013-12-19 08:40:41 -08:00
Anatol Belski
6b8a78eb5f
added comment
2013-12-19 14:28:00 +01:00
Anatol Belski
f58d0b35ed
massive update semantical LONG vs INT replacements
2013-12-19 05:07:37 -08:00
Remi Collet
e75b967610
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
save a few memory
Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real)
2013-12-19 10:56:25 +01:00
Michael Wallner
551569262b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS handling section of README.GIT-RULES
2013-12-19 10:10:09 +01:00
krakjoe
ce4ba54583
test commit
2013-12-19 10:08:51 +01:00
Anatol Belski
5d263adf4c
fixed duplicated include
2013-12-19 08:48:27 +01:00
Anatol Belski
a16217d4a4
added file header
2013-12-19 08:43:11 +01:00
Anatol Belski
a981798d8e
add missing header
2013-12-18 15:31:06 -08:00
Anatol Belski
cfb76d53f7
correct fix for ext/opcache regarding zend_size_t replacements
2013-12-18 15:29:04 -08:00
Anatol Belski
e9224fc81b
reverted the previous wrong patch
2013-12-18 15:28:23 -08:00
Anatol Belski
5f3e76dfe5
fixes ext/opcache after too much replacement
2013-12-18 15:21:34 -08:00
Anatol Belski
ba5a1995bb
Merge branch 'str_size_and_int64' of https://git.php.net/push/php-src into str_size_and_int64
2013-12-18 15:08:07 -08:00
Anatol Belski
af362b20c6
zend_size_t for *.cpp files as well
2013-12-18 15:07:30 -08:00
Anatol Belski
f62aa10f3e
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-12-19 00:03:49 +01:00
Anatol Belski
942f91ff0f
fix zend_size_t type def
2013-12-19 00:03:12 +01:00
Anatol Belski
8709cc6d60
size_t part for *.l files
2013-12-18 14:56:40 -08:00
Anatol Belski
0b8f946ea5
size_t part for *.y files
2013-12-18 14:53:48 -08:00
Anatol Belski
d5daea505f
size_t part for win32/
2013-12-18 14:50:32 -08:00
Anatol Belski
b1abe4ca21
mass replacement for zend_size_t/php_size_t
2013-12-18 14:46:44 -08:00
Anatol Belski
6d938321ff
prepare for zend_size_t
2013-12-18 14:22:47 -08:00
Anatol Belski
df7db6519c
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-18 17:07:00 +01:00
Bob Weinand
b11b3d201f
Fixed ZTS build. Needed to bump API version number.
2013-12-18 16:44:20 +01:00
Dmitry Stogov
26096aa73f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed reavlidate_path=1 behavior to avoid caching of symlinks values.
2013-12-18 19:22:05 +04:00
Anatol Belski
74aea4e471
fix after merge
2013-12-18 15:18:02 +01:00
Anatol Belski
8432557dcd
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
Zend/zend.c
Zend/zend.h
Zend/zend_execute.h
Zend/zend_vm_execute.h
main/SAPI.h
2013-12-18 15:07:42 +01:00
Felipe Pena
a8a36b7d52
- Fixed build
2013-12-18 08:28:44 -02:00
Anatol Belski
fcb28ea97f
automated platform dependent zend_int_t declarations
2013-12-18 10:52:14 +01:00
Kalle Sommer Nielsen
aed4b086ac
Eliminate the TSRMLS_FETCH() calls in the ticks functions and hook
2013-12-18 09:32:26 +01:00
Kalle Sommer Nielsen
c83598119b
Kill a TSRMLS_FETCH() in php_stream_context_set() by passing TSRMLS_CC to it
...
# For mysqlnd: Relevant PHP_API_VERSION are put in place for cross version compatibility
2013-12-18 09:19:24 +01:00
Kalle Sommer Nielsen
d02340bb39
Kill a TSRMLS_FETCH() call in sapi/caudium
2013-12-18 09:11:15 +01:00
Kalle Sommer Nielsen
f883d3cc7a
We might as well re-use the TSRMLS parameters here as they are available in PHP_FUNCTION anyway to save a TSRMLS_FETCH() call
2013-12-18 09:10:45 +01:00
Kalle Sommer Nielsen
ed5a8d510f
Pass the TSRMLS parameters to the sapi flush hook, this shaves off a few TSRMLS_FETCH() calls in our various SAPIs
2013-12-18 09:06:39 +01:00
Kalle Sommer Nielsen
f70f89c1b1
Kill another TSRMLS_FECH() in sapi/roxen
2013-12-18 09:05:01 +01:00
Kalle Sommer Nielsen
520d969fea
Fix these SAPI hooks so that the TSRMLS parameters are correctly passed as required by the sapi struct
...
# Not sure if this builds either
2013-12-18 09:01:44 +01:00
Kalle Sommer Nielsen
432e91f112
Bump year
...
# Wonder if this is even working anymore
2013-12-18 08:55:19 +01:00
Kalle Sommer Nielsen
e6b471933c
Kill yet another TSRMLS_FETCH() inside the CLI HTTP server
2013-12-18 08:17:49 +01:00
Kalle Sommer Nielsen
bd58146ad6
Kill another TSRMLS_FETCH() in the zend extension loading code
2013-12-18 07:59:47 +01:00
Kalle Sommer Nielsen
2eb9bd316d
Merge branch 'master' of https://git.php.net/push/php-src
2013-12-18 07:27:14 +01:00
Kalle Sommer Nielsen
d14670ccdb
Eliminate another TSRMLS_FETCH() in i_zend_is_true()
...
# Affected extensions have all been updated, ext/opcache and ext/zip
# both have macros for cross version compatibility
2013-12-18 07:25:05 +01:00
Anatol Belski
9576330979
updated libmagic.patch
2013-12-17 13:30:17 -08:00
Anatol Belski
4cdcbeec76
basic fixes to ext/interbase
2013-12-17 11:17:12 +01:00
Anatol Belski
8aa7f84dd2
basic fixes to ext/sybase_ct
2013-12-17 10:58:13 +01:00
Anatol Belski
83edc59d13
fix datatype to hold read bytes
2013-12-17 10:20:34 +01:00
Anatol Belski
dc45cfe401
fix function signature
2013-12-17 10:17:14 +01:00
Anatol Belski
b90cc170b6
revamp ext/pdo_firebird
2013-12-17 10:14:55 +01:00
Anatol Belski
1337ba8a62
fixed conflicting function signatures in ext/com_dotnet
2013-12-17 10:06:11 +01:00
Anatol Belski
170c4d1fe6
Z_STRLEN vs Z_STRSIZE
2013-12-17 09:26:07 +01:00
Anatol Belski
167fdaa0e7
regenerated zend_vm_execute.h after merge
2013-12-17 09:05:29 +01:00
Anatol Belski
3e90132341
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
Zend/zend_compile.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/opcache/Optimizer/pass1_5.c
ext/pdo_odbc/odbc_stmt.c
2013-12-17 09:01:11 +01:00
Anatol Belski
c0f1e6946d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed possibly uninitialized value usage
2013-12-17 08:45:49 +01:00
Xinchen Hui
72389dd53f
Merge branch 'PHP-5.6'
2013-12-17 15:37:26 +08:00
Xinchen Hui
a9c503bc27
Merge branch 'PHP-5.6'
2013-12-17 15:10:56 +08:00
Xinchen Hui
ac719610f4
Merge branch 'PHP-5.6'
2013-12-17 15:06:36 +08:00
Stanislav Malyshev
5613d70ee8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #65873 - Integer overflow in exif_read_data()
2013-12-16 11:38:00 -08:00
David Soria Parra
d7d0ceb90d
Merge branch 'PHP-5.6'
2013-12-16 10:28:11 -08:00
Anatol Belski
a56274b3f1
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-12-16 17:31:13 +01:00
Anatol Belski
68d3353e5c
basic fixes to ext/mssql
2013-12-16 17:26:32 +01:00
Anatol Belski
409498f03c
fixed conflicting types in func definition
2013-12-16 08:13:35 -08:00
Anatol Belski
d51ff1322d
revamp ext/opcache
2013-12-16 12:56:32 +01:00
Dmitry Stogov
82d67af60d
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fix tests expecting specific resource IDs
fixed parameter order for zend_throw_exception_ex call
Fix doc (svn -> git)
Fix tests expecting specific resource IDs
Test pushing
Updated release process
2013-12-16 13:12:55 +04:00
Anatol Belski
ca25f3d829
revamp ext/phar
2013-12-15 13:58:39 +01:00
Anatol Belski
34848ccae7
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-15 12:08:39 +01:00
Xinchen Hui
48dcc43488
Merge branch 'PHP-5.6'
2013-12-15 16:51:43 +08:00
Xinchen Hui
304d97933f
Merge branch 'issue-phpt-resourceid-wincache' of https://github.com/EricSten/php-src
2013-12-15 16:26:11 +08:00
Anatol Belski
897d11658a
fixed parameter order for zend_throw_exception_ex call
2013-12-14 20:55:32 +01:00
DQNEO
964141f781
Fix doc (svn -> git)
2013-12-14 20:55:31 +01:00
Anatol Belski
fc4761a07c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed parameter order for zend_throw_exception_ex call
Fix doc (svn -> git)
Test pushing
2013-12-14 20:48:44 +01:00
Anatol Belski
2cfb1c5bb9
basic fixes to ext/pdo_oci
2013-12-14 11:49:42 +01:00
Anatol Belski
e0c5db0970
basic fixes to ext/oci8
2013-12-14 11:39:47 +01:00
Anatol Belski
4c68e81018
fixed sapi/embed
2013-12-14 00:26:56 +01:00
Anatol Belski
009528ba43
revamp sapi/cgi
2013-12-13 22:24:23 +01:00
Anatol Belski
7266938012
use php_socket_t where possible in ext/cli
2013-12-13 22:16:12 +01:00
Eric Stenson
50377b5bf2
Fix tests expecting specific resource IDs
...
When Wincache or APC are installed, the resource IDs are not the same.
This is because Wincache takes a few resource objects for itself. As a
result, these tests become false positives.
On Windows boxes, the microtime precision is not granular enough
to reliably register a difference if two calls to uniqid() are made
concurrently. This is a fix to the uniqid() test to avoid the false
positive when run on Windows machines. Also, added a test to exercise
the 'more_entropy' variant of uniqid().
2013-12-13 10:42:32 -08:00
Anatol Belski
389188df7f
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-13 17:54:17 +01:00
Anatol Belski
3c494e25e3
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-12-13 17:49:16 +01:00
Anatol Belski
f4d27d83ac
basic fixes to ext/imap
2013-12-13 17:47:23 +01:00
Anatol Belski
bb5f5e1671
fix function signature
2013-12-13 07:19:16 -08:00
Anatol Belski
4973f3a312
fixed ext/pdo_dblib
2013-12-13 07:19:16 -08:00
Anatol Belski
37594963b3
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-12-13 15:36:36 +01:00
Anatol Belski
4651c74405
fixed ext/skeleton
2013-12-13 15:35:37 +01:00
Anatol Belski
d2ed9b3d30
fixed ext/sysvsem and ext/sysvshm
2013-12-13 06:32:08 -08:00
Anatol Belski
79c06bb896
fixed ext/sysvmsg
2013-12-13 06:15:47 -08:00
Anatol Belski
e64e7e6ffc
fixed ext/recode
2013-12-13 06:02:59 -08:00
Anatol Belski
872734be58
fix datatype
2013-12-13 05:58:12 -08:00
Anatol Belski
1040cdf8fc
fixed ext/readline
2013-12-13 05:51:49 -08:00
Julien Pauli
735f930bac
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated release process
2013-12-13 13:30:30 +01:00
Anatol Belski
985d8f0436
Merge branch 'str_size_and_int64' of https://git.php.net/push/php-src into str_size_and_int64
2013-12-13 04:10:45 -08:00
Anatol Belski
512cbad00c
basic fixes to ext/pspell
2013-12-13 04:10:17 -08:00
Anatol Belski
316fd8aab6
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-12-13 12:28:18 +01:00
Anatol Belski
931071aa97
fixed function signature
2013-12-13 12:27:58 +01:00
Anatol Belski
d87dc25b71
fixed ext/pcntl
2013-12-13 03:26:29 -08:00
Anatol Belski
3a8ee7800c
fixed ext/posix
2013-12-13 03:26:04 -08:00
Anatol Belski
73a7351a2c
fixed ext/dba
2013-12-13 02:55:38 -08:00
Anatol Belski
936124742b
fixed function signature
2013-12-13 11:09:30 +01:00
Anatol Belski
1007374254
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-12-13 11:03:14 +01:00
Anatol Belski
f806f4d060
Merge branch 'master' into str_size_and_int64
2013-12-13 10:45:27 +01:00
Dmitry Stogov
9b829c92b5
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Use zend_error_noreturn here
OCI8 build change: Fix source variable definition for C89 compatibility
Kill another TSRMLS_FETCH() in zend_indent()
Eliminate another straight forward TSRMLS_FETCH() in zend_startup_module()
Fix build
Add Tests for #65784 in 5.5
Disallowed JMP into a finally block.
Update NEWS for 5.5.7 release
Fixed bug #65784 (Segfault with finally).
2013-12-13 11:15:38 +04:00
Xinchen Hui
914de05bf5
Merge branch 'PHP-5.6'
2013-12-13 11:37:53 +08:00
Christopher Jones
e92ea13bff
Merge branch 'PHP-5.6'
...
* PHP-5.6:
OCI8 build change: Fix source variable definition for C89 compatibility
2013-12-12 15:23:23 -08:00
Kalle Sommer Nielsen
1433dec2d0
Kill another TSRMLS_FETCH() in zend_indent()
2013-12-12 22:09:38 +01:00
Kalle Sommer Nielsen
0fc8e6af0a
Eliminate another straight forward TSRMLS_FETCH() in zend_startup_module()
...
# For THTTPD:
# The code that uses a call to this function is for older versions of PHP anyway so its not covered
# For Zend OpCache:
# Added a new define for 5.6 and wrapped the code around that so its still compatible with older version
2013-12-12 20:30:45 +01:00
Kalle Sommer Nielsen
4411641b1e
Fix build
2013-12-12 20:25:10 +01:00
Xinchen Hui
8708b13d62
Merge remote-tracking branch 'origin/PHP-5.6'
2013-12-13 01:50:22 +08:00
Xinchen Hui
6a299514f8
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
2013-12-13 00:54:36 +08:00
Xinchen Hui
0fbb421ec1
Merge branch 'PHP-5.6'
2013-12-13 00:15:11 +08:00
Dmitry Stogov
fd4a7388d7
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fix test
2013-12-12 16:46:15 +04:00
Michael Wallner
c0e87e9bb1
Merge branch 'PHP-5.5'
...
* PHP-5.5:
fix test
2013-12-12 12:10:08 +01:00
Anatol Belski
bdc565e67a
revamp ext/dom
2013-12-12 11:50:45 +01:00
Dmitry Stogov
9d08f09e06
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
remove always_populate_raw_post_data INI entries from master, UPGRADING.INTERNALS coming shortly
2013-12-12 14:42:19 +04:00
Michael Wallner
bc1c2b3b31
remove always_populate_raw_post_data INI entries from master, UPGRADING.INTERNALS coming shortly
2013-12-12 11:33:06 +01:00
Dmitry Stogov
a23bcba875
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fixed bug #65486 mysqli_poll() is broken on Win x64
2013-12-12 13:59:37 +04:00
Dmitry Stogov
8738e6d86f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed tests
Fixed ext/soap/tests/bugs/bug54911.phpt
2013-12-12 13:55:42 +04:00
Anatol Belski
e0c7899ddd
Merge branch 'master' into str_size_and_int64
2013-12-12 10:52:52 +01:00
Anatol Belski
58b754ca4a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #65486 mysqli_poll() is broken on Win x64
2013-12-12 10:46:36 +01:00
Anatol Belski
fa2a2c88fd
revamp ext/pdo_mysql
2013-12-11 23:39:43 +01:00
Anatol Belski
6d5c56367d
revamp ext/pdo
2013-12-11 23:39:18 +01:00
Anatol Belski
a1803faea2
revamp ext/pgsql
2013-12-11 20:04:04 +01:00
Anatol Belski
adb70b9923
Merge branch 'master' into str_size_and_int64
2013-12-11 19:29:21 +01:00
Anatol Belski
05fe153f49
revamp ext/soap
2013-12-11 19:23:17 +01:00
Bob Weinand
98d929290c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added one more test for constant scalar expressions
2013-12-11 19:20:10 +01:00
Anatol Belski
fa1802381f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added missing prototype
2013-12-11 14:16:22 +01:00
Anatol Belski
2301e190e7
Merge branch 'master' into str_size_and_int64
2013-12-11 13:48:38 +01:00
Anatol Belski
2f707bf246
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix dir separator in cve-2013-6420 test
2013-12-11 13:33:59 +01:00
Anatol Belski
d3f9debcae
Merge branch 'master' into str_size_and_int64
2013-12-11 12:44:05 +01:00
Anatol Belski
4670d46a42
additional range checks for ext/sockets
2013-12-11 12:41:12 +01:00
Ard Biesheuvel
9a5944d960
Merge branch 'PHP-5.6'
2013-12-11 08:51:27 +01:00
Stanislav Malyshev
35b8f57906
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.3.29-dev
Fix CVE-2013-6420 - memory corruption in openssl_x509_parse
2013-12-10 11:36:33 -08:00
Anatol Belski
19161b8d4e
fix function params
2013-12-10 20:00:59 +01:00
Anatol Belski
27990438f1
Merge branch 'master' into str_size_and_int64
...
Conflicts:
Zend/zend_builtin_functions.c
ext/opcache/Optimizer/pass1_5.c
ext/reflection/php_reflection.c
ext/soap/soap.c
2013-12-10 19:46:40 +01:00
Remi Collet
8e29235b6c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fixed Bug #66218 zend_register_functions breaks reflection
2013-12-10 16:10:48 +01:00
Anatol Belski
34e5236836
more range checks for ext/sqlite3
2013-12-10 15:40:19 +01:00
Dmitry Stogov
ad4f0c7812
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66112 (Use after free condition in SOAP extension). (martin dot koegler at brz dot gv dot at)
2013-12-10 17:59:20 +04:00
Anatol Belski
77d4db3957
fixed return
2013-12-10 14:15:29 +01:00
Dmitry Stogov
d439b3970a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66251 (Constants get statically bound at compile time when Optimized)
2013-12-10 17:05:23 +04:00
Anatol Belski
a697297f5f
more range checks for ext/tidy
2013-12-10 13:41:49 +01:00
Dmitry Stogov
90c5689b59
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revered func_get_args() changes, because they were not completly transparent and broke some tricky PHP code that worked because of luck before php-5.5.6 (see Bug #66107 ). The changes are going to be kept in PHP-5.6.
2013-12-10 16:08:56 +04:00
Dmitry Stogov
6eaf57eb3c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
2013-12-10 16:07:53 +04:00
Dmitry Stogov
1dafdaa31b
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Zend: fix overflow handling bug in non-x86 fast_add_function()
2013-12-10 15:15:46 +04:00
Dmitry Stogov
78265a44c5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed memory leaks introdused by: commit 611da37617 Author: Igor Wiedler <igor@wiedler.ch > Date: Sat Nov 9 13:48:23 2013 -0500
2013-12-10 15:15:11 +04:00
Ard Biesheuvel
c786c30108
Merge branch 'PHP-5.6'
2013-12-10 12:12:44 +01:00
Anatol Belski
5acc0c0c5b
revamp ext/xmlreader
2013-12-10 11:42:56 +01:00
Dmitry Stogov
b260cb92e4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66252 (Problems in AST evaluation invalidating valid parent:: reference. Constant expessions have to be evaluated in context of defining class).
2013-12-10 14:21:38 +04:00
Anatol Belski
da62a38244
revamp ext/xsl
2013-12-10 10:15:47 +01:00
Dmitry Stogov
6b6a4e466a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Arguments passed to user function have to be properly allocated on heap
2013-12-10 13:03:24 +04:00
Anatol Belski
f195339006
revamp range checks in ext/xml
2013-12-10 09:34:45 +01:00
Ard Biesheuvel
21fd125343
Merge branch 'PHP-5.6'
2013-12-09 17:04:05 +01:00
Anatol Belski
f7f8c590a5
Merge remote-tracking branch 'bukka/str_size_and_int64_openssl' into str_size_and_int64
2013-12-09 11:30:07 +01:00
Anatol Belski
757c93dd85
Z_STRLEN vs Z_STRSIZE after automerge
2013-12-09 11:18:40 +01:00
Anatol Belski
325224832b
Merge remote-tracking branch 'origin/master' into str_size_and_int64
...
Conflicts:
Zend/zend_compile.c
Zend/zend_compile.h
2013-12-09 10:20:04 +01:00
Stanislav Malyshev
912be12432
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Replace invalid code with a proper #error
2013-12-08 16:26:34 -08:00
Jakub Zelenka
d3acd878d0
Merge branch 'str_size_and_int64' into str_size_and_int64_openssl
2013-12-08 16:21:40 +00:00
Jakub Zelenka
f9816d6729
Remove explicit casts to and from 64bit types
2013-12-08 16:17:55 +00:00
Adam Harvey
b97156113e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Switch to using freetype-config for freetype detection.
2013-12-07 19:42:00 -08:00
Anatol Belski
31a4d08d37
fix repeated compiler warnings
2013-12-07 08:57:02 +01:00
Anatol Belski
20217b04b4
added macros for integer constants to append appropriate suffix
2013-12-07 08:55:31 +01:00
Anatol Belski
3982b3eccf
recap fixes for ext/standard
2013-12-07 00:53:14 +01:00
Anatol Belski
0494cf46cf
fixes to rand
2013-12-06 22:12:28 +01:00
Anatol Belski
8b7a8aff13
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-12-06 11:43:45 +01:00
Anatol Belski
9510451fb1
remaining fixes to ext/zlib
...
datatypes for globals
%pd format
2013-12-06 11:42:30 +01:00
Ferenc Kovacs
e3ebe995c9
Merge branch 'PHP-5.6'
2013-12-06 11:07:36 +01:00
Michael Wallner
d81d61fcc4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
BFN
2013-12-06 10:39:18 +01:00
Michael Wallner
01a13bb8c1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #61645 (fopen and O_NONBLOCK)
fix possibly uninitialized value
Use 'user@example.com ' rather than 'user@company.com ' in tests
2013-12-06 10:34:11 +01:00
Anatol Belski
7fdf6b51d2
Merge branch 'master' into str_size_and_int64
2013-12-06 09:55:50 +01:00
Anatol Belski
c253fbda9a
fix conflicting types
2013-12-05 16:13:30 -08:00
Anatol Belski
adb1e38468
integrated %pd into more ported extensions
2013-12-05 14:35:06 +01:00
Anatol Belski
e881537089
integrated %pd into ext/spl
2013-12-05 13:28:22 +01:00
Anatol Belski
122805100a
removed warnings in newly implemented pcre range cehcks
2013-12-05 12:38:11 +01:00
Anatol Belski
4d703a4225
added range check for pcre ini entries
2013-12-05 12:08:19 +01:00
Anatol Belski
a0622d7c68
implemented %pd format for snprintf and spprintf
...
php_int_t var = 42;
php_printf("%pd", var);
2013-12-05 12:05:46 +01:00
Anatol Belski
42b1222754
Merge branch 'master' into str_size_and_int64
2013-12-05 08:37:37 +01:00
Adam Harvey
de3b9bc77c
Renumber the comments in php_request_shutdown() to be in order.
...
What, me OCD?
2013-12-04 14:29:45 -08:00
Jakub Zelenka
fbfae33e39
Add missing overflow checks
2013-12-04 19:01:39 +00:00
Andrey Hristov
0cb38a3d26
Merge branch 'master' of git.php.net:php-src
...
Conflicts:
NEWS
2013-12-04 18:32:32 +02:00
Sara Golemon
9adfcea241
Use 'user@example.com' rather than 'user@company.com' in tests
...
Using some arbitrary 3rd party's domain name is clowny,
even if it never tries to send.
2013-12-04 07:51:43 -08:00
Michael Wallner
ecf95a4cc5
BFN
2013-12-05 11:30:52 +01:00
Michael Wallner
44ff944b37
Merge branch 'dba'
...
* dba:
fix bug #62490
more test fixes
fix test
fix php_stream_copy_to_stream_ex usage
add missing clean section
remove test for already removed feature
2013-12-05 11:27:26 +01:00
Michael Wallner
5a420c8680
fix bug #62490
...
inifiles delete handler did not return false if the key was not found
2013-12-05 11:04:25 +01:00
Andrey Hristov
406d5a5ecc
Merge branch 'PHP-5.6'
...
Conflicts:
NEWS
UPGRADING
2013-12-04 16:20:03 +02:00
Anatol Belski
7228ac190a
fixed ext/bcmath
2013-12-04 15:06:32 +01:00
Anatol Belski
3142989a14
finer fixes for ext/opcache
2013-12-04 14:07:27 +01:00
Anatol Belski
3930766e79
basic fixes to ext/opcache
2013-12-04 12:04:07 +01:00
Anatol Belski
55023a87b0
Merge branch 'master' into str_size_and_int64
2013-12-04 09:10:43 +01:00
Sara Golemon
e51ddf9dc8
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix php_module_startup() when loading more than one additional module
2013-12-03 18:21:40 -08:00
Adam Harvey
8f11f7f179
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Remove 128.0.0.0/16 and 191.255.0.0/16 from the reserved list.
2013-12-03 14:54:24 -08:00
Anatol Belski
72e7a63485
basic fixes for ext/ldap
2013-12-03 22:43:37 +01:00
Anatol Belski
c14d14e0d6
fix uninitialized variable
2013-12-03 22:03:11 +01:00
Anatol Belski
fbb87ace85
basic fixes to ext/snmp
2013-12-03 21:31:55 +01:00
Anatol Belski
fd6e5766ce
basic fixes for ext/pdo_pgsql
2013-12-03 18:21:06 +01:00
Michael Wallner
f0c85fab45
more test fixes
2013-12-03 18:18:40 +01:00
Michael Wallner
b0415856fd
fix test
2013-12-03 17:55:26 +01:00
Michael Wallner
9e309a2d10
fix php_stream_copy_to_stream_ex usage
2013-12-03 17:55:18 +01:00
Michael Wallner
a7f0465c0b
add missing clean section
2013-12-03 17:07:40 +01:00
Michael Wallner
f4912e3a96
remove test for already removed feature
2013-12-03 16:57:35 +01:00
Anatol Belski
8e11fa2251
basic fixes to ext/odbc
2013-12-03 16:54:15 +01:00
Anatol Belski
727d14b8dd
basic fixes to ext/ftp
2013-12-03 12:09:12 +01:00
Anatol Belski
b13e715581
basic fixes to ext/pdo_mysql
2013-12-03 11:44:18 +01:00
Anatol Belski
0ee45382cd
basic fixes to ext/pdo_firebird
2013-12-03 11:18:12 +01:00
Anatol Belski
71be6bc5ec
more fixes to ext/pdo and ext/pdo_pgsql
2013-12-03 10:52:55 +01:00
Sebastian Bergmann
d1baf6c9d7
Leftover: Bump version to 5.7.0
2013-12-03 10:19:11 +01:00
Nikita Popov
b3265e2108
Support gmp_remroot() on GMP 4.1
2013-12-03 10:19:10 +01:00
Anatol Belski
e23b051be0
basic fixes to ext/pdo_pgsql
2013-12-03 09:53:22 +01:00
Anatol Belski
7193efebed
basic fixes to ext/pdo_sqlite
2013-12-03 09:51:01 +01:00
Anatol Belski
da7d62ea8a
basic fixes for ext/pdo
2013-12-03 09:24:45 +01:00
Sebastian Bergmann
48cc47d55a
Leftover: Bump version to 5.7.0
2013-12-03 07:42:37 +01:00
Anatol Belski
2fc14d515e
some more fixes to ext/pgsql
2013-12-03 01:33:43 +01:00
Anatol Belski
f7df15ea53
basic fixes for ext/pgsql
2013-12-02 21:10:33 +01:00
Jakub Zelenka
8710929b78
Fix typo
2013-12-02 19:54:25 +00:00
Jakub Zelenka
1488acb304
Add digest data_len overflow checks and few other fixes
2013-12-02 19:50:23 +00:00
Nikita Popov
a87233f98a
Merge branch 'PHP-5.6'
2013-12-02 20:11:34 +01:00
Anatol Belski
ce6945eb55
basic fixes to ext/shmop
2013-12-02 18:18:24 +01:00
Anatol Belski
a68477f758
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-12-02 17:48:31 +01:00
Michael Wallner
c23a1f78b4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
BFN
Fix bug #65196
2013-12-02 17:03:30 +01:00
Michael Wallner
7cd702640d
Fix Bug #64776 The XSLT extension is not thread safe.
2013-12-02 15:01:24 +01:00
Michael Wallner
df484b0008
Merge branch 'PHP-5.6'
...
* PHP-5.6:
BFN
fix bug #49634x
2013-12-02 12:19:03 +01:00
Dmitry Stogov
f8148a3905
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed tests
2013-12-02 12:05:49 +04:00
Dmitry Stogov
86c806a36e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed ability to build non-specialized GOTO VM
2013-12-02 11:03:57 +04:00
Anatol Belski
d7827068e8
fix the length var datatype
2013-12-01 23:17:47 +01:00
Anatol Belski
8f91e77245
Merge branch 'master' into str_size_and_int64
2013-12-01 23:10:01 +01:00
Jakub Zelenka
7e85b12b53
Merge branch 'str_size_and_int64' into str_size_and_int64_openssl
...
Conflicts:
ext/openssl/openssl.c
2013-12-01 20:04:58 +00:00
Jakub Zelenka
b34ce97417
add some overflow checks and use correct msg formatting in openssl
2013-12-01 19:53:45 +00:00
Nikita Popov
1acee05579
Merge branch 'PHP-5.6'
2013-12-01 13:48:09 +01:00
Anatol Belski
6b9396bd8e
Merge branch 'master' into str_size_and_int64
...
Conflicts:
ext/date/php_date.c
2013-12-01 12:31:48 +01:00
Anatol Belski
66a42402d9
more fixes for ext/mysql
2013-12-01 12:22:52 +01:00
Anatol Belski
ae2103ba40
basic fixes for ext/mysql
2013-12-01 09:45:26 +01:00
Anatol Belski
eb922c6c9c
more fixes for ext/mysqli
2013-11-30 21:51:21 +01:00
Anatol Belski
d76d415f55
fix mysqlnd for bigint
2013-11-30 21:49:41 +01:00
Anatol Belski
f3703d86f7
started to fix ext/mysqli
2013-11-30 15:58:57 +01:00
Anatol Belski
ef216c21fd
started to fix ext/mysqlnd
2013-11-30 14:59:18 +01:00
Felipe Pena
cb9000f15e
Merge branch 'master' of git.php.net:/php-src
2013-11-30 11:41:23 -02:00
Felipe Pena
52611a2c7e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
- Fixed bug #65923 (ext/socket assumes AI_V4MAPPED is defined)
2013-11-30 11:41:01 -02:00
Nikita Popov
508738251f
Merge branch 'PHP-5.6'
2013-11-30 13:41:22 +01:00
Anatol Belski
004d4630b4
basic fixes to ext/sqlite3
2013-11-30 12:39:09 +01:00
Nikita Popov
2e0a960e97
Merge branch 'PHP-5.6'
2013-11-29 23:59:21 +01:00
Nikita Popov
065c8e77e2
Merge branch 'PHP-5.6'
2013-11-29 23:32:14 +01:00
Anatol Belski
628135641d
basic fixes ext/xmlrpc
2013-11-29 23:06:40 +01:00
Anatol Belski
22779fa66b
fixed ext/tokenizer
2013-11-29 22:54:58 +01:00
Anatol Belski
9c16a4b96d
fixed ext/tidy
2013-11-29 22:48:55 +01:00
Anatol Belski
f119cd8f2d
basic fixes to ext/sockets
2013-11-29 21:02:36 +01:00
Anatol Belski
e094c64b67
finer fixes to ext/soap
2013-11-29 20:26:07 +01:00
Anatol Belski
9a834807bc
fixed compilation after merging master
2013-11-29 17:12:35 +01:00
Anatol Belski
d8fa7f4990
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-11-29 17:00:24 +01:00
Anatol Belski
40f9958c08
Merge branch 'master' into str_size_and_int64
...
Conflicts:
Zend/zend_hash.c
ext/gmp/gmp.c
ext/pcre/php_pcre.c
2013-11-29 17:00:11 +01:00
Anatol Belski
132bd2130d
basic fix for ext/soap
2013-11-29 16:55:00 +01:00
Anatol Belski
eabdd0e4a5
fixed ext/mcrypt
2013-11-29 16:12:36 +01:00
Anatol Belski
23019318b1
finer fixes for ext/json
2013-11-29 13:00:29 +01:00
Anatol Belski
3ffecac916
basic fixes for ext/json
2013-11-29 11:47:48 +01:00
Anatol Belski
e6bf5ffeba
fixed ext/gmp
2013-11-29 10:19:40 +01:00
Dmitry Stogov
f65e652f9f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added validation of class names in the autoload process
2013-11-29 12:55:38 +04:00
Anatol Belski
9f9e691c28
fixed ext/gettext
2013-11-29 09:47:00 +01:00
Anatol Belski
3659dcd98c
further fixes for ext/gd
2013-11-29 09:18:13 +01:00
Anatol Belski
51d78c2533
basic fixes for ext/gd
2013-11-29 08:53:32 +01:00
Nikita Popov
0eb519de66
Merge branch 'PHP-5.6'
2013-11-29 00:10:13 +01:00
Anatol Belski
57db68e03d
fixed ext/fileinfo
...
XXX update libmagic.patch
2013-11-28 23:44:24 +01:00
Dmitry Stogov
f92eba241e
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fixed bug #65199 (Wrong Day of Week) and fixed bug #63391 (Incorrect/inconsistent day of week prior to the year 1600)
Marking those two as XFAIL for now.
Fixed a few DST changeover issues.
Move add/sub to timelib.
Fix backwards transition diffs.
Split up tests into their different categories.
Group those tests a bit better, as some of the bd ones wanted a "ST" feature that doesn't exist yet.
Fixed forward transitions in diffs.
Always reset those parameters.
Fixed "Forward Transition" construction of DateTime objects.
2013-11-29 00:59:47 +04:00
Dmitry Stogov
77cdda452d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Avoid interned hash key duplication and hash key length recaclulation
2013-11-29 00:59:26 +04:00
Anatol Belski
ef54a95b71
fixed ext/wddx
2013-11-28 20:00:27 +01:00
Anatol Belski
262fca3a39
fixed ext/xml
2013-11-28 19:46:08 +01:00
Anatol Belski
d9a036cc30
fixed ext/xsl
2013-11-28 19:18:38 +01:00
Anatol Belski
9e5c10e487
fixed ext/zip
2013-11-28 19:02:34 +01:00
Anatol Belski
d8fbc23002
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-11-28 17:44:47 +01:00
Anatol Belski
91e6fb75d5
fix after automerge
2013-11-28 17:44:05 +01:00
Derick Rethans
38574614c5
Merge branch 'PHP-5.6'
2013-11-28 16:33:23 +00:00
Anatol Belski
5ced3db971
Merge branch 'master' into str_size_and_int64
...
Conflicts:
Zend/zend.h
Zend/zend_hash.c
Zend/zend_hash.h
Zend/zend_language_parser.y
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-11-28 17:27:59 +01:00
Anatol Belski
a7862de2db
fixed ext/filter
2013-11-28 17:16:25 +01:00
Derick Rethans
0d65cd50dd
Merge branch 'master' of git.php.net:php-src
2013-11-28 14:45:56 +00:00
Derick Rethans
b6ef87f803
Merge branch 'PHP-5.6'
2013-11-28 14:45:38 +00:00
Dmitry Stogov
a1193b23b6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Removed unused "pHashFunction" argument in _zend_hash_init() and family (must be 99% source compatible)
2013-11-28 18:42:57 +04:00
Anatol Belski
fd7d31973a
basic fixes for ext/exif
2013-11-28 14:36:20 +01:00
Dmitry Stogov
609efa2623
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Updated NEWS for Constant Scalar Exprs RFC
Moved arrays again to "static_scalar:" & little cleanup
Renaming
Constant expressions refactoring
Removed operations on constant arrays. They make no sense as constants are not allowed to be arrays. And as just properties are allowed to; no problem, we still don't need operations on any constant array.
Added a few more operators
Whitespace fix
converted several switches to ifs and made more opcache friendly
Fatal error about self referencing constants fixed
Fixed mem leaks, added tests and ternary operator
Working commit for constant scalar expressions (with constants). Tests will follow.
2013-11-28 17:03:59 +04:00
Dmitry Stogov
7fa9032d0b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Some rare deprecated cases replaced by ZEND_ASSERT() (some extensions might need to be fixed)
Removed duplicated hash function implementation (100% source compatible)
2013-11-28 17:03:28 +04:00
Anatol Belski
4e2ddbc397
fixed ext/enchant
2013-11-28 13:59:55 +01:00
Bob Weinand
be5b98ef0d
Merge branch 'PHP-5.6'
2013-11-28 13:53:00 +01:00
Anatol Belski
1e2cc15845
fixed ext/curl
2013-11-28 13:45:09 +01:00
Anatol Belski
46448539b0
fixed ext/ctype
2013-11-28 09:53:00 +01:00
Anatol Belski
3f7522a652
Merge branch 'master' into str_size_and_int64
2013-11-28 09:29:12 +01:00
Anatol Belski
de453dbef6
reverted a couple of things in ext/phar for now, but all tests pass now
2013-11-28 09:23:02 +01:00
Dmitry Stogov
98f3c410d9
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fixed bug #53879 (DateTime::createFromFormat() fails to parse cookie expiration date)
2013-11-28 11:46:11 +04:00
Dmitry Stogov
fe451e9a72
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Don't check argument types for internal functions without type hinting
2013-11-28 11:45:47 +04:00
Anatol Belski
d135198559
next portion of fixes for ext/phar
2013-11-27 23:35:42 +01:00
Anatol Belski
2c3cc2e107
fixed the rdev stat array member again for streams
2013-11-27 23:34:27 +01:00
Derick Rethans
e7a6d0b163
Merge branch 'PHP-5.6'
2013-11-27 22:01:16 +00:00
Anatol Belski
ef52220617
basic fixes for ext/phar
2013-11-27 20:08:34 +01:00
Dmitry Stogov
45d399b96e
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed tests
2013-11-27 21:04:23 +04:00
Dmitry Stogov
fca64efd62
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Removed deprecated AI_SET_PTR()s
2013-11-27 20:32:21 +04:00
Anatol Belski
0fd48b2f48
final ext/session fixes
2013-11-27 15:33:40 +01:00
Anatol Belski
bec270ffc8
fix function definition
2013-11-27 04:58:57 -08:00
Anatol Belski
b9c19f5d74
first shot for ext/calendar
...
At the first glance the extension could be fixed for bigger timestamps,
but that's not the goal right now. One test fail yet on win 64
2013-11-27 13:35:26 +01:00
Dmitry Stogov
bc68ab8b57
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
NEWS
Fixed bug #66060 (Heap buffer over-read in DateInterval)
2013-11-27 14:58:08 +04:00
Dmitry Stogov
a3cb536d24
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #65969 (Chain assignment with T_LIST failure)
2013-11-27 14:56:48 +04:00
Remi Collet
42a35c9b8b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fixed bug #66060 (Heap buffer over-read in DateInterval)
2013-11-27 11:16:18 +01:00
Anatol Belski
8115844674
basic fixes to ext/hash
2013-11-27 10:33:08 +01:00
Julien Pauli
e9f2de918d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
5.5.8-dev now
2013-11-27 10:33:05 +01:00
Stanislav Malyshev
3baad45b21
Merge branch 'PHP-5.6'
...
* PHP-5.6:
2013-11-27 00:19:30 -08:00
Stanislav Malyshev
b64ac1faa3
Merge branch 'PHP-5.5'
...
* PHP-5.5:
5.4.24-dev now
2013-11-27 00:15:03 -08:00
George Wang
9960ecc5cd
update to LSAPI 6.6
2013-11-26 18:53:35 -05:00
Anatol Belski
0336763311
fixed ext/xmlwriter
2013-11-26 22:47:36 +01:00
Anatol Belski
def8981190
fixed ext/xmlwriter
2013-11-26 22:36:35 +01:00
Anatol Belski
74f9e6309c
fixed ext/dom for int64 branch
2013-11-26 22:25:22 +01:00
Anatol Belski
1d2150ca4f
fixed some warning in ext/openssl
2013-11-26 21:36:41 +01:00
Anatol Belski
358fae9347
more param parsing fixes, overseen stuff
2013-11-26 21:13:14 +01:00
Anatol Belski
54797a9b15
fixed intl calendar param parsing
2013-11-26 21:13:13 +01:00
Andrey Hristov
dd7c33d0c9
Merge branch 'master' of git.php.net:php-src
2013-11-26 20:10:17 +02:00
Anatol Belski
4c96b94873
Merge branch 'master' into str_size_and_int64
2013-11-26 19:09:31 +01:00
Anatol Belski
943ba2bf07
first x64 fixes for ext/openssl
2013-11-26 19:05:35 +01:00
Dmitry Stogov
0d61202427
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed opcahce_reset() crash when opcache.protect_memory is set
2013-11-26 21:59:19 +04:00
Dmitry Stogov
ccd1babbfc
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Fixed a wrong test
2013-11-26 21:43:51 +04:00
Dmitry Stogov
bbdcbbdba5
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added an optimization of class constants and constant calls to some internal functions
Added an optimization of class constants and constant calls to some internal functions
Conflicts:
NEWS
2013-11-26 21:43:19 +04:00
Andrey Hristov
9c036b13f9
Merge branch 'PHP-5.5'
2013-11-26 19:37:43 +02:00
Dmitry Stogov
1d65e8f135
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #66176 (Invalid constant substitution)
Fixed bug #66176 (Invalid constant substitution)
2013-11-26 21:03:34 +04:00
Julien Pauli
8b83b48e98
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed a wrong test
2013-11-26 17:44:52 +01:00
Anatol Belski
e5998bbda2
correct error datatype
2013-11-26 17:36:34 +01:00
Anatol Belski
d508a094ae
fixed 32 bit unsigned to int64 casts
2013-11-26 17:35:25 +01:00
Dmitry Stogov
34a55790f2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Revert NEWS
Fixed bug #66176 (Invalid constant substitution)
2013-11-26 17:49:38 +04:00
Anatol Belski
f88a3e7fb9
first shot fixing ext/com_dotnet
2013-11-26 12:43:58 +01:00
Anatol Belski
e2f2a3fcb5
Merge branch 'master' into str_size_and_int64
2013-11-26 10:59:55 +01:00
Anatol Belski
7e856fb09b
fixed ext/bz2
2013-11-26 10:54:36 +01:00
Dmitry Stogov
854c9abcd4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added test
2013-11-26 12:14:22 +04:00
Dmitry Stogov
b3ce714cbf
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed bug #65559 (Opcache: cache not cleared if changes occur while running)
2013-11-26 11:37:05 +04:00
Anatol Belski
a45082e78d
fixed ext/intl
2013-11-25 21:59:09 +01:00
Andrey Hristov
36a3011613
Merge branch 'PHP-5.5'
2013-11-25 21:33:14 +02:00
Anatol Belski
8e50280163
updated datatypes in apache handler globals
2013-11-25 18:06:09 +01:00
Anatol Belski
0938a6266a
fixes so file_get_contents() works again, and some more
2013-11-25 16:21:14 +01:00
Dmitry Stogov
704b24d048
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixed compatibility with old PHP versions
Fixed bug #65915 (Inconsistent results with require return value)
2013-11-25 14:12:11 +04:00
Anatol Belski
923518fab8
fix erroneous paste in
2013-11-25 07:39:37 +01:00
Anatol Belski
5300caade1
Merge remote-tracking branch 'origin/master' into str_size_and_int64
2013-11-25 00:46:03 +01:00
Anatol Belski
c6adc039a1
more datatype fixes
2013-11-25 00:44:33 +01:00
Anatol Belski
a218f8f3a4
ZEND_INT_FMT and some more for ext/standard
2013-11-25 00:43:05 +01:00
Anatol Belski
3198533e92
ZEND_INT_FMT again
2013-11-24 22:28:58 +01:00
Anatol Belski
d8c7d69543
printf int format fixes
2013-11-24 22:10:57 +01:00
Jakub Zelenka
215811e3fd
fix openssl (testing required)
2013-11-24 21:03:55 +00:00
Anatol Belski
08bbd2b510
fixed ini and functions in assert.c
2013-11-24 19:56:32 +01:00
Anatol Belski
9cc9a10efd
one more walk through in Zend, fixed (or broken) things being overseen
2013-11-24 18:55:26 +01:00
Anatol Belski
cbf40edf06
fixed range check
2013-11-24 18:47:03 +01:00
Anatol Belski
a73c8812a1
one more walk through in Zend, fixed things being overseen
2013-11-24 16:06:47 +01:00
Anatol Belski
9238345922
started to fix ext/session
2013-11-23 10:06:42 +01:00
Anatol Belski
4a6981433d
fixed ini_set for integers
2013-11-23 09:52:33 +01:00
Ingo Walz
880ecd603c
Fixed bug 64604
2013-11-23 02:31:23 +01:00
Anatol Belski
639924fa2c
first shot to fix session
2013-11-22 15:55:21 +01:00
Anatol Belski
db40b1c037
fix return datatype
2013-11-22 12:26:39 +01:00
Anatol Belski
52afd818eb
fixed apache2 handler
2013-11-22 11:39:33 +01:00
Anatol Belski
28cb72f480
made zend list to use 64 bit indexes
2013-11-22 08:51:13 +01:00
Anatol Belski
7f0d637de4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed test
export more Zend API
2013-11-21 21:29:51 +01:00
Andrey Hristov
e09e45eb86
Merge branch 'PHP-5.5'
2013-11-21 21:30:36 +02:00
Anatol Belski
f88c30507c
fixed param parsing in mbstring
2013-11-21 18:33:16 +01:00
Anatol Belski
015d179e49
converted simplexml ext
2013-11-21 16:17:10 +01:00
Anatol Belski
607f97cefa
fixed libxml
2013-11-21 15:08:39 +01:00
Anatol Belski
51003463ef
first shot for php-cgi for size_t and php_int_t
2013-11-21 13:26:56 +01:00
Anatol Belski
fb27e16f01
fixed the skipif part
2013-11-21 11:54:35 +01:00
Anatol Belski
c63f8bdfba
now, as it works correct, fix the test
2013-11-20 17:49:40 +01:00
Anatol Belski
5e3d047a07
removed debugbreak
2013-11-20 17:15:01 +01:00
Anatol Belski
7156c5cb39
datatype fixes for iconv
2013-11-20 17:11:10 +01:00
Anatol Belski
6a60a03859
Merge branch 'master' into str_size_and_int64
...
Conflicts:
Zend/zend_operators.h
2013-11-20 10:17:19 +01:00
Anatol Belski
6f2d32fd1f
Merge branch 'PHP-5.6'
...
* PHP-5.6:
permanently deactivate that place, not on runtime only
2013-11-20 10:12:29 +01:00
Yasuo Ohgaki
bccead024d
Merge branch 'PHP-5.6'
...
* PHP-5.6:
added a test to cover distinction between boolean return value of unserialize function and deserializing serialized boolean
2013-11-20 07:25:45 +09:00
Jeff Welch
b2ca20312d
Fixed tests that fail with non-default serialize_precision configurations.
...
See:
* https://bugs.php.net/bug.php?id=64760
* 4dc4302
2013-11-20 06:17:57 +09:00
Anatol Belski
726d803375
fixed key length datatype
2013-11-19 14:51:20 +01:00
Anatol Belski
e7b54a3aa7
fixed datatypes for some basic globals members
2013-11-19 14:13:23 +01:00
Anatol Belski
f7bd3db224
Merge branch 'master' into str_size_and_int64
2013-11-19 13:42:51 +01:00
Anatol Belski
aee386bb30
fix range check related to #45877
2013-11-19 13:40:43 +01:00
Remi Collet
b41a2755c4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
avoid doing a stream_select on a closed stream
2013-11-19 12:43:00 +01:00
Anatol Belski
d34f4454f0
fixed zlib param parsing
2013-11-19 10:38:54 +01:00
Andrea Faulds
e68792dbb2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Updated NEWS
Removed UPGRADING note
Rewrote test using tcp instead of http:// stream
Implemented FR #65917 (getallheaders() is not supported by the built-in...)
2013-11-18 21:54:00 +00:00
Anatol Belski
0cac40e879
moved the check to the right place and fixed wording
2013-11-18 17:28:48 +01:00
Anatol Belski
c398bdd4a3
runtime checks for various lengths in pcre
2013-11-18 14:03:55 +01:00
kovacs.ferenc
a833f7d460
Merge branch 'PHP-5.6'
2013-11-18 12:39:40 +01:00
Anatol Belski
365603916e
fixed one more stat() occurrence
2013-11-18 09:39:42 +01:00
Anatol Belski
383ddcde2b
Merge branch 'master' into str_size_and_int64
2013-11-18 09:10:22 +01:00
Kalle Sommer Nielsen
9e3551ba1f
Eliminated the TSRMLS_FETCH() in zend_set_memory_limit()
2013-11-18 01:36:17 +01:00
krakjoe
f046189e34
export more Zend API
2013-11-17 22:39:31 +00:00
Xinchen Hui
b93f8e6277
Merge branch 'PHP-5.6'
2013-11-17 17:20:27 +08:00
Xinchen Hui
5a282136a3
Merge branch 'PHP-5.5'
2013-11-17 17:11:20 +08:00
Christopher Jones
3e4e173296
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS
This is CLI web server change. Added some common MIME types to the existing lookup list, pending a more thorough lookup solution, if anyone wants to do that. Ref http://news.php.net/php.internals/69990
2013-11-15 12:38:18 -08:00
Anatol Belski
bfa6d8d87d
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64
2013-11-15 11:07:58 +01:00
Anatol Belski
ae576a4309
fix zend_off_t when int64 is disabled
2013-11-15 01:44:18 -08:00
Anatol Belski
18e4e5b350
Merge branch 'master' into str_size_and_int64
2013-11-15 10:04:53 +01:00
Remi Collet
a37ff1fa4b
Merge branch 'PHP-5.6'
...
* PHP-5.6:
NEWS
Fix Bug #65714 PHP cli forces the tty to cooked mode
2013-11-15 09:53:23 +01:00
Adam Harvey
6cf46f49e3
Merge branch 'PHP-5.6'
2013-11-14 10:53:02 -08:00
Anatol Belski
a80567a929
fixed undefined behaviour in array_sum
...
The exact situation is when passing same pointer twice to
fast_add_function(). This prorably has to be fixed in mainstream too.
2013-11-14 14:59:08 +01:00
Anatol Belski
e93c9ae26a
fixed serialize/unserialize
...
- almost correct datatype fixes
2013-11-13 18:37:57 +01:00
Anatol Belski
6b229d541a
fixed ext/date for php_int_t usage
2013-11-13 15:22:56 +01:00
Remi Collet
b6f76adef4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix failed test with recent glibc
5.5.7 now
2013-11-13 13:21:28 +01:00
Anatol Belski
bd81a99ab3
Merge branch 'master' into str_size_and_int64
2013-11-13 12:44:00 +01:00
Anatol Belski
15bb12b269
fixed "struct stat" usage in main, cli and ext/standard
2013-11-13 12:39:12 +01:00
Nikita Popov
b8525baecf
Merge branch 'PHP-5.6'
2013-11-12 22:04:45 +01:00
Anatol Belski
468b2923ca
fixed stat usage, yet core only
...
- defined php_stat_t as replacement for struct stat
- on _WIN64 use _fstat64
2013-11-12 21:10:23 +01:00
Anatol Belski
e9c7342a80
Merge branch 'master' into str_size_and_int64
2013-11-12 10:57:47 +01:00
Anatol Belski
ef1c2ffaf0
more fixes to spl
2013-11-12 10:56:01 +01:00
Anatol Belski
ae1fb8dc4b
fixes to spl
2013-11-12 10:22:06 +01:00
Anatol Belski
266a428a59
use appropriate seek() and tell() on _WIN64
2013-11-12 00:41:58 +01:00
Anatol Belski
f90fe17424
define platform dependent zend_off_t
2013-11-12 00:24:52 +01:00
Anatol Belski
570b1041e9
fixes to pow()
2013-11-11 14:23:58 +01:00
Anatol Belski
2cbd452cfb
fixed parse_url()
2013-11-11 12:49:57 +01:00
Anatol Belski
ebc2816318
fixed range()
2013-11-11 11:52:44 +01:00
Anatol Belski
c23baba693
fixed array_product()
2013-11-11 09:44:24 +01:00
Anatol Belski
7e20b13d86
fixed array_slice()
2013-11-11 09:40:29 +01:00
Adam Harvey
91cb087727
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Update NEWS and remove the unnecessary UPGRADING note.
UPGRADING and NEWS
Better test: Check combined leading/trailing
Fixed whitespace part of bug #64874 ("json_decode handles whitespace and case-sensitivity incorrectly")
2013-11-10 16:16:38 -05:00
Anatol Belski
57ce464a1c
fixed *scanf() family
2013-11-10 18:59:07 +01:00
Anatol Belski
094c93b6f8
fixed *printf() family
2013-11-10 18:02:25 +01:00
Anatol Belski
b7705365a2
fix explode()
2013-11-10 17:09:51 +01:00
Anatol Belski
3069b384e1
Merge branch 'master' into str_size_and_int64
2013-11-10 15:14:03 +01:00
Anatol Belski
c0b112c68d
one more fix to pack/unpack
2013-11-10 14:40:00 +01:00
Anatol Belski
7cf68266b3
fixed unpack
2013-11-10 14:02:38 +01:00
Anatol Belski
637e9fc5bb
fix 64 bit integer values
2013-11-10 13:58:09 +01:00
Remi Collet
fac240b5d1
Merge branch 'PHP-5.6'
...
* PHP-5.6:
missing 'config.h' in 5dc37b3
2013-11-10 07:10:48 +01:00
Rasmus Lerdorf
7e01935dc2
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix broken test
Conflicts:
NEWS
2013-11-09 09:49:09 -08:00
Adam Harvey
90d4ae4da8
Make all code paths in json_determine_array_type() return constants.
...
This is a purely cosmetic change, but the current behaviour of returning
PHP_JSON_OUTPUT_ARRAY and 1 looks weird.
2013-11-09 12:15:37 -05:00
Anatol Belski
36cbe38201
reverted compare funcs and return values, should be int anyway
2013-11-09 13:16:15 +01:00
Anatol Belski
ad675f6ac2
Merge branch 'master' into str_size_and_int64
...
Conflicts:
main/php_version.h
2013-11-09 11:03:04 +01:00
Anatol Belski
7c5af3884a
fix index insert
2013-11-09 10:56:51 +01:00
Anatol Belski
c58f9eea11
fix array related compare functions
2013-11-09 10:30:55 +01:00
Anatol Belski
c2e228b77d
too much for a compare func
2013-11-09 09:18:42 +01:00
Anatol Belski
27a86a4402
fixed 64 bit pass by ref
2013-11-09 02:09:14 +01:00
Anatol Belski
5615326e1f
fixed fetching $this
2013-11-08 22:36:30 +01:00
Dmitry Stogov
43cb6ba763
Merge branch 'PHP-5.5'
...
* PHP-5.5:
Fixed issue #115 (path issue when using phar). Fixed issue #149 (Phar mount points not working with OPcache enabled).
Conflicts:
NEWS
2013-11-08 16:37:28 +04:00
Dmitry Stogov
8f097fb466
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added tests for PHAR/OPCahce incompatibilities
Conflicts:
NEWS
2013-11-08 14:16:40 +04:00
Xinchen Hui
6357cdaecf
Merge branch 'PHP-5.5'
2013-11-08 15:33:57 +08:00
Xinchen Hui
4c13992f0d
Merge branch 'PHP-5.5'
2013-11-08 15:09:08 +08:00
Rasmus Lerdorf
911ba0293a
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix bug #65946 - pdo_sql_parser.c permanently converts values bound to strings
bump API versions
2013-11-07 18:10:39 -08:00
Anatol Belski
11d4bcd706
remaining replacements ulong vs zend_uint_t
2013-11-07 19:41:57 +01:00
Anatol Belski
df312c5ddf
fix macros
2013-11-07 18:24:06 +01:00
Anatol Belski
de99f93aa5
fix datatype for hash vars
2013-11-07 17:47:48 +01:00
Rasmus Lerdorf
308edceb51
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src: (304 commits)
OCI8 build change: Fix source variable definition for C89 compatibility
bump version, empty NEWS, UPGRADING and UPGRADING.INTERNALS
bump API versions
configure output alignment
Add a couple more test cases to parse_url() tests
fix missing change from 'tcp_socket' to the more common 'server'
fix many parallel test issues
Cleanup temp test file
Revert "Fixed issue #115 (path issue when using phar)."
Update LiteSpeed SAPI code to V6.4
Fixed typo in Makefile.frag
updated NEWS
Remove outdate codes, make it clearer, although just a bit..
Update NEWS
Fixed Bug #66034 (Segmentation Fault when constructor of PDO statement throws an exception)
NEWS + UPGRADING
Sync ext/zip with pecl/zip version 1.3.2 - update libzip to version 1.11.1. We don't use any private symbol anymore - new method ZipArchive::setPassword($password) - add --with-libzip option to build with system libzip
Fixed coredump due to abnormal implemention of phar
Fix English here
limit virtual_cwd_activate() duplicated call to ZTS only
...
2013-11-07 07:55:44 -08:00
Anatol Belski
98c6e0d535
first shot for 64 bit array indexes, more broken things to fix
2013-11-07 14:03:36 +01:00
Christopher Jones
0d506131af
OCI8 build change: Fix source variable definition for C89 compatibility
2013-11-06 10:37:22 -08:00
Ferenc Kovacs
d17b684b91
bump version, empty NEWS, UPGRADING and UPGRADING.INTERNALS
2013-11-06 14:03:24 +01:00
Ferenc Kovacs
117955daf6
bump API versions
2013-11-06 14:03:24 +01:00
Remi Collet
1d93f396bb
configure output alignment
2013-11-06 13:38:53 +01:00
Anatol Belski
dd360d6336
use max int to out the array index
2013-11-04 19:49:41 +01:00
Anatol Belski
446cfd3e1c
fix stream_wrapper_register()
2013-11-04 11:12:10 +01:00
Anatol Belski
48e63da659
fixes to array funcs
2013-11-04 10:45:58 +01:00
Anatol Belski
642a8b870a
Fixes mem size format for error msg, fixes also Zend\tests\bug55509.phpt
2013-11-04 09:57:29 +01:00
Anatol Belski
e243a26b4c
Merge branch 'master' into str_size_and_int64
...
* master: (30 commits)
Fixed coredump due to abnormal implemention of phar
Fix English here
Fix bug #66008
Removed unnecessary GC checks
Add crypt() change in UPGRADING
Fix bug #65997 by switching to Serializable for GMP
Fix compile warning in GMP
Fix ZTS build
updated libs_versions.txt
Implemented Change crypt() behavior w/o salt RFC
Update NEWS
Update NEWS
Fixed Bug 64760 var_export() does not use full precision for floating-point numbers
add bundled libzip LICENSE, as required by BSD License terms
Avoid copy in func_get_arg()
- Updated to version 2013.8 (2013h)
Use zval* instead of zval**
Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris)
Improved performance of array_merge() by eliminating useless copying
Improved performance of func_get_args() by eliminating useless copying
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-11-04 09:19:52 +01:00
Chris Wright
9ad8e89d4f
Allow unlimited line length in fpm config files
...
Fixes bug #65933
2013-10-28 09:35:01 +00:00
Anatol Belski
1ba7ceee17
fixed hex integer interpretation
2013-10-28 10:27:36 +01:00
Anatol Belski
0c21ecf159
force the multiply macros to use zend_int_t
2013-10-28 10:26:39 +01:00
Anatol Belski
3889019638
Merge branch 'master' into str_size_and_int64
...
* master:
fix limitation of upload size == (U)INT_MAX in CGI
Link to more readmes
test commit
- test3
- test commit 2
- test commit1
2013-10-28 09:10:55 +01:00
Anatol Belski
d5e835737c
fixed binary int representation
2013-10-27 16:41:38 +01:00
Anatol Belski
20ff7a2d68
some strtol replacements
2013-10-27 11:05:40 +01:00
Anatol Belski
23390de0e7
fix strlen macros
2013-10-26 11:48:19 -07:00
Anatol Belski
4fc7dc6eae
Merge branch 'master' into str_size_and_int64
...
* master: (79 commits)
ldap_escape() notes
Increment version number, since this will be 5.5.6.
Added Zend Debugger to the note about the load order (by trash4you at online dot de)
Added a LICENSE file to make it easier for PECL binary distributions to conform with the license.
Fix Coverity issue reporting wrong sizeof()
Fixed bug #65939 (Space before ";" breaks php.ini parsing). (brainstorm at nopcode dot org)
exif NEWS
add tests for bug #62523
Merged PR #293 (Exif crash on unknown encoding was fixed) By: Draal Conflicts: configure.in main/php_version.h
fix bug #65936 (dangling context pointer causes crash)
remove TRAVIS check in test source
Fixed compilation warning
Just SKIP that test on travis
Fixed issue #115 (path issue when using phar).
fix memory leak on error (from Coverity scan)
fix argument type & remove warning
fix const warnings in intl methods
Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
fix possibility of access to *storedType without initialization
Fix coverity issue with -1 returned by findOffset not being handled by getPreferredTag
...
Conflicts:
Zend/zend_compile.c
ext/intl/collator/collator_create.c
ext/intl/locale/locale_methods.c
ext/intl/msgformat/msgformat_format.c
ext/intl/msgformat/msgformat_parse.c
2013-10-25 04:19:27 -07:00
Anatol Belski
f0fdb82f83
bigger memory_limit should work now on 64 bit windows
2013-10-16 10:48:03 -07:00
Anatol Belski
4a5fee1b36
fix broken master merge
2013-10-16 06:10:00 -07:00
Anatol Belski
4b6d784962
Merge branch 'str_size_and_int64' of https://github.com/weltling/php-src into str_size_and_int64
...
Conflicts:
NEWS
UPGRADING
UPGRADING.INTERNALS
Zend/zend_API.c
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_constants.h
Zend/zend_exceptions.c
Zend/zend_exceptions.h
Zend/zend_execute.c
Zend/zend_language_scanner.c
Zend/zend_language_scanner.l
Zend/zend_operators.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
ext/date/lib/parse_date.c
ext/date/php_date.c
ext/imap/config.m4
ext/oci8/config.m4
ext/oci8/oci8.c
ext/oci8/oci8_dtrace.d
ext/oci8/oci8_interface.c
ext/oci8/oci8_lob.c
ext/oci8/oci8_statement.c
ext/oci8/package.xml
ext/oci8/php_oci8.h
ext/reflection/php_reflection.c
ext/spl/spl_directory.c
ext/spl/spl_fixedarray.c
ext/standard/file.c
ext/standard/http_fopen_wrapper.c
ext/standard/info.c
ext/standard/string.c
main/php_variables.c
main/streams/streams.c
2013-10-16 06:02:27 -07:00
Anatol Belski
4e537ca4ca
fix broken merge from master
2013-10-16 03:38:14 -07:00
Stanislav Malyshev
941887359b
5.4.21 now
2013-10-16 03:21:55 -07:00
Dmitry Stogov
ed36099a0b
Fixed bug #65561 (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4). (Terry Ellison)
2013-10-16 03:21:49 -07:00
Anatol Belski
615756c8ab
fixed ext/iconv
2013-10-16 03:20:34 -07:00
Joey Smith
e6095aa4cb
Expose fputcsv's escape_char to userland
...
Allows users to assert that something other than the backslash
should be considered an escape char; also follows the RFC 4180
recommendation that fields containing a " be enclosed.
2013-10-16 03:18:19 -07:00
Anatol Belski
983db235b0
fixed decrement
2013-10-16 03:14:25 -07:00
Anatol Belski
582f52c173
fixed numeric string comparsion
2013-10-16 03:14:24 -07:00
Anatol Belski
c47840d92b
some more linux fixes
2013-10-16 03:14:23 -07:00
Anatol Belski
8949c825c7
fixed configure.in
2013-10-16 03:14:22 -07:00
Anatol Belski
68ec5a9b89
ext/intl further fixes
2013-10-16 03:14:22 -07:00
Anatol Belski
866d33e1e9
ext/intl further converting
2013-10-16 03:14:21 -07:00
Anatol Belski
52a74bbdd6
more fixes to ext/intl
2013-10-16 03:14:20 -07:00
Anatol Belski
05593baf9a
Z_STRLEN vs Z_STRSIZE in ext/intl
2013-10-16 03:14:20 -07:00
Anatol Belski
457f28c354
adapted args in ext/intl
2013-10-16 03:14:19 -07:00
Anatol Belski
9e4a7835c5
fixed the mb_regex* stuff
2013-10-16 03:14:18 -07:00
Anatol Belski
1f261538e8
fixed sapi filter usage
2013-10-16 03:14:17 -07:00
Anatol Belski
80d8037531
replaced all the arg formats and Z_STRLEN
...
won't work yet, just initial work to be done
2013-10-16 03:14:17 -07:00
Anatol Belski
659d7ca634
fixed set process_title()
2013-10-16 03:14:16 -07:00
Anatol Belski
84e13901b0
fix pcre usage in spl
2013-10-16 03:14:15 -07:00
Anatol Belski
69ea580aad
fixed ext/pcre internal stuff
...
Now only the flaw is pcrelib itself as it works with int for
string length and offsets. Bigger stuff won't work anyway, but
if there are some issue there are just a few places like pcre_exec()
where we can explicitly cast to int.
2013-10-16 03:14:15 -07:00
Anatol Belski
af4924eaea
adapted all the function arg formats in ext/zlib
2013-10-16 03:14:13 -07:00
Anatol Belski
1015a29997
some more fixes to zend operators
2013-10-16 03:14:12 -07:00
Anatol Belski
889b8d75fe
added ZEND_INT_FMT
2013-10-16 03:14:12 -07:00
Anatol Belski
34818356fc
some fixes to constants, var_dump and var_export
2013-10-16 03:14:11 -07:00
Anatol Belski
dfec5cf775
first fixes to ext/spl, yet incomplete
2013-10-16 03:12:49 -07:00
Anatol Belski
a5cda49fe9
fixes to reflection
2013-10-16 03:10:52 -07:00
Anatol Belski
3b55e60245
fixes to ereg
2013-10-16 03:10:51 -07:00
Anatol Belski
4f6e709a67
more fixes to ext/date
2013-10-16 03:10:50 -07:00
Anatol Belski
b24f226e93
replaced arg formats in pcre
2013-10-16 03:10:50 -07:00
Anatol Belski
41e0c7b1f6
fixed sapi.h
2013-10-16 03:10:49 -07:00
Anatol Belski
4ea8803533
replaced all arg formats in ext/standard
2013-10-16 03:10:48 -07:00
Anatol Belski
f8923bb076
replaced all the int params in the datetime
2013-10-16 03:09:52 -07:00
Anatol Belski
d3f87d0ffc
adapted the function args for ereg
...
And that actually seems to be it, all tests pass so far. So lets
see how it goes in the fture, too easy but seems to be done for now .
2013-10-16 03:09:51 -07:00
Anatol Belski
179d696b35
trivial fix spl_autoload_functions()
2013-10-16 03:09:50 -07:00
Anatol Belski
4be4279c83
final fix for hebrev()
2013-10-16 03:09:50 -07:00
Anatol Belski
832e9653d1
fix build
2013-10-16 03:09:49 -07:00
Anatol Belski
469b9e44fb
fixed file_put_contents()
2013-10-16 03:09:48 -07:00
Anatol Belski
b7f8723065
fixed fwrite
2013-10-16 03:09:47 -07:00
Anatol Belski
a8959d76c8
fixed "s" vs "S" for soundex
2013-10-16 03:09:45 -07:00
Anatol Belski
734f9e58f9
partial fix to hebrev
2013-10-16 03:09:44 -07:00
Anatol Belski
5b6f0092f4
fixed unpack()
2013-10-16 03:09:44 -07:00
Anatol Belski
d7d84804e6
fixed str_pad()
2013-10-16 03:09:43 -07:00
Anatol Belski
12951f8bbd
lost condition
2013-10-16 03:09:42 -07:00
Anatol Belski
6fc93dfa6c
fixed str_split()
2013-10-16 03:09:41 -07:00
Anatol Belski
a61c753006
Fixed substr(), but no kidding now.
...
all the signed/unsigned arithmetic needs clear understanding
2013-10-16 03:09:41 -07:00
Anatol Belski
51ddf600fe
small correction to substr
2013-10-16 03:08:26 -07:00
Anatol Belski
df0a28baab
fixed strstr()
2013-10-16 03:08:26 -07:00
Anatol Belski
c9280f1e1c
fixed substr()
2013-10-16 03:08:25 -07:00
Anatol Belski
f4c91f0aa8
adapted all the zend_parse_parameters() calls
2013-10-16 03:08:24 -07:00
Anatol Belski
5d1c130506
changes to dns.c
2013-10-16 03:08:22 -07:00
Anatol Belski
ec49b23a4d
fixes for types to ext/standard with types ... some stuff is broken now
2013-10-16 03:08:21 -07:00
Anatol Belski
63cf4c45ca
more fixes to string.c
2013-10-16 03:05:14 -07:00
Anatol Belski
010b8114cc
more for cli sapi
2013-10-16 03:05:13 -07:00
Anatol Belski
dec724e98d
fixes to main/
2013-10-16 03:05:13 -07:00
Anatol Belski
646b5d306c
fixes after merging master
2013-10-16 03:02:34 -07:00
Anatol Belski
6a16702e30
Fixes for sizeof int
2013-10-16 02:57:39 -07:00
Anatol Belski
f7730bd47e
made lang scanner use zend_int.h and regenerated it
2013-10-16 02:57:38 -07:00
Anatol Belski
c10c568d0f
added zend_int.h to zend*.dsp
2013-10-16 02:37:13 -07:00
Anatol Belski
91058553c8
adjusted zend_types.h
2013-10-16 02:37:13 -07:00
Anatol Belski
631628baad
added zend_int.h
2013-10-16 02:37:12 -07:00
Anatol Belski
f6cf006496
the very first porting try, many things not worky
2013-10-16 02:37:11 -07:00
Anatol Belski
baf3937c37
fixes to zend
2013-10-16 02:35:31 -07:00
Anatol Belski
0e3420bf8f
more fixes to streams
2013-10-16 02:34:31 -07:00
Anatol Belski
0020a89c43
fixes to SAPI.c
2013-10-16 02:32:22 -07:00
Anatol Belski
9f294bf282
fixes to plain stream wrapper
2013-10-16 02:32:21 -07:00
Anatol Belski
5748286990
fixes to xp_socket.c
2013-10-16 02:32:20 -07:00
Anatol Belski
b610404004
fixes to zend_ini and output
2013-10-16 02:32:19 -07:00
Anatol Belski
74a68df77c
fix uuencode
2013-10-16 02:32:18 -07:00
Anatol Belski
42fdfacae6
fix base64 stuff
2013-10-16 02:32:17 -07:00
Anatol Belski
98ec9fdd51
fixes to url processing stuff
2013-10-16 02:32:17 -07:00
Anatol Belski
6221ea90cb
huge fix to spl and more
2013-10-16 02:32:16 -07:00
Anatol Belski
86c9a6f901
fix 's' vs 'S' for datetime
2013-10-16 02:31:20 -07:00
Anatol Belski
dc43044ffb
string sze_t fix for internal strings
2013-10-16 02:31:20 -07:00
Anatol Belski
0d0eec58f1
strig size_t fixes to zend_alloc.*
2013-10-16 02:31:19 -07:00
Anatol Belski
a296d61c05
trivial fixes to ext\standard
2013-10-16 02:31:18 -07:00
Anatol Belski
2f39ef6596
trivial fixes to spl
2013-10-16 02:30:28 -07:00
Anatol Belski
4f62adfb2c
fix spl_autoload_*
2013-10-16 02:30:27 -07:00
Anatol Belski
43e05efd3b
windows fixes
2013-10-16 02:30:27 -07:00
Anthony Ferrara
2cf827b52a
Get core test suite to really pass, fully. Woot
2013-10-16 02:30:26 -07:00
Anthony Ferrara
0cd95c1ee0
Get basic language tests to all pass (minus xfails)
2013-10-16 02:30:25 -07:00
Anthony Ferrara
6484eaf77e
Better test coverage
2013-10-16 02:26:33 -07:00
Anthony Ferrara
e6f90ecc27
It compiles. Sort-of. In a way. Yeah. But nothing works. Sigh
2013-10-16 02:24:40 -07:00
Anthony Ferrara
1d861341a0
More work, get strings working, sort-of...
2013-10-16 01:58:11 -07:00
Anthony Ferrara
10ff0829d4
Refactor file.c to use new string types
2013-10-16 01:56:47 -07:00
Anthony Ferrara
c224e239bd
Re-do a lot of it using a conditional define, and legacy type information for APIs
2013-10-16 01:55:06 -07:00
Adam Harvey
59ebbf5109
Allow CURLOPT_FOLLOWLOCATION to be used with open_basedir.
...
Newer versions of libcurl prevent file:// location response headers by default,
which means that the open_basedir check is unnecessary — the fact
CURLOPT_REDIR_PROTOCOLS can't set CURLPROTO_FILE with open_basedir enabled
means that there's no possibility of breaching the open_basedir restriction,
and this allows HTTP redirects to be followed automatically.
Implements FR #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir or
safe_mode).
2013-10-16 01:34:31 -07:00
Adam Harvey
04c823d287
Tinker with the wording of the short_open_tag description.
...
I'm still not thrilled with this, but it's a bit better and addresses the
issues noted in bug #65644 . Plus, it now mentions the decoupling of <?=.
2013-10-16 01:34:30 -07:00
Adam Harvey
5c50e69814
Handle CLI server request headers case insensitively.
...
Fixes bug #65633 (built-in server treat some http headers as case-sensitive).
2013-10-16 01:29:42 -07:00
unknown
f074ad207c
ensure that the defined interpolation method is used by the generic scaling functions
2013-10-16 01:29:06 -07:00
Dmitry Stogov
4d86b8b507
Fixed issue #128 (opcache_invalidate segmentation fault)
2013-10-16 01:28:23 -07:00
Christopher Jones
32a8ad32e7
Remove obsolete flag
2013-10-16 01:28:22 -07:00
Christopher Jones
814b1985bc
Update DTrace probes
2013-10-16 01:28:22 -07:00
Christopher Jones
f453122b73
Add test for oci_set_* error changes
2013-10-16 01:28:21 -07:00
Christopher Jones
66db31f5c6
Make oci_set_*($connection,...) errors retrievable via oci_error($connection).
...
Improve some error handling to produce error text on some rare edge cases.
Disambiguate the Oracle library function call return status values from ORA error numbers.
Review and unify error data types.
2013-10-16 01:28:20 -07:00
Christopher Jones
388928ee24
Cast time_t since some "dtrace -G" invocations fail on time_t arguments
2013-10-16 01:26:09 -07:00
Stanislav Malyshev
49c9e595f6
5.4.21 now
2013-10-16 01:26:08 -07:00
Gustavo André dos Santos Lopes
f1a05e788c
Update NEWS/UPGRADING with info about incompat ctx
2013-10-16 01:24:01 -07:00
Xinchen Hui
fd91996c55
Typo....
2013-10-16 01:24:00 -07:00
Xinchen Hui
f16cdc0d50
Add a XFAIL test for #64896
2013-10-16 01:24:00 -07:00
Gustavo André dos Santos Lopes
765cdb22cf
Implement phase 1 of rfc/incompat_ctx
...
Just changing the error level of the message from E_STRICT to
E_DEPRECATED. This comes one version later than the timeline
mentioned in the RFC.
Oddly, there were no tests for this ‘feature’. I added a simple
one.
2013-10-16 01:23:59 -07:00
Nikita Popov
7f17c8c11e
Make use of direct returns in some places
2013-10-16 01:23:58 -07:00
Nikita Popov
cc0e733baa
Always pass return_value_ptr to internal functions
...
Previous some places passed return_value_ptr only if the function
returned by reference. Now return_value_ptr is always set, even
for functions returning by-value.
This allows you to return zvals without copying their contents. For
this purpose two new macros RETVAL_ZVAL_FAST and RETURN_ZVAL_FAST
are added:
RETVAL_ZVAL_FAST(zv); /* Analog to RETVAL_ZVAL(zv, 1, 0) */
RETURN_ZVAL_FAST(zv); /* Analog to RETURN_ZVAL(zv, 1, 0) */
These macros behave similarly to the non-FAST versions with
copy=1 and dtor=0, with the difference that the FAST versions
will try return the zval without copying by utilizing return_value_ptr.
2013-10-16 01:23:57 -07:00
Christopher Jones
93b6c4f2bb
Allow OCI8 to be DTrace-enabled independently of core PHP's DTrace
...
status. The proviso is OCI8 must be built "shared" when DTrace is
enabled. This implementation (i) works around an incomplete core PHP
solution for extension tracing (ii) avoid any issues with DOF section
location and the complexities of needing to merge all provider .d
files for static builds (iii) allows OCI8 to be DTrace-enabled when
doing PECL installs of OCI8 on PHP versions without core PHP DTrace
support.
This is an initial patch i.e. it will undergo further testing.
2013-10-16 01:23:57 -07:00
Christopher Jones
e9782f3a10
OCI8: remove unused ext/oci8/config.m4 macro
2013-10-16 01:23:56 -07:00
Christopher Jones
6bb30e2aec
OCI8 whitespace: remove tabs embedded in code
2013-10-16 01:23:55 -07:00
Remi Collet
a296e3d032
Fixed bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
2013-10-16 01:23:54 -07:00
Remi Collet
3df4c3eb70
Fixed Bug #65564 stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer
2013-10-16 01:22:56 -07:00
Xinchen Hui
2e560a331d
Fixed bug #60598 (cli/apache sapi segfault on objects manipulation)
2013-10-16 01:21:34 -07:00
Yasuo Ohgaki
9628ac34a6
Remove ini dependency in test
2013-10-16 01:20:56 -07:00
Dmitry Stogov
7fcd3e2721
Fixed bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var)
2013-10-16 01:20:55 -07:00
Dmitry Stogov
58606fc10d
Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien)
2013-10-16 01:20:13 -07:00
Dmitry Stogov
08c2e821cc
Fixed compatibility with php-5.2
2013-10-16 01:19:17 -07:00
Dmitry Stogov
5352788b44
Fixed bug #65561 (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4). (Terry Ellison)
2013-10-16 01:19:16 -07:00
Xinchen Hui
db11ad2e94
Avoid compiler warning
2013-10-16 01:18:36 -07:00
Adam Harvey
acbfd16ddf
Fix bug #65579 (Using traits with get_class_methods causes segfault).
...
Specifically, this checks if there are trait aliases defined in the class scope
before attempting to dereference the first trait alias. This handles the case
where a trait alias was used in a child trait but no aliases exist in the
concrete class.
2013-10-16 01:18:36 -07:00
Anatol Belski
132505cd52
removed the /Wp64 switch as we use true 64 bit compiler now
2013-10-16 01:17:54 -07:00
Anatol Belski
f350f3c9b8
updated lib versions, the vc11 ones only matter now
2013-10-16 01:17:12 -07:00
Christopher Jones
16ef7e80a8
OCI8 2.0: add oci8-check-connection probe and do some renaming
2013-10-16 01:17:11 -07:00
Anatol Belski
cf22d7c06b
fixed ext/iconv
2013-10-16 01:17:10 -07:00
Xinchen Hui
c4edc6e277
Fixed compiler warnings
...
warning: 'local_dval' may be used uninitialized in this function
[-Wmaybe-uninitialized]
warning: 'dval2' may be used uninitialized in this function
[-Wmaybe-uninitialized]
2013-10-16 01:17:09 -07:00
Christopher Jones
6a2c44c811
Use "__" consistently in OCI8 DTrace probe definitions. It maps to "-" in the probe name.
2013-10-16 01:16:12 -07:00
Christopher Jones
fb03ad89ef
Leave it to DTrace FBT to trace underlying library calls
2013-10-16 01:16:11 -07:00
Nikita Popov
66de4151e7
Evaluate ZVAL_ZVAL arguments only once
...
Also remove some isref/refcount assignments, which are no longer
necessary (as ZVAL_COPY_VALUE is used now).
2013-10-16 01:16:11 -07:00
Dmitry Stogov
e8b7f9f011
Fixed compilation warning
2013-10-16 01:16:10 -07:00
gron1987
62b0f1d0fc
Fix bug #65554 in DateTime, when use it with D/l in format and textual day have dot at the end
2013-10-16 01:16:09 -07:00
Stanislav Malyshev
66dd725ac7
fix mysql tests & mark nextRowset problematic tests
2013-10-16 01:14:27 -07:00
Joey Smith
7f22f40541
Expose fputcsv's escape_char to userland
...
Allows users to assert that something other than the backslash
should be considered an escape char; also follows the RFC 4180
recommendation that fields containing a " be enclosed.
2013-10-16 01:14:23 -07:00
Stanislav Malyshev
e636bea3f7
fix mysql init
2013-10-16 01:12:01 -07:00
Stanislav Malyshev
ef30289ead
add openssl
2013-10-16 01:12:00 -07:00
Stanislav Malyshev
b0aed8f9d3
add mysql settings
2013-10-16 01:11:59 -07:00
root
c74f0c613d
Test extension xmlrpc encode type double and string decode type string and int
2013-10-16 01:11:23 -07:00
Ole Markus With
32776ad023
Stricter libc-client symlink check
2013-10-16 01:11:22 -07:00
Michael M Slusarz
674fb57896
Fix #65483 : quoted-printable encode stream filter incorrectly encoding spaces
2013-10-16 01:11:21 -07:00
Alexander Moskaliov
39c8f8a205
Remove semicolon
2013-10-16 01:11:21 -07:00
Alexander Moskalev
66174837ef
Fix DateInterval->days value
...
when object was created not from DateTime::diff()
2013-10-16 01:11:20 -07:00
Boro Sitnikovski
bce1151df9
Bug 64744
...
Show the type of the non-object for more descriptive errors
2013-09-20 13:34:12 +02:00
Anatol Belski
b8213906ff
fixed decrement
2013-08-26 07:31:10 -07:00
Anatol Belski
4b484e0278
fixed numeric string comparsion
2013-08-26 07:06:31 -07:00
Anatol Belski
1b523d9c93
Merge branch 'string_size_refactor_take_2' into str_size_and_int64
2013-08-26 05:44:35 -07:00
Anatol Belski
a0dfabed1f
some more linux fixes
2013-08-26 05:54:33 -07:00
Anatol Belski
61a1a3e39b
fixed configure.in
2013-08-26 05:19:14 -07:00
Anatol Belski
6e4395b586
ext/intl further fixes
2013-08-26 04:33:07 -07:00
Anatol Belski
9c81da4170
ext/intl further converting
2013-08-26 01:52:31 -07:00
Anatol Belski
14f8e16870
more fixes to ext/intl
2013-08-24 07:32:28 -07:00
Anatol Belski
07b87a2a7f
Z_STRLEN vs Z_STRSIZE in ext/intl
2013-08-24 07:02:28 -07:00
Anatol Belski
1492bc1d60
adapted args in ext/intl
2013-08-24 05:08:22 -07:00
Anatol Belski
2545fbbdc2
fixed the mb_regex* stuff
2013-08-24 03:24:06 -07:00
Anatol Belski
2bf8f91b87
fixed sapi filter usage
2013-08-24 03:04:35 -07:00
Anatol Belski
9382c75061
replaced all the arg formats and Z_STRLEN
...
won't work yet, just initial work to be done
2013-08-24 02:54:21 -07:00
Anatol Belski
644278c1a3
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
2013-08-23 09:07:58 -07:00
Anatol Belski
3d49768cc2
fixed set process_title()
2013-08-23 07:12:56 -07:00
Anatol Belski
2a28a30c4d
fix pcre usage in spl
2013-08-23 06:47:18 -07:00
Anatol Belski
f2a4f31bf4
fixed ext/pcre internal stuff
...
Now only the flaw is pcrelib itself as it works with int for
string length and offsets. Bigger stuff won't work anyway, but
if there are some issue there are just a few places like pcre_exec()
where we can explicitly cast to int.
2013-08-23 06:37:51 -07:00
Anatol Belski
6b474bbcf6
adapted all the function arg formats in ext/zlib
2013-08-23 04:21:02 -07:00
Anatol Belski
03bee19890
some more fixes to zend operators
2013-08-23 04:03:21 -07:00
Anatol Belski
ba52352363
added ZEND_INT_FMT
2013-08-23 03:32:35 -07:00
Anatol Belski
3cbf45c510
some fixes to constants, var_dump and var_export
2013-08-23 02:34:14 -07:00
Anatol Belski
262de5d054
first fixes to ext/spl, yet incomplete
2013-08-23 01:56:16 -07:00
Anatol Belski
ff233b591c
fixes to reflection
2013-08-23 01:26:17 -07:00
Anatol Belski
3aed22ae8e
fixes to ereg
2013-08-23 01:14:02 -07:00
Anatol Belski
ebd2fc6b3f
more fixes to ext/date
2013-08-23 01:08:35 -07:00
Anatol Belski
427cde5da6
replaced arg formats in pcre
2013-08-23 00:56:10 -07:00
Anatol Belski
570adc16e7
fixed sapi.h
2013-08-22 11:02:24 -07:00
Anatol Belski
aae79a684d
replaced all arg formats in ext/standard
2013-08-22 10:51:29 -07:00
Anatol Belski
0f892ce613
replaced all the int params in the datetime
2013-08-22 09:38:05 -07:00
Anatol Belski
261938b5e0
Merge branch 'string_size_refactor_take_2' into str_size_and_int64
...
Conflicts:
ext/standard/string.c
2013-08-22 09:13:46 -07:00
Anatol Belski
5efaa8f7b9
adapted the function args for ereg
...
And that actually seems to be it, all tests pass so far. So lets
see how it goes in the fture, too easy but seems to be done for now .
2013-08-22 08:45:08 -07:00
Anatol Belski
320e82b603
trivial fix spl_autoload_functions()
2013-08-22 06:48:55 -07:00
Anatol Belski
bfb0e87e2b
final fix for hebrev()
2013-08-22 06:06:24 -07:00
Anatol Belski
5351aa9ac1
Merge branch 'string_size_refactor_take_2' of https://github.com/weltling/php-src into string_size_refactor_take_2
2013-08-22 03:45:28 -07:00
Anatol Belski
569cbd2081
fix build
2013-08-22 03:59:09 -07:00
Anatol Belski
764054c2eb
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
2013-08-22 01:40:20 -07:00
Anatol Belski
5c6428b0b9
fixed file_put_contents()
2013-08-22 01:27:08 -07:00
Anatol Belski
ea56c2dcfd
fixed fwrite
2013-08-22 00:54:45 -07:00
Anatol Belski
09c3b6c1b6
fixed "s" vs "S" for soundex
2013-08-22 00:45:16 -07:00
Anatol Belski
bda11c6bd2
partial fix to hebrev
2013-08-21 04:30:54 -07:00
Anatol Belski
c8fbe078a1
fixed unpack()
2013-08-21 03:54:13 -07:00
Anatol Belski
2d44a04a83
fixed str_pad()
2013-08-21 01:35:40 -07:00
Anatol Belski
d6c59e1d7e
lost condition
2013-08-21 00:33:47 -07:00
Anatol Belski
e2070d1409
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
2013-08-21 00:28:43 -07:00
Anatol Belski
d871982507
Merge branch 'string_size_refactor_take_2' of https://github.com/ircmaxell/php-src into string_size_refactor_take_2
2013-08-21 00:28:19 -07:00
Anatol Belski
c8acebe674
fixed str_split()
2013-08-21 00:27:07 -07:00
Anthony Ferrara
dc29937050
Merge pull request #5 from weltling/string_size_refactor_take_2
...
String size refactor take 2, partial fixes to ext/standard
2013-08-17 12:42:52 -07:00
Anatol Belski
91ceb295da
Fixed substr(), but no kidding now.
...
all the signed/unsigned arithmetic needs clear understanding
2013-08-17 10:10:15 -07:00
Anatol Belski
99442a301d
small correction to substr
2013-08-17 04:22:09 -07:00
Anatol Belski
6b067db5fb
fixed strstr()
2013-08-17 03:53:07 -07:00
Anatol Belski
5c754227a7
fixed substr()
2013-08-16 08:10:14 -07:00
Anatol Belski
a7a797b455
adapted all the zend_parse_parameters() calls
2013-08-16 02:37:08 -07:00
Anatol Belski
715b040f46
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
...
Conflicts:
Zend/zend_exceptions.c
ext/date/php_date.c
ext/standard/string.c
ext/standard/url_scanner_ex.c
ext/standard/url_scanner_ex.re
main/rfc1867.c
2013-08-16 01:45:50 -07:00
Anatol Belski
1e53ccdf7a
fixed merge mistake
2013-08-13 07:59:56 -07:00
Anthony Ferrara
221b9d44a8
Merge pull request #4 from weltling/string_size_refactor_take_2
...
String size refactor take 2
2013-08-13 07:36:50 -07:00
Anatol Belski
0773ab461e
changes to dns.c
2013-08-13 01:26:05 -07:00
Anatol Belski
ccf2069c18
Merge branch 'string_size_refactor_take_2' into str_size_and_int64
...
Conflicts:
Zend/zend_constants.h
2013-08-13 01:10:09 -07:00
Anatol Belski
6478088a2c
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
...
Conflicts:
Zend/zend_operators.h
main/SAPI.h
main/rfc1867.c
main/streams/php_stream_transport.h
main/streams/streams.c
main/streams/transports.c
main/streams/xp_socket.c
2013-08-13 01:07:12 -07:00
Anatol Belski
a95f8dbac2
fixes for types to ext/standard with types ... some stuff is broken now
2013-07-29 09:04:56 -07:00
Anatol Belski
88960bba1e
more fixes to string.c
2013-07-29 04:50:47 -07:00
Anatol Belski
62c1f4127b
more for cli sapi
2013-07-29 02:39:44 -07:00
Anatol Belski
cd955c183b
fixes to main/
2013-07-29 02:16:39 -07:00
Anatol Belski
dc0b9d716e
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
...
Conflicts:
Zend/zend_constants.h
ext/standard/info.c
2013-07-29 01:47:45 -07:00
Anatol Belski
03cae613f0
fixes after merging master
2013-07-18 03:53:51 -07:00
Anatol Belski
9f177207fc
Merge branch 'string_size_refactor_take_2' into str_size_and_int64
2013-07-18 03:22:12 -07:00
Anatol Belski
46e07a6fd7
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
...
Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2013-07-18 03:20:13 -07:00
Anatol Belski
231eaa3919
Fixes for sizeof int
2013-07-18 02:58:55 -07:00
Anatol Belski
13cb1b7e4a
made lang scanner use zend_int.h and regenerated it
2013-07-18 02:52:15 -07:00
Anatol Belski
4bcc5a87d7
added zend_int.h to zend*.dsp
2013-07-18 01:09:03 -07:00
Anatol Belski
0605bebdb6
adjusted zend_types.h
2013-07-18 01:05:27 -07:00
Anatol Belski
ec0300ec25
added zend_int.h
2013-07-18 01:04:37 -07:00
Anatol Belski
8b8f7d4a5a
the very first porting try, many things not worky
2013-07-17 09:48:13 -07:00
Anatol Belski
a5302f286e
Merge branch 'string_size_refactor_take_2' into str_size_and_int64
...
* string_size_refactor_take_2:
fixes to zend
more fixes to streams
fixes to SAPI.c
fixes to plain stream wrapper
fixes to xp_socket.c
fixes to zend_ini and output
2013-07-17 09:24:21 -07:00
Anatol Belski
d4c546b956
fixes to zend
2013-07-17 09:11:51 -07:00
Anatol Belski
9703f57bd1
more fixes to streams
2013-07-17 06:30:28 -07:00
Anatol Belski
cc3ec2936c
fixes to SAPI.c
2013-07-17 06:06:35 -07:00
Anatol Belski
06fe769905
fixes to plain stream wrapper
2013-07-17 05:50:33 -07:00
Anatol Belski
c292a18514
fixes to xp_socket.c
2013-07-17 04:53:56 -07:00
Anatol Belski
eb5ab08267
fixes to zend_ini and output
2013-07-17 03:31:17 -07:00
Anthony Ferrara
6bd00eda6b
Merge pull request #2 from weltling/string_size_refactor_take_2
...
Fixes by the end of the day
2013-07-15 09:36:03 -07:00
Anatol Belski
5ae81ec123
fix uuencode
2013-07-11 08:12:30 -07:00
Anatol Belski
8f7abf4371
fix base64 stuff
2013-07-11 07:02:58 -07:00
Anatol Belski
e17ef23c2c
fixes to url processing stuff
2013-07-11 06:57:22 -07:00
Anatol Belski
a9b623aa0b
huge fix to spl and more
2013-07-11 05:37:09 -07:00
Anatol Belski
7331e4c9c8
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
2013-07-11 03:00:30 -07:00
Anatol Belski
42c8f29277
fix 's' vs 'S' for datetime
2013-07-11 02:58:53 -07:00
Anatol Belski
59d95c1537
Merge branch 'master' of https://github.com/php/php-src into string_size_refactor_take_2
2013-07-10 01:09:28 -07:00
Anatol Belski
309d3b512e
Merge branch 'string_size_refactor_take_2' of https://github.com/ircmaxell/php-src into string_size_refactor_take_2
2013-07-10 01:09:01 -07:00
Anatol Belski
03ed6fc0b1
string sze_t fix for internal strings
2013-07-10 00:43:19 -07:00
Anatol Belski
acd85d48f0
strig size_t fixes to zend_alloc.*
2013-07-09 06:13:08 -07:00
Anthony Ferrara
3744ff7c18
Merge pull request #1 from weltling/string_size_refactor_take_2
...
windows fixes
2013-07-05 05:26:40 -07:00
Anatol Belski
8db3e3738c
trivial fixes to ext\standard
2013-07-04 09:35:05 -07:00
Anatol Belski
bf18c56fb7
trivial fixes to spl
2013-07-04 08:50:58 -07:00
Anatol Belski
890345eda0
fix spl_autoload_*
2013-07-04 06:41:48 -07:00
Anatol Belski
ca0e018c95
windows fixes
2013-07-04 04:27:40 -07:00
Anthony Ferrara
f4c4fe417a
Get core test suite to really pass, fully. Woot
2013-07-02 11:51:45 -04:00
Anthony Ferrara
3db6b5112f
Get basic language tests to all pass (minus xfails)
2013-07-02 11:27:48 -04:00
Anthony Ferrara
91abad1e1b
Better test coverage
2013-07-02 10:20:01 -04:00
Anthony Ferrara
6e008d40c2
It compiles. Sort-of. In a way. Yeah. But nothing works. Sigh
2013-07-02 09:46:30 -04:00
Gernot Vormayr
a90a93f1a4
Add apparmor change hat functionality to fpm
2013-07-02 13:06:02 +02:00
Anthony Ferrara
66845fb6a5
More work, get strings working, sort-of...
2013-07-01 17:59:11 -04:00
Anthony Ferrara
89aea2f103
Refactor file.c to use new string types
2013-07-01 17:15:25 -04:00
Anthony Ferrara
ea58b542d6
Re-do a lot of it using a conditional define, and legacy type information for APIs
2013-07-01 16:53:54 -04:00
Jefersson Nathan
89a657f80a
Fixed identation on file
2013-04-23 08:24:15 -03:00