Skip to content

is_callable('strlen') answers false for a codegen builtin name. #323

Closed

Description

@blacktrs

Summary

is_callable('strlen') answers false for a codegen builtin name.

Repro

<?php
var_dump(is_callable('strlen'), is_callable('count'));

Expected (php)

bool(true)
bool(true)

Actual (manticore 4f6a0a83, Darwin arm64)

bool(false)
bool(false)

Tracking

Known-bug repro: tests/aot/repro/wrong/is_callable_builtin_name.php — bash tests/aot/xfail.sh -k is_callable_builtin_name reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.

Activity

  1. added
    bug
    wrong-answer
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugwrong-answer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions