chore(deps): update swoole/phpx dependency and add test environment

- Updated swoole/phpx from ~2.4.2 to ~2.4.3 in composer.json
- Added USE_ZEND_ALLOC=0 environment variable to static-closure-delayed-callback test
- Modified test file header to include --ENV section for memory allocation testing
pull/43/head
韩天峰 4 weeks ago
parent 9509b88f57
commit 21291453f8
  1. 2
      composer.json
  2. 2
      tests/compiler/closure/static-closure-delayed-callback.phpt

@ -12,7 +12,7 @@
"marcj/topsort": "^2.0",
"symfony/var-dumper": "^8.0",
"symfony/yaml": "^8.0",
"swoole/phpx": "~2.4.2",
"swoole/phpx": "~2.4.3",
"ajaxray/ansikit": "^0.3.1"
},
"require-dev": {

@ -1,5 +1,7 @@
--TEST--
static closure created in an instance method remains a valid delayed callback
--ENV--
USE_ZEND_ALLOC=0
--FILE--
<?php

Loading…
Cancel
Save