Skip to content

Add new 'use function' sequence for importing namespaced functions #526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 791 commits into from
Dec 6, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
791 commits
Select commit Hold shift + click to select a range
1fe1f73
use $YACC instead of 'bison' as suggested by Yasuo
m6w6 Aug 9, 2013
30d64b0
Merge branch 'PHP-5.4' into PHP-5.5
laruence Oct 19, 2013
9a2aa11
Merge branch 'PHP-5.5'
laruence Oct 19, 2013
adcd481
Merge branch 'pull-request/499'
rlerdorf Oct 19, 2013
6919d15
Merge branch 'pull-request/499'
rlerdorf Oct 19, 2013
55b16f4
Merge branch 'pull-request/499'
rlerdorf Oct 19, 2013
4d7d856
Need a way to check whether this API exists
laruence Oct 19, 2013
b96bee6
Merge branch 'PHP-5.5'
laruence Oct 19, 2013
d42fa2a
Revert "Need a way to check whether this API exists"
laruence Oct 19, 2013
e1f9993
Merge branch 'PHP-5.5'
laruence Oct 19, 2013
df501fd
Use minus sign instead of hyphen
kaplanlior Oct 19, 2013
a55d3b9
Typo fix: managment -> management
kaplanlior Oct 19, 2013
64caedd
Use zend_error_noreturn for all E_COMPILE_ERRORs
nikic Oct 19, 2013
a1ae79e
Fix assignment in dummy_encoding_list_parser
nikic Oct 19, 2013
1292091
Fix misleading sizeof
nikic Oct 19, 2013
870d3e7
Remove dead comparison (size_t < 0)
nikic Oct 19, 2013
9b46a15
Remove extraneous NULL check of Z_ARRVAL_P()
nikic Oct 19, 2013
813e867
Initialize these to make Coverity happy
rlerdorf Oct 20, 2013
26b2776
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Oct 20, 2013
12aa4aa
Merge branch 'PHP-5.5'
rlerdorf Oct 20, 2013
4a20509
Trivial Coverity fix
rlerdorf Oct 20, 2013
259c746
Merge branch 'PHP-5.5'
rlerdorf Oct 20, 2013
2be67ca
Fix unitialized opened_path here - found by Coverity
rlerdorf Oct 20, 2013
1ce0004
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Oct 20, 2013
6650bed
Merge branch 'PHP-5.5'
rlerdorf Oct 20, 2013
aa4f9b3
- Fixed possible memory leak
felipensp Oct 20, 2013
c1f2217
Merge branch 'PHP-5.4' into PHP-5.5
felipensp Oct 20, 2013
07361a4
Merge branch 'PHP-5.5'
felipensp Oct 20, 2013
85a622e
- Moved allocation to if block to make Coverity happy
felipensp Oct 20, 2013
0b5c288
Merge branch 'PHP-5.4' into PHP-5.5
felipensp Oct 20, 2013
39e746a
Merge branch 'PHP-5.5'
felipensp Oct 20, 2013
420068c
- Fix possible memory leak
felipensp Oct 20, 2013
8d22c23
Merge branch 'PHP-5.4' into PHP-5.5
felipensp Oct 20, 2013
84011f7
Merge branch 'PHP-5.5'
felipensp Oct 20, 2013
a1daebe
- Fix extern declaration according to definition
felipensp Oct 20, 2013
0d6247f
Merge branch 'PHP-5.4' into PHP-5.5
felipensp Oct 20, 2013
ab7b0f9
Merge branch 'PHP-5.5'
felipensp Oct 20, 2013
fb38fdc
Remove senseless check here
rlerdorf Oct 20, 2013
683a7d7
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Oct 20, 2013
eb616f8
Merge branch 'PHP-5.5'
rlerdorf Oct 20, 2013
33d377e
- Fixed possible uninitialized scalar variable usage (spotted by Cove…
felipensp Oct 20, 2013
df31eb8
Merge branch 'PHP-5.4' into PHP-5.5
felipensp Oct 20, 2013
b7c6468
Merge branch 'PHP-5.5'
felipensp Oct 20, 2013
b6feabc
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
felipensp Oct 20, 2013
52555a7
- Fixed possible NULL ptr dereference
felipensp Oct 20, 2013
5b0560e
Merge branch 'PHP-5.4' into PHP-5.5
felipensp Oct 20, 2013
d23f089
Merge branch 'PHP-5.5'
felipensp Oct 20, 2013
9976b5c
- Moved NULL check before dereferencing
felipensp Oct 20, 2013
8aa19c9
Merge branch 'PHP-5.4' into PHP-5.5
felipensp Oct 20, 2013
048923b
Merge branch 'PHP-5.5'
felipensp Oct 20, 2013
1494298
Minor Coverity tweaks
rlerdorf Oct 20, 2013
c5e5a6c
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Oct 20, 2013
32a729a
Merge branch 'PHP-5.5'
rlerdorf Oct 20, 2013
8f4a6d6
Clean up this weird safe_emalloc() call
rlerdorf Oct 20, 2013
288a4ec
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Oct 20, 2013
7b2a4c1
Merge branch 'PHP-5.5'
rlerdorf Oct 20, 2013
2129de4
These getpwnam('') tests are silly and not portable
rlerdorf Oct 20, 2013
73e65ea
Merge branch 'PHP-5.5'
rlerdorf Oct 20, 2013
18cc538
Fix typo
rlerdorf Oct 21, 2013
9e4651f
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Oct 21, 2013
7ccffee
Merge branch 'PHP-5.5'
rlerdorf Oct 21, 2013
9aad911
5.4.21 release date
smalyshev Oct 21, 2013
646813a
fix possibility of access to *storedType without initialization
smalyshev Oct 21, 2013
dab1d76
Fix coverity issue with -1 returned by findOffset not being handled b…
smalyshev Oct 21, 2013
42cb9ac
Merge branch 'PHP-5.4' into PHP-5.5
smalyshev Oct 21, 2013
2186e15
When src->src is null this doesn't get initialized
rlerdorf Oct 21, 2013
910d475
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Oct 21, 2013
ec2e695
Merge branch 'PHP-5.5'
rlerdorf Oct 21, 2013
ef9069b
fix const warnings in intl methods
smalyshev Oct 21, 2013
8bef8e6
fix argument type & remove warning
smalyshev Oct 21, 2013
8f19a8d
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
smalyshev Oct 21, 2013
27ebcb8
5.4.21 release date
smalyshev Oct 21, 2013
2973241
Fix coverity issue with -1 returned by findOffset not being handled b…
smalyshev Oct 21, 2013
0069792
Merge branch 'PHP-5.4' into PHP-5.5
smalyshev Oct 21, 2013
219a682
fix possibility of access to *storedType without initialization
smalyshev Oct 21, 2013
444612c
Fix coverity issue with -1 returned by findOffset not being handled b…
smalyshev Oct 21, 2013
06954d1
fix const warnings in intl methods
smalyshev Oct 21, 2013
3900ce9
fix argument type & remove warning
smalyshev Oct 21, 2013
ae31a68
Merge branch 'PHP-5.5'
smalyshev Oct 21, 2013
f860486
fix memory leak on error (from Coverity scan)
smalyshev Oct 21, 2013
cb47396
Merge branch 'PHP-5.4' into PHP-5.5
smalyshev Oct 21, 2013
19e8052
Merge branch 'PHP-5.5'
smalyshev Oct 21, 2013
0988554
Fixed issue #115 (path issue when using phar).
laruence Oct 21, 2013
aed56fc
Merge branch 'PHP-5.5'
laruence Oct 21, 2013
41da537
Merge branch 'master' of https://github.com/DylanArnold/php-src
m6w6 Oct 21, 2013
454a9fc
Merge branch 'master' of https://github.com/guggemand/php-src
m6w6 Oct 21, 2013
2ecf94e
Just SKIP that test on travis
m6w6 Oct 21, 2013
60ce381
Fixed compilation warning
dstogov Oct 21, 2013
825174e
Merge branch 'PHP-5.4' into PHP-5.5
m6w6 Oct 21, 2013
02214e7
Merge branch 'PHP-5.5'
dstogov Oct 21, 2013
fb610b4
remove TRAVIS check in test source
m6w6 Oct 21, 2013
6764993
Merge branch 'PHP-5.5'
m6w6 Oct 21, 2013
e78c536
Merge remote-tracking branch 'refs/remotes/origin/PHP-5.5' into PHP-5.5
m6w6 Oct 21, 2013
4ddbb7d
Merge remote-tracking branch 'refs/remotes/origin/master'
m6w6 Oct 21, 2013
b636c03
fix bug #65936 (dangling context pointer causes crash)
tony2001 Oct 21, 2013
605b3c2
Merge branch 'PHP-5.5'
tony2001 Oct 21, 2013
8591a52
fixed invalid free
weltling Oct 21, 2013
1b43f95
Merged PR #293 (Exif crash on unknown encoding was fixed)
m6w6 Oct 21, 2013
2fa5f39
add tests for bug #62523
m6w6 Oct 21, 2013
757f4a9
Merge branch 'PHP-5.4' into PHP-5.5
m6w6 Oct 21, 2013
cfd9114
Merge branch 'PHP-5.5'
m6w6 Oct 21, 2013
5cc797d
exif NEWS
m6w6 Oct 21, 2013
ee7cfa0
Merge branch 'PHP-5.4' into PHP-5.5
m6w6 Oct 21, 2013
d15cedf
Merge branch 'PHP-5.5'
m6w6 Oct 21, 2013
b6ceea4
Fixed bug #65939 (Space before ";" breaks php.ini parsing). (brainsto…
cjbj Oct 21, 2013
b3a2b44
Merge branch 'PHP-5.5'
cjbj Oct 21, 2013
2cf5614
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Oct 22, 2013
1f5b1cf
Fix Coverity issue reporting wrong sizeof()
Oct 22, 2013
6410f6f
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Oct 22, 2013
6af3683
Merge branch 'PHP-5.4' into PHP-5.5
Oct 22, 2013
fa11c7c
Merge branch 'master' of git.php.net:php-src
Oct 22, 2013
29e5a96
Merge branch 'PHP-5.5'
Oct 22, 2013
e68c1ef
Added a LICENSE file to make it easier for PECL binary distributions …
cjbj Oct 22, 2013
0adba0a
Added Zend Debugger to the note about the load order (by trash4you at…
laruence Oct 23, 2013
5241cf7
Merge branch 'PHP-5.5'
laruence Oct 23, 2013
70c3a72
Increment version number, since this will be 5.5.6.
LawnGnome Oct 23, 2013
96b6d4b
Merge branch 'PHP-5.5'
LawnGnome Oct 23, 2013
9cb3a75
- Updated to version 2013.7 (2013g)
derickr Oct 23, 2013
bb73d18
Merge branch 'PHP-5.4' into PHP-5.5
derickr Oct 23, 2013
20f7fce
Merge branch 'PHP-5.5'
derickr Oct 23, 2013
dfe4b15
ldap_escape() notes
m6w6 Oct 24, 2013
08f6a76
moved to do_alloca() usage where appropriate
weltling Oct 24, 2013
25dc4af
enabled windows to use stack in both ts/nts mode, some more fixes
weltling Oct 24, 2013
e53afaa
- test commit1
schumann Oct 25, 2013
bf087d8
- test commit 2
schumann Oct 25, 2013
8cef677
- test3
schumann Oct 25, 2013
e50eb1c
Fixed bug #65950 Field name truncation if the field name is bigger th…
Oct 26, 2013
a209cf7
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Oct 26, 2013
bd1d2d8
Merge branch 'PHP-5.4' into PHP-5.5
Oct 26, 2013
66fe7fa
Update NEWS
Oct 26, 2013
37fb8e0
Merge branch 'PHP-5.5'
Oct 26, 2013
59f4c35
Merge branch 'master' of git.php.net:/php-src
derickr Oct 26, 2013
e18e7a5
remove "PHP 6" staff
laruence Oct 27, 2013
9b399be
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
laruence Oct 27, 2013
a3bd4fd
Merge branch 'PHP-5.4' into PHP-5.5
laruence Oct 27, 2013
7fe370f
Merge branch 'PHP-5.5'
laruence Oct 27, 2013
9765763
increase backlog to the highest value everywhere
tony2001 Oct 27, 2013
73788d1
Merge branch 'PHP-5.5'
tony2001 Oct 27, 2013
8da5734
test commit
rlerdorf Oct 27, 2013
f8f643b
Link to more readmes
bjori Oct 27, 2013
d1727d8
Merge branch 'PHP-5.5'
bjori Oct 27, 2013
8962f3f
fix limitation of upload size == (U)INT_MAX in CGI
m6w6 Oct 25, 2013
91b8a67
Improved performance of func_get_args() by eliminating useless copying
dstogov Oct 28, 2013
9bbdc90
Merge branch 'PHP-5.5'
dstogov Oct 28, 2013
5c0890b
Improved performance of array_merge() by eliminating useless copying
dstogov Oct 28, 2013
4bdac86
Merge branch 'master' of git.php.net:php-src
Oct 28, 2013
0db6add
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Oct 28, 2013
09ad5fb
Merge branch 'master' of https://git.php.net/repository/php-src
tony2001 Oct 28, 2013
a9c288e
Merge branch 'PHP-5.5' of https://git.php.net/repository/php-src into…
tony2001 Oct 28, 2013
b0f9768
Merge branch 'PHP-5.5'
dstogov Oct 28, 2013
c6fb00e
Merge branch 'master' of git.php.net:php-src
dstogov Oct 28, 2013
1dcca1f
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
dstogov Oct 28, 2013
eb22041
Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris)
dstogov Oct 28, 2013
ace2ee9
Merge branch 'PHP-5.5'
dstogov Oct 28, 2013
2d14cc2
Use zval* instead of zval**
dstogov Oct 28, 2013
592be91
Merge branch 'PHP-5.5'
dstogov Oct 28, 2013
8d8e8a4
Merge branch 'master' of git.php.net:/php-src
derickr Oct 28, 2013
7a526f0
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
derickr Oct 28, 2013
824bac9
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
derickr Oct 28, 2013
ab64819
- Updated to version 2013.8 (2013h)
derickr Oct 28, 2013
ad7793d
Merge branch 'PHP-5.4' into PHP-5.5
derickr Oct 28, 2013
f626db1
Merge branch 'PHP-5.5'
derickr Oct 28, 2013
d86b5f0
Avoid copy in func_get_arg()
nikic Oct 28, 2013
69808d6
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Oct 29, 2013
e2c9f39
add bundled libzip LICENSE, as required by BSD License terms
remicollet Oct 29, 2013
a7fc8ee
Merge branch 'PHP-5.4' into PHP-5.5
remicollet Oct 29, 2013
141b77d
Merge branch 'PHP-5.5'
remicollet Oct 29, 2013
4dc4302
Fixed Bug 64760 var_export() does not use full precision for floating…
Oct 29, 2013
49b3fef
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Oct 29, 2013
16a9fec
Update NEWS
Oct 29, 2013
d04bcb8
Merge branch 'PHP-5.4' into PHP-5.5
Oct 29, 2013
4c45e95
Update NEWS
Oct 29, 2013
5c89d5a
Merge branch 'master' of git.php.net:php-src
Oct 29, 2013
3cf2682
Merge branch 'PHP-5.5'
Oct 29, 2013
0d89265
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Oct 29, 2013
416f8fc
Implemented Change crypt() behavior w/o salt RFC
Oct 29, 2013
5f1cbfa
updated libs_versions.txt
weltling Oct 29, 2013
4295bfe
Merge branch 'PHP-5.5'
weltling Oct 29, 2013
e17de5e
Merge branch 'bug50333' of github.com:weltling/php-src into bug50333
weltling Oct 29, 2013
82eca38
Fix ZTS build
nikic Oct 29, 2013
647e0be
Fix compile warning in GMP
nikic Oct 29, 2013
4218e89
Fix bug #65997 by switching to Serializable for GMP
nikic Oct 29, 2013
4ded6ee
5.4.23-dev
smalyshev Oct 30, 2013
98c9e56
Merge branch 'pull-request/287'
srgoogleguy Oct 30, 2013
fc707a2
back to do_alloca(), reverted the wrong replacement
weltling Oct 30, 2013
abb962d
compact the code to preserve the error info after state freeing
weltling Oct 30, 2013
832c826
Add crypt() change in UPGRADING
Oct 30, 2013
3b2ca39
Removed unnecessary GC checks
dstogov Oct 31, 2013
b4bed6f
Fix bug #66008
rlerdorf Oct 31, 2013
812dfbc
Fix bug #66008
rlerdorf Oct 31, 2013
a0244a6
Merge branch 'PHP-5.5'
rlerdorf Oct 31, 2013
7cd5ae6
add news entry about FPM backlog change
tony2001 Oct 31, 2013
4d430ec
simplify the state free macros
weltling Oct 31, 2013
f1c2f8f
removed unnecessary call
weltling Oct 31, 2013
39e7dcc
back to do_alloca()
weltling Oct 31, 2013
55ee543
Typo fix: umknown -> unknown
mhujer Oct 31, 2013
d3fd163
Typo fix: umknown -> unknown
kaplanlior Oct 31, 2013
bb42643
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
rlerdorf Oct 31, 2013
6aedfac
virtual_cwd_activate() should be called only in one place
weltling Oct 31, 2013
9df78bf
reverted the previous commit, both calls are needed in TS mode
weltling Nov 1, 2013
699f07b
limit virtual_cwd_activate() duplicated call to ZTS only
weltling Nov 2, 2013
e5e25c4
Fix English here
rlerdorf Nov 2, 2013
3d4ef50
Fixed coredump due to abnormal implemention of phar
laruence Nov 4, 2013
15eabbb
Merge branch 'PHP-5.5'
laruence Nov 4, 2013
a07ae67
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
laruence Nov 4, 2013
2f555b8
Merge branch 'master' of git.php.net:php-src
laruence Nov 4, 2013
5dc37b3
Sync ext/zip with pecl/zip version 1.3.2
remicollet Nov 4, 2013
5b8ae01
NEWS + UPGRADING
remicollet Nov 4, 2013
bf875e2
Merge branch 'master' of git.php.net:php-src
pierrejoye Nov 4, 2013
2b7e89e
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
laruence Nov 5, 2013
e3d9e18
Fixed Bug #66034 (Segmentation Fault when constructor of PDO statemen…
laruence Nov 5, 2013
d4f5ca4
Merge branch 'PHP-5.4' into PHP-5.5
laruence Nov 5, 2013
906d3ae
Update NEWS
laruence Nov 5, 2013
2a94494
Merge branch 'PHP-5.5'
laruence Nov 5, 2013
63dba7e
Remove outdate codes, make it clearer, although just a bit..
laruence Nov 5, 2013
6c8ff00
Merge branch 'PHP-5.5'
laruence Nov 5, 2013
c675980
Merge branch 'pull-request/500'
weltling Nov 5, 2013
c4cfdfa
updated NEWS
weltling Nov 5, 2013
3720fd7
Fixed typo in Makefile.frag
Nov 5, 2013
01bc132
Update LiteSpeed SAPI code to V6.4
Nov 5, 2013
9d75b9f
Revert "Fixed issue #115 (path issue when using phar)."
laruence Nov 6, 2013
c76be56
Merge branch 'PHP-5.5'
laruence Nov 6, 2013
c439ac6
Cleanup temp test file
cjbj Jul 10, 2013
9c1e1bb
fix many parallel test issues
ptarjan Sep 26, 2013
290becb
fix missing change from 'tcp_socket' to the more common 'server'
ptarjan Sep 26, 2013
8b6b39f
Add a couple more test cases to parse_url() tests
sgolemon Jul 10, 2013
9110881
Merge branch 'PHP-5.4' into PHP-5.5
Tyrael Nov 6, 2013
d87388b
Merge branch 'PHP-5.5'
Tyrael Nov 6, 2013
929bf11
bump API versions
Tyrael Nov 6, 2013
54fe719
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
rlerdorf Nov 7, 2013
8cb1281
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
rlerdorf Nov 7, 2013
890ea84
Fix bug #65946 - pdo_sql_parser.c permanently converts values bound t…
rlerdorf Nov 8, 2013
b3d522d
Merge branch 'PHP-5.4' into PHP-5.5
rlerdorf Nov 8, 2013
756dc19
Merge branch 'PHP-5.5' into PHP-5.6
rlerdorf Nov 8, 2013
224dc52
NEWS entry
rlerdorf Nov 8, 2013
caab951
NEWS entry
rlerdorf Nov 8, 2013
fd3fa9b
Fixed Bug #66043 (Segfault calling bind_param() on mysqli)
laruence Nov 8, 2013
41eb3c9
Merge branch 'PHP-5.4' into PHP-5.5
laruence Nov 8, 2013
f345152
Update NEWS
laruence Nov 8, 2013
cf2626f
Fixed bug #65947 (basename is no more working after fgetcsv in certai…
laruence Nov 8, 2013
5f17c4d
Merge branch 'PHP-5.4' into PHP-5.5
laruence Nov 8, 2013
717268c
Update NEWS
laruence Nov 8, 2013
49fbe25
Added tests for PHAR/OPCahce incompatibilities
dstogov Nov 8, 2013
4e6a0bd
Merge branch 'PHP-5.5' into PHP-5.6
dstogov Nov 8, 2013
915c428
Fixed issue #115 (path issue when using phar).
dstogov Nov 8, 2013
0e5c507
Merge branch 'PHP-5.5' into PHP-5.6
dstogov Nov 8, 2013
24e0b99
Merge remote-tracking branch 'upstream/PHP-5.6' into use-function
igorw Nov 9, 2013
719db1a
Merge pull request #4 from LawnGnome/use-function
igorw Nov 9, 2013
eb063e0
Merge remote-tracking branch 'lgnome/use-function' into use-function
igorw Nov 9, 2013
611da37
use ZVAL_ZVAL to init ZVAL from ZVAL
igorw Nov 9, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ notifications:
email: false

env:
- REPORT_EXIT_STATUS=1
global:
- MYSQL_TEST_HOST=127.0.0.1
- MYSQL_TEST_USER=travis
- PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
- PDO_MYSQL_TEST_USER=travis
- PDO_MYSQL_TEST_PASS=
- PDO_MYSQL_TEST_HOST=127.0.0.1
matrix:
- REPORT_EXIT_STATUS=1

before_script:
# Compile PHP
Expand All @@ -21,4 +29,4 @@ before_script:
- . ./travis/ext/pdo_pgsql/setup.sh

# Run PHPs run-tests.php
script: ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --show-diff
script: ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --show-diff --set-timeout 120
2 changes: 1 addition & 1 deletion CODING_STANDARDS
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Naming Conventions

7. Classes should be given descriptive names. Avoid using abbreviations where
possible. Each word in the class name should start with a capital letter,
without underscore delimiters (CampelCaps starting with a capital letter).
without underscore delimiters (CamelCaps starting with a capital letter).
The class name should be prefixed with the name of the 'parent set' (e.g.
the name of the extension)::

Expand Down
67 changes: 54 additions & 13 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 201?, PHP 5.6.0
?? ??? 20??, PHP 5.6.0

- Core:
. Improved IS_VAR operands fetching. (Laruence, Dmitry)
. Implemented internal operator overloading
(RFC: https://wiki.php.net/rfc/operator_overloading_gmp). (Nikita)
. Made calls from incompatible context issue an E_DEPRECATED warning instead
of E_STRICT (phase 1 of RFC: https://wiki.php.net/rfc/incompat_ctx).
(Gustavo)
. Uploads equal or greater than 2GB in size are now accepted.
(Ralf Lang, Mike)
. Reduced POST data memory usage by 200-300%. Removed INI setting
always_populate_raw_post_data and the $HTTP_RAW_POST_DATA global
variable. (Mike)
. Implemented dedicated syntax for variadic functions
(RFC: https://wiki.php.net/rfc/variadics). (Nikita)
. Fixed bug #50333 Improving multi-threaded scalability by using
emalloc/efree/estrdup (Anatol, Dmitry)

- Session:
. Fixed Bug #65315 (session.hash_function silently fallback to default md5)
(Yasuo)
. Implemented Request #54649 (Create session_serializer_name()). (Yasuo)
. Implemented Request #17860 (Session write short circuit). (Yasuo)
. Implemented Request #20421 (session_abort() and session_reset() function).
(Yasuo)
. Implemented Request #11100 (session_gc() function). (Yasuo)
- cURL:
. Implemented FR #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir
or safe_mode). (Adam)

- GMP:
. Moved GMP to use object as the underlying structure and implemented various
improvements based on this.
(RFC: https://wiki.php.net/rfc/operator_overloading_gmp). (Nikita)

- Hash:
. Added gost-crypto (CryptoPro S-box) GOST hash algo. (Manuel Mausz)

- mysqlnd:
. Disabled flag for SP OUT variables for 5.5+ servers as they are not natively
Expand All @@ -27,14 +42,40 @@ PHP NEWS
cache_slots) in op_array->literals table. (Laruence, Dmitry)
. Added script level constant replacement optimization pass. (Dmitry)

- Openssl:
. Added crypto_method option for the ssl stream context. (Martin Jansen)
. Added certificate fingerprint support. (Tjerk Meesters)
. Added explicit TLSv1.1 and TLSv1.2 stream transports. (Daniel Lowrey)
. Fixed bug #65729 (CN_match gives false positive). (Tjerk Meesters)

- PDO_pgsql:
. Fixed Bug #42614 (PDO_pgsql: add pg_get_notify support). (Matteo)
. Fixed Bug #63657 (pgsqlCopyFromFile, pgsqlCopyToArray use Postgres < 7.3
syntax). (Matteo)

- GMP:
. Moved GMP to use object as the underlying structure and implemented various
improvements based on this.
(RFC: https://wiki.php.net/rfc/operator_overloading_gmp). (Nikita)
- Session:
. Fixed Bug #65315 (session.hash_function silently fallback to default md5)
(Yasuo)
. Implemented Request #54649 (Create session_serializer_name()). (Yasuo)
. Implemented Request #17860 (Session write short circuit). (Yasuo)
. Implemented Request #20421 (session_abort() and session_reset() function).
(Yasuo)
. Implemented Request #11100 (session_gc() function). (Yasuo)

- Standard:
. Implemented FR #65634 (HTTP wrapper is very slow with protocol_version
1.1). (Adam)
. Implemented Change crypt() behavior w/o salt RFC. (Yasuo)
https://wiki.php.net/rfc/crypt_function_salt

- XMLReader:
. Fixed bug #55285 (XMLReader::getAttribute/No/Ns methods inconsistency).
(Mike)

- Zip:
. update libzip to version 1.11.1.
PHP don't use any ilibzip private symbol anymore. (Pierre, Remi)
. new method ZipArchive::setPassword($password). (Pierre)
. add --with-libzip option to build with system libzip. (Remi)

<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
5 changes: 5 additions & 0 deletions README.EXT_SKEL
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ HOW TO USE IT

./buildconf; ./configure --enable-module_name; make

The definition of PHP_MODULE_NAME_VERSION will be present in the
php_module_name.h and injected into the zend_module_entry definition. This
is required by the PECL website for the version string conformity checks
against package.xml

But if you already have planned the overall scheme of your module, what
functions it will contain, their return types and the arguments they take
(a very good idea) and don't want to bother yourself with creating function
Expand Down
15 changes: 15 additions & 0 deletions README.SELF-CONTAINED-EXTENSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,18 @@ ADDING SHARED MODULE SUPPORT TO A MODULE
#ifdef COMPILE_DL_FOO
ZEND_GET_MODULE(foo)
#endif

PECL SITE CONFORMITY

If you plan to release an extension to the PECL website, there are several
points to be regarded.

1. Add LICENSE or COPYING to the package.xml

2. The following should be defined in one of the extension header files

#define PHP_FOO_VERSION "1.2.3"

This macros has to be used within your foo_module_entry to indicate the
extension version.

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ See https://wiki.php.net/rfc and https://wiki.php.net/rfc/voting for more
information on the process.

Bug fixes **do not** require an RFC, but require a bugtracker ticket. Always
open a ticket at http://bugs.php.net and reference the bug id using #NNNNNN.
open a ticket at https://bugs.php.net and reference the bug id using #NNNNNN.

Fix #55371: get_magic_quotes_gpc() throws deprecation warning

Expand All @@ -28,3 +28,12 @@ open a ticket at http://bugs.php.net and reference the bug id using #NNNNNN.

We do not merge pull requests directly on github. All PRs will be
pulled and pushed through http://git.php.net.


Guidelines for contributors
===========================
- [CODING_STANDARDS](/CODING_STANDARDS)
- [README.GIT-RULES](/README.GIT-RULES)
- [README.MAILINGLIST_RULES](/README.MAILINGLIST_RULES)
- [README.RELEASE_PROCESS](/README.RELEASE_PROCESS)

2 changes: 1 addition & 1 deletion TSRM/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## process this file with automake to produce Makefile.am
AUTOMAKE_OPTIONS=foreign
noinst_LTLIBRARIES=libtsrm.la
libtsrm_la_SOURCES = TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c
libtsrm_la_SOURCES = TSRM.c tsrm_strtok_r.c

depend:
4 changes: 0 additions & 4 deletions TSRM/TSRM.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion TSRM/config.w32
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// vim:ft=javascript
// $Id$

ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_virtual_cwd.c tsrm_win32.c");
ADD_SOURCES("TSRM", "TSRM.c tsrm_strtok_r.c tsrm_win32.c");

2 changes: 1 addition & 1 deletion TSRM/tsrm_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#ifdef TSRM_WIN32
#include <Sddl.h>
#include "tsrm_win32.h"
#include "tsrm_virtual_cwd.h"
#include "zend_virtual_cwd.h"

#ifdef ZTS
static ts_rsrc_id win32_globals_id;
Expand Down
52 changes: 52 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,32 @@ PHP X.Y UPGRADE NOTES
1. Backward Incompatible Changes
========================================

- Core:
Removed $HTTP_RAW_POST_DATA global variable. Restore backwards compatibility
by:
<?php
global $HTTP_RAW_POST_DATA;
if (!isset($HTTP_RAW_POST_DATA)) {
$HTTP_RAW_POST_DATA = file_get_contents("php://input");
}
?>

========================================
2. New Features
========================================

- Added dedicated syntax for variadic functions.
(https://wiki.php.net/rfc/variadics)

- The php://input stream is now re-usable and can be used concurrently with
enable_post_data_reading=0.

- Added gost-crypto (CryptoPro S-box) hash algo.

- Added openssl certificate fingerprint support (inclusive stream context
option).

- Added openssl crypto method stream context option.

========================================
2. Changes in SAPI modules
Expand All @@ -35,6 +56,9 @@ PHP X.Y UPGRADE NOTES
3. Deprecated Functionality
========================================

- Incompatible context calls:
Instance calls from an incompatible context are now deprecated and issue
E_DEPRECATED instead of E_STRICT. See https://wiki.php.net/rfc/incompat_ctx

========================================
4. Changed Functions
Expand All @@ -44,10 +68,26 @@ PHP X.Y UPGRADE NOTES
CURLOPT_SAFE_UPLOAD is now turned on by default and uploads with @file
do not work unless it is explicitly set to false.

- Crypt:
crypt() will now raise an E_NOTICE error if the salt parameter is omitted.
See: https://wiki.php.net/rfc/crypt_function_salt

- XMLReader:
XMLReader::getAttributeNs and XMLReader::getAttributeNo now return NULL if
the attribute could not be found, just like XMLReader::getAttribute.

========================================
5. New Functions
========================================

- Openssl:
Added string openssl_x509_fingerprint($x509, $type, $binary).

- LDAP:
Added ldap_escape($value, $ignore = "", $flags = 0).

- Zip:
Added ZipArchive::setPassword($password)

========================================
6. New Classes and Interfaces
Expand Down Expand Up @@ -83,15 +123,27 @@ PHP X.Y UPGRADE NOTES
9. New Global Constants
========================================

- LDAP:
LDAP_ESCAPE_FILTER int(1)
LDAP_ESCAPE_DN int(2)

========================================
10. Changes to INI File Handling
========================================

- Core:
Removed always_populate_raw_post_data.

========================================
11. Other Changes
========================================

- File upload:
Uploads equal or greater than 2GB in size are now accepted.

- HTTP stream wrapper:
HTTP 1.1 requests now include a Connection: close header unless explicitly
overridden by setting a Connection header via the header context option.

- Zip:
New --with-libzip option allow to use system libzip. Version > 0.11 required.
67 changes: 67 additions & 0 deletions UPGRADING.INTERNALS
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ UPGRADE NOTES - PHP X.Y

1. Internal API changes
a. Addition of do_operation and compare object handlers
b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros
c. POST data handling
d. Arginfo changes

2. Build system changes
a. Unix build system changes
Expand Down Expand Up @@ -43,6 +46,70 @@ UPGRADE NOTES - PHP X.Y

Further docs in the RFC: https://wiki.php.net/rfc/operator_overloading_gmp

b. return_value_ptr now always available, RETVAL_ZVAL_FAST macros

The return_value_ptr argument to internal functions is now always set.
Previously it was only available for functions returning by-reference.
return_value_ptr can now be used to return zvals without copying them.
For this purpose two new macros are provided:

RETVAL_ZVAL_FAST(zv); /* analog to RETVAL_ZVAL(zv, 1, 0) */
RETURN_ZVAL_FAST(zv); /* analog to RETURN_ZVAL(zv, 1, 0) */

The macros behave similarly to the non-FAST variants with copy=1 and
dtor=0, but will try to return the zval without making a copy by utilizing
return_value_ptr.

c. POST data handling

The sapi_request_info's members post_data, post_data_len and raw_post_data as
well as raw_post_data_len have been replaced with a temp PHP stream
request_body.

The recommended way to access raw POST data is to open and use a php://input
stream wrapper. It is safe to be used concurrently and more than once.

d. Arginfo changes

The pass_rest_by_reference argument of the ZEND_BEGIN_ARG_INFO and
ZEND_BEGIN_ARG_INFO_EX() is no longer used. The value passed to it is ignored.

Instead a variadic argument is created using ZEND_ARG_VARIADIC_INFO():

ZEND_ARG_VARIADIC_INFO(0, name) /* pass rest by value */
ZEND_ARG_VARIADIC_INFO(1, name) /* pass rest by reference */
ZEND_ARG_VARIADIC_INFO(ZEND_SEND_PREFER_REF, name)
/* pass rest by prefer-ref */

ZEND_ARG_VARIADIC_INFO() should only be used for the last argument.

The following changes were applied to the zend_arg_info struct:

typedef struct _zend_arg_info {
const char *class_name;
zend_uint class_name_len;
zend_uchar type_hint;
+ zend_uchar pass_by_reference;
zend_bool allow_null;
- zend_bool pass_by_reference;
+ zend_bool is_variadic;
} zend_arg_info;

The following changes were applied to the zend_internal_function_info struct:

typedef struct _zend_internal_function_info {
zend_uint required_num_args;
zend_uchar _type_hint;
zend_bool return_reference;
- zend_bool pass_rest_by_reference;
+ zend_bool _allow_null;
+ zend_bool _is_variadic;
} zend_internal_function_info;

The CHECK_ARG_SEND_TYPE(), ARG_MUST_BE_SENT_BY_REF(),
ARG_SHOULD_BE_SENT_BY_REF() and ARG_MAY_BE_SENT_BY_REF() macros now assume
that the argument passed to them is a zend_function* and that it is non-NULL.

========================
2. Build system changes
========================
Expand Down
2 changes: 1 addition & 1 deletion Zend/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ libZend_la_SOURCES=\
zend_default_classes.c \
zend_iterators.c zend_interfaces.c zend_exceptions.c \
zend_strtod.c zend_closures.c zend_float.c zend_string.c zend_signal.c \
zend_generators.c
zend_generators.c zend_virtual_cwd.c

libZend_la_LDFLAGS =
libZend_la_LIBADD = @ZEND_EXTRA_LIBS@
Expand Down
Loading