diff --git a/docs/capabilities.md b/docs/capabilities.md index 4e2c82b5..63a886e7 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -15,7 +15,7 @@ Auto-generated by `script/capability-matrix.php`. Do not edit by hand. | `array_push` | yes | yes | yes | standard | doc: VM only; JIT PHPT | | `array_reverse` | yes | no | no | standard | doc: VM only; not implemented for JIT in this compiler build | | `array_search` | yes | no | no | standard | doc: VM only; not implemented for JIT in this compiler build | -| `array_shift` | yes | yes | yes | standard | JIT PHPT | +| `array_shift` | yes | yes | yes | standard | JIT PHPT; AOT PHPT | | `array_slice` | yes | no | no | standard | doc: VM only; not implemented for JIT in this compiler build | | `array_sum` | yes | no | no | standard | doc: VM only; not implemented for JIT in this compiler build | | `array_unique` | yes | no | no | standard | doc: VM only; not implemented for JIT in this compiler build | diff --git a/test/fixtures/aot/cases/array_shift.phpt b/test/fixtures/aot/cases/array_shift.phpt new file mode 100644 index 00000000..28222c9b --- /dev/null +++ b/test/fixtures/aot/cases/array_shift.phpt @@ -0,0 +1,14 @@ +--TEST-- +AOT: array_shift() on packed list arrays +--FILE-- +