realFlowControl
Repos
14
Followers
23

The PHP Interpreter

C
0
0

The PHP Unit Testing framework.

0
0

Use PHP Annotations to declare your GraphQL API

0
0

Simple example implementation of a GraphQL API on top of a microservice architecture

14
1

Event driven / non-blocking inotify stream in ReactPHP

3
0

Inotify bindings for PHP 5, 7, and next

C
0
0

Events

delete branch
realFlowControl delete branch docs/filter-global-range
Created at 1 week ago
delete branch
realFlowControl delete branch docs/rendom_bytes_int
Created at 1 week ago
Created at 2 weeks ago
pull request closed
Add docs for new socket constants in PHP 8.2

Hey there :vulcan_salute:

this PR will add the documentation for the following new Sockets constants as found in #1803

  • [x] SO_INCOMING_CPU
  • [x] SO_MEMINFO
  • [ ] SO_RTABLE (OpenBSD)
  • [ ] TCP_KEEPALIVE (MacOS)
  • [ ] TCP_KEEPCNT (Linux, others)
  • [ ] TCP_KEEPIDLE (Linux, others)
  • [ ] TCP_KEEPINTVL (Linux, others)
  • [ ] TCP_NOTSENT_LOWAT
  • [ ] LOCAL_CREDS_PERSISTENT (FreeBSD)
  • [ ] SCM_CREDS2 (FreeBSD)
  • [ ] LOCAL_CREDS (NetBSD)
  • [ ] SO_BPF_EXTENSIONS
  • [ ] SO_SETFIB
  • [ ] TCP_CONGESTION (Linux, FreeBSD)
  • [ ] SO_ZEROCOPY (Linux)
  • [ ] MSG_ZEROCOPY (Linux)

Kind regards Florian

Created at 3 weeks ago

refactor: remove trailing whitespaces

Created at 3 weeks ago
pull request opened
Add docs for new socket constants in PHP 8.2

Hey there :vulcan_salute:

this PR will add the documentation for the following new Sockets constants as found in #1803

  • [x] SO_INCOMING_CPU
  • [x] SO_MEMINFO
  • [ ] SO_RTABLE (OpenBSD)
  • [ ] TCP_KEEPALIVE (MacOS)
  • [ ] TCP_KEEPCNT (Linux, others)
  • [ ] TCP_KEEPIDLE (Linux, others)
  • [ ] TCP_KEEPINTVL (Linux, others)
  • [ ] TCP_NOTSENT_LOWAT
  • [ ] LOCAL_CREDS_PERSISTENT (FreeBSD)
  • [ ] SCM_CREDS2 (FreeBSD)
  • [ ] LOCAL_CREDS (NetBSD)
  • [ ] SO_BPF_EXTENSIONS
  • [ ] SO_SETFIB
  • [ ] TCP_CONGESTION (Linux, FreeBSD)
  • [ ] SO_ZEROCOPY (Linux)
  • [ ] MSG_ZEROCOPY (Linux)

Kind regards Florian

Created at 3 weeks ago
create branch
realFlowControl create branch docs/socket-constants
Created at 3 weeks ago

docs: add some markup

Co-authored-by: Christoph M. Becker cmbecker69@gmx.de

Created at 3 weeks ago
issue comment
add `FILTER_FLAG_GLOBAL_RANGE` documentation

Changelog entry for FILTER_FLAG_GLOBAL_RANGE :heavy_check_mark:

Created at 3 weeks ago

docs: added changelog entry for FILTER_FLAG_GLOBAL_RANGE

Created at 3 weeks ago
pull request opened
add docs for `random_int`/`random_bytes` changes in PHP 8.2

Hey there :vulcan_salute:

this will add docs about the changes in PHP 8.2 to the random_bytes and random_int functions as per https://github.com/php/php-src/pull/9220

Kind regards Florian

Refs: #1803

Created at 3 weeks ago
create branch
realFlowControl create branch docs/rendom_bytes_int
Created at 3 weeks ago
pull request opened
add `FILTER_FLAG_GLOBAL_RANGE` documentation

Hey there :vulcan_salute:

this will add documentation for FILTER_FLAG_GLOBAL_RANGE as found in #1803 I was thinking to write down all global IP ranges (as you can see in the docs for FILTER_FLAG_NO_PRIV_RANGE), but it turns out that these are quite a few. So I thought it might be sufficient to link to the RFC where those global ranges are defined.

WDYT?

Kind regards Florian

Created at 3 weeks ago
create branch
realFlowControl create branch docs/filter-global-range
Created at 3 weeks ago

add docs for ini_parse_quantity function

Created at 3 weeks ago
pull request opened
add docs for `ini_parse_quantity` function

Hello there :vulcan_salute:

this will add the documentation for the ini_parse_quantity function as found in #1803

Kind regards Florian

Created at 3 weeks ago

cleanup example section for memory_reset_peak_usage

Created at 3 weeks ago
create branch
realFlowControl create branch docs/ini_parse_quantity
Created at 3 weeks ago

move "See Also" section to be last

Created at 3 weeks ago

add missing parameters section for memory_reset_peak_usage

Created at 3 weeks ago
pull request opened
Add docs for `memory_reset_peak_usage()`

Hi there,

this will add documentation for memory_reset_peak_usage() as found in #1803

Kind regards Florian

Created at 3 weeks ago
create branch
realFlowControl create branch docs/memory_reset_peak_usage
Created at 3 weeks ago

Update documentation for ldap_search() (#1629)

  • Update documentation for ldap_search()

  • Improve documentation for ldap_search()

  • Use new entity for return values, update additional ldap_* method docs

  • Avoid text duplication in ldap documentation

  • Move para tag into entity

Co-authored-by: Sergey Panteleev sergey@php.net

Add reference to get_defined_constants() and constant() each other (#1642)

  • Add reference to get_defined_constants()

  • Add reference to constant()

Clarify phrasing about missing expressing in return statement with return types (#1652)

The expression about return statement on page "return" is not as clear as that on page "Migrating from PHP 7.0.x to PHP 7.1.x".

Fix parameter names and markup of grapheme_*() functions

Add changelog for new ClientEncryption constants

https://jira.mongodb.org/browse/PHPC-2092

ClientEncryption::QUERY_TYPE_EQUALITY is a string

https://jira.mongodb.org/browse/PHPC-2104

Small fix in grapheme_*() functions

Closes GH-1656.

grapheme_substr() no longer returns false in some cases

Cf. https://github.com/php/doc-en/issues/1653.

Disable trim_trailing_whitespace in .editorconfig

Closes GH-1655.

Fix signature for datefmt_create (#1651)

Replace with in PDO (#816)

  • Convert all to in PDO

  • Convert all to in PDOStatement

  • Convert all to in PDO general

Changed some tags and single quotes to (#1353)

  • Changed some tags and single quotes to

  • Minor grammar fix.

Co-authored-by: Larry Garfield larry@garfieldtech.com

Add changelog for array_diff and array_intersect functions (#1650)

Fix return type explanation for array_recursive

Closes GH-1649.

functions/constant Minor tweak to "errors" section (#1565)

Add white space checker script to CI

Original work is in git github mirror. Includes recent comment fixes 1.

Closes GH-1093.

Use updated parameter names for ldap_exop

Closes GH-1645.

Fix ldap link identifier (#1661)

Use canonical version string in changelog (x.y → x.y.z)

Use canonical version string in changelog (x.y → x.y.z)

Forgot to save this.

Created at 3 weeks ago

Bump JamesIves/github-pages-deploy-action from 4.3.3 to 4.3.4 (#494)

Bumps JamesIves/github-pages-deploy-action from 4.3.3 to 4.3.4.


updated-dependencies:

  • dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-patch ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 (#493)

Bumps styfle/cancel-workflow-action from 0.9.1 to 0.10.0.


updated-dependencies:

  • dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

guilien-patch-1 branch with improved exception messages (#496)

  • Update CannotMapTypeException.php

  • Update IteratorTypeMapperTest.php

  • Update CannotMapTypeException.php

  • Update FieldsBuilderTest.php

  • Lock in doctrine/annotations version as newest version breaks

Co-authored-by: Julien Neuhart j.neuhart@thecodingmachine.com

Added algolia keys (#497)

Updated docs for union types (#499)

Fixed null for union types (#500)

  • unit test for union type with null

  • Nullable union test

  • Nullable union bug fix

  • Fix test for old php version

Co-authored-by: madness ss@gmail.com

Bump JamesIves/github-pages-deploy-action from 4.3.4 to 4.4.0 (#504)

Bumps JamesIves/github-pages-deploy-action from 4.3.4 to 4.4.0.


updated-dependencies:

  • dependency-name: JamesIves/github-pages-deploy-action dependency-type: direct:production update-type: version-update:semver-minor ...

Signed-off-by: dependabot[bot] support@github.com

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Update doctrine/coding-standard requirement from ^9.0 to ^9.0 || ^10.0 (#507)

Updates the requirements on doctrine/coding-standard to permit the latest version.


updated-dependencies:

  • dependency-name: doctrine/coding-standard dependency-type: direct:development ...

Signed-off-by: dependabot[bot] support@github.com

Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Created at 1 month ago

Test\ConsideredRisky in not an outcome

Improve naming

Collect events for deprecations, errors, notices, and warnings

Refactor

Add test method return value to Test\Passed event

Remove more code from legacy TestResult object

Correct method name

Test\PassedWithWarning (which cannot be removed soon enough) is emitted at most once per test

Implement testErroredEvents(), testFailedEvents(), testPassedWithWarningEvents(), testConsideredRiskyEvents(), testSkippedEvents(), and testMarkedIncompleteEvents()

Fix issue identified by Psalm

Remove more code from legacy TestResult object

Update tools

Merge branch '8.5' into 9.5

Merge branch '9.5'

Update tools

Merge branch '8.5' into 9.5

Merge branch '9.5'

Update Psalm baseline

Merge branch '8.5' into 9.5

Merge branch '9.5'

Created at 1 month ago

Fix memory leak

This fixes oss-fuzz #48051

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Fix memory leak

Merge branch 'PHP-8.1'

  • PHP-8.1: Fix memory leak

Fix incorrect constant propagation for VERIFY_RETURN_TYPE

This fixes oss-fuzz #48104

Fix potential use after free in php_binary_init()

Closes GH-8791.

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Fix potential use after free in php_binary_init()

Merge branch 'PHP-8.1'

  • PHP-8.1: Fix potential use after free in php_binary_init()

Zend, ext/opcache: use PR_SET_VMA_ANON_NAME (Linux 5.17) (#8234)

The new Linux 5.17 feature PR_SET_VMA_ANON_NAME can give names to anonymous private memory, see:

https://lwn.net/Articles/867818/

It can be useful while debugging, to identify which portion of the process's memory belongs to which subsystem.

This is how /proc/PID/maps can look like:

555ccd400000-555ccdc00000 r-xp 00000000 00:00 0 [anon:huge_code_pages] 7f6ec6600000-7f6ec6800000 rw-p 00000000 00:00 0 [anon:zend_alloc]

The first mapping is the PHP executable copied to anonymous memory by option "opcache.huge_code_pages". The second one is a memory area for the "zend_alloc.h" memory allocator library.

Unfortunately, it is not possible to give names to shared memory (MAP_SHARED), because Linux MAP_SHARED really maps /dev/zero (see shmem_zero_setup()), which makes madvise_vma_anon_name() believe this is a file mapping, failing the prctl() with EBADF.

Fix GH-8563 Different results for seek() on SplFileObject and SplTempFileObject

With memory streams if we get a NULL buffer we must not instantiate an empty line

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Fix GH-8563 Different results for seek() on SplFileObject and SplTempFileObject

Merge branch 'PHP-8.1'

  • PHP-8.1: Fix GH-8563 Different results for seek() on SplFileObject and SplTempFileObject

intl ICU C++ code modernisation, making it closer to C++11 (#8650)

Replace the use of ZVAL_BOOL() with ZVAL_TRUE() or ZVAL_FALSE() where the value is fixed (#8815)

Prevent fclose on underlying SplFileObject file stream. (#7920)

Escape problematic characters in CREDITS files

On Windows, the contents of the CREDITS files are passed to rc.exe via the command line. To avoid undesired behavior, we need to escape some characters, most notably < (which is sometimes used in CREDITS to enclose mail addresses), which otherwise is interpreted as redirection operator, resulting in the hard to understand "The system cannot find the file specified."

Even more dangerous is not properly escaping percent signs, which makes it possible for a malicious CREDITS file to inject the values of environment variables of the build system into the generated binaries. This is particularly bad, because as of Windows Vista, the comments can no longer be inspected via explorer.exe, although the binaries still contain these comments.

We also cater to double-quotes, which need to be escaped as \"\" in this context.

Closes GH-8767.

Introduction of timing attack safe bcmp implementation.

Nothing new but to refactor usage b/w hash and password extensions but using volatile pointers to be a bit safer, allowing to expand its usage eventually.

Fix GH-8827: Intentionally closing std handles no longer possible

We revert the commits which caused this regression from the PHP-8.0 and PHP-8.1 branches for now. We keep it in "master" because of PR #8833 which may offer a proper fix without BC break.

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Fix GH-8827: Intentionally closing std handles no longer possible

[ci skip] Merge branch 'PHP-8.1'

  • PHP-8.1: Fix GH-8827: Intentionally closing std handles no longer possible

Use bool for silent parameter in SPL directory.c

Created at 1 month ago
started
Created at 1 month ago