| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Fixed bug #79056
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Except for some bigger ones: reflection, sodium, spl
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This adds the possibility to define a userland callback that will be
used to authorize or not an action on the database.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.
Closes GH-4872.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Closes GH-4732.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since we're passing these parameter to C functions accepting `char*`
without any further checking, we should reject strings with NUL bytes
in the first place.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Add missing SKIPIF (sqlite)
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since `zend_parse_parameters()` now throws on failure, it doesn't make
sense anymore to use `zend_parse_parameters_throw()` instead, and also
it's useless to set an explicit return value.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SQLite3::bindParam() and SQLite3::bindValue() have identical
implementation (the only thing that differs is the second parameter's
passing mode), so we unify the implementation.
|
| | | | | |
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Functions
like fread() and fwrite() will return false in that case.
As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams
should not be regarded as error conditions, and be reported as
successful zero-length reads/writes instead. The handling of EINTR
remains unclear and is internally inconsistent (e.g. some code-paths
will automatically retry on EINTR, while some won't).
I'm landing this now to make sure the stream wrapper ops API changes
make it into 7.4 -- however, if the user-facing changes turn out to
be problematic we have the option of clamping negative returns to
zero in php_stream_read() and php_stream_write() to restore the
old behavior in a relatively non-intrusive manner.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Move HAVE_SQLITE3_CLOSE_V2 to pdo_sqlite
|
| | | | |
| | | | |
| | | | |
| | | | | |
Closes GH-4444
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Remove unused sqlite symbols
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- HAVE_SQLITE3_KEY is no longer used in php-src
- SQLITE_ENABLE_COLUMN_METADATA is no longer used in php-src
Closes GH-4443
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Remove unsed zts check for sqlite3
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This check was relevant with bundled sqlite library. Removed via
6083a387a81dbbd66d6316a3a12a63f06d5f7109
Closes GH-4403
|
|\ \ \ \ \
| |/ / / / |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
sqlite3_open creates the database object even if the operation
fails.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Implement SQLite3 backup API
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Cheaper checks for exceptions thrown from __toString()
|
| | | | | |
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
RFC: https://wiki.php.net/rfc/tostring_exceptions
And convert some object to string conversion related recoverable
fatal errors into Error exceptions.
Improve exception safety of internal code performing string
conversions.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Replace ZVAL_COPY() and ZVAL_COPY_VALUE() for IS_OBJECT by cheaper macros
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* PHP-7.3:
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
|
| | |\ \ \
| | | |/ /
| | | | |
| | | | |
| | | | | |
* PHP-7.2:
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
|
| | | |\ \
| | | | |/
| | | | |
| | | | |
| | | | | |
* PHP-7.1:
Fix bug #77967 - Bypassing open_basedir restrictions via file uris
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
against potential security flaws
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This patch simplifies line endings tracked in the Git repository and
syncs them to all include the LF style instead of the CRLF files.
Newline characters:
- LF (\n) (*nix and Mac)
- CRLF (\r\n) (Windows)
- CR (\r) (old Mac, obsolete)
To see which line endings are in the index and in the working copy the
following command can be used:
`git ls-files --eol`
Git additionally provides `.gitattributes` file to specify if some files
need to have specific line endings on all platforms (either CRLF or LF).
Changed files shouldn't cause issues on modern Windows platforms because
also Git can do output conversion is core.autocrlf=true is set on
Windows and use CRLF newlines in all files in the working tree.
Unless CRLF files are tracked specifically, Git by default tracks all
files in the index using LF newlines.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
fix typo breaking shared build
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* PHP-7.4:
use {TMP} placeholder in phpt tests
|
| |\ \ \ \
| | |/ / /
| | | | |
| | | | |
| | | | | |
* PHP-7.3:
use {TMP} placeholder in phpt tests
|
| | |\ \ \
| | | |/ /
| | | | |
| | | | |
| | | | | |
* PHP-7.2:
use {TMP} placeholder in phpt tests
|
| | | | | |
|
|\ \ \ \ \
| |/ / / / |
|