Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6270 commits
Select commit Hold shift + click to select a range
a698a3f
Update NEWS
laruence Jan 13, 2015
ade7a41
Optimized str_[i]replace to aviod reallocations and repeatable conver…
dstogov Jan 13, 2015
2193de0
Faster sorting algo
laruence Jan 14, 2015
8e3764e
fixed zend_hash_init() when the lzcnt instruction isn't supported
weltling Jan 14, 2015
d5b5ad7
cleanup
weltling Jan 14, 2015
588e803
Ipmrove strtr() by maintaining a set of characters that may start a m…
dstogov Jan 14, 2015
2325758
Improve "instanceof". Interfaces of the left operand should be checke…
dstogov Jan 14, 2015
e0155d5
Avoid string reallocation in strtr()
dstogov Jan 14, 2015
90c20b4
Fixed typo
dstogov Jan 14, 2015
c7c6230
Merge branch 'PHP-5.6'
rdlowrey Jan 14, 2015
7f95aa4
Fix bug #68817: Null pointer deference
smalyshev Jan 15, 2015
8d26c53
Fix bug #68816 - pointer to local outside of scope
smalyshev Jan 15, 2015
8a0bc38
Merge branch 'zend_sort' of https://github.com/laruence/php-src
laruence Jan 15, 2015
b57dc41
Optimize array_unique to save some comparation calls
laruence Jan 15, 2015
e61f444
Fixed tests on 32-bits
laruence Jan 15, 2015
2823c9d
Fixed missed test
laruence Jan 15, 2015
11f615b
We could do more....
laruence Jan 15, 2015
cdfafd3
fix "unknown void * size" err
weltling Jan 15, 2015
706b7c6
don't return value in the void function
weltling Jan 15, 2015
1af91d9
optimize offset computation
weltling Jan 15, 2015
9aac417
Save one condition
laruence Jan 15, 2015
989daeb
Initialize ht->nTableMask
dstogov Jan 15, 2015
27efc2b
Bug fix for wrong regex in mail
matbech Jan 13, 2015
34723d1
Fixed malloc/emalloc mess
dstogov Jan 15, 2015
0eb46e7
Merge branch 'PHP-5.6'
laruence Jan 15, 2015
fc33f52
bump year
laruence Jan 15, 2015
2968851
Merge branch 'PHP-5.6'
weltling Jan 15, 2015
3477135
Avoid usage of uninitialized data
dstogov Jan 15, 2015
b476c27
Fixed double free
dstogov Jan 15, 2015
12cbb9c
Merge branch 'master' of git.php.net:php-src
dstogov Jan 15, 2015
1c5e914
Fixed build without alloca()
dstogov Jan 15, 2015
b46894d
Partially revert 3477135cd1024c897dc070c37ddae411839b6e7e
dstogov Jan 15, 2015
a29601a
Weird, is nobody compiling this?
rlerdorf Jan 16, 2015
e49f763
unused variable
laruence Jan 16, 2015
4633a6f
unused var
laruence Jan 16, 2015
484216e
Fixed key length
laruence Jan 16, 2015
584a43d
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 16, 2015
af6119c
Fixed key length
laruence Jan 16, 2015
1c9f91e
Revert "We could do more...."
laruence Jan 16, 2015
98a2498
Revert "Optimize array_unique to save some comparation calls"
laruence Jan 16, 2015
22084e1
Added test for array_unique
laruence Jan 16, 2015
865749e
Optimized array_slice
laruence Jan 16, 2015
396e9cd
Optimized extract
laruence Jan 16, 2015
ea689b9
cleanup
weltling Jan 15, 2015
22bb3ce
fix format strings, resource handle is int
weltling Jan 16, 2015
ebb60ac
Add IntlChar class to intl extension
sgolemon Dec 15, 2014
d630962
Try to fix ext/intl/tests/collator_asort.phpt (according to CI's output)
laruence Jan 17, 2015
8c24a33
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 17, 2015
3bf560d
Update copyright year to 2015
ovr Jan 17, 2015
4d7b6f3
Merge branch 'PHP-5.6'
laruence Jan 17, 2015
151411f
Fix again
laruence Jan 17, 2015
f487e4c
attempt to fix again :<
laruence Jan 17, 2015
ff6b4ad
FAST ZPP for strtok() and nl2br()
rlerdorf Jan 17, 2015
dc9991b
Remove static calls from incompatible $this context
nikic Sep 10, 2014
83391b5
Remove for #-style comments in ini files
nikic Jan 17, 2015
9c5eaac
Remove mktime() and gmmktime() $is_dst parameter
nikic Sep 10, 2014
4c115b6
Remove string category support in setlocale()
nikic Sep 10, 2014
a60efc5
Remove set_magic_quotes_runtime
nikic Sep 10, 2014
ca11bc0
Remove set_socket_blocking
nikic Sep 10, 2014
5f29b98
Error on invalid octal (fixes PHPSadness #31)
hikari-no-yume Jan 9, 2015
6c9621c
typo
rlerdorf Jan 17, 2015
f418486
Fixed bug #68848 Missing return
Jan 17, 2015
4b3ae84
Fixed #68832 (Unchecked return value)
laruence Jan 18, 2015
b21d912
Fixed #68826 (Resource leak)
laruence Jan 18, 2015
ad32e03
Fixed bug #68814 (Unchecked return value)
laruence Jan 18, 2015
89beb12
Fixed bug #68809 (Unchecked return value)
laruence Jan 18, 2015
f42d9d6
Fixed bug #68805 (Double define)
laruence Jan 18, 2015
6a13e1f
Fixed bug #68840 (Null pointer deference)
laruence Jan 18, 2015
218d83d
Fixed annoying incompatible pointer type warning
laruence Jan 18, 2015
f3052c5
Fixed bug #68852 (broken strrpos with negative offset)
laruence Jan 18, 2015
0be3626
fix build
hikari-no-yume Jan 18, 2015
0706032
Better fix
laruence Jan 19, 2015
6c5b3df
Move intdiv() UPGRADING entry to New Functions
hikari-no-yume Jan 19, 2015
020b51b
Don't use >= as sorting condition
laruence Jan 19, 2015
02402ae
fix size & compilation on Darwin
smalyshev Jan 19, 2015
0bf9326
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 19, 2015
b33629f
Only use explicit ">" in sorting algo
laruence Jan 19, 2015
2efa536
Optimize code generated for "while" and "for" loops.
dstogov Jan 19, 2015
eb8d7fe
old_size is already known
dstogov Jan 19, 2015
ac9a1a7
Optimized trim for what_len == 1
laruence Jan 19, 2015
d917484
Micro optimization for array_diff
laruence Jan 19, 2015
22ac15e
Improve optimization of CONCAT/ADD_STRING/ADD_CJAR sequences
dstogov Jan 19, 2015
230bfb1
Generate better code for comparisons with boolean constants
dstogov Jan 19, 2015
442efda
Optimized is_a
laruence Jan 19, 2015
5f02483
Revert "Remove static calls from incompatible $this context"
nikic Jan 19, 2015
137a251
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 19, 2015
da7d8f4
Optimized php_addslashes
laruence Jan 19, 2015
1b53a99
Remove dead codes
laruence Jan 19, 2015
1fdd558
Merge branch 'PHP-5.6'
smalyshev Jan 19, 2015
1010b0e
Provide compiler hook for altering the AST pre-compilation.
sgolemon Jan 19, 2015
1ee7845
Merge branch 'PHP-5.6'
derickr Jan 19, 2015
020610e
Remove addslashes_str
laruence Jan 20, 2015
c369a03
Use zend_string in case we will optimize them
laruence Jan 20, 2015
8d60d37
Unused var
laruence Jan 20, 2015
6f67d5a
Unused parse_arg_object_to_string
laruence Jan 20, 2015
5c88d11
Update remaining octal 32-bit tests
hikari-no-yume Jan 20, 2015
8dc3c28
cleanup
dstogov Jan 20, 2015
d975f63
Merge branch 'master' of git.php.net:php-src
dstogov Jan 20, 2015
47b7d90
NUM_KEY is useless here
laruence Jan 20, 2015
8fb29d3
fix declaration
weltling Jan 20, 2015
afa666f
Optimized range
laruence Jan 20, 2015
c9b2585
Fix bug #68711 Remove useless checks. 'num' is unsigned and cannot be…
Jan 16, 2015
57162a9
Updated NEWS
Jan 20, 2015
ea84151
fix premature freeing of BG(locale_string)
weltling Jan 20, 2015
b16fdeb
Merge branch 'PHP-5.6'
smalyshev Jan 20, 2015
65aba8b
Merge branch 'PHP-5.6'
smalyshev Jan 20, 2015
44cbba1
fix leaking of locale_string in TS build
weltling Jan 20, 2015
fecbb0e
don't error x86 compiler
weltling Jan 20, 2015
a3a5294
Merge branch 'PHP-5.6'
derickr Jan 20, 2015
dc61ac9
Finishing porting ext/imap to PHP7
rlerdorf Jan 20, 2015
135d739
Merge branch 'PHP-5.6'
Tyrael Jan 21, 2015
88e8842
Merge branch 'PHP-5.6'
laruence Jan 21, 2015
fa06343
Fixed valgrind reported issue with setlocale
laruence Jan 21, 2015
c246521
Missed removing a couple of _len vars
rlerdorf Jan 21, 2015
57f456a
int -> size_t
rlerdorf Jan 21, 2015
ec1278c
int -> size_t
rlerdorf Jan 21, 2015
bcaa06d
int -> size_t
rlerdorf Jan 21, 2015
c5e56f7
int -> size_t
rlerdorf Jan 21, 2015
030b4b2
int -> size_t
rlerdorf Jan 21, 2015
03ba4ba
int -> size_t
rlerdorf Jan 21, 2015
a25054b
int -> size_t and long -> zend_long
rlerdorf Jan 21, 2015
f9664ce
PHP7 API updates
rlerdorf Jan 21, 2015
41013ba
Fix the most obvious issues here.
rlerdorf Jan 21, 2015
2f8d40c
decouple timelib from php_stdint.h
weltling Jan 21, 2015
8faadc2
make timelib use PHP's defines when it's inside PHP only
weltling Jan 21, 2015
d54c07d
Merge branch 'PHP-5.6'
weltling Jan 21, 2015
71aa0d3
Merge branch 'PHP-5.6'
Jan 21, 2015
35bfa02
Merge branch 'PHP-5.6'
weltling Jan 21, 2015
ebb67cd
Renamed timeval functions to comply with PHP naming standards
bbroerman30 Jan 21, 2015
1463115
Merge branch 'PHP-5.6'
weltling Jan 21, 2015
7cf1450
Remove Jouni Ahto from maintainers and files as requested , anyway we…
mapopa Jan 21, 2015
2959268
Slightly modify and merge PR#105 from @MegaManSec
rlerdorf Jan 21, 2015
bd62942
Removed efree() on arena_alloc()ed memory
bwoebi Jan 21, 2015
4e0ae4d
Forgot to add test...
bwoebi Jan 21, 2015
e6c8640
WIP - test passes
Jan 21, 2015
56c5b8e
Revert "Remove Jouni Ahto from maintainers and files as requested , a…
mapopa Jan 22, 2015
201f660
Merge branch 'PHP-5.6'
laruence Jan 22, 2015
3e31838
zend_read_property() has to provide a holder for return value.
dstogov Jan 22, 2015
6ae57df
Revert "Fixed valgrind reported issue with setlocale"
laruence Jan 22, 2015
fc25720
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 22, 2015
4e3e95d
Merge branch 'PHP-5.6'
weltling Jan 22, 2015
b2c39c1
Merge branch 'master' of git.php.net:php-src
weltling Jan 22, 2015
86aab0a
avoid duplicate array_init
m6w6 Jan 22, 2015
f9d672f
Merge branch 'PHP-5.6'
weltling Jan 22, 2015
ca0bb7d
Merge branch 'master' of git.php.net:php-src
weltling Jan 22, 2015
061c0ed
Fixed double free and cleanup
dstogov Jan 22, 2015
ccffa2a
Merge branch 'PHP-5.6'
weltling Jan 22, 2015
e21fefd
Fixed destruction of circular garbage
dstogov Jan 22, 2015
d2a4940
Merge branch 'PHP-5.6'
weltling Jan 22, 2015
53d01c4
Merge branch 'master' of git.php.net:php-src
weltling Jan 22, 2015
0b70f58
Merge branch 'PHP-5.6'
remicollet Jan 22, 2015
faf917d
define() must not modify the source array
dstogov Jan 22, 2015
699ada7
Fixed bug #68884 Null pointer deference
weltling Jan 22, 2015
26eb876
Remove Jouni (As requested) from the maintainers file of INTERBASE
KalleZ Jan 22, 2015
6f0e5aa
Fixed GC after destruction of object store.
dstogov Jan 22, 2015
b494aa0
Fixed compiler reenterability
dstogov Jan 22, 2015
14ad720
Constant-Time bin2hex() implementation
sarciszewski Nov 21, 2014
5f61f0b
Merge branch 'PHP-5.6'
Tyrael Jan 22, 2015
b8e2629
Add missing ZEND_API tag to declaration of `int zendparse();`
sgolemon Jan 22, 2015
16732de
Fixed refcount handling in get_class_vars()
laruence Jan 23, 2015
459edce
Merge branch 'master' of https://github.com/bbroerman30/php-src
rdlowrey Jan 23, 2015
ec62b8d
NEWS
rdlowrey Jan 23, 2015
76f438e
Fixed ASSERTION
laruence Jan 23, 2015
ad36fe3
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 23, 2015
d44b6e5
Fixed memory leak of strripos() when empty needle or haystack
reeze Jan 23, 2015
bdfe4d6
Fix one more leak when wrong $needle type provide of strripos
reeze Jan 23, 2015
4369215
Merge branch 'fix-strripos-memleak' of https://github.com/reeze/php-src
laruence Jan 23, 2015
f71e64e
Revert "Fixed ASSERTION"
dstogov Jan 23, 2015
46e486f
It doesn't make sense to colect garbage after fatal errors
dstogov Jan 23, 2015
647caea
C89 compat
weltling Jan 23, 2015
a7f1bf3
Fixed possible double free of class static members
dstogov Jan 23, 2015
b06ba87
Merge branch 'master' of git.php.net:php-src
dstogov Jan 23, 2015
ee8a0b3
cleanup TSRMLS_*
weltling Jan 23, 2015
be31acc
Fixed memory leak
dstogov Jan 23, 2015
e427188
Fixed memory leak
dstogov Jan 23, 2015
eb6dc9d
Make gc_collect_cycles hookable.
LawnGnome Dec 2, 2014
be53374
Merge branch 'pull-request/1023'
weltling Jan 23, 2015
f27e96c
remove unused var, make string.c compilation zero warnings
marcioAlmada Jan 24, 2015
a98fd71
Fixed bug #68897 (Using variable for sort flag in array_multisort cau…
laruence Jan 24, 2015
f3675d9
Inline self-constants if possible at compile time
bwoebi Jan 24, 2015
8dc1287
Fix build
nikic Jan 24, 2015
c637ba1
Fix segfault when no class ctx is defined
bwoebi Jan 24, 2015
0516656
Fix declare encoding tests
nikic Jan 24, 2015
6093c93
Fix resource leak when casting to string
nikic Jan 24, 2015
388624d
These tests all have intentional circular references
rlerdorf Jan 25, 2015
0c9bfa9
Make session_decode return FALSE when it fails.
Jan 25, 2015
4ba97bb
Merge branch 'master' into master-rfc-session-lock4
Jan 25, 2015
cb6fb59
Fix the fix for #68884
smalyshev Jan 24, 2015
f1b2adb
map fixes
smalyshev Jan 25, 2015
df984ad
Disable PEAR by default
nikic Jan 25, 2015
7b17980
Update UPGRADING and UPGRADING.INTERNALS
Jan 25, 2015
b45872c
Fix typo in doc
Jan 26, 2015
91045c4
Fixed ext/standard/tests/general_functions/bug41970.phpt fails
laruence Jan 26, 2015
371dc9b
Fixed bug #68896 (Changing ArrayObject value cause Segment Fault)
dstogov Jan 26, 2015
8aa146b
Fixed use after free
dstogov Jan 26, 2015
cfd7f5c
Revert "Disable PEAR by default"
Tyrael Jan 26, 2015
6cf6b58
add a custom built pear installer until we have an official release w…
Tyrael Jan 26, 2015
23b683c
Fixed wrong size
dstogov Jan 26, 2015
4d3e4d3
Remove assignment of new by reference
nikic Sep 10, 2014
cb9c99e
Remove preg_replace /e modifier
nikic Sep 10, 2014
e05993d
Remove dl() on fpm-fcgi
nikic Sep 11, 2014
6635466
Merge branch 'PHP-5.6'
keyurdg Jan 26, 2015
f41d58e
Fix bad merge
keyurdg Jan 26, 2015
5f3dbab
One more bad merge fix
keyurdg Jan 26, 2015
5845f2c
Merge branch 'PHP-5.6'
bwoebi Jan 26, 2015
dfe6aea
size_t cleanup for PDO
smalyshev Jan 26, 2015
db49dd9
Fixed windows infinite loop problem.
bbroerman30 Jan 27, 2015
8302d65
Quick fix
bbroerman30 Jan 27, 2015
59593ba
Fixed #68915 (wrong assertion here)
laruence Jan 27, 2015
1c0dcb2
add failing test for string_replace and array replaces with references
marcioAlmada Jan 23, 2015
f869bf3
fix failure with shared zvals in php_str_replace_in_subject
marcioAlmada Jan 23, 2015
927ebc9
add another test to #1022
marcioAlmada Jan 24, 2015
68f5eb7
minor CS fix
laruence Jan 27, 2015
9fdf62d
Merge branch 'PHP-5.6'
laruence Jan 27, 2015
737b6f6
Merge branch 'PHP-5.6'
laruence Jan 27, 2015
95142d9
Merge branch 'PHP-5.6'
laruence Jan 27, 2015
1828ec2
Fixed some annoying warnings
laruence Jan 27, 2015
0290571
bump the API no
smalyshev Jan 27, 2015
4965fe7
Merge https://github.com/bbroerman30/php-src into windows-ssl-timeout…
rdlowrey Jan 27, 2015
7d663aa
Merge branch 'windows-ssl-timeout-fix'
rdlowrey Jan 27, 2015
c8576c5
Implement return types
morrisonlevi Jan 8, 2015
598c935
update the .re file for PDO
smalyshev Jan 27, 2015
feeaaa4
Fixed crash
Jan 27, 2015
f2f98e5
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 28, 2015
638d0cb
Merge branch 'typed_returns' of github.com:morrisonlevi/php-src into …
dstogov Jan 28, 2015
4d747b1
Forgot to apply important peace of patch
Jan 28, 2015
e71099b
Remove legacy code
Jan 28, 2015
a0cf025
Fixed #68868 (Segfault in clean_non_persistent_constants() in SugarCR…
laruence Jan 28, 2015
b9868f2
fbird_close if connection_id omitted, the last opened link is assumed…
mapopa Jan 28, 2015
be29cb1
Merge branch 'master' of https://git.php.net/push/php-src
mapopa Jan 28, 2015
4d16937
fix unportable dereferencing
weltling Jan 28, 2015
659395e
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 28, 2015
b775163
Merge branch 'PHP-5.6'
laruence Jan 28, 2015
14d6de9
add imap
smalyshev Jan 25, 2015
d133e68
Remove support for hex number from is_numeric_string
nikic Apr 17, 2012
14d68d3
Merge branch 'PHP-5.6'
Jan 29, 2015
f90f610
Merge branch 'master' into master-rfc-session-lock4
Jan 29, 2015
7a97eaf
Cleanup session id files after test
Jan 29, 2015
e727d64
Merge branch 'pull-request/1016'
Jan 29, 2015
a1d9cea
Fixed annoying warnings
laruence Jan 29, 2015
4da7e4d
The argument must be not changed in session_start
laruence Jan 29, 2015
70b2d2e
Use proper type
Jan 29, 2015
14396a3
ppid must be IS_STRING
laruence Jan 29, 2015
18c647c
Merge branch 'master' of https://git.php.net/repository/php-src
laruence Jan 29, 2015
d96eb4b
reorder the branches
laruence Jan 29, 2015
07a5dfc
Merge branch 'PHP-5.6'
Jan 29, 2015
7f52978
Remove excessive macros
Jan 29, 2015
2505aea
Fixed valgrind issue in mb_ereg_replace_variation1.phpt
laruence Jan 29, 2015
603c450
Constant-Time bin2hex() implementation
sarciszewski Nov 21, 2014
3d4a87b
Merge branch 'patch-1' of https://github.com/sarciszewski/php-src int…
sarciszewski Jan 29, 2015
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
420 changes: 208 additions & 212 deletions .gdbinit

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ UPGRADING.INTERNALS merge=NEWS
/ext/spl/tests/SplArray_fromArray.phpt -crlf
/ext/standard/tests/dir/scandir_variation3.phpt -crlf
/ext/standard/tests/general_functions/escapeshellcmd-win32.phpt -crlf
/ext/standard/tests/general_functions/set_magic_quotes_runtime_error.phpt -crlf
/ext/standard/tests/strings/bug26817.phpt -crlf
/ext/standard/tests/strings/bug26973.phpt -crlf
/ext/standard/tests/strings/bug27457.phpt -crlf
Expand Down
35 changes: 30 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*.gcno
*.la
*.lo
*.loT
*.o
*.a
*.ncb
Expand Down Expand Up @@ -82,7 +83,7 @@ mkinstalldirs
modules
php
php-*.tar.gz
php5.spec
php7.spec
php_lcov.info
php_test_results_*.txt
php_version.h
Expand Down Expand Up @@ -118,6 +119,12 @@ tests/*/*.php
tests/*/*.exp
tests/*/*.log
tests/*/*.sh
tests/*/*/*.diff
tests/*/*/*.out
tests/*/*/*.php
tests/*/*/*.exp
tests/*/*/*.log
tests/*/*/*.sh
*/tests/*.diff
*/tests/*.out
*/tests/*.php
Expand All @@ -130,6 +137,12 @@ tests/*/*.sh
*/tests/*/*.exp
*/tests/*/*.log
*/tests/*/*.sh
*/tests/*/*/*.diff
*/tests/*/*/*.out
*/tests/*/*/*.php
*/tests/*/*/*.exp
*/tests/*/*/*.log
*/tests/*/*/*.sh
*/*/tests/*.diff
*/*/tests/*.out
*/*/tests/*.php
Expand All @@ -142,6 +155,18 @@ tests/*/*.sh
*/*/tests/*/*.exp
*/*/tests/*/*.log
*/*/tests/*/*.sh
*/*/tests/*/*/*.diff
*/*/tests/*/*/*.out
*/*/tests/*/*/*.php
*/*/tests/*/*/*.exp
*/*/tests/*/*/*.log
*/*/tests/*/*/*.sh
*/*/tests/*/*/*/*.diff
*/*/tests/*/*/*/*.out
*/*/tests/*/*/*/*.php
*/*/tests/*/*/*/*.exp
*/*/tests/*/*/*/*.log
*/*/tests/*/*/*/*.sh

# Extension specifc ignores
ext/*/configure.in
Expand Down Expand Up @@ -231,14 +256,14 @@ main/config.w32.h
main/stamp-h1
main/streams/build-defs.h
main/streams/stamp-h1
pear/install-pear-nozlib.phar
#pear/install-pear-nozlib.phar
pear/phpize
pear/run-tests
pear/php-config
pear/scripts
sapi/apache/libphp5.module
sapi/apache2handler/libphp5.module
sapi/apache_hooks/libphp5.module
sapi/apache/libphp7.module
sapi/apache2handler/libphp7.module
sapi/apache_hooks/libphp7.module
sapi/cgi/php-cgi
sapi/cgi/php-cgi.1
sapi/cli/php.1
Expand Down
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
language: c

branches:
except:
- phpng

notifications:
email:
on_failure: change
Expand All @@ -22,7 +26,7 @@ env:

before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libenchant-dev libaspell-dev libpspell-dev librecode-dev
- sudo apt-get install -y libenchant-dev libaspell-dev libpspell-dev librecode-dev libsasl2-dev libxpm-dev libt1-dev libc-client2007e-dev
- sudo cp ./travis/de /var/lib/locales/supported.d/de
- sudo dpkg-reconfigure locales
- ./travis/install.sh
Expand All @@ -36,6 +40,7 @@ before_script:
- . ./travis/ext/pdo_mysql/setup.sh
- . ./travis/ext/pgsql/setup.sh
- . ./travis/ext/pdo_pgsql/setup.sh
- . ./travis/ext/imap/setup.sh

# Run PHPs run-tests.php
script:
Expand Down
25 changes: 1 addition & 24 deletions EXTENSIONS
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ STATUS: Working
COMMENT: DBM abstraction for db2, db3, db4, dbm, ndbm, gdbm, ini
-------------------------------------------------------------------------------
EXTENSION: interbase
PRIMARY MAINTAINER: Ard Biesheuvel <ard@ard.nu>, Jouni Ahto <jouni.ahto@exdec.fi>
PRIMARY MAINTAINER: Ard Biesheuvel <ard@ard.nu>
MAINTENANCE: Odd fixes
STATUS: Working
-------------------------------------------------------------------------------
Expand Down Expand Up @@ -228,13 +228,6 @@ MAINTENANCE: Maintained
STATUS: Working
COMMENT: Use PostgreSQL 7.0.x or later. PostgreSQL 6.5.3 or less have fatal bug.
-------------------------------------------------------------------------------
EXTENSION: sqlite
PRIMARY MAINTAINER: Marcus Boerger <helly@php.net>, Wez Furlong <wez@php.net>, Ilia Alshanetsky <iliaa@php.net>
MAINTENANCE: Maintained
STATUS: Working
SINCE: 5.0 (Since 4.3.2 in PECL)
COMMENT: Integrates SQLite 2 embeddable SQL database engine.
-------------------------------------------------------------------------------
EXTENSION: sqlite3
PRIMARY MAINTAINER: Scott MacVicar <scottmac@php.net>
MAINTENANCE: Maintained
Expand Down Expand Up @@ -428,22 +421,6 @@ PRIMARY MAINTAINER: Derick Rethans <derick@derickrethans.nl>
MAINTENANCE: Maintained
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: mhash
PRIMARY MAINTAINER: Sascha Schumann <sascha@schumann.cx>, Scott MacVicar <scottmac@php.net>
MAINTENANCE: Unknown
STATUS: Working
-------------------------------------------------------------------------------
EXTENSION: mime_magic
PRIMARY MAINTAINER: Unknown
MAINTENANCE: Deprecated
STATUS: Experimental
COMMENT: Use the fileinfo extension instead
-------------------------------------------------------------------------------
EXTENSION: ming
PRIMARY MAINTAINER: Frank M. Kromann
MAINTENANCE: Unknown
STATUS: Experimental
-------------------------------------------------------------------------------
EXTENSION: opcache
PRIMARY MAINTAINER: Dmitry Stogov <dmitry@zend.com>, Xinchen Hui <laruence@php.net>
MAINTENANCE: Maintained
Expand Down
64 changes: 32 additions & 32 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ Apache 1.3.x on Unix systems
module on your system. The make install from above may have already
added this for you, but be sure to check.

LoadModule php5_module libexec/libphp5.so
LoadModule php7_module libexec/libphp7.so

15. And in the AddModule section of httpd.conf, somewhere under the
ClearModuleList, add this:

AddModule mod_php5.c
AddModule mod_php7.c

16. Tell Apache to parse certain extensions as PHP. For example,
let's have Apache parse the .php extension as PHP. You could
Expand Down Expand Up @@ -263,8 +263,8 @@ Apache 1.3.x on Unix systems

10. cd ../apache_1.3.x

11. ./configure --prefix=/www --activate-module=src/modules/php5/libphp5.a
(The above line is correct! Yes, we know libphp5.a does not exist at this
11. ./configure --prefix=/www --activate-module=src/modules/php7/libphp7.a
(The above line is correct! Yes, we know libphp7.a does not exist at this
stage. It isn't supposed to. It will be created.)

12. make
Expand Down Expand Up @@ -309,24 +309,24 @@ stop and start:
Different examples of compiling PHP for apache are as follows:
./configure --with-apxs --with-pgsql

This will create a libphp5.so shared library that is loaded into Apache
This will create a libphp7.so shared library that is loaded into Apache
using a LoadModule line in Apache's httpd.conf file. The PostgreSQL
support is embedded into this library.

./configure --with-apxs --with-pgsql=shared

This will create a libphp5.so shared library for Apache, but it will
This will create a libphp7.so shared library for Apache, but it will
also create a pgsql.so shared library that is loaded into PHP either by
using the extension directive in php.ini file or by loading it
explicitly in a script using the dl() function.

./configure --with-apache=/path/to/apache_source --with-pgsql

This will create a libmodphp5.a library, a mod_php5.c and some
accompanying files and copy this into the src/modules/php5 directory in
This will create a libmodphp7.a library, a mod_php7.c and some
accompanying files and copy this into the src/modules/php7 directory in
the Apache source tree. Then you compile Apache using
--activate-module=src/modules/php5/libphp5.a and the Apache build
system will create libphp5.a and link it statically into the httpd
--activate-module=src/modules/php7/libphp7.a and the Apache build
system will create libphp7.a and link it statically into the httpd
binary. The PostgreSQL support is included directly into this httpd
binary, so the final result here is a single httpd binary that includes
all of Apache and all of PHP.
Expand Down Expand Up @@ -450,7 +450,7 @@ cp php.ini-development /usr/local/lib/php.ini
hand side of the LoadModule statement must point to the path of the
PHP module on your system. The make install from above may have
already added this for you, but be sure to check.
LoadModule php5_module modules/libphp5.so
LoadModule php7_module modules/libphp7.so
8. Tell Apache to parse certain extensions as PHP. For example, let's
have Apache parse .php files as PHP. Instead of only using the
Apache AddType directive, we want to avoid potentially dangerous
Expand All @@ -461,7 +461,7 @@ LoadModule php5_module modules/libphp5.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
Or, if we wanted to allow .php, .php2, .php3, .php4, .php5, .php6,
Or, if we wanted to allow .php, .php2, .php3, .php4, .php5, .php7,
and .phtml files to be executed as PHP, but nothing else, we'd use
this:
<FilesMatch "\.ph(p[2-6]?|tml)$">
Expand Down Expand Up @@ -1004,16 +1004,16 @@ Debian GNU/Linux installation notes
Using APT

First, note that other related packages may be desired like
libapache2-mod-php5 to integrate with Apache 2, and php-pear for PEAR.
libapache2-mod-php7 to integrate with Apache 2, and php-pear for PEAR.

Second, before installing a package, it's wise to ensure the package
list is up to date. Typically, this is done by running the command
apt-get update.

Example #1 Debian Install Example with Apache 2
# apt-get install php5-common libapache2-mod-php5 php5-cli
# apt-get install php7-common libapache2-mod-php7 php7-cli

APT will automatically install the PHP 5 module for Apache 2 and all of
APT will automatically install the PHP 7 module for Apache 2 and all of
its dependencies, and then activate it. Apache should be restarted in
order for the changes take place. For example:

Expand All @@ -1027,23 +1027,23 @@ Better control of configuration
very likely that additional modules will be desired, such as MySQL,
cURL, GD, etc. These may also be installed via the apt-get command.

Example #3 Methods for listing additional PHP 5 packages
# apt-cache search php5
# aptitude search php5
# aptitude search php5 |grep -i mysql
Example #3 Methods for listing additional PHP 7 packages
# apt-cache search php7
# aptitude search php7
# aptitude search php7 |grep -i mysql

The examples will show a lot of packages including several PHP specific
ones like php5-cgi, php5-cli and php5-dev. Determine which are needed
ones like php7-cgi, php7-cli and php7-dev. Determine which are needed
and install them like any other with either apt-get or aptitude. And
because Debian performs dependency checks, it'll prompt for those so
for example to install MySQL and cURL:

Example #4 Install PHP with MySQL, cURL
# apt-get install php5-mysql php5-curl
# apt-get install php7-mysql php7-curl

APT will automatically add the appropriate lines to the different
php.ini related files like /etc/php5/apache2/php.ini,
/etc/php5/conf.d/pdo.ini, etc. and depending on the extension will add
php.ini related files like /etc/php7/apache2/php.ini,
/etc/php7/conf.d/pdo.ini, etc. and depending on the extension will add
entries similar to extension=foo.so. However, restarting the web server
(like Apache) is required before these changes take affect.

Expand Down Expand Up @@ -1137,9 +1137,9 @@ Using the bundled PHP
2. With a text editor, uncomment the lines (by removing the #) that
look similar to the following (these two lines are often not
together, locate them both in the file):
# LoadModule php5_module libexec/httpd/libphp5.so
# LoadModule php7_module libexec/httpd/libphp7.so

# AddModule mod_php5.c
# AddModule mod_php7.c

Notice the location/path. When building PHP in the future, the
above files should be replaced or commented out.
Expand All @@ -1148,7 +1148,7 @@ Using the bundled PHP
Due to the following statement already existing in httpd.conf (as
of Mac Panther), once PHP is enabled the .php files will
automatically parse as PHP.
<IfModule mod_php5.c>
<IfModule mod_php7.c>
# If php is turned on, we respect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Expand Down Expand Up @@ -1740,7 +1740,7 @@ Running PHP as an Apache module
php_admin_flag can not be overridden by .htaccess or ini_set().

Example #1 Apache configuration example
<IfModule mod_php5.c>
<IfModule mod_php7.c>
php_value include_path ".:/usr/local/lib/php"
php_admin_flag engine on
</IfModule>
Expand Down Expand Up @@ -1810,7 +1810,7 @@ Installation
script file via my browser, I get a server 500 error.
8. Some operating systems: I have installed PHP without errors, but
when I try to start Apache I get undefined symbol errors:
[mybox:user /src/php5] root# apachectl configtest apachectl:
[mybox:user /src/php7] root# apachectl configtest apachectl:
/usr/local/apache/bin/httpd Undefined symbols: _compress
_uncompress
9. Windows: I have installed PHP, but when I try to access a PHP
Expand Down Expand Up @@ -1912,7 +1912,7 @@ AddModule mod_perl.c

# Extra Modules
LoadModule php_module modules/mod_php.so
LoadModule php5_module modules/libphp5.so
LoadModule php7_module modules/libphp7.so
LoadModule perl_module modules/libperl.so

And add:
Expand Down Expand Up @@ -1954,7 +1954,7 @@ AddType application/x-httpd-php .php
Some operating systems: I have installed PHP without errors, but when I
try to start Apache I get undefined symbol errors:

[mybox:user /src/php5] root# apachectl configtest
[mybox:user /src/php7] root# apachectl configtest
apachectl: /usr/local/apache/bin/httpd Undefined symbols:
_compress
_uncompress
Expand Down Expand Up @@ -1984,7 +1984,7 @@ cgi error:
script via the browser again. If it still fails then it could be
one of the following:

+ File permissions on your PHP script, php.exe, php5ts.dll,
+ File permissions on your PHP script, php.exe, php7ts.dll,
php.ini or any PHP extensions you are trying to load are such
that the anonymous internet user ISUR_<machinename> cannot
access them.
Expand Down Expand Up @@ -2103,7 +2103,7 @@ cgi error:
to choose PHP files from URL with no extension. In this case,
replace the line AddType application/x-httpd-php .php with:

AddHandler php5-script php
AddHandler php7-script php
AddType text/html php

This solution doesn't work for Apache 1 as PHP module doesn't
Expand Down
2 changes: 1 addition & 1 deletion Makefile.global
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ clean:

distclean: clean
rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module sapi/apache_hooks/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak Zend/zend_config.h TSRM/tsrm_config.h
rm -f php5.spec main/build-defs.h scripts/phpize
rm -f php7.spec main/build-defs.h scripts/phpize
rm -f ext/date/lib/timelib_config.h ext/mbstring/oniguruma/config.h ext/mbstring/libmbfl/config.h ext/oci8/oci8_dtrace_gen.h ext/oci8/oci8_dtrace_gen.h.bak
rm -f scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 ext/phar/phar.1 ext/phar/phar.phar.1
rm -f sapi/fpm/php-fpm.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html
Expand Down
Loading