Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo in function execute_ex #7315

Merged
merged 3 commits into from
Jul 29, 2021
Merged

Fix a typo in function execute_ex #7315

merged 3 commits into from
Jul 29, 2021

Conversation

shqking
Copy link
Contributor

@shqking shqking commented Jul 29, 2021

I suppose it's a typo. The fix is trivial.

Change-Id: I6c1cc12493f377be2d63f65de8e77b3a9e7db237

I suppose it's a typo. The fix is trivial.

Change-Id: I6c1cc12493f377be2d63f65de8e77b3a9e7db237
@nikic
Copy link
Member

nikic commented Jul 29, 2021

This is a generated file, the change needs to be done in zend_vm_gen.php.

@shqking
Copy link
Contributor Author

shqking commented Jul 29, 2021

This is a generated file, the change needs to be done in zend_vm_gen.php.

Thanks for spotting that. Will update soon.

As pointed by nikic, "zend_vm_execute.h" is one generated file, and
"zend_vm_gen.php" is the right place to update.

Change-Id: I03c6439b7b1806d57efb15e6809f7c2e801fd43a
@nikic
Copy link
Member

nikic commented Jul 29, 2021

It's still necessary to generate the file, by running php Zend/zend_vm_gen.php.

@shqking
Copy link
Contributor Author

shqking commented Jul 29, 2021

It's still necessary to generate the file, by running php Zend/zend_vm_gen.php.

You mean run php Zend/zend_vm_gen.php and upload the newly changed files as well into this PR, right?

@nikic
Copy link
Member

nikic commented Jul 29, 2021

Yeah, that's right.

Run "php Zend/zend_vm_gen.php", and the following three files would be
generated.

As only file zend_vm_execute.h is changed, we commit it as well.

```
  $./sapi/cli/php Zend/zend_vm_gen.php
  zend_vm_opcodes.h generated successfully.
  zend_vm_opcodes.c generated successfully.
  zend_vm_execute.h generated successfully.
```

Change-Id: Ice23d375eb8482d2a75fde783d8b7bec9a8c1198
@shqking
Copy link
Contributor Author

shqking commented Jul 29, 2021

Yeah, that's right.

Thanks for your explanation. Updated now.

@krakjoe krakjoe merged commit 60ea2cb into php:master Jul 29, 2021
@shqking shqking deleted the typo branch July 29, 2021 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants