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
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
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
Dmitry Stogov
bccc653185
Avoid double IS_INTERNED() check
2014-09-19 17:32:50 +04:00
Dmitry Stogov
3bc8a958c5
Fixed useless or duplicated IS_INTERNED() checks
2014-09-19 15:41:01 +04:00
Anatol Belski
953386edfd
fix an always true condition and improve the error check
2014-09-19 10:33:01 +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
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
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
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
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
Anatol Belski
066d39020b
fix types
2014-09-15 19:46:32 +02:00
Anatol Belski
e591c78d09
revamp serialization to work with size_t for Serializable
2014-09-15 19:46:28 +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
29f8b21cd7
fix int overflow preserving the old behavior
2014-09-14 16:39:25 +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
34e39783b1
remove useless casts and checks
2014-09-14 11:00:22 +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
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
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
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
5257ac4925
fix test which fails if prevous run cleanup failed
2014-09-12 21:35:24 +02:00
Anatol Belski
e254ba32d5
fixed the tests, related to the basename behaviour, bug #66395
2014-09-07 20:11:49 +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
Nikita Popov
0c5ac39796
Fix smart_str_append()
...
Would segfault if src->s == NULL.
2014-09-04 21:55:27 +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
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
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
6cceb54c09
Fix a number of format issues
2014-09-03 15:57:28 +02: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
88d7ca44f6
Refactored INI subsystem to use zend_string* instead of char*
2014-09-01 20:57:33 +04: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
Tjerk Meesters
1bf996b324
Added test case
2014-09-01 22:04:25 +08:00
Tjerk Meesters
5270ee1aef
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
2014-09-01 22:04:06 +08: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
312181bc13
fix iptcembed()
2014-08-31 14:02:28 +02:00
Nikita Popov
f1c2017851
Don't depend on exact parse error messages in assert tests
2014-08-29 22:07:25 +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
e206409a8c
exclude log2 usage which requires C99 support
2014-08-29 10:55:55 +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
Dmitry Stogov
c8ff3421a0
Duplicate array only if neccessary
2014-08-28 20:51:22 +04: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
60373b2ac2
fix signature
2014-08-27 22:17:16 +02: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
257ed4061a
's' works with size_t round 2
2014-08-27 20:49:33 +02:00
Anatol Belski
3234480827
first show to make 's' work with size_t
2014-08-27 20:49:31 +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
Anatol Belski
202e8db1dc
fixed several long vs zend_long casts
2014-08-26 11:26:53 +02: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
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
4d997f63d9
master renames phase 3
2014-08-25 20:22:49 +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
Anatol Belski
70de6180d5
fixes to %pd format usage
2014-08-24 02:35:34 +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
daa0f094cf
fix zpp
2014-08-21 15:32:17 +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
Anatol Belski
7ef536e4c9
Merge remote-tracking branch 'php/master'
...
Conflicts:
Zend/zend_exceptions.c
2014-08-21 13:54:15 +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
Anatol Belski
6d54e89916
Merge remote-tracking branch 'php/master'
2014-08-20 21:29:49 +02:00
Dmitry Stogov
cf09bc7825
Fixed bug #67874 (Crash in array_map())
2014-08-20 22:06:15 +04:00
Anatol Belski
66e7090e61
Merge remote-tracking branch 'php/master'
2014-08-20 18:19:37 +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
Anatol Belski
745a71be33
yet more fixes to zpp
2014-08-20 14:46:14 +02:00
Anatol Belski
3e9bab4d83
add credits
2014-08-19 11:24:54 +02:00
Anatol Belski
5dc4f44f3e
Merge remote-tracking branch 'php/master'
...
Conflicts:
ext/standard/dns.c
2014-08-19 09:58:35 +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
Remi Collet
14e656f81d
fix merge for #67717
2014-08-19 08:56:43 +02:00
Remi Collet
230804b08d
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
NEWS
NEWS
Fixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597
2014-08-19 08:41:14 +02:00
Remi Collet
5e9e0a2c74
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
NEWS
Fixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597
2014-08-19 08:40:30 +02:00
Remi Collet
2fefae4771
Fixed Sec Bug #67717 segfault in dns_get_record CVE-2014-3597
...
Incomplete fix for CVE-2014-4049
Check possible buffer overflow
- pass real buffer end to dn_expand calls
- check buffer len before each read
2014-08-19 08:33:49 +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
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
Dmitry Stogov
0f5bad93fd
Fixed bug #67856 (Leak when using array_reduce with by-ref function)
2014-08-18 21:08:50 +04: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
Anatol Belski
b8324e6d63
further fixes to ext/standard
2014-08-18 16:50:54 +02:00
Anatol Belski
97e9d058f0
fixes to string functions
2014-08-18 15:39:38 +02:00
Anatol Belski
c586133d07
rename zval_get_long and fixes to some string functions
2014-08-18 08:39:39 +02: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
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
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
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
Lior Kaplan
56d02d564e
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
typofixes
2014-08-17 15:51:15 +03:00
Lior Kaplan
be2128c805
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
typofixes
2014-08-17 15:48:22 +03:00
Veres Lajos
3f42f2f5d1
typofixes
2014-08-17 15:44:02 +03:00
Anatol Belski
90d6f60bc1
mostly fixes to spl, but also some other
2014-08-17 13:31:39 +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
Anatol Belski
864172d9a4
further fixes to ext/standard and zend
2014-08-16 17:31:40 +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
Nikita Popov
e607215e47
Fix tests to account for warnings moved from RT to CT
2014-08-15 18:44:39 +02:00
Stanislav Malyshev
ff4cf1a838
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix test
2014-08-14 17:07:45 -07:00
Stanislav Malyshev
eab42649ab
fix test
2014-08-14 17:07:28 -07:00
Stanislav Malyshev
008330e5b3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
split the glob() test to test different basedir
2014-08-14 17:05:03 -07:00
Anatol Belski
b7cd099ae0
split the glob() test to test different basedir
2014-08-14 17:04:51 -07:00
Stanislav Malyshev
4185633207
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fixed glob() edge case on windows, ref bug #47358
- fix bug #47358 , glob returns error, should be empty array()
2014-08-14 17:00:36 -07:00
Anatol Belski
ad492ca932
fixed glob() edge case on windows, ref bug #47358
2014-08-14 16:58:16 -07:00
Pierre Joye
481c4715d4
- fix bug #47358 , glob returns error, should be empty array()
...
Conflicts:
ext/standard/dir.c
2014-08-14 16:56:22 -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
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
Sara Golemon
37e91cc5d3
Merge branch 'pull-request/658'
2014-08-14 09:44:14 -07:00
Dmitry Stogov
73fe418637
Avoid reallocation
2014-08-13 23:30: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
9fea4348fd
cleanup
2014-08-13 16:55:21 +04:00
Dmitry Stogov
5a06ac88da
cleanup (use zend_string* instead of char*)
2014-08-13 14:51:48 +04: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
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
Andrea Faulds
54e663626d
Fixed skip case for intdiv 64-bit test
2014-08-06 16:02:02 +01:00
Andrey Hristov
3dc9bef819
Merge branch 'PHP-5.5' into PHP-5.6
...
Conflicts:
ext/fileinfo/data_file.c
ext/fileinfo/libmagic/softmagic.c
ext/fileinfo/magicdata.patch
2014-08-06 16:25:12 +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
Andrey Hristov
41e1ccefd5
Merge branch 'PHP-5.4' into PHP-5.5
...
Conflicts:
NEWS
configure.in
main/php_version.h
2014-08-06 15:27:56 +03: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
Anatol Belski
ae74549239
backport the fix for bug #67739
2014-08-04 09:57:08 +02:00
Anatol Belski
8eeacd3364
Merge branch 'pull-request/756'
2014-08-04 09:47:11 +02: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
Bob Weinand
3c0adf2dcd
Merge branch 'PHP-5.6'
2014-07-30 18:07:01 +02:00
Bob Weinand
d5ddd2dbb2
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
2014-07-30 17:57:07 +02:00
Bob Weinand
354ee12b73
Revert "Fix bug #67064 in a BC safe way"
...
This reverts commit 1a4a9eede5
.
Conflicts:
ext/standard/array.c
ext/standard/tests/array/bug67064.phpt
2014-07-30 17:18:05 +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
Tjerk Meesters
f925892920
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
2014-07-30 18:27:29 +08:00
Tjerk Meesters
e9967292c3
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
Updated NEWS for #67693
Fixed bug #67693 - incorrect push to the empty array
2014-07-30 18:17:13 +08:00
Tjerk Meesters
da3add26cf
Fixed bug #67693 - incorrect push to the empty array
2014-07-30 18:15:14 +08:00
Dmitry Stogov
dda7e84f10
Fixed ext/standard/tests/array/unexpected_array_mod_bug.phpt
2014-07-29 18:19:41 +04: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
Ferenc Kovacs
a68ef0a117
Revert "Fix bug #66568 : the second arg for unserialize is optional." as we already reverted the introduction of the second arg.
...
This reverts commit aefc8f22b3
.
Conflicts:
NEWS
2014-07-25 13:15:27 +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
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
Nikita Popov
b9be66ebf2
Implement declare()
2014-07-22 16:11:19 +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
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