Skip to content

[PHP] Add few more function names and Refactor test files#3287

Merged
mho22 merged 3 commits intotrunkfrom
php-magic-methods-asyncify-errors
Feb 24, 2026
Merged

[PHP] Add few more function names and Refactor test files#3287
mho22 merged 3 commits intotrunkfrom
php-magic-methods-asyncify-errors

Conversation

@mho22
Copy link
Collaborator

@mho22 mho22 commented Feb 18, 2026

Motivation for the change, related issues

Reproduces issues from pull request : #3037

Related to issue : #2957

Thanks to the great work by @Utsav-Ladani, I was able to figure out the remaining errors.

Implementation details

  • Add list of asyncify functions discovered by @Utsav-Ladani
  • Improving test file.

Testing Instructions (or ideally a Blueprint)

CI

@mho22 mho22 marked this pull request as draft February 18, 2026 17:23
@mho22 mho22 changed the title [PHP] Add few more function names - Refactor test file [PHP] Add few more function names and Refactor test files Feb 18, 2026
@mho22 mho22 marked this pull request as ready for review February 18, 2026 19:15
@mho22 mho22 requested a review from bgrgicak February 18, 2026 19:18
Comment on lines +105 to +115
if (options.withXdebug) {
const xdebugIniPath =
'/internal/shared/extensions/xdebug.ini';

php.writeFile(
xdebugIniPath,
php
.readFileAsText(xdebugIniPath)
.replace('debug,develop', 'debug')
);
}
Copy link
Collaborator

@bgrgicak bgrgicak Feb 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mho22 could you add a comment here that explains why we need to remove develop for this test?

@bgrgicak bgrgicak assigned mho22 and unassigned mho22 Feb 19, 2026
@bgrgicak
Copy link
Collaborator

I left one small comment, but otherwise it looks good. Thanks for working on this @Utsav-Ladani @mho22!

@mho22 mho22 force-pushed the php-magic-methods-asyncify-errors branch from 377c340 to eb31b46 Compare February 23, 2026 10:28
@mho22 mho22 force-pushed the php-magic-methods-asyncify-errors branch from 0c0a5d0 to becd721 Compare February 23, 2026 13:36
@mho22
Copy link
Collaborator Author

mho22 commented Feb 23, 2026

@brandonpayton II've been having some trouble getting this pull request to pass the file locking and Asyncify tests since the multi-workers merge. Do you have any idea what might be wrong? I only added a couple of Asyncify functions in this pull request.

@brandonpayton
Copy link
Member

@mho22 this was due to a mistake on my part. I added a brief check to insist on the presence of a processId during PHP-WASM init but failed to rebuild rebuild PHP-WASM.

I'm sorry for the trouble and will push some fixes to this PR.

@mho22
Copy link
Collaborator Author

mho22 commented Feb 24, 2026

@brandonpayton Thank you!

@mho22 mho22 merged commit cb249e6 into trunk Feb 24, 2026
82 of 83 checks passed
@mho22 mho22 deleted the php-magic-methods-asyncify-errors branch February 24, 2026 08:33
@mho22 mho22 restored the php-magic-methods-asyncify-errors branch February 24, 2026 12:37
@mho22 mho22 deleted the php-magic-methods-asyncify-errors branch February 24, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants