Ayesh
Repos
44
Followers
172
Following
177

Preload your sweet sweet code to opcache with a composer command, making your code faster to run.

195
8

WordPress Security Advisories. Add this package to prevent vulnerable WordPress packages from being installed.

27
0

A trivial but working polyfill for PHP 7.3 is_countable function. Supports PHP versions >= 5.3

18
2

A stop-watch and timer with start/stop/pause features and minimal human-friendly formatting.

18
2

A library providing an Array-Class to store and access data in a case-insensitive fashion, while maintaining the integrity and functionality of a regular array.

10
2

Events

Add PHP Core Roundup #6

Created at 6 hours ago
pull request opened
Add PHP Core Roundup #6
Created at 11 hours ago

Add PHP Core Roundup #6

Created at 11 hours ago

Update to PHP 8.1

Created at 12 hours ago
create branch
Ayesh create branch roundup/6
Created at 12 hours ago

Update to PHP 8.1

Created at 12 hours ago

Update to PHP 8.1

Created at 12 hours ago

Update to PHP 8.1

Created at 12 hours ago
pull request opened
Fix footer element padding

Fixes GH-56 Set padding: 0 to footer elements to prevent them from inheriting standard padding-bottom appearance. This makes the footer items flushed and vertically centered, as well as keeping the size of hover paint area the same as text size.

image

Created at 12 hours ago
create branch
Ayesh create branch css/bug-56
Created at 12 hours ago

Fix typo

Add PHP Core Roundup #5

Apply suggestions from code review

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

Update date

Minor tweaks

Allow non-collaborators run this action

Accessibility add alt to image

Bump react/http from 1.6.0 to 1.7.0

Bumps react/http from 1.6.0 to 1.7.0.


updated-dependencies:

  • dependency-name: react/http dependency-type: indirect ...

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

Add Supporters section and Sticker Mule logo

Created at 12 hours ago
pull request opened
Update composer dependencies and allow minor version updates to Twig

Twig recently had a security vulnerability (https://symfony.com/blog/twig-security-release-possibility-to-load-a-template-outside-a-configured-directory-when-using-the-filesystem-loader), and our composer.json version constraint required one of the vulnerable versions.

This commit relaxes the twig/twig dependency to allow minor upgrades, and makes routine updates to other Composer dependencies as well.

Created at 13 hours ago
create branch
Ayesh create branch composer/up2022-09
Created at 13 hours ago

Revert "Fix parse_url(): can not recognize port without scheme"

This reverts commit 72d83709d9524945c93012f7bbb222e412df485a.

Closes GH-9569

Merge branch 'PHP-8.2'

  • PHP-8.2: Revert "Fix parse_url(): can not recognize port without scheme"

Migrate community job to GitHub actions

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Migrate community job to GitHub actions

Merge branch 'PHP-8.2'

  • PHP-8.2: Migrate community job to GitHub actions

Fix typo (from → form)

Closes GH-9609.

Move Opcache variation job to GitHub actions

Closes GH-9606

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Move Opcache variation job to GitHub actions

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Move Opcache variation job to GitHub actions

Merge branch 'PHP-8.2'

  • PHP-8.2: Move Opcache variation job to GitHub actions

Migrate MSAN build to GitHub actions

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Migrate MSAN build to GitHub actions

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Migrate MSAN build to GitHub actions

Merge branch 'PHP-8.2'

  • PHP-8.2: Migrate MSAN build to GitHub actions

Enable dl-test for msan job

See f07a08df5c672b2c81aedd923ba473672a424e37

Migrate --repeat 2 job to GitHub actions

Migrate variation job to GitHub actions

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Migrate variation job to GitHub actions Migrate --repeat 2 job to GitHub actions

Merge branch 'PHP-8.2'

  • PHP-8.2: Migrate variation job to GitHub actions Migrate --repeat 2 job to GitHub actions

Migrate libmysqlclient job to GitHub actions

Closes GH-9608

Created at 2 days ago

t

Created at 5 days ago

Revert "Fix parse_url(): can not recognize port without scheme"

This reverts commit 72d83709d9524945c93012f7bbb222e412df485a.

Closes GH-9569

Merge branch 'PHP-8.2'

  • PHP-8.2: Revert "Fix parse_url(): can not recognize port without scheme"

Merge branch 'php:master' into phpinfo-txt-colors

Created at 5 days ago

Fix ZEND_RC_MOD_CHECK() for thread local ini parser strings

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Fix ZEND_RC_MOD_CHECK() for thread local ini parser strings

Merge branch 'PHP-8.2'

  • PHP-8.2: Fix ZEND_RC_MOD_CHECK() for thread local ini parser strings

Only check classes in intersection type if the type might be valid

Closes GH-9522

Update NEWS with DNF type check bug fix

Merge branch 'PHP-8.2'

Fix GH-9308 GMP throws the wrong error when a GMP object is passed to gmp_init()

Closes GH-9490

Merge branch 'PHP-8.0' into PHP-8.1

Merge branch 'PHP-8.1' into PHP-8.2

Merge branch 'PHP-8.2'

Fix GH-9421 Incorrect argument number for ValueError in NumberFormatter

Closes GH-9489

Merge branch 'PHP-8.0' into PHP-8.1

Merge branch 'PHP-8.1' into PHP-8.2

Merge branch 'PHP-8.2'

Always skip randomly failing OCI8 extauth tests

This might be caused by an issue with the Oracle Instant Client libraries[1]; we skip the tests for the time being.

[1] https://github.com/php/php-src/pull/9524#issuecomment-1244409815

Closes GH-9524.

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Always skip randomly failing OCI8 extauth tests

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Always skip randomly failing OCI8 extauth tests

Merge branch 'PHP-8.2'

  • PHP-8.2: Always skip randomly failing OCI8 extauth tests

Refactor _xml_add_to_info()

Mark char* as const, and compute it's length once to save an expensive strlen() call

Mark _xml_decode_tag() as taking a const XML_Char*

As this is always the case and this removes unnecessary pointer casts

Created at 5 days ago
create branch
Ayesh create branch phpinfo-txt-colors
Created at 5 days ago
Created at 1 week ago
Created at 2 weeks ago

Introduce PROGRESS_CACHE_SLOT() macro

Fix GH-9516: (A&B)|D as a param should allow AB or D. Not just A.

The issue was that we didn't compute enough cache slots for DNF types. Nor progressed throught the CE's in the cache slot, meaning we were only checking if the value passed satisfied the first type of the nested intersection type.

Use DNF intersection type check also for simple intersection types

Merge branch 'PHP-8.2'

Update cache slot size calculation in compact_literals.c

Merge branch 'PHP-8.2'

Fix GH-9518: Disabling IPv6 support disables unrelated constants

We need to properly terminate the "conditional compilation" in stub files.

Closes GH-9520.

Merge branch 'PHP-8.2'

  • PHP-8.2: Fix GH-9518: Disabling IPv6 support disables unrelated constants

Check that all preprocessor conditions are terminated

Require PHP 7.4 at least for running the build system (#9519)

Merge branch 'PHP-8.2'

  • PHP-8.2: Require PHP 7.4 at least for running the build system

Use PHP 7.4 syntax in gen_stub.php

Merge branch 'PHP-8.2'

  • PHP-8.2: Use PHP 7.4 syntax in gen_stub.php

Fix syntax error when dnf type in parens after readonly

Fixes GH-9500 Closes GH-9512

Merge branch 'PHP-8.2'

  • PHP-8.2: Fix syntax error when dnf type in parens after readonly

Mark gh9259_003.phpt as xfail with ASAN

The tests reports memory leaks.

Merge branch 'PHP-8.2'

  • PHP-8.2: Mark gh9259_003.phpt as xfail with ASAN

Fix bug GH-9517: Compilation error in openssl extension

Merge branch 'PHP-8.2'

Fix always non-null warning

ZSTR_VAL can not be null.

Created at 2 weeks ago

Fix type inference

Fixes oss-fuzz #50792

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Fix type inference

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Fix type inference

Merge branch 'PHP-8.2'

  • PHP-8.2: Fix type inference

Fix inexistent skipif.inc

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Fix inexistent skipif.inc

Merge branch 'PHP-8.2'

  • PHP-8.1: Fix inexistent skipif.inc

Add support for validation of missing class synopses (#9472)

Merge branch 'PHP-8.2'

  • PHP-8.2: Add support for validation of missing class synopses (#9472)

Support sapi/cli/tests/017.phpt on Windows, too

escapeshellarg() is pretty useless on Windows, and there is no way to support multiple lines (i.e. line breaks). Thus, we use proc_open() instead of shell_exec().

We also remove some apparently superfluous empty lines from the test expectation; that seems to match libedit behavior on Linux.

Closes GH-9474.

Fix GH-9411: PgSQL large object resource is incorrectly closed

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

Closes GH-9411.

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: Fix GH-9411: PgSQL large object resource is incorrectly closed

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Fix GH-9411: PgSQL large object resource is incorrectly closed

Merge branch 'PHP-8.2'

  • PHP-8.2: Fix GH-9411: PgSQL large object resource is incorrectly closed

random: Validate that the arrays do not contain extra elements when unserializing (#9458)

  • Apply var_dump() in 02_engine/all_serialize_error.phpt

This ensures that an undetected serialization error is clear identifiable in the output.

  • random: Validate that the arrays do not contain extra elements when unserializing

Merge branch 'PHP-8.2'

  • PHP-8.2: random: Validate that the arrays do not contain extra elements when unserializing (#9458)

Add "Start time", "Last restart time" and "Last force restart time" to phpinfo() for opcache.

Closes GH-9475.

Use php_info_print_table_header for actual column headers only (#9485)

Using php_info_print_table_header() for "Foo: bar" looks odd and out of place, because the whole line is colored. It is also questionable from a HTML semantics point of view, because it does not described the columns that follow.

The use of this across extensions is inconsistent. It was part of the skeleton, but ext/date or ext/json already use a regular row.

Update INI validator and displayers depending on INI type

Closes GH-9451

Update globals to use bool type

Created at 2 weeks ago

Unify structure for ext/random's randomizer tests (#9410)

  • Unify structure for ext/random's engine tests (2)

This makes adjustments that were missed in 2d6a883b3a1e5ee4f225dce64584ad2522e8e391.

  • Add engines.inc for ext/random tests

  • Unify structure for ext/random's randomizer tests

Merge branch 'PHP-8.2'

  • PHP-8.2: Unify structure for ext/random's randomizer tests (#9410)

Fix class name FQN when AST dumping new and class const

Fixes GH-9447 Closes GH-9462

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Fix class name FQN when AST dumping new and class const

Merge branch 'PHP-8.2'

  • PHP-8.2: Fix class name FQN when AST dumping new and class const

Declare ext/standard constants in stubs - part 4

Closes GH-9465

Merge branch 'PHP-8.2'

  • PHP-8.2: Declare ext/standard constants in stubs - part 4

Fix GH-8932: Provide a way to get the called-scope of closures (#9299)

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

Add tests

[ci skip] NEWS

Merge branch 'PHP-8.0' into PHP-8.1

  • PHP-8.0: [ci skip] NEWS Add tests Fix GH-8932: Provide a way to get the called-scope of closures (#9299)

[ci skip] NEWS

Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: [ci skip] NEWS [ci skip] NEWS Add tests Fix GH-8932: Provide a way to get the called-scope of closures (#9299)

[ci skip] NEWS

Merge branch 'PHP-8.2'

  • PHP-8.2: [ci skip] NEWS [ci skip] NEWS [ci skip] NEWS Add tests Fix GH-8932: Provide a way to get the called-scope of closures (#9299)

Declare ext/standard constants in stubs - part 5

Closes GH-9466

Merge branch 'PHP-8.2'

  • PHP-8.2: Declare ext/standard constants in stubs - part 5

Fix memory leak triggered by unsuccessful dynamic property unserialization

Closes GH-9468

Declare ext/standard constants in stubs - part 6

Closes GH-9467

Add parenthesis around preprocessor conditions in stubs

gen_stub.php concatenates nested #ifs into one #if so let's make sure the semantics remain the same.

Created at 3 weeks ago

Prepare PHP 8.2.0 RC1

Merge branch 'PHP-8.2'

  • PHP-8.2: Prepare PHP 8.2.0 RC1

Harden GitHub Workflows security

Co-authored-by: Michael Voříšek mvorisek@mvorisek.cz

Closes GH-9440.

Prepare NEWS for PHP 8.2.0RC2

Add PHP-8.2 branch to build processes

Mark crypt()'s $string parameter as #[\SensitiveParameter]

Merge branch 'PHP-8.2'

  • PHP-8.2: Mark crypt()'s $string parameter as #[\SensitiveParameter] Prepare NEWS for PHP 8.2.0RC2

Add PHP-8.2 branch to build processes

Merge branch 'PHP-8.2'

Fix pcre.jit on Apple Silicon

This backports https://github.com/zherczeg/sljit/pull/105. Relates to bug #80435, however, it doesn't solve the bus error on PHP 8.0, but PHP 8.1 builds fine now.

Closes GH-9279.

[ci skip] Merge branch 'PHP-8.1' into PHP-8.2

  • PHP-8.1: Fix pcre.jit on Apple Silicon

[ci skip] Merge branch 'PHP-8.2'

  • PHP-8.2: Fix pcre.jit on Apple Silicon

Store default object handlers alongside the class entry

Object handlers being separate from class entries is a legacy inherited from PHP 5. Today it has little benefit to keep them separate: in fact, accessing object handlers usually requires not-so-safe hacks. While it is possible to swap handlers in a custom installed create_object handler, this mostly is tedious, as well as it requires allocating the object handlers struct at runtime, possibly caching it etc..

This allows extensions, which intend to observe other classes to install their own class handlers. The life cycle of internal classes may now be simply observed by swapping the class handlers in post_startup stage. The life cycle of userland classes may be observed by iterating over the new classes in zend_compile_file and zend_compile_string and then swapping their handlers.

In general, this would also be a first step in directly tying the object handlers to classes. Especially given that I am not aware of any case where the object handlers would be different between various instances of a given class.

Signed-off-by: Bob Weinand bobwei9@hotmail.com

Fix compilation on MacOS

memrchr has an always available equivalent under the name of zend_memrchr.

Signed-off-by: Bob Weinand bobwei9@hotmail.com

Port all internally used classes to use default_object_handlers

Signed-off-by: Bob Weinand bobwei9@hotmail.com

Merge remote-tracking branch 'origin/PHP-8.2'

Created at 4 weeks ago
pull request opened
Add PHP Core Roundup #5

Adding PHP Core Roundup #5.

Created at 4 weeks ago
create branch
Ayesh create branch roundup/5
Created at 4 weeks ago

Add highlight.js

Add PHP Core Roundup #4

Remove duplicates

Fixes from Derick

Add preview PRs with Netlify

Add Structure page

Fix links hover style

Add July 2022 update

Created at 4 weeks ago